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
92e94c88ffff323bec14ed06c52991188a16e256
711057773e5f77957188378fe1b1bff6fa46945c
/source/bcl_chemistry_atom_environment_two.cpp
c599bd8b3b59cd98b35b102231e86d30cdf73618
[]
no_license
vuoanh/AtomEnvironment
311e13454ad9dc00cc5517ac94514ed95df24c4f
f56ae437b453d3d307312101033a1be2bd002adc
refs/heads/master
2020-12-30T22:44:06.704118
2017-02-01T19:33:53
2017-02-01T19:33:53
80,655,409
0
0
null
null
null
null
UTF-8
C++
false
false
24,147
cpp
bcl_chemistry_atom_environment_two.cpp
// (c) Copyright BCL @ Vanderbilt University 2015 // (c) BCL Homepage: http://www.meilerlab.org/bclcommons // (c) The BCL software is developed by the contributing members of the BCL @ Vanderbilt University // (c) This file is part of the BCL software suite and is made available under license. // (c) To view or modify ...
33c3f59fef3e7255217047ae7920f6de26a9484b
f37ad61c00cbd2e6f246e4c1574e3577a2bcbec7
/bignumber.h
6d8f34737c0cbdd69314f5ef76a616a6991ea0fd
[]
no_license
ashar-ekram/BigNumber
9ed81031ae8fc116d1f7e03530fc97fa22ab2b3a
6f6534244f6dddce1a4febf54af440d6d991db0f
refs/heads/master
2023-07-01T01:19:37.830413
2021-07-28T05:50:13
2021-07-28T05:50:13
390,229,245
1
0
null
null
null
null
UTF-8
C++
false
false
4,569
h
bignumber.h
// due work: BigInt/BigInt, BigInt%BigInt, pow, sqrt, log, GCD, LCM is still to be written. typedef std:: vector<int> BigInt; BigInt big(std:: string s){ if (s.length() == 0){ return {}; } BigInt res; std:: string temp=""; for(int i=s.length();i%9;i++) temp += "0"; s = temp+s; for...
7f4abd539128f31a1e12c76772a637456a08ed2c
2309a2aff20265d4d1cd906aa56a840d7f11ddab
/project/src/Common/SmartObject.cpp
274206140369c3d7dba824ad3fa0d919dabda207
[ "MIT" ]
permissive
lirui79/CPProject
c00b4823e629121b0c10d56c9ea5b36c6910d733
e6959850250fd8b96eec46b9ddcd24b1d262bd43
refs/heads/master
2021-01-20T00:20:19.130034
2019-05-09T15:59:32
2019-05-09T15:59:32
89,113,742
0
0
null
2018-05-02T06:56:31
2017-04-23T03:05:51
null
UTF-8
C++
false
false
1,815
cpp
SmartObject.cpp
/*****************************************************/ /* ** Author: lirui ** Date: 2018/03/29 ** File: SmartObject.cpp ** History: ** Copy Right: iris corp ** /*****************************************************/ #include "SmartObject.h" #include "Mutex.h" #include <stdarg.h> #include <signal.h> #includ...
7073c0adfb7c3e5d578263358756438d45505b0b
347c5652d64e0d23c346183b1a1643e65b6a392f
/photoshop/ZPhotoshop_Val.cpp
4f936489708526d20f4a3a256ed84c4be5e082d0
[]
no_license
zoolib/zoolib_old
c5762bd14f7b87bbfa8c796de9f10c37ddc8c186
3a5ebbcf86eaaa1100ef89513f71a74922c525bb
refs/heads/master
2021-06-18T20:54:53.007671
2021-03-07T21:43:00
2021-03-07T21:43:00
3,358,019
0
0
null
null
null
null
UTF-8
C++
false
false
34,429
cpp
ZPhotoshop_Val.cpp
/* ------------------------------------------------------------------------------------------------- Copyright (c) 2009 Andrew Green http://www.zoolib.org 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 So...
93fabfd7d06f7f1b226dc30881862fb311febf4e
fa7474550cac23f55205666e13a99e59c749db97
/vm_tools/sommelier/sommelier-text-input.cc
a8b0b8bd40e8b6a34294c3950bd8463bedde46f5
[ "BSD-3-Clause" ]
permissive
kalyankondapally/chromiumos-platform2
4fe8bac63a95a07ac8afa45088152c2b623b963d
5e5337009a65b1c9aa9e0ea565f567438217e91f
refs/heads/master
2023-01-05T15:25:41.667733
2020-11-08T06:12:01
2020-11-08T07:16:44
295,388,294
0
1
null
null
null
null
UTF-8
C++
false
false
15,445
cc
sommelier-text-input.cc
// Copyright 2018 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "sommelier.h" // NOLINT(build/include_directory) #include <assert.h> #include <stdlib.h> #include <string.h> #include "text-input-unstable-...
5f00a18d528a681a2195cba3c9ab1af334f4ea74
f7526c6fe55bf32435aa9f2ab7c42eaf332b195b
/AladdinGenesis/GameObject.h
d5d418aed0ba37d25621bdd932ec8ad4d45f3ceb
[]
no_license
hanh177/HAV_Aladdin
b72c0d80f1557aa877cfbfd7060be32d11d3f44b
2c2546c47e96ec05898ee64e6dddae9edb1c9d1a
refs/heads/master
2020-09-06T10:40:49.291971
2019-12-27T12:42:29
2019-12-27T12:42:29
220,398,766
0
1
null
null
null
null
UTF-8
C++
false
false
2,697
h
GameObject.h
#pragma once #include<d3dx9.h> #include<d3d9.h> #include"CGame.h" #include"Sprite.h" #include "Texture.h" #include<vector> #include "define.h" #include <iostream> #include<fstream> #include <Windows.h> #include <algorithm> #include "Camera.h" #include "debug.h" using namespace std; #define DISPLAY_BOX 0 class GameO...
e3288a0e93bb7408700234cfbe43e8ee71333519
3d44af6633b26423b8db63c7063a70ff561d81d3
/niuke/整数转换.cpp
03b71a01f3e9520de6696aecacec8b1c1fdf5d42
[]
no_license
ziming-liu/basic-C
1631c951f8a589b8e7babbbfba362e06b06d96b6
28679379e9c333968da501c8bb3badf701829fa6
refs/heads/master
2021-09-09T02:57:01.525183
2018-03-13T12:35:21
2018-03-13T12:35:21
98,203,123
0
0
null
null
null
null
UTF-8
C++
false
false
231
cpp
整数转换.cpp
#include <stdio.h> #include <string.h> #include <stdlib.h> int main() { unsigned int num; scanf("%d",&num); char s[100]; itoa(num,s,10); int len=strlen(s); char t; t=s[0];s[0]=s[len-1];s[len-1] =t; puts(s); return 0; }
ce64cd083fd1696bb7b36558a09050b225ed7bad
b234d465ed38f77b1dcd83429b5abafea1fea6a7
/Recitation9/main.cpp
2e37e5d5d8dd9f78bacee33cdc860249eb720fdd
[]
no_license
danielfu11/CSCI2270
3fc89b11746b280b016276fea9a07e96a2d88a6a
dfb8c167ac824321325b260ae8704325ba1eeb3a
refs/heads/master
2021-05-05T01:27:00.333791
2018-04-17T18:59:53
2018-04-17T18:59:53
119,596,455
0
0
null
null
null
null
UTF-8
C++
false
false
831
cpp
main.cpp
#include "Graph.cpp" #include <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> using namespace std; int main(){ Graph city; std::vector<std::vector<std::string>> matrix; ifstream inFile("mat.txt"); std::string data; while(getline(inFile, data)){ stringstream ss(data); std::...
993555e79a88d2c4841f2024a363fd30263a4b50
f33f3470ca81dcd7d85acac24fbf83cb868cb6f6
/TemplateMethodDP/Demo.cpp
c8283fcc7b3c713c7bd38d337cf7233dcbdc126e
[]
no_license
tonyseo7/StrategyMethodDP
2dcc20114d1958788d2b776f48665e0b7122ce18
457c520039e36ccdb9dd0125a420b4aba8023e07
refs/heads/master
2020-12-31T07:12:05.387538
2017-02-01T02:39:57
2017-02-01T02:39:57
80,583,720
0
0
null
null
null
null
UTF-8
C++
false
false
89
cpp
Demo.cpp
#include "Viewer.h" void main() { MyApp *app = new MyApp(); app->Do(); delete app; }
ca760da4af80a06959698d91331d9d762c30870d
4f7c53c128328f294e9b67a4eb00b72c459692e6
/app/Contractor/ContractorAdditionalTypeIdModel.cpp
3dd49f61e03d4915b6bfc3ea36b0fb6aa68a82a6
[]
no_license
milczarekIT/agila
a94d59c1acfe171eb361be67acda1c5babc69df6
ec0ddf53dfa54aaa21d48b5e7f334aabcba5227e
refs/heads/master
2021-01-10T06:39:56.117202
2013-08-24T20:15:22
2013-08-24T20:15:22
46,000,158
1
1
null
null
null
null
UTF-8
C++
false
false
1,420
cpp
ContractorAdditionalTypeIdModel.cpp
#include "ContractorAdditionalTypeIdModel.h" ContractorAdditionalTypeIdModel::ContractorAdditionalTypeIdModel() { } ContractorAdditionalTypeIdModel::~ContractorAdditionalTypeIdModel() { } QVector<SimpleStructure> ContractorAdditionalTypeIdModel::getTypeIds() { QVector<SimpleStructure> typeIds; query = new Q...
a8315ab089bba4c0da5e5583baeb4fe3b45c6233
05dd6c56b0c3e36c3230a620ce63b9b62e93ba8e
/Task/06/Homework6-2.cpp
e424de538d4e70607d58a1bb2e577f6ae5691134
[]
no_license
jckling/Learn-C
3b37d819ff9c40c79991a07dfcbe809e380a47c2
56d8c8a47ccb371d627cc6ff39ca5fda66496316
refs/heads/master
2021-01-01T04:03:50.851823
2019-07-07T06:07:05
2019-07-07T06:07:05
97,115,103
3
1
null
null
null
null
UTF-8
C++
false
false
239
cpp
Homework6-2.cpp
#include<stdio.h> int Add(int, int); int main() { int a, b; int result; scanf("%d,%d", &a, &b); result = Add(a, a * (b - 1)); printf("%d", result); return 0; } int Add(int x, int y) { int result; result = x + y; return result; }
384c1217e124a7b4ca20d8cb29733a2f4dc001ae
0786e7fb03f800b6917a34e176bd513a465f245f
/system/utest/zxs/zxs-test.cpp
53c7d42922bf319ec3648c892663c1f224ce2050
[ "BSD-3-Clause", "MIT" ]
permissive
bhaavanmerchant/zircon
f158829031652ebb775c0ad7a9b0fe23e4df03d4
13cd388351d058d048df5f159c86223b1cfd307c
refs/heads/master
2020-04-08T00:06:09.009908
2019-01-29T19:25:30
2019-01-29T20:55:39
158,837,766
2
1
null
null
null
null
UTF-8
C++
false
false
11,630
cpp
zxs-test.cpp
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/async-loop/loop.h> #include <lib/async/cpp/wait.h> #include <lib/zx/socket.h> #include <lib/zxs/protocol.h> #include <lib/zxs/zxs.h> #include...
a4419acbe2752736fd1a9e33d7123eaf057adf24
400b1c7c4d4df879382387c68371b2b3fbda5d86
/maths/quaternion.cpp
c9df7ee0953aa9c46c49dc0d98aaafd8b0b7c83d
[]
no_license
grantclarke-abertay/gef
c5bbc131eee9d7577cc47862aac1c215d434f0fd
f75d686977899f115ead0062357bd8272bdfd367
refs/heads/master
2020-07-18T02:38:55.621559
2017-10-13T05:59:26
2017-10-13T05:59:26
67,597,774
12
4
null
2017-10-13T06:11:26
2016-09-07T10:42:37
C++
UTF-8
C++
false
false
3,469
cpp
quaternion.cpp
#include <maths/quaternion.h> #include <maths/matrix44.h> namespace gef { const Quaternion Quaternion::kIdentity(0.0f, 0.0f, 0.0f, 1.0f); Quaternion::Quaternion(const Matrix44& matrix) { SetFromMatrix(matrix); } void Quaternion::Identity() { x = 0.0f; y = 0.0f; z = 0.0f; w = 1.0f; } void Quaternion::Set...
78584ce152400378c6e186a687a6bcdffad4505e
e929a84dec3a6e710351261a6de895308efa6d33
/code/game/AI_BobaFett.cpp
a9f86a21cce0d3cb3c7f1feef08d28be6193b09a
[]
no_license
xLAva/JediAcademyLinux
570d85e1e24d950ab63e9297135248362d873dbd
1d31492a576106e104f49bd9b5fe7f7792a90e89
refs/heads/JediAcademyLinux
2021-01-18T21:23:43.164581
2014-11-29T13:52:49
2014-11-29T13:52:49
9,734,512
125
18
null
2013-09-24T19:02:36
2013-04-28T18:51:54
C++
UTF-8
C++
false
false
37,806
cpp
AI_BobaFett.cpp
//////////////////////////////////////////////////////////////////////////////////////// // RAVEN SOFTWARE - STAR WARS: JK II // (c) 2002 Activision // // Boba Fett // --------- // Ah yes, this file is pretty messy. I've tried to move everything in here, but in fact // a lot of his AI occurs in the seeker and jedi AI...
7e5fde7ab6aff0d711c7f701fc766d09df43f8a6
44eb8f36ab292c508156a38657c3f2edf8c4dbba
/SoundSample/src/ofFFT.h
aafe75c3d5534455757bf7e7f46172e0eb57218f
[]
no_license
xxmogi/ofApp
69b71b8dceb41810e5f40c30e399e81088016687
23b3346482e9efba1d97ce6fa763b09a7200b8bc
refs/heads/master
2021-01-01T06:55:25.180685
2015-08-11T04:45:23
2015-08-11T04:45:23
39,832,347
0
0
null
null
null
null
UTF-8
C++
false
false
620
h
ofFFT.h
// // ofFFT.h // SoundSample // // Created by Takashi Mogi on 2015/08/03. // // #ifndef SoundSample_ofFFT_h #define SoundSample_ofFFT_h #include <Accelerate/Accelerate.h> #include "ofMain.h" class ofFFT : public ofBaseApp{ FFTSetup setup; int size; int sizeLog2; float *buf; float *window; ...
dede02f4cf93f641ac490c5e61d5746a427b4b55
4efe7a24fca48842a201f081108c2b47bfd5bceb
/test/arrayAndPoint.cpp
a32ea7acfe48a9280af5b0ae6805c95284250732
[]
no_license
284794507/cpp
a2fb2a09beb7632afd87f571c11efd2907e2528c
b3e8d9de159adba9c4707fdf98bdbdc57c1c4104
refs/heads/master
2021-01-25T08:06:35.820959
2017-06-16T14:03:28
2017-06-16T14:03:28
93,711,509
0
0
null
null
null
null
UTF-8
C++
false
false
1,116
cpp
arrayAndPoint.cpp
#include<iostream> #include<array> #include<string> #include<vector> using namespace std; int main() { array<int,3> iArr={}; cout<<"The length of iArr is:"<<endl; cout<<sizeof(iArr)<<endl; int i=0; for(i=0;i<3;i++) { cout<<"iArr["<<i<<"]"<<endl; cout<<iArr[i]<<endl; } for(int p:iArr) { cout<<p<<endl; } cha...
2a10af89b65566e53d91f8b2624566c89204d843
9f99bf167d9d4e613a876a0113a878e499fa6f13
/SimpleRenderEngine/src/simulation/particle.h
95ef8d5d42ae13c10a427d010f2826c4a7685812
[]
no_license
chses9440611/2018-2-computerAnimation
2a9d143383fffef92e512af00e914aaa0f86bbca
c27f6287885e5b01e486f576941e88e40924be2c
refs/heads/master
2020-05-04T16:34:52.337505
2019-04-07T13:29:31
2019-04-07T13:29:31
179,281,737
0
0
null
null
null
null
UTF-8
C++
false
false
1,366
h
particle.h
#pragma once #include <Eigen/Dense> namespace simulation { class Particle { private: double mass; Eigen::Vector3d position; Eigen::Vector3d velocity; Eigen::Vector3d force; public: //========================================== // constructor/destructor //========================================== ...
5705e031dd630ec08cfc7196b02642a8493d0e66
3238d71de8dbc086af9928ec5bce0a4fb59fd01c
/2020/12/week1/woohyeonjo/src/텍스트에디터.cpp
f94ac048a3b46d58d56a0dc8d18826089a636ed7
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
changjunpyo/stupid-week-2020
b80ea7edb776fa9c806151ede2b5f17fca68840a
1c603bc40359aeb674da9956129887e6f7c8c30a
refs/heads/master
2023-02-05T20:56:45.346635
2021-01-01T10:49:32
2021-01-01T10:49:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,426
cpp
텍스트에디터.cpp
// Text editor const int MAX = 700; struct Line { int len; char str[MAX]; Line * next; Line * prev; }; Line pool[MAX]; Line * head; Line * curLine; int cntR; int curC; void init(int n){ // TO DO cntR = 0; head = &pool[cntR++]; head->prev = nullptr; head->next = nullptr; head...
77fcf7969254767ced91a774249173d71b5ba8d1
5b5c2a73a25c9a45b40cb455041f04c03d5111d7
/duet3d_parser/simple_string.h
e8959ae4a3d660c42b6a2d80d87a3f8c0a2bfff9
[]
no_license
zapta/misc
c385a310989324b7c14fa4848b46a7fd82b1bbdb
af69fe6c592426d467a86a20fc2571f454f3e58d
refs/heads/master
2023-07-26T15:18:33.574886
2023-06-14T05:00:48
2023-06-14T05:00:48
23,773,915
97
56
null
2023-08-30T04:58:21
2014-09-07T23:37:04
C
UTF-8
C++
false
false
2,936
h
simple_string.h
// A string with fixed buffer. // // A slimmed down version of // https://github.com/dc42/PanelDueFirmware/blob/master/src/Library/Vector.hpp #ifndef SIMPLE_STRING_H_ #define SIMPLE_STRING_H_ #include "simple_vector.h" #include <string.h> // String class. This is like the vector class except that we always keep a nu...
5e5e574191ec5c0ca9cdd96d3527ea35fa5c8816
de7e771699065ec21a340ada1060a3cf0bec3091
/core/src/test/org/apache/lucene/util/automaton/FiniteStringsIteratorTest.cpp
66b1db5caade3abc97114e2f05ef30bde889f1c7
[]
no_license
sraihan73/Lucene-
0d7290bacba05c33b8d5762e0a2a30c1ec8cf110
1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3
refs/heads/master
2020-03-31T07:23:46.505891
2018-12-08T14:57:54
2018-12-08T14:57:54
152,020,180
7
0
null
null
null
null
UTF-8
C++
false
false
8,395
cpp
FiniteStringsIteratorTest.cpp
using namespace std; #include "FiniteStringsIteratorTest.h" namespace org::apache::lucene::util::automaton { using BytesRef = org::apache::lucene::util::BytesRef; using IntsRef = org::apache::lucene::util::IntsRef; using IntsRefBuilder = org::apache::lucene::util::IntsRefBuilder; using LuceneTestCase = org::apache::l...
3c44937a0afefe03a94099292d890dabfbf8b91d
9460e4d39ea0a645071a222c467712c7682b7861
/c++/20140222/20140222/20140222.cpp
810cb7e88072530d3c3165f7e32a4577252e7d26
[]
no_license
Aiyuan-h/programming-language
c337a0ce779737322ad6134b8851d07791ca76ed
09d9c090d6fff09935fd426b2a8901fe7197ca11
refs/heads/master
2021-01-01T15:41:17.156121
2015-07-21T07:00:00
2015-07-21T07:00:00
39,425,455
0
0
null
null
null
null
UTF-8
C++
false
false
323
cpp
20140222.cpp
#include <iostream> #include<cstring> int main() { using namespace std; char ch; int space =0; int total =0; cin.get (ch); while(ch!='.') { if(ch==' ') ++space; ++total; cin.get(ch); } cout<<space<<"space,"<<total; // cout<<""endl<<cout<<"\n"; cin.get(); cin.get(); return 0;...
c7da3d864c3ec2aacfc8333d16b3383751c5212a
cb142069b8e6d605458658385df36ee85ec05561
/Rafagan/Projeto Contra/Interfaces/Level.h
a9413788b8302d66f763140f58cde754e98c6f82
[]
no_license
rafagan/contra-nes-first-level
14a5ba4be705d6571e2f65151718e23a9bb460a6
2d7c94067a9dc85b37f9eda050e73d561ad3859f
refs/heads/master
2020-05-19T14:55:50.108864
2019-05-05T19:29:25
2019-05-05T19:29:25
185,072,684
0
0
null
null
null
null
UTF-8
C++
false
false
311
h
Level.h
#pragma once #include <memory> #include "MapUtil.h" //#include "../Enemies/EnemiesManager.h" class EnemiesManager; class Level { public: virtual ~Level(){}; virtual std::shared_ptr<MapUtil> getMap() = 0; virtual EnemiesManager* getEnemiesManager() = 0; virtual unsigned int getNumberOfPlayers() = 0; };
22356910ba7e701ee1cec9935a9e83a407e37188
5faa619a85b44c4e38f84300364b612acb6e8ee7
/inc/file_reader.h
3243da4c5b6795eaf2a1ba2bea11f1f919030369
[ "MIT" ]
permissive
hailpam/experimental
3feaa748aa8156c200deed991f71a961fc2d1d81
e973531be4c2cdce97329ff5f0651d83195e8b6f
refs/heads/master
2021-06-01T11:34:46.496411
2020-10-10T14:14:09
2020-10-10T14:14:09
19,175,429
0
0
null
null
null
null
UTF-8
C++
false
false
1,673
h
file_reader.h
/** * @file file_reader.h * * File Reader facility. It reads a file and provides a tokenization service. * Tokens can be read in natural or reverse order. * * @brief * * @author Paolo Maresca <plo.maresca@gmail.com> * @version 0.1 */ // $Log$ #ifndef _FILE_READER_H #define _FILE_READER_H #include <string> #...
5475da129ff8554d43203a196ea22379039cb045
11ec37462cefceb73c161bc8a658fa4497ab972e
/tests/unit/styleParamTests.cpp
c447092943ce511ea100fc8f328c78e9ee3eaa95
[ "MIT" ]
permissive
pilgarlicx/tangram-es
488e5c57595cd2cfa58274698722b5dd37ec191f
a2403239a62c6c8c1c0131bfc17bd5c0ba2d378b
refs/heads/main
2023-07-01T16:26:11.505213
2021-07-28T16:34:40
2021-07-28T16:34:40
391,446,316
1
0
MIT
2021-07-31T19:25:31
2021-07-31T19:25:30
null
UTF-8
C++
false
false
2,796
cpp
styleParamTests.cpp
#include "catch.hpp" #include "scene/styleParam.h" #include "glm/vec3.hpp" #include "yaml-cpp/yaml.h" using namespace Tangram; TEST_CASE("Correctly parse valid ValueUnitPair", "[StyleParam]") { float epsilon = 1e-6f; StyleParam::ValueUnitPair result; struct ValueUnitTestPair { std::string inp...
04b7d56399a6937d111c32895dd78375ee91a7a6
48ebd56aeb54af86bcf850bed01abe98ff9a314d
/Problems/Solved/Source/Proj_56.cpp
26929f4c0ed0fe4146dc6f008caba4ae21bc4cd6
[]
no_license
woodylaurence/ProjectEuler-CPlusPlus
f2188e1fe937afa18f4f668d5fa6d053183b2eb4
25371e05d921eb0bb86a72d9639e4c0a04bddfe9
refs/heads/master
2021-05-29T03:34:06.215063
2015-06-27T09:37:52
2015-06-27T09:37:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
669
cpp
Proj_56.cpp
/* * Proj_56.cpp * * Created on: Aug 19, 2012 * Author: Laurence * * Problem: Find maximum digital sum of a^b for 1 <= a,b <= 100 * * NOTE: REQUIRES bigInt.cpp TO RUN */ #include "BigInt.hpp" class Prob56 { int main(void) { throw "Needs reimplementing"; /*int maxDigitalSum = 0; ...
10eb719b23dd6ef8b50c33eed631f4ea60eeab98
5d75eb58dd2fd52fa6b5669883abfa2f09a674e3
/wasapi/Graph.h
421519283816d4fce1b05b361170bef37df34677
[ "MIT" ]
permissive
jackyxinli/wasapi-cli
25af385c60375d994d01288bf342d99644db9382
c926cff0691ce7d81e7560b1fceefe5463242dad
refs/heads/master
2022-10-24T10:59:37.493414
2017-10-14T16:04:57
2017-10-14T16:04:57
37,639,832
0
0
null
2015-06-18T05:43:30
2015-06-18T05:43:28
C++
UTF-8
C++
false
false
1,716
h
Graph.h
#pragma once #include "com_iterator.h" #include "Filter.h" namespace DirectShow { class Graph { public: typedef com_iterator<Filter, IBaseFilter, IEnumFilters> iterator; Graph(const IID& clsid, bool addToRot); ~Graph(); void Abort(); void AddFilter(Filter& filter, LPCWSTR name); void AddFi...
9174565f6d4c05c6a8d9c5fbcb46b5db0204a361
dd83e7fdce5c8d8b917fc2877b3e891878fb2a7a
/Don't Rebound/3DPrograming_ver3-master/Obj3D.h
437eabedfac716e0519f9abb889d56fd0e1ec608
[]
no_license
MizunoKeita/Revound
a365de939480d270c50aa685c2b586c6ff287364
c88de20dada747928b2c19e28605bf13fe0968dd
refs/heads/master
2020-03-29T18:28:13.921342
2018-09-25T15:36:21
2018-09-25T15:36:21
150,214,806
0
0
null
2018-09-28T05:55:48
2018-09-25T05:58:23
C++
SHIFT_JIS
C++
false
false
851
h
Obj3D.h
#pragma once using namespace DirectX; using namespace DirectX::SimpleMath; class Game; class Obj3D { protected: //ゲームオブジェクトへのポインタ Game* m_game; //モデルハンドル Model* m_model; //位置 Vector3 m_position; //回転 Quaternion m_rotation; //ワールド行列 Matrix m_world; public: //コンストラクタ Obj3D(); //更新 virtual bool Upda...
b1a7c1208d6c7a863a57d0d77729fcab800f6e3f
4d5fc41a348f065f27d2c06305f31bb2e27b806e
/cpp/harmonic/harmonic.cpp
0b92c4246f237289dc6ad624ccd67fe643dd9983
[]
no_license
sykim9587/Linux_src
4c81a22ba26f8657caaf13cd7a8ea2c8b178ec52
8b0201226eff580f6b33a8818842384a4f368aeb
refs/heads/master
2022-12-18T04:30:01.130153
2020-09-13T07:30:08
2020-09-13T07:30:08
276,586,646
1
1
null
null
null
null
UTF-8
C++
false
false
429
cpp
harmonic.cpp
#include <iostream> #include <fstream> int main() { std::ofstream out("iotest.out"); if(!out){ std::cerr << "can't open file" <<std::endl; } for(int i = 1; i<= 100; ++i) out<<1.0/i << std::endl; double d; double sum = 0.0; std::ifstream in("iotest.out"); if(!in){ std::cerr << "can't open fil" << std...
6101f156955baddba2f605c1a3ef8d24af544bac
9f1d318b453d62045495432c058b7857306857ac
/LogAnalyzer/tuple.hpp
14857ef3c7dd88a55d50084ccbc30484e3404711
[]
no_license
gmaisto/PGLogAnalyzer
82008da0121881bd3597f910412cad231ea8792f
7f44783594bc9ab9947dd193c53f05989d96420e
refs/heads/master
2020-12-25T14:49:35.705532
2016-08-28T15:38:10
2016-08-28T15:38:10
66,775,267
0
0
null
null
null
null
UTF-8
C++
false
false
2,358
hpp
tuple.hpp
// // tuple.hpp // LogAnalyzer // // Created by Luigi Maisto on 06/08/2016. // Copyright © 2016 Luigi Maisto. All rights reserved. // #ifndef tuple_hpp #define tuple_hpp #include "statement.hpp" #include <vector> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #in...
b548a25644b1e69a55be158cc6611dd407b8a0af
46cce0f5350dd7bef7a22bb0a1246f003f40916c
/ui/widgets/defect/scannerdefectregistrationpage.h
49a1e4657d7558ce7f7d7f79e96475e5cf6c6ad2
[]
no_license
veodev/av_training
6e65d43b279d029c85359027b5c68bd251ad24ff
ecb8c3cdc58679ada38c30df36a01751476f9015
refs/heads/master
2020-04-28T22:23:39.485893
2019-09-23T13:16:29
2019-09-23T13:16:29
175,615,879
0
0
null
null
null
null
UTF-8
C++
false
false
781
h
scannerdefectregistrationpage.h
#ifndef SCANNERDEFECTREGISTRATIONPAGE_H #define SCANNERDEFECTREGISTRATIONPAGE_H #include <QWidget> class ScannerDefectRegistrationPage : public QWidget { Q_OBJECT public: explicit ScannerDefectRegistrationPage(QWidget* parent = Q_NULLPTR); virtual void switchState(int state) = 0; virtual int getWorkR...
fa4dcb144a6ed58661c799e2b71a001c7bb87b76
1e8afd2c1a0b1365889db9f229e97f14870faa26
/2daSemanaInformaticaYComputacionCUCEI/B/b_TeamWarriors.cpp
101c9fc62198118d5760dafa424dbcee68b2de1a
[]
no_license
club-de-algoritmia-cuvalles/Concursos
588e20174af2ad96aa0498922959b1527707b633
fb92bdf240a2842279b97158a53f1476b61e5584
refs/heads/master
2020-05-05T09:17:22.628237
2019-11-30T04:47:30
2019-11-30T04:47:30
179,897,772
1
1
null
2019-11-28T14:30:08
2019-04-06T23:30:31
Python
UTF-8
C++
false
false
671
cpp
b_TeamWarriors.cpp
//Team Warriors Problem B //No Send #include <iostream> #include <string.h> using namespace std; int main() { int numFra,lim,cont=0; cin>>numFra; char frases[numFra][100]; char faltantes[numFra][100]; int pangram[numFra]; for (int i = 0; i < numFra; ++i){ cin>>frases[i]; } for (int i = 0; i < numFra; ++i){ ...
c68f41ebfd2e80c6b0f1766efa65e53b4c903fb3
0562999713603cd16658adde32a07a2c52954692
/src/WeightedFunction.cpp
3d96f5846870db1e32d84d1ae10eee20ab7baebc
[]
no_license
kevinguoqi/DiverseKNNCompetitors
be3b911df8bfad097e74ef7c68559a07dd09d90d
3badf95b34b1e796df5c20ceca9b3dcc220703ae
refs/heads/master
2020-07-29T13:43:37.349599
2016-11-14T04:12:03
2016-11-14T04:12:03
73,665,417
0
0
null
null
null
null
UTF-8
C++
false
false
479
cpp
WeightedFunction.cpp
/* * WeightedFunction.cpp * * Created on: Oct 4, 2016 * Author: zhengyuxin */ #include "WeightedFunction.h" #include <math.h> WeightedFunction::WeightedFunction( int dim, double alpha ) { this->dim = dim; this->alpha = alpha; for ( int i = 0; i < dim; i++ ) { double weight = pow( alpha, i ) * ( 1 -...
9da61550b666a97a8dd20f65689caf4735b3512e
6ab209e3109f8e434def49345f97010f3853625e
/src/hud/HUD.cpp
bce57441885f6cc54823edab6da0231e462d0d83
[ "MIT" ]
permissive
nickfourtimes/overbourn
2425d3bf2b60223c401a602ce49f735408fe8c04
4fe0260222c454d9651b9fd6a5597148bdf0900d
refs/heads/main
2022-10-06T09:24:33.959649
2020-06-09T12:37:43
2020-06-09T12:37:43
270,692,723
1
0
null
null
null
null
UTF-8
C++
false
false
1,905
cpp
HUD.cpp
/** * HUD.cpp * * Author: nrudzicz * Created on: 28-May-2009 */ #include <iostream> #include "common.h" #include "hud/HUD.h" using namespace std; const int FONT_SIZE = 40; const int MASK_ALPHA = 75; // 0 is transparent, 255 is opaque /*************************************************************************...
9d349abba1425816fc42b3a7da65f146983acc28
387fcd525c75f8dab2b2c4ed7eeffce2067e7148
/simvis/scene.cpp
ae9bbfa929b03787e4cac25be843a3381aad75f5
[ "Apache-2.0" ]
permissive
tgeijten/simvis
e21c5ba4c054c384fafcd50db19fa3f1c6e8b687
4a0a6def0855f938a8a2506211cc42e75b351b68
refs/heads/master
2021-01-09T11:35:56.144261
2019-03-19T13:13:19
2019-03-19T13:13:19
62,389,610
0
2
Apache-2.0
2019-01-11T10:56:00
2016-07-01T11:52:49
C++
UTF-8
C++
false
false
1,711
cpp
scene.cpp
#include "scene.h" #include "osgShadow/ShadowedScene" #include "osgShadow/SoftShadowMap" #include "osg_tools.h" #include "osgDB/ObjectCache" #include "osgDB/ReadFile" #include "osg/LightModel" namespace vis { scene::scene( bool use_shadows ) : node( nullptr ) { if ( use_shadows ) { auto s_root = new osgShad...
435100952cfe002491e4d9a0d66c9a6b6bb8644a
a1c7d34d1108f47d98c9ec3b79ffca6b4221927c
/Flicker_Fusion_Theshold_v2/src/main.cpp
cd46276c86115170590bda5409ea208e0e83555e
[]
no_license
FStilwell/0_Flicker_Fusion_Threshold
97c5012baa882e12fb0169fa978e635dd2ff4230
5c5a3fe85e4f41eb670b64efb8dbdb5055537f8d
refs/heads/master
2022-11-04T22:58:50.680634
2020-06-20T00:51:20
2020-06-20T00:51:20
262,011,034
0
0
null
null
null
null
UTF-8
C++
false
false
3,185
cpp
main.cpp
/* Flynn Stilwell May 2020 This is the finished code for the Flicker Fusion Threshold project. A potentiometer is used to alter the frequency of blinking led. One the flicker fusion threshold is found, the user can press the button and the serial monitor will display the chosen frequency. */ #include <Arduino.h> ...
a5868668e77fdc24f45c93c4e950de5131baa8ac
4a0182f33147034ee4ff2b6ed6b1b2563aa046ad
/r/r/pc/cpp/soc/src/tcp_test_socket_main.cpp
547709a03e577f0f4a8857be95a365e8778ad536
[]
no_license
thibugio/obor
0b9227124b317df3068c6ea473ebf9ce93fdece1
078c4f477d2cb9cd5a52caae86abb60d85bf6a13
refs/heads/master
2020-12-31T00:17:46.228156
2015-11-01T20:29:22
2015-11-01T20:29:22
45,356,114
0
0
null
null
null
null
UTF-8
C++
false
false
3,377
cpp
tcp_test_socket_main.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <boost/asio.hpp> #define PORT_NO 12345 using namespace std; using namespace boost::asio; std::vector<struct udp_packet> buf; //enum field { ""...} struct udp_packet { char * field; unsigned int data; }; void assertfail(bool cond, const ch...
2fd8dfa78139cf00aed348f240e589584ece5b7e
ff0cc7e931d038a9bd9a56665b20cd8dab071959
/src/Modules/BaseLib/libmodules/blUtilities/include/blTag.h
92f80f815bbb4258485788630d2dc99766e89e68
[]
no_license
jakubsadura/Swiezy
6ebf1637057c4dbb8fda5bfd3f57ef7eec92279b
bd32b7815b5c0206582916b62935ff49008ee371
refs/heads/master
2016-09-11T00:39:59.005668
2011-05-22T19:38:33
2011-05-22T19:38:33
1,784,754
3
1
null
null
null
null
UTF-8
C++
false
false
2,270
h
blTag.h
/* * Copyright (c) 2009, * Computational Image and Simulation Technologies in Biomedicine (CISTIB), * Universitat Pompeu Fabra (UPF), Barcelona, Spain. All rights reserved. * See license.txt file for details. */ #ifndef _blTag_H #define _blTag_H #include "blLightObject.h" #include "CILabExceptionMacros.h" #include ...
8b76ed467f0480e64ef1744d47ba5ec0ce13b70f
37aa4ed36801649807f061dd1f54c543908bfb0d
/Sem/Przykłady/composite_node/main.cpp
cee3417afd71e2859006ca69d14e637138b872c9
[]
no_license
cocoyenn/IntelTBB_project
6178689267761378e20cbff79adbef047ebbe3ef
3d3002ad1beaad8282e5a87a246d3b055658f096
refs/heads/master
2020-04-27T17:27:53.505648
2019-09-16T20:14:50
2019-09-16T20:14:50
174,520,701
0
0
null
null
null
null
UTF-8
C++
false
false
2,030
cpp
main.cpp
#include "tbb/flow_graph.h" #include <iostream> #include <tuple> using namespace tbb::flow; //template< typename InputTuple, typename OutputTuple > class composite_node; class smart_odd_square : public composite_node<tuple<int, int>, tuple<int>> { join_node<tuple<int, int>, queueing> j; function_node<...
8129467397fe5487ea28896eb86fbc4885c1237f
19eec37edff87e0b3f234d5772e5555f5c83b17e
/src/essence.game/packets/lobby/incoming/Login.h
a0fe89f1330ab43df73d704f9a08e7cf9243a5bd
[ "MIT" ]
permissive
jellenijhof12/qpang-essence-emulator
4632927d3b605a7e17e80539ec76288525c6b324
943189161fd1fb8022221f24524a18244724edd6
refs/heads/master
2023-07-02T20:46:42.313580
2021-08-12T14:18:37
2021-08-12T14:18:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,673
h
Login.h
#pragma once #include <boost/uuid/uuid_generators.hpp> #include <boost/uuid/uuid_io.hpp> #include "core/Emulator.h" #include "core/database/Database.h" #include "core/communication/packet/PacketEvent.h" #include "qpang/Game.h" #include "packets/lobby/outgoing/account/VerificationFailure.h" #include "packets/lobby/o...
4c046888a9a384ffb91cb18f3ef6ddd231c67b6e
9508cec594de0ce96bde3cc20157c156d107f6c3
/AtcoderARC/arc108/b.cpp
ed5916f5fdd51347436b56248e67ca25b39fb311
[]
no_license
kouki8710/Programming-competitions
62a35c4d9a8636c64b1d1d8e47fbc5d8db1a85e4
518debc531e9c5b0ea6e2437690ad13be32725b9
refs/heads/master
2023-03-12T13:54:31.994219
2021-02-27T06:10:53
2021-02-27T06:10:53
324,536,436
0
0
null
null
null
null
UTF-8
C++
false
false
769
cpp
b.cpp
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; #define INF 100000000 #define rep(i, s, n) for (int i = (int)(s); i < (int)(n); i++) #define repp(i, n, s) for (int i = (int)(n); i >= (int)(s); i--) #define mp make_pair ll mod = 1000000007; ll mod2 = 998...
d7003ed679b66b644b9c093898f463d1b93dcc72
7eb21b2a47971e20ee5a5f29234d68819298f123
/src/util/CLog.cpp
53b53c4fef1483637df5e2ffa50f6d4eebfbdfcd
[]
no_license
utcman1/ndbAsynch
0da15bb7bfd34b7ff69dd90817962aa520c6fc99
bba323c378e5c827f06291c0634922f9088afd8e
refs/heads/master
2021-01-10T02:04:30.042211
2016-02-24T15:41:33
2016-02-24T15:41:33
45,304,131
0
0
null
null
null
null
UTF-8
C++
false
false
1,138
cpp
CLog.cpp
#include <stdafx.hpp> #include <util/CLog.hpp> NullOutputStream __NullOutputStream; NdbOut nullout(__NullOutputStream); NdbOut& __LogNdbDebug = #ifdef _DEBUG ndbout; #else nullout; #endif NdbOut& __LogNdbWarning = ndbout; NdbOut& __LogNdbError = ndberr; NdbOut& __LogNdbCritical = ndberr; NdbOut& __LogUser...
ba3207360ce6e6098d66260a8fe00925ff37df6e
d6b4bdf418ae6ab89b721a79f198de812311c783
/cvm/include/tencentcloud/cvm/v20170312/model/GPUInfo.h
fd1919a9fe8baf93007f713d7b81715de48d17f9
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp-intl-en
d0781d461e84eb81775c2145bacae13084561c15
d403a6b1cf3456322bbdfb462b63e77b1e71f3dc
refs/heads/master
2023-08-21T12:29:54.125071
2023-08-21T01:12:39
2023-08-21T01:12:39
277,769,407
2
0
null
null
null
null
UTF-8
C++
false
false
5,651
h
GPUInfo.h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 * * http://www.apache.org/licenses/LICENSE-2.0 ...
17f81dd32de317152ddab7f9c8eaaa20ddd93a1e
baf3387ce913a33ea70722a21fc63992eb355372
/HTracker/FeatureTracker.h
dd176f8e8dd1f1ef2da3ed8dc457784c09683477
[]
no_license
xzvfinet/HTracker
2674602b8a51ee6f12e1e275d8e998c05a26e9d9
f4a2ee84097a2c4f3815ca429216bb981b24d206
refs/heads/master
2021-01-18T18:14:00.154935
2015-05-28T11:18:06
2015-05-28T11:18:06
36,100,594
1
0
null
null
null
null
UTF-8
C++
false
false
743
h
FeatureTracker.h
#pragma once #include "stdafx.h" #include "BriskMatcher.h" #include "KalmanTest.h" #include "Features.h" #include "Matcher.h" class FeatureTracker { public: FeatureTracker(void); ~FeatureTracker(void); void compute(int feature, Mat img, Rect r); void computeBrisk(Mat img, Rect r); Rect getRect(); // get ...
162dc3ad01f8ca890dab529c5b02df9f4b263378
98d25456e1ed88e32a940ea26e1051c9ef9f640e
/lang/steve/Overload.hpp
03f63777eb34eb661449d1f19397030b0ae382d1
[ "Apache-2.0" ]
permissive
flowgrammable/steve-legacy
3184cc710f5c6ad153d36230d3d4ff02a13ec42d
5e7cbc16280c199732d26a2cb0703422695abe16
refs/heads/master
2021-01-12T21:00:22.958379
2015-03-29T23:02:42
2015-03-29T23:02:42
19,458,176
1
0
null
null
null
null
UTF-8
C++
false
false
2,073
hpp
Overload.hpp
#ifndef OVERLOAD_HPP #define OVERLOAD_HPP #include <steve/Conv.hpp> #include <steve/Error.hpp> #include <steve/Debug.hpp> #include <vector> // This module provides facilities used in the declaration of and // resolution of overloaded functions. namespace steve { struct Decl; struct Overload; // An overload candi...
a1038f9b788aeeae86e252dfcee9098954efd2e3
02242585871ebf9129684541246d0688a447f03e
/UI/BorrowInfoWidget.cpp
30f312864c36a1a737956ace61f132d6506fafe8
[]
no_license
zy98/LibraryManagement
6d0ab525b80703913d5ba3f25cd3ddb59e3f0709
ffb27bf346ea95568f584a6493a1ec8e532fa8a1
refs/heads/master
2020-04-10T09:20:25.278992
2018-12-20T06:36:31
2018-12-20T06:36:31
160,933,503
0
0
null
null
null
null
UTF-8
C++
false
false
3,719
cpp
BorrowInfoWidget.cpp
#include "BorrowInfoWidget.h" #include "ui_BorrowInfoWidget.h" #include "Model/BorrowInfoModel.h" #include <QSqlRelationalTableModel> #include <QDebug> #include <QButtonGroup> #include <QSqlQuery> BorrowInfoWidget::BorrowInfoWidget(QWidget *parent) : Widget(parent), ui(new Ui::BorrowInfoWidget) { ui->se...
c407f907e660865136e78e7caf1adc5c4dbe429f
389d83fd02cd4ed07c20cd16ef0976dd0f37f83d
/contest06/bai02.cpp
69daba138f38872bafcda3b816b7030ecda69873
[]
no_license
minchau2111/Code
1c2240ed6adca009474d4fbf024f06c33b10759a
45d21acf0af5e1067ac06350ebc3c86db422fdcb
refs/heads/master
2022-11-08T13:18:49.825456
2020-06-25T02:34:10
2020-06-25T02:34:10
269,273,534
0
0
null
null
null
null
UTF-8
C++
false
false
445
cpp
bai02.cpp
// sắp xếp theo |X-a[i]| #include<bits/stdc++.h> using namespace std; int x,n; bool sapxep(int m, int n){ return fabs(m-x)<fabs(n-x); } int main(){ int t; cin>>t; while(t--){ cin>>n; cin>>x; int a[n+5]; for(int i=0;i<n;i++){ cin>>a[i]; } st...
353ddc0861504038fe27a0abfa35ddcdc6d284e7
c4673ff3c95282ba0a84684a0501c43ab1b4bc8c
/cs214/task7.cpp
093207303f3f53fb2474d8599e69d8de5911ada3
[]
no_license
MuhammadFaleh/cs214-assignments
5eb598c6c477ad6d89a63f434aa05848039615bb
24f9ae8c8fdbf410e58abff1cd46baa2cf764d7d
refs/heads/main
2023-07-16T17:12:47.297237
2021-09-02T21:05:29
2021-09-02T21:05:29
402,560,291
0
0
null
null
null
null
UTF-8
C++
false
false
2,642
cpp
task7.cpp
#include <iostream> #include <string> using namespace std; class TicTacToe{ char orderOP , save , in ,in2; string nameOP1 ,nameOP2 ; char borad [3][3] {{'1' , '2' , '3' },{ '4' , '5' ,'6'} ,{'7' ,'8' ,'9'}}; public: void orderAndN(){ cout<<"player one enter your name\n"; getline(cin,nameOP1);...
cc3e4bf7ee9d4558c145fe9514b24a7318dff9fb
ebe1eaf68b4ebe941e564ecaf536a06d625e1eda
/Engine/src/ThirdParty/NIF/src/gen/TexDesc.cpp
39a1921e31cbe2323f011760fa92e823518618ef
[]
no_license
przemyslaw-szymanski/x-source-engine
54a23e9ad740f7ab1b4a439f87733c366233eb58
1afa8c0dea628b6a252ee40aef39c31ec99d3c97
refs/heads/master
2020-12-24T15:41:01.851654
2015-08-07T14:37:12
2015-08-07T14:37:12
13,867,990
0
0
null
null
null
null
UTF-8
C++
false
false
1,338
cpp
TexDesc.cpp
/* Copyright (c) 2006, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //---THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT---// //To change this file, alter the niftools/docsys/gen_niflib.py Python script. #include "../../include/gen/TexDesc.h" #include "../../include...
e1f89573fdd950d48bd0ea51e7c37660cd2351ed
8d63305eb345f183f4a600c21afbc3a1504d863d
/剑指offer/58-左旋转字符串-P286/c++/solution.cpp
e527984c45edd746fd0f8a33e769b2709632fcc4
[]
no_license
yesxiaoyu/Coding
ace972f1f51caab46783f0150c741d8a8844cc2e
898b4157013bcd1b8d499276044e2aff1aaa7e45
refs/heads/master
2020-09-10T20:35:15.435385
2020-06-05T02:51:28
2020-06-05T02:51:28
221,827,822
0
0
null
null
null
null
UTF-8
C++
false
false
1,174
cpp
solution.cpp
// Author : lihongyu // Time : 2019-12-13 #include<bits/stdc++.h> using namespace std; // 剑指offer58-左旋转字符串-P286 // 思路:调用58-翻转字符串-P284中reverse函数3次 // 时间复杂度: O(n) // 空间复杂度: O(1) class Solution { public: string LeftRotateString(string str, int n) { if (str.length() < 2) return str; int firstStar...
b5677790c31a7afb93f3f8b3ece080442d869f16
aa94661adba64921817cbc6640f9b57f2db38e1e
/include/private/proofcore/coreapplication_p.h
9aa68b2bad745afe72b23a35d594648434f3446e
[ "BSD-3-Clause" ]
permissive
opensoft/proofbase
11b7a4ec7d44b73860ac81c588ed88e775c657ac
2e633df6f8dc005c13e4007ef4a75c93e63868d9
refs/heads/develop
2020-03-26T15:29:09.127993
2019-10-28T09:05:30
2019-10-28T09:05:29
145,046,425
10
6
BSD-3-Clause
2019-10-28T09:05:31
2018-08-16T22:49:28
C++
UTF-8
C++
false
false
2,729
h
coreapplication_p.h
/* Copyright 2018, OpenSoft Inc. * 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 * conditions a...
386b5ab4916e4ce72139bf525a4cab0cac1a6875
3de7d4c3a2a7480cbc6954b9239a0d2a81cdd1ae
/src/user.cpp
fb9dcba922cb11f2de86516d445e1f3c8daa379b
[]
no_license
jw-0/CSIT314-Project
dfec4b4f875dda4b4fde620570be6cca890f205a
a54e816fde0d3195053e4d0ea4a482cd1482ab13
refs/heads/master
2021-01-02T00:57:44.857453
2017-11-13T00:42:14
2017-11-13T00:42:14
98,947,205
0
0
null
null
null
null
UTF-8
C++
false
false
3,056
cpp
user.cpp
// Written by Jarod Wright #include "user.hpp" #include <fstream> #include <cgicc/HTMLClasses.h> #include "util.hpp" #include "debug.hpp" static std::string headerStr = "<table border=0 width=\"100%\"><tr><th colspan=3 style=\"border-bottom: 1px solid;\"/></tr>\n"; static std::string bottomStr = "<tr><th colspan=3 s...
523f6c68f263eace1e8578a49e47945dfc5eee76
5c08f4cfcd681af7ebbbabbfab150797f37465c5
/stresstestmode.h
62665b3f72f0f0654f07ce57873f90145561b7ee
[]
no_license
AveryFerrante/FinalProject
42014eff7a739bfa771ff5adb4d63b0cc3b7e619
52aa8ffcd18b2bd3af1e5415b203de738af68b01
refs/heads/master
2016-09-15T22:39:12.429421
2014-12-08T06:28:40
2014-12-08T06:28:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
911
h
stresstestmode.h
#ifndef STRESSTESTMODE_H #define STRESSTESTMODE_H #include "IndexInterface.h" #include "hashtable.h" #include "parser.h" #include "documentindex.h" #include <windows.h> #include "interactivemode.h" // This has the most functionality, can't / don't want to copy all of the code into here #include <chrono> #include <ctime...
90ff3318cfd55903249ba958aa84eeba1569c0d7
1468b015f5ce882dbd39dc75c9a6560179a936fb
/card/M1321.h
b67817685f8305a125113243668ca092b724cd6d
[]
no_license
Escobaj/HearthstoneResolver
cbfc682993435c01f8b75d4409c99fb4870b9bb3
c93b693ef318fc9f43d35e81931371f626147083
refs/heads/master
2021-04-30T22:31:01.247134
2017-01-31T00:05:32
2017-01-31T00:05:32
74,474,216
8
0
null
null
null
null
UTF-8
C++
false
false
244
h
M1321.h
#ifndef HEARTHSTONERESOLVER_M1321_H #define HEARTHSTONERESOLVER_M1321_H #include "../Core/Entities/Minion.h" class M1321 : public Minion { public: M1321(const EventHandler &e); void init(); }; #endif //HEARTHSTONERESOLVER_M1321_H
48582822a0dbd9edf62b9a098ff271cb08f6dd2a
8524a719200f7b78b5b9f5c2ade9d5f880130b73
/Zestaw3/3.3.cpp
d04e1c92d3a3a8bbb4696b3916267ff87c8f1569
[]
no_license
boojtus/C
be54f6584aed9f007862a95e87e95b87b1fcd421
b8332e20171ef1ed0c14cd72423678d71d293b3d
refs/heads/master
2020-04-26T09:37:36.818514
2019-04-10T20:01:09
2019-04-10T20:01:09
173,462,286
0
0
null
null
null
null
UTF-8
C++
false
false
513
cpp
3.3.cpp
#include <iostream> #include <string> using namespace std; void szukajFrazy( string tekst, string szukanaFraza ) { size_t znalezionaPozycja = tekst.find( szukanaFraza ); if( znalezionaPozycja == string::npos ) { cout << -1 <<endl; } else{cout<<znalezionaPozycja<<endl;} } int main() { ...
cc4102b50fc6e4ab27641974a26d359c80446233
448e26486e76ae36b1c012fd93dc109b4045a7d1
/src/eve-server/system/.svn/text-base/BubbleManager.cpp.svn-base
9029822a05e9b61b0acd3532f062152ce10e401b
[]
no_license
AlTahir/Apocrypha_combo
2aa43ea8c099fbd273eac79b579da91194f9bf20
1931f4404ed3d106e714e64329da8d047ca7f44a
refs/heads/master
2016-09-05T18:40:51.296158
2012-03-19T07:15:44
2012-03-19T07:15:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,065
BubbleManager.cpp.svn-base
/* ------------------------------------------------------------------------------------ LICENSE: ------------------------------------------------------------------------------------ This file is part of EVEmu: EVE Online Server Emulator Copyright 2006 - 2008 The EVEmu Team For the latest information visit http://...
6f6828b4b2419109bcb71fa2f2f18d910b168c6f
5ce3c7e9caab61bb32d198eff0a4700ec34b5474
/hw4/bsubei2.cpp
ba33b43c59c38e8657b81a1bee1485fd24333e6f
[]
no_license
bsubei/CS251
2a7166fdf7e52f8d9b1c8e2e4ded8a1c55079305
eab972f01b852296e776f93736a27a07e01517f8
refs/heads/master
2021-05-28T02:42:41.141466
2015-02-14T20:33:35
2015-02-14T20:33:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
19,328
cpp
bsubei2.cpp
/* ------------------------------------------------ * Copyright 2014 <Basheer Subei> There is no copyright :D * HW4 Alibamazon * Class: CS 251, Fall 2014. * System: Ubuntu 12.04 compiled with g++ * Author: Basheer Subei * This program reads in a list of cities (a graph with undirected weighted edges), * and then t...
b099a3e0c39b6239b5a5046ee6eb5b0ff0e7f3f2
7e23939a2c114d2dedad2374e01aeba5f7cf9b48
/libraries/OffChip/NRF24L01/两机通讯(中断)/FourAxisByStm32(接收)/Lib/FIFOBuffer.h
26cc408c685cbd0e3b1454b974ae3bc565c0522a
[]
no_license
InfiniteYuan/STM32F103DriverLib
7c34341c2ac16227e3921fec424727cb224bc6d7
fab4f38aa3d24112e14843d503d75923ab37a541
refs/heads/master
2021-09-21T11:49:35.390485
2018-08-01T16:07:23
2018-08-01T16:07:23
93,494,975
10
7
null
null
null
null
UTF-8
C++
false
false
4,035
h
FIFOBuffer.h
/** *@file FIFOBuffer.h *@author cq_dan3 2015-10-20 first creat FIFOBuffer class * Neutree 2015-10-28 add comments for FIFOBuffer class *@version v1.1 *@brief A template for FIFO queue *@copyright CQUTIOTLIB all right reserved * */ #ifndef _FIFO_BUFFER_H_ #define _FIFO_BUFFER_H_ #include "stm32f10x.h" /** ...
a63ca5b788ed8e4463581133315142f089e481a8
664e84659fbbbe4f97c1740b28a4ddda8ea2b624
/include/gsound/internal/QBVHArrayTreeNode.h
6a01e7e7d23752aefe82d17a452f479f5b6e2af9
[]
no_license
SoundSight/SoundSight
baeaa0dd26d454eeb859efe1b6091cc0b61761fa
0dd3a1c5a8824173de0174133d56279c8497457f
refs/heads/master
2021-01-01T05:14:53.424886
2016-05-27T05:12:34
2016-05-27T05:12:34
59,781,138
2
0
null
null
null
null
UTF-8
C++
false
false
13,411
h
QBVHArrayTreeNode.h
/* * Project: GSound * * File: gsound/internal/QBVHArrayTreeNode.h * * Version: 1.0.0 * * Contents: gsound::internal::QBVHArrayTreeNode class declaration * * License: * * Copyright (C) 2010-12 Carl Schissler, University of North Carolina at Chapel Hill. * All rights reserved. ...
dd81a2eab22dd0717a8469d663daba94416e2a4b
122e5704831d1725a7c416a2499e95981cc4f632
/uvc/src/usb_isoch.cpp
84612b89de0a377ecb8f9e7c112342ee42229449
[]
no_license
webstorage119/uvc_scanner
01e91d8f2491f0161c5638fd95056ab7f17b82c6
0c9d04443ac2409fa3089faa88259760fc6148df
refs/heads/master
2021-05-30T10:20:30.094546
2016-01-19T08:55:51
2016-01-19T08:55:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,734
cpp
usb_isoch.cpp
/* Copyright (c) 2010 Max Grosse (max.grosse(at)ioctl.eu) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
277dc9d6d74eae0dd6ad914fedb304a645f8940d
cdd4ac1fad969dec8ca2230346b4176c074306d7
/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc
fe329bb77aca6b4aed495e46a77f60a195d0743f
[ "BSD-3-Clause" ]
permissive
cha63506/chromium-16
8030101e2ff4e1319d64821296def926c0fae585
681563ea0f892a051f4ef3d5e53438e0bb7d2261
HEAD
2017-05-24T09:56:16.628442
2012-03-29T14:49:30
2012-03-29T14:49:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
656
cc
chrome_report_unrecoverable_error.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h" #include "build/build_config.h" #if defined(OS_WIN) #include <windows.h> #en...
8ce2c942d2e09871c9cb987af74582cbfa832b62
a30d09985c3bbe308db025eb5358f375e9906e69
/src/ros_cyton_pkg/include/measure/ecObstProxFunction.h
2e83d3bce9d0f5c65a71ce96d108981db7343319
[]
no_license
shelderzhang/ros_cyton_gamma
d86bb61bb6796aa8c49d61031fe23065d2bbb80d
fbadcc333518ea0522368be9bdb3e36d0c828dbf
refs/heads/master
2021-01-18T10:21:13.524783
2014-09-05T21:04:16
2014-09-05T21:04:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,036
h
ecObstProxFunction.h
#ifndef ecObstProxFunction_H_ #define ecObstProxFunction_H_ //------------------------------------------------------------------------------ // Copyright (c) 2002-2013 Energid Technologies. All rights reserved. // /// @file ecObstProxFunction.h /// @class EcObstacleProximityFunction /// @brief Provides a measure of pro...
e65c20e004ae63da257e520c7654989d9e3d1b34
c9b02ab1612c8b436c1de94069b139137657899b
/rpg/app/battle/WWMParser.h
3d2be7313eca1718f5b8b8bbb18b754681cb6d47
[]
no_license
colinblack/game_server
a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab
a7724f93e0be5c43e323972da30e738e5fbef54f
refs/heads/master
2020-03-21T19:25:02.879552
2020-03-01T08:57:07
2020-03-01T08:57:07
138,948,382
1
1
null
null
null
null
UTF-8
C++
false
false
1,536
h
WWMParser.h
#ifndef _WWM_PARSER_H_ #define _WWM_PARSER_H_ #include <string> #include <map> #include <vector> using namespace std; class WWMParser { public: static WWMParser* getInstance(const string& path); private: WWMParser(); bool parse(const string& path); public: uint32_t getWidth() const { return width; } uint32...
cb2138af59d3ea09712a5774bb5a7bb0ac84cb12
0a8a0b80abb155fa74b0fd4746bf01e8d666a5d3
/polarity/PolarityGame/src/Editor/EditorInput.cpp
2cb66b845e735bac06546619f3e8c90c010d4b4a
[ "Unlicense" ]
permissive
doggan/code-dump
48e7cf0c39bc9a84fc3e91e423e248d17b5fb3d5
8f4c7bc32ea45ae0a775838e2a7f7217017cd1be
refs/heads/master
2022-01-11T19:13:17.942575
2021-12-29T08:25:01
2021-12-29T08:25:01
29,381,706
0
0
null
null
null
null
UTF-8
C++
false
false
1,507
cpp
EditorInput.cpp
#ifdef EDITOR #include "EditorInput.h" void EditorInput::update() { // if button is down, change it to HELD // if button is up, change it to INACTIVE // Mouse. { std::map<int, KEY_STATE>::iterator iter; for(iter = m_buttonStates.begin(); iter != m_buttonStates.end(); ++iter) { // From down...
7cee81984a02403355f4ca8d3c359a1906f8c092
34faf51d9af99c9c2a1115a0ec37f77305aa2aa2
/cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_127.cpp
e14d74d09744d37c42a7028a5f64b023783b862b
[ "Apache-2.0" ]
permissive
shawvi/ydk-cpp
98fe0ed47413f08e6ce8fd5b6a0393ff0da6c5d5
58199aa5b8d2b73c452955ef3eb93d6d3720223e
refs/heads/master
2020-04-27T10:37:25.141296
2019-02-13T00:01:42
2019-02-13T00:01:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
558,550
cpp
Cisco_IOS_XE_native_127.cpp
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XE_native_127.hpp" #include "Cisco_IOS_XE_native_128.hpp" using namespace ydk; namespace cisco_ios_xe { namespace Cisco_IOS_XE_native { Native::Crypto::Key::Enc...
d21323a773b3beaf8e4752c4db87f5b1dd2f1ecb
1621bd8219d28d13faa8324c9c66e963e1069aca
/ScreenCapture.h
e3df7ba8a60dfab421ce469b1252537d8b34f10a
[]
no_license
paul415236/x11
44998c68597198aeb508b1e36df89949889d6170
7280f12a79c97f4f5218e3957c0661be3deeb024
refs/heads/master
2021-01-20T23:36:26.196623
2014-01-26T09:20:48
2014-01-26T09:20:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
999
h
ScreenCapture.h
#ifndef _SCREENCAPTURE_H_ #define _SCREENCAPTURE_H_ const float X_OPEN_INTERVALTIME = 0.1; const int IMAGE_BUFFER_SIZE = 1024 * 800; const int GRAPHIC_SIZE = 40 * 1024; typedef struct _image_item { unsigned char *pOutBuf; unsigned long lOutSize; int count ; int mod; int frameIndex; int endflag; ...
1cc500d5143c38d2d00838ee08107743f6669874
75155538100c37e12b501448dd587ad48466f65c
/src/Entity.h
267dff10ce7d218afff374ef29cd24002f9a6e9c
[]
no_license
DaniBarca/PlaneGame
3bb0986f3050a0cd9689eae5947955c1655ab0d1
ffaa71833b93dbea5c66a71e29851dbf49708e3d
refs/heads/master
2020-04-09T22:59:52.818591
2013-06-28T09:49:21
2013-06-28T09:49:21
10,364,031
0
0
null
null
null
null
UTF-8
C++
false
false
423
h
Entity.h
/* * Entity */ #ifndef ENTITY_H #define ENTITY_H #include "framework.h" #include <string> class Entity{ public: static int last_id; Entity(Vector3 position = Vector3(0,0,0)); Matrix44 getMatrix(){return matrix_;} bool Entity::isNearerThan(Entity* ent, int dist); float distance(Entity* b); virtual void rese...
557c60f3fa72cbc8489ee7576c857eb711c11a09
e94f1d263665b288d517974960677ea36938f157
/Day17/spinlock2.cpp
762d558880d983dd076e4cc1d2f376ed288560a6
[]
no_license
yuvii28/Advent17
fc4e2143a17b3f7d0a34b3a56ec81b30916d4330
ef0361cd2ab442891de3f88102af013f7dc4eb59
refs/heads/master
2021-08-31T11:29:41.595315
2017-12-21T06:34:59
2017-12-21T06:34:59
113,120,790
0
0
null
null
null
null
UTF-8
C++
false
false
517
cpp
spinlock2.cpp
#include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <algorithm> #include <queue> int main(int argc, char* argv[]){ int currPos = 0; int supposedSize = 1; int steps = 337; int result = 0; for (int i = 1; i < 50000000; i++){ //Move forward n % size steps int ...
89ba616c8d64b4ce3af30b700e6434ec0142fcd2
2f72d621e6ec03b9ea243a96e8dd947a952da087
/include/Source.h
0300a77135a6ed1264c4cf0de54fb72473ce43f9
[]
no_license
gspu/lol4fg
752358c3c3431026ed025e8cb8777e4807eed7a0
12a08f3ef1126ce679ea05293fe35525065ab253
refs/heads/master
2023-04-30T05:32:03.826238
2011-07-23T23:35:14
2011-07-23T23:35:14
364,193,504
0
0
null
null
null
null
ISO-8859-1
C++
false
false
8,979
h
Source.h
#ifndef __mSoundSrc #define __mSoundSrc #include "alc.h" #include "al.h" #include "Ogre.h" #include "Sound.h" #include "Buffer.h" namespace SimpleSound { class Source { friend class SoundManager; public: enum SourceState { Null = 0, Initial = 1, Playing = 2, Paused = 3, ...
901dac3db709bf6190c5712452cc932f995f99d3
174549921373b8a390daf1c9ea10063782102186
/SparkleZEngineRedux/Debug/include/Material.cpp
27a8afc7b3ab255a951843ba9ef047e867667f9a
[]
no_license
NathanCoultas/Sparklez
2ece85bfc4bfd6fa0f575307fab0b5e0fe7327ed
983ab44760a73c8cf3263a1039682d104f9df497
refs/heads/master
2020-03-21T15:07:50.207043
2018-07-15T03:06:01
2018-07-15T03:06:01
138,696,049
0
0
null
null
null
null
UTF-8
C++
false
false
1,298
cpp
Material.cpp
#include "Material.h" #include "sdl\include\SDL.h" #include "glm\gtc\type_ptr.hpp" #include "glm\gtc\matrix_transform.hpp" #include "Console.h" #include "GraphicsCache.h" #include <string> #include <iostream> #include <fstream> namespace sparklezEngine { Material::Material() { m_texture1 = 0; } void Materi...
d2568ddf03f1509a56cea576c1bc968ab26aa58c
f05a10a94b849b82e1d1c7d8a088fcb6945c8286
/TestProject/Src/Core/Synchronization/CPP11Thread.cpp
23bdbae9f4bfadceed63e902fa64aa3d730e2eca
[]
no_license
fatmingwang/TestProject
162be59b7bb96db1fb3b77c1a2cf823b43b3d7f5
338aa402492f523e1d54883070195867333e6e42
refs/heads/master
2020-06-03T16:53:29.432685
2019-06-16T16:55:10
2019-06-16T16:55:10
191,656,664
0
0
null
null
null
null
UTF-8
C++
false
false
1,999
cpp
CPP11Thread.cpp
#include "../stdafx.h" #include "CPP11Thread.h" #include "../GameplayUT/GameApp.h" namespace FATMING_CORE { cPP11MutexHolderDebug::cPP11MutexHolderDebug(std::mutex& e_mutex) :m_Mutex(e_mutex) { m_Mutex.lock(); } cPP11MutexHolderDebug::cPP11MutexHolderDebug(std::mutex& e_mutex, const wchar_t*e_strDebugInfo) :m_Mut...
80b02dd7db239988bb287e4389bf59ea6a9ba378
23017336d25e6ec49c4a51f11c1b3a3aa10acf22
/csc3750/prog2/Pixel.cpp
9ee92d2fabb179be588a7780cf0bbb6ba7759a28
[]
no_license
tjshaffer21/School
5e7681c96e0c10966fc7362931412c4244507911
4aa5fc3a8bbbbb8d46d045244e8a7f84e71c768f
refs/heads/master
2020-05-27T19:05:06.422314
2011-05-17T19:55:40
2011-05-17T19:55:40
1,681,224
1
1
null
2017-07-29T13:35:54
2011-04-29T15:36:55
C++
UTF-8
C++
false
false
1,013
cpp
Pixel.cpp
#include "GL/glut.h" #include "Pixel.h" Pixel::Pixel(int width, int height) { xWindow = width; yWindow = height; } Pixel::~Pixel(){} void Pixel::setWidth(int width) { xWindow = width; } void Pixel::setHeight(int height) { yWindow = height; } int Pixel::getWidth() { return xWin...
5acdbaa5f8b9ca0ecdc2b1a9d51cd74b8f7bfe02
039e198081ee8f84fee8b854e0850c3f5faa315c
/single-number.cpp
a06f320b06485ee108ecf0bdee7cb4b983ac7147
[ "MIT" ]
permissive
himeshnag/Ds-Algo-Hacktoberfest
2f11e31768f70296154ec19e5d11d7dfe4472c75
812cae461dcec72f54504c31b7b184916b31733b
refs/heads/master
2022-12-30T11:12:06.924382
2020-10-19T19:18:07
2020-10-19T19:18:07
305,477,186
0
0
null
2020-10-19T19:19:00
2020-10-19T18:25:47
Java
UTF-8
C++
false
false
618
cpp
single-number.cpp
/* Code by Urjita Sharma Given a non-empty array of integers, every element appears twice except for one. Find that single one. */ #include <iostream> #include <bits/stdc++.h> #include <vector> using namespace std; int singleNumber(vector<int>& nums) { int x=0; for(int i=0;i<nums.size();i++){ ...
ef0d598b5887837246f3a836bfb6a45b80714848
886d6a119ffa38d59c8ad4ec719ecfec90ccb338
/ExampleApplication.cpp
1f02a890aa7cecf1c5b26e147b9a1ee4a6d1f2b3
[]
no_license
gragonvlad/glsandbox
a40dbf983835cb56ce149b839d061b979bde0cf5
8cfe5c11dcadc68d94d4c90a6f934e9fec4281e5
refs/heads/master
2021-01-01T20:32:11.638287
2012-09-24T00:26:21
2012-09-24T00:26:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,094
cpp
ExampleApplication.cpp
#ifndef GLEW_STATIC #define GLEW_STATIC #endif #include <gl/glew.h> #include <gl/gl.h> #include <cassert> #include "VertexBuffer.h" #include "ShaderManager.h" #include "Math3D.h" #include "Frustum.h" #include "TransformPipeline.h" #include "ExampleApplication.h" #include "TGAFile.h" #include "Texture2D.h" #include "Cub...
56df5b2686bfdd652f6163192a217099231be2ef
c0203751e2a057966cdf335c42b8d3b38d3e09f1
/cc/debug/paint_time_counter.h
a1950834b0fa0bb3dfb965051257ad498574c711
[ "BSD-3-Clause" ]
permissive
timopulkkinen/BubbleFish
8a39cb8f6c885602d8d2d3b30fdc6999348a8109
eae72cda503b24447ebc9cd167e2f1ea9c933ce5
refs/heads/master
2020-05-09T15:52:41.453111
2013-03-24T21:27:44
2013-03-24T21:27:44
6,156,585
1
1
null
null
null
null
UTF-8
C++
false
false
1,860
h
paint_time_counter.h
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_DEBUG_PAINT_TIME_COUNTER_H_ #define CC_DEBUG_PAINT_TIME_COUNTER_H_ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" #include "...
d6c309433e6b53c7a8510ffd086c789782b09663
a042bf4e1d185e06828f592238f272315fa00498
/number_sign.cpp
553290df7c1def3f015a7826aab4afa83a9d97dc
[]
no_license
yashwanth999/cpp_programs
46994460ac67b14b9c2ffaf20da297bec993db93
4aa1b2f5e19a6cbd128e6b0749f0c96e741f7b9d
refs/heads/master
2021-01-11T16:07:05.036126
2018-12-31T09:31:15
2018-12-31T09:31:15
80,007,503
0
0
null
null
null
null
UTF-8
C++
false
false
761
cpp
number_sign.cpp
#include<iostream> using namespace std; int main() { int number; char option; int positive_count =0, negative_count=0, zero_count =0; do { cout << "Enter the value of the number" <<endl; cin >> number; if(number == 0) { zero_count ++; } if ((number > 0) && (number < 32767)) { positive_cou...
d03ea2e22c488e5439e5aedbbddd8e7dad514e47
17478d9298936093c31dc16c356fdbf5a9e5dd7f
/online-judge-solutions/Codeforces/764A.cpp
d5f246430e57b2060ec8857a0757ba828f54a609
[]
no_license
lilberick/Competitive-programming
5b381aa7cd7736e1040974cde302d0d50521fc9d
c0b160e4abbd2c6d459604b60b8fef5d97d8d576
refs/heads/master
2023-04-02T13:30:21.143442
2023-03-22T14:52:43
2023-03-22T14:52:43
137,540,270
2
1
null
2018-10-04T06:13:11
2018-06-15T23:39:21
null
UTF-8
C++
false
false
372
cpp
764A.cpp
//https://codeforces.com/problemset/problem/764/A //Lang : GNU C++14 //Time : 15 ms //Memory : 0 KB #include<iostream> #include<numeric> using namespace std; int mcd(int a,int b){ if(b==0) return a; return mcd(b,a%b);//cuidar que a no sea (-) } int mcm(int a,int b){ return (a/mcd(a,b))*b; } int main(){ int n,m,z;...
d55b3ce567ad3ea920b2b55e1c276b8228a0c649
ce450aaed32e26504b0f1b3b33c1f94d63eb5b55
/Euler_6.cpp
19910d58072e017ea8d779606f755bae5d37e465
[]
no_license
bronzecraft/EulerProject
1cc784893fd12fc0a6e14a052a76689543772774
980b2386473e364613ff62030cf5d98e68b3c251
refs/heads/main
2023-03-02T17:54:35.542748
2021-02-12T11:29:07
2021-02-12T11:29:07
312,124,205
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
Euler_6.cpp
#include <iostream> int main() { int i = 1, m = 0, n = 1; for (int j = 100; j >= 1; j = j - 1) { for ( i = 1; i < j; i++) { m = m + 2 * j * i; } } std::cout << m << std::endl; return i; }
ac622159b26db75fca61646503ef22677ccf80f6
d076dc084bf083e29c52e2751608adc6e9cd1547
/cpp/IMC/Spec/FollowRefState.hpp
a2ffdbdbdaaed2bc7f19acadc1dc228574a8639a
[ "BSD-2-Clause" ]
permissive
laas/fire-rs-saop
2fda57fd86273dd81e1f29d25790e4aab5154400
321e16fceebf44e8e97b482c24f37fbf6dd7d162
refs/heads/master
2021-07-19T03:14:29.799658
2021-07-09T09:18:29
2021-07-09T09:18:29
105,798,055
17
5
BSD-2-Clause
2021-07-09T09:18:30
2017-10-04T17:36:40
C++
UTF-8
C++
false
false
7,016
hpp
FollowRefState.hpp
//*************************************************************************** // Copyright 2017 OceanScan - Marine Systems & Technology, Lda. * //*************************************************************************** // Licensed under the Apache License, Version 2.0 (the "License"); * // you m...
b77240bc73f9de528260ea169150b7330912b2e0
625fa2d10a20d4f8db88e19b5c272fe574be2d7b
/Classes/data/Pet.h
87c39454a5ee07882ccf4025918b421becd8a4b0
[]
no_license
Crasader/life
020ada76728f90ee6ba11a0ef465746d1d716172
69b68d6dd3fe37fc3081f7f92701750bd3afd3c5
refs/heads/master
2020-12-26T14:55:42.684115
2018-07-18T02:30:03
2018-07-18T02:30:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,787
h
Pet.h
// // Pet.h // life // // Created by ff on 17/7/28. // // #ifndef Pet_h #define Pet_h #include "cocos2d.h" #include "cocostudio/CocoStudio.h" #include "utils/GameUtils.h" typedef struct __PET_CONFIG { int petId; std::string name; std::string icon; std::string ...
1437e290151f9f19040821bb9960d6d99b93819f
9128e28d7ed04e8623d3a94980276d8ca4362d9e
/Practikums/Iterators and Smart pointers/Task03/main.cpp
684d7e3752acb42bccc846936665fff429b338f4
[]
no_license
snikolova27/OOP-2021
ac3317fc4cab4b6970a96482acbb7ef37389edd8
8c1bea8be690aa498d5cb248ac1a7a45abe7032a
refs/heads/main
2023-06-25T03:29:53.123503
2021-07-24T14:43:02
2021-07-24T14:43:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
598
cpp
main.cpp
#include "Park.h" #include <iostream> #include <memory> int main() { std::string name; std::cout << "Enter name of park" <<std::endl; std::getline(std::cin, name); Park* park = new Park(name); std::cout << park->getName() << std::endl; delete park; std::unique_ptr <Park> uniquePark(...
6d9056818158527485ac013d6b250f1c3cc60380
2fd8cd1b9db4e9c1605ca306ac86f2cdab1af3e8
/src/test_std_find_if.cpp
1b47e98538386e761097fbb564658aa343ecba54
[]
no_license
commshare/testCPP
f2642eabd0c65669f479e4db6791ade727257bc7
81ec9e84df7f133513335ce55ad9b17c38cb7910
refs/heads/master
2020-04-05T14:38:56.977803
2020-02-25T09:23:51
2020-02-25T09:23:51
41,774,178
0
0
null
null
null
null
GB18030
C++
false
false
1,850
cpp
test_std_find_if.cpp
#include <iostream> #include <map> #include <algorithm> //https://www.cnblogs.com/motadou/archive/2009/02/01/1561549.html /* class map_finder即用于比较的函数对象,它的核心就是重载的()运算符。 因为每个容器迭代器的*运算符得到的结果都是该容器的value_type值, 所以该运算符的形参就是map迭代器指向的value_type类型的引用。 而map的value_type到底是什么类型,就得看下STL的源代码是如何定义的。 template <class Key, class T, cl...
ce8cfbe9ab0cb8dae18cfd717d095063e93c1256
7e1b064185855fa9b5072542a72c16613c71ac74
/src/main.cpp
253c4c7339e078aa5fed1d4a79d0f529b5a57b59
[]
no_license
Nikanorich/geometry
63260ef1f4bca3b4131b69efd04576a7b51d5bb4
1e2b109cdae3eeabf730fee3b614f0c26dd71363
refs/heads/master
2021-05-17T05:00:45.575819
2020-03-28T14:30:40
2020-03-28T14:30:40
250,637,246
0
0
null
null
null
null
UTF-8
C++
false
false
388
cpp
main.cpp
#include "func.h" #include <bits/stdc++.h> using namespace std; int main() { int x, y, r; int x1, x2, y1, y2, x3, y3; int Var = menu(); switch (Var) { case 1: { cin >> x >> y >> r; circle(x, y, r); break; } case 2: { cin >> x1 >> x2 >> x3 >> y1 >> y2 >> y3; ...
16ae76fdf494199690e6387a770ab8f7d8d6b71c
98544ccaf08da72ad656fe673e023122035d6fc9
/CL-Include/source/Options.cpp
e3e449940922b1826e84d89f51b62db95245b1a7
[ "MIT" ]
permissive
MathiasMagnus/Test-Applications
b4ad4668d8be389b78146811a2ce2ddd5bd14059
bbb284f2d864866908dd5d36230f1bf54a56ea4c
refs/heads/master
2022-12-01T10:39:52.099603
2022-11-15T12:47:01
2022-11-15T12:47:01
117,245,246
0
0
null
null
null
null
UTF-8
C++
false
false
2,130
cpp
Options.cpp
// CL-Include includes #include <CL-Include-config.hpp> // kernels_path #include <Options.hpp> // TCLAP includes #include <tclap/CmdLine.h> // STL includes #include <sstream> cli::options cli::parse(int argc, char** argv, const std::string banner) { try { TCLAP::CmdLine cli(banner); TCLAP::...
f30ffaee2fe65bb182659b399aa4d7e58d8a0ac7
73ac0a30b6da1e04d85f355337edacd4b21a074c
/Source/Applications/Firestorm/FirestormApp.cpp
5360b7b12988820d6a543e2889d3d5e4b364de1d
[]
no_license
fool404/Firestorm
f73279715ec162bb4f04cfadd8ee8099d89fde7a
fe58e3ce2bb653d49047d52bc4d1f2b2f407ab44
refs/heads/master
2021-09-28T03:44:30.001118
2018-11-12T19:26:42
2018-11-12T19:26:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,418
cpp
FirestormApp.cpp
#include "stdafx.h" #include "FirestormApp.h" #include <libCore/Logger.h> #include <LLGL/LLGL.h> #include <LLGL/VertexAttribute.h> #include <LLGL/VertexFormat.h> #include <libIO/libIO.h> #include <libIO/ResourceMgr.h> #include <libScene/ShaderProgramResource.h> #include <libScene/MeshResource.h> #include <libScene/...
4e620971532fb40d3fa79535f7a74aeaff75a99a
a9cfe15b0ad66704ea25f6b3f5cbedf10666b9ed
/DataBaseC/test.cpp
bf38b752e39aa5feaafebbf012233a86f7574507
[]
no_license
terrabayt/KPI-study
04a475050f46c76297933239006a1b779d726263
27766cf58119bd09f92b309adba6ab95e4653c8c
refs/heads/master
2020-07-09T15:12:48.279588
2016-09-06T21:57:29
2016-09-06T21:57:29
67,548,346
1
1
null
null
null
null
UTF-8
C++
false
false
431
cpp
test.cpp
#define _CRT_SECURE_NO_WARNINGS #include "database.h" using namespace std; int main(){ DataBase db; int LoadRes = db.loadFromFile("file.csv"); db.displayAll(); db.arrangeSubordinates(); cout << "After arranging\n"; db.displayAll(); cout << "Fire id 3\n"; db.fireEmployee(3); db.displayAll(); cout <...
0c4f132306a34a237ca966a6c9322a54aed61255
c47c512f2d60e44109de886c5908a4ac1f1eaad1
/bin/runHcalAnalysis.cc
c224619fe7f10106a95e0b010ff9f48018e97691
[]
no_license
georgia14/HcalTPAnalyzer
53a701227e8db209edd27d11c0dfcddd04d6d726
17dcbf8f05d0bb8d5e4c018b8c1c3217f44e200c
refs/heads/master
2021-07-07T17:37:10.842350
2017-10-03T08:08:06
2017-10-03T08:08:06
105,626,003
0
1
null
null
null
null
UTF-8
C++
false
false
11,761
cc
runHcalAnalysis.cc
#include <iostream> #include "FWCore/FWLite/interface/FWLiteEnabler.h" #include "FWCore/PythonParameterSet/interface/MakeParameterSets.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "UserCode/HcalTPAnalyzer/interface/MacroUtils.h" #include "UserCode/HcalTPAnalyzer/interface/HcalEvent.h" #include ...
ffb784f64c3cd5d1e3581ccee6cd294dd3f8e6eb
94db361f9d28fcb80156432a15a31de00a491d03
/IntentoSeparacion/Posicion.cpp
b223b47820afbc1c54ca00090c1f5fe1285fb46e
[]
no_license
JohelPF/Proyecto_1_E.D
fa05393af8a545b0eaa1958d81bd60c28a14d04c
65a98bc240e078b98ebb6c1e6d4d91b993011735
refs/heads/master
2022-11-18T00:21:57.678661
2020-07-20T00:32:31
2020-07-20T00:32:31
279,469,136
0
0
null
null
null
null
UTF-8
C++
false
false
2,722
cpp
Posicion.cpp
#include <iostream> #include <vector> using namespace std; typedef struct _Posicion{ string palabra; vector<int> linea; vector<int> posicion; _Posicion *siguiente = NULL; }Posicion; Posicion *primpos = NULL; bool EnPosicion(string palabra){ Posicion *recorrido = primpos; while (true)...
f35b94e55d979e3cab0be5cfc0c1ce8fc0bc17b6
7e21f6fd014dab6eddf144c85b8a21208db666fd
/readBook.cpp
95ca0d116911064c64829467c6abc045a58302b3
[]
no_license
thuang136/algorithm
167f0b6e638821a075709fc28d79ca5ba9190e15
5d8dbdd09dd494f267023d985288356e40a93c01
refs/heads/master
2016-09-06T03:51:48.505787
2015-06-28T07:58:57
2015-06-28T07:58:57
26,943,784
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,866
cpp
readBook.cpp
/* Jessica is a girl who is loved by many boys. Jessica has an exam in a few days but hasn¡¯t started exam study yet. To pass the exam, she has to read and memorize a very thick book. Just like many others, the author of the book had repeated the same contents through many pages of the book. Jessica, realizing such ...
5953df1f19e6e2bf8f3b8bcbcf8567a1ed8009ed
0db8b24248e9957dcbc9cc13805e231c516bd3ce
/ArmedRobot/RectangularSolidShoot.cpp
d45080cbe8159dc46cbe5052988dca1cead034d2
[]
no_license
Kaito1539/ActionGame
6a72c5c03b04691b50bbb21760729f613b00a494
1da84ce7b6efd18f9d9fb447eb3c7a199d1ce1bc
refs/heads/master
2020-05-09T20:08:46.319063
2019-04-16T04:18:14
2019-04-16T04:18:14
181,329,564
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,260
cpp
RectangularSolidShoot.cpp
#include "RectangularSolidShoot.h" void RectangularSolidShoot::Initialize(int setMap[MAP_HEIGHT_MAX][MAP_WIDTH_MAX], int setMapH, int setMapW, int* setID){ x = y = width=height=0; atk = blowX =blowY = 0; alive = false; //GetGraphSize(graphic, &size[XA], &size[YA]); for (int i = 0; i < setMapH; i++){ for...
98d5daac42e4e4d68f88f434ce482698b3f56e8f
168c0dca487228f7682febfef1aaafe87e0006aa
/04/ex02/ISpaceMarine.hpp
63a28588af1299106146b24409670c8970744e4b
[]
no_license
yaksaer/42-CPP-Module
d22f50e35c8cac8d41ccee0691e3670719086ce8
e1faddb142ef00eb0aa54f1cff4d40b63f9f521e
refs/heads/master
2022-03-29T17:22:27.363929
2020-01-10T17:45:47
2020-01-10T17:45:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,208
hpp
ISpaceMarine.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ISpaceMarine.hpp :+: :+: :+: ...
93dfb23221565bfeb20ad7ee128537a050d08499
91e386c08bfa45fb6161120bb243d9ff494477e7
/application/yut_project/yut_project.ino
db217c700361681ce7b0848d863db5f34a513b96
[ "MIT" ]
permissive
JUNGHOJONG/inner-circle
ccb03c6313b7240ff88a6d7ca9602e6ba5115feb
ac7b1487cd49bff885256e6f0d041b8761e84460
refs/heads/master
2023-07-19T04:31:08.223691
2021-08-29T16:19:52
2021-08-29T16:19:52
395,670,788
0
0
null
null
null
null
UTF-8
C++
false
false
5,464
ino
yut_project.ino
#include <Arduino.h> #include <Streaming.h> #include <Vector.h> #include <Wire.h> const long BAUD = 115200; // before -> 230400 const int ROOT_COUNT = 4; const int ROOT_LENGTH = 8; int root[ROOT_COUNT + 1][ROOT_LENGTH]; int currentPosition = 0; int movementCount = 0; // root 결정 변수 boolean zeroPin_rootCheck = false; ...
f71ab5060e150ad09a105b51f9f29dc5cb91f62a
77df82e47d0df3f072501891ab416884de3bd885
/Player.h
beff156c23b1863273221435b4164a59ceb50dac
[]
no_license
Gleb8911/RaveGame
406d52e7dbab5d45f2a14cf274729e7f685d4b5a
c3e6ae3a20cc042b8406d57843ac97cd03c4c624
refs/heads/master
2022-11-07T09:30:40.297944
2020-06-30T20:51:44
2020-06-30T20:51:44
276,205,435
0
0
null
null
null
null
UTF-8
C++
false
false
1,631
h
Player.h
#pragma once #include "Components.h" #include "Actions.h" #include "ECS.h" #include "Inputs.h" #include "ChangeInputMediator.h" class Player { public: inline static Entity* CreatePlayer(Manager* manager, SDL_Renderer* renderer, ChangeInputMediator* mediator) { auto& player(manager->addEntity(pc)); ...
71dbc54998d3dbeab780dbd64ddc7c926671bfcb
f8d26b4c36762cb3e1ce19899db70e960dbc88a3
/EziSocial_v2.4.1.2/Cocos2dx_2.2.x/ezibyte/ezisocial/include/EziFBIncomingRequest.h
e4d01105bfa7cae9cb950adc1b262edda267d844
[ "Zlib" ]
permissive
ezibyte/EziSocial-Plugin
db979d54a844801d92a0c340de5217b52948de96
9618103a4600239bc319dc0126e64c3fa1a6265a
refs/heads/master
2021-01-17T06:00:46.565638
2014-10-28T14:21:53
2014-10-28T14:21:53
9,576,982
2
1
null
null
null
null
UTF-8
C++
false
false
2,722
h
EziFBIncomingRequest.h
// // EziFBIncomingRequest.h // FacebookGameDemo // // Created by Paras Mendiratta on 20/05/13. // // #ifndef __FacebookGameDemo__EziFBIncomingRequest__ #define __FacebookGameDemo__EziFBIncomingRequest__ #include <iostream> #include "cocos2d.h" #include "EziSocialDefinition.h" #include "EziFacebookFriend.h" #defi...
1af1e7c165881e102771a3647b3a875f3585bb17
ea4a1b9e369c879ff1cc254f0adb5f33649b284f
/final_project/Text_Game_Engine/Game.h
fa3d77c367533a76ebea4a689079765b863c2d7e
[]
no_license
jfacoustic/CSCI375_S2017_CMU
a6a1e010a8f9756cf7ec51d5a3579fcaf96815a0
0ca75f32c5f4f100b48b01891413168a36ceacbc
refs/heads/master
2021-01-11T15:52:59.621790
2017-05-09T02:30:04
2017-05-09T02:30:04
79,947,230
0
0
null
null
null
null
UTF-8
C++
false
false
394
h
Game.h
/* * Game.h * * Created on: May 1, 2017 * Author: joshua */ #ifndef GAME_H_ #define GAME_H_ #include <iostream> #include "Reader.h" #include "Controller.h" class Game { public: Game(Reader * reader, Controller * control); void run(); private: //std::string _textToPrint; bool _running; int _currentCho...
0566a740f78045768a6557952bbf3e645936a65e
56a4cb943d085a672f8b0d08a8c047f772e6a45e
/code/Johnson_Engine/Runtime/render_a/src/sys/d3d/d3dmeshrendobj_rigid.cpp
ac2aa404b094a2f9930c061f44479390ada0de47
[]
no_license
robertveloso/suddenattack_legacy
2016fa21640d9a97227337ac8b2513af7b0ce00b
05ff49cced2ba651c25c18379fed156c58a577d7
refs/heads/master
2022-06-20T05:00:10.375695
2020-05-08T01:46:02
2020-05-08T01:46:02
262,199,345
3
1
null
null
null
null
UHC
C++
false
false
7,356
cpp
d3dmeshrendobj_rigid.cpp
// d3dmeshrendobj_rigid.cpp #include "precompile.h" #include "d3dmeshrendobj_rigid.h" #include "ltb.h" #include "d3d_device.h" #include "d3d_renderstatemgr.h" #include "render.h" //[MURSUM] 포커스 유무 확인 #include "ltvertexshadermgr.h" #include "ltpixelshadermgr.h" #include "d3d_renderstyle.h" #include "de_objects.h" #inc...
2d6345258bf18b6469532a3ceba67b27f980cbe0
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/DP/3356.cpp
0088914471e0b4ec1b63234b28866e8ec6c50a4a
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
814
cpp
3356.cpp
#include<bits/stdc++.h> #define ll long long #define pb push_back #define mp make_pair #define orz 1000000007 using namespace std; int n,z[1000005],b[1000005],k; char a[1000005]; void getz(){ int l=1,r=1; for(int i=2;i<=n;++i){ if(i>r){ l=i,r=i; while(r<=n&&a[r]==a...
0c4ef4f8821e4e3520123dc6123102bc4e043a3a
4dda21cfe5782394b2b249c6537df8e42757ccc0
/LT-535 Encode and Decode TinyURL.cpp
537f54eb334eac7ee598d75ce1b042bb73b00dd1
[]
no_license
yekesit/Leetcode-Problems
983d2b66d32fc8e0d58078a23d786ada32990177
d6fc7683ab7cd0b3c53cc2c932a4ea7731d370b2
refs/heads/master
2020-06-04T11:40:00.640517
2019-07-19T03:07:09
2019-07-19T03:07:09
192,006,515
0
0
null
null
null
null
UTF-8
C++
false
false
1,154
cpp
LT-535 Encode and Decode TinyURL.cpp
// // Created by Ke Ye on 2019-06-16. // #include <iostream> #include <random> #include <unordered_map> using namespace std; //Link in problem is how to save short URL //Here the problem is how to convert long URL to short URL class Solution { public: unordered_map<string, string> map; string alphabet = "0123...
501dc5f8bf72ac075e40a34852bf80c32fd7826c
d754aa8080c6524a1a12b9b82ce68aa8a492606e
/raft/msg_ids_test.cc
90d5b02f4d34f181e8782e586c6759112f0e7195
[ "Apache-2.0" ]
permissive
szab100/sfdb
28a2d45c950b5d59a74af3e2af28acdf05ce2dff
02d8d8412d944019830f4b2a642bcbf223fc356a
refs/heads/master
2023-01-09T14:52:58.386665
2021-05-25T18:12:37
2021-05-25T18:12:37
248,836,038
6
2
Apache-2.0
2023-01-07T16:10:26
2020-03-20T19:28:14
C++
UTF-8
C++
false
false
2,134
cc
msg_ids_test.cc
/* * Copyright (c) 2019 Google LLC. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License,...
73610fe6e0eb75c26902338bf08135cd4b003baa
f6f0be9108ba516d0f49e009ffe525814c6f0c95
/test/miscellaneous/scheduling_jobs_test.cpp
0c4934dc0b882222615ed26bf1d416d3f7f5c1c4
[]
no_license
PauloMiranda98/Competitive-Programming-Notebook
fe07a318c50c147cc3939dfde9034fe3de5056d9
54af0a8dcefdeb5505538a3716855db62bcdc716
refs/heads/master
2023-08-02T04:36:52.830218
2023-07-31T00:21:04
2023-07-31T00:21:04
242,273,238
20
4
null
2021-07-08T19:21:44
2020-02-22T03:30:13
C++
UTF-8
C++
false
false
1,139
cpp
scheduling_jobs_test.cpp
#include "../../code/miscellaneous/scheduling_jobs.h" ll penalty1(vector<Job> v){ ll ans = 0; ll T=0; for(Job j: v){ ans += j.c*(ll)T; T += j.t; } return ans; } long double penalty2(vector<Job> v){ long double ans = 0; ll T=0; for(Job j: v){ ans += j.c*exp(alfa*T); T += j.t; } return...
1557d2a28855d94f081651bb5c18ff31ada2d2f1
77be3ab5c3cee0fa2c27c7bac1da0c80f45e5761
/Re-arrangArray4.cpp
11e94f245286959206f50eed141d0445b6f97bf3
[]
no_license
diepdao1708/zcode
50351c96c150b1628f58207df36b65891ae49ab8
a20e52469d84d9e4e337f0568d3e8cc47279a5fd
refs/heads/main
2023-04-24T10:29:11.317410
2021-05-06T14:17:12
2021-05-06T14:17:12
364,934,518
1
0
null
null
null
null
UTF-8
C++
false
false
426
cpp
Re-arrangArray4.cpp
#include<bits/stdc++.h> using namespace std; int n; vector<int> a; void Run() { a.clear(); cin>>n; a.resize(n); for(int i=0; i<n; i++) cin>>a[i]; sort(a.begin(), a.end()); int k=n-n/2; int m=k; for(int i=0; i<m; i++) { cout<<a[i]<<' '; if(k!=n) cout<<a[k]<<' '; ...