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
5824b2ee311c4c8e5e99a63ec262afe96ce47657
2b1b459706bbac83dad951426927b5798e1786fc
/sdk/ctf/tests/pkg/fidl/cpp/message_unittest.cc
33aa0573352b72962b1947ef52c6ef143c4ec77d
[ "BSD-2-Clause" ]
permissive
gnoliyil/fuchsia
bc205e4b77417acd4513fd35d7f83abd3f43eb8d
bc81409a0527580432923c30fbbb44aba677b57d
refs/heads/main
2022-12-12T11:53:01.714113
2022-01-08T17:01:14
2022-12-08T01:29:53
445,866,010
4
3
BSD-2-Clause
2022-10-11T05:44:30
2022-01-08T16:09:33
C++
UTF-8
C++
false
false
4,601
cc
message_unittest.cc
// Copyright 2017 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 <fidl/test/handles/cpp/fidl.h> #include <lib/fidl/cpp/message.h> #include <lib/zx/channel.h> #include <lib/zx/event.h> #include <zxtest/zxtest.h>...
1cbd161fcbeafd569fad30141cc01de3da8488ff
a8736e4a3fe09707bcf4faab285af51a1dbc1c98
/src/hashing.cpp
7009e216fbc3d531fc0ec4e5d6beaac4ae9f0abd
[]
no_license
bengsparks/state-machine
e5bd464c702c1d04377feaa7637a73eeb85d4c8f
5b3dfd1e0c5ded725ac3130818fb4b5c7087aa5c
refs/heads/master
2020-04-27T02:25:51.699079
2019-03-05T19:18:20
2019-03-05T19:18:20
173,993,728
0
0
null
null
null
null
UTF-8
C++
false
false
617
cpp
hashing.cpp
#include "../include/hashing.hpp" #include "../include/event.hpp" #include "../include/state.hpp" #include "../include/transition.hpp" using namespace sm_ns; auto std::hash<event>::operator()(const event& e) const noexcept -> std::size_t { return std::hash<std::string>()(e.name); } auto std::hash<state>::operator(...
b804ed3ff26f95d6427f88392bf40a3aef256ce4
f5dfb0372291f9ba0c1dbcf054903c0f46443a9b
/PAT/A1067.cpp
f51409ace9351d00c7b4169e200c7c943b80ca20
[]
no_license
liutao199527/PAT_Adveance
07d9fb0dfbc33f3bc317501c00e98b376db734fa
a839516dc4693dc32c7065df0d223b5c128b028c
refs/heads/master
2020-09-29T10:20:07.972592
2019-12-10T03:15:17
2019-12-10T03:15:17
227,017,755
0
0
null
null
null
null
UTF-8
C++
false
false
492
cpp
A1067.cpp
//#include <iostream> //#include <algorithm> // //using namespace std; //const int maxv = 100010; // //int N; //int pos[maxv]; //bool isIn[maxv] = { false }; //int index; // //int main() { // cin >> N; // for (int i = 0;i < N;i++) { // cin >> pos[i]; // if (pos[i] == i) { // pos[i] = true; // } /...
ffdad20993896d7cae76a0009c29c5900b645cd5
6a20718718683df936088e91fc5bb51b5e940424
/include/avakar/atomic.h
96d7e2a2699d713cfc15793e520d8702748dbf38
[ "MIT" ]
permissive
avakar/atomic_ref
b6e870e2ee413f742fc1ded03db9d9a354200028
bf1b16afbf3c98754d33fd601c3e53b892cd7cab
refs/heads/master
2023-08-29T17:01:12.112976
2020-05-21T10:26:15
2020-05-21T10:33:29
173,187,450
5
2
MIT
2022-08-07T18:17:31
2019-02-28T21:06:43
C++
UTF-8
C++
false
false
8,788
h
atomic.h
#ifndef AVAKAR_ATOMIC_h #define AVAKAR_ATOMIC_h #include <atomic> #include <cstddef> #if defined(_MSC_VER) && defined(_M_IX86) #include "../../src/atomic_ref.msvc.x86.h" #elif defined(_MSC_VER) && defined(_M_AMD64) #include "../../src/atomic_ref.msvc.x64.h" #elif defined(__GNUC__) #include "../../src/atomic_ref.gcc.h...
5c51930353fbbf80803842822016c0ea842be4cb
2d2857f72ea80d92f6d26e56c6eabe2c0a280540
/scpcPractice/cf568C.cpp
b45eda501d77ef5740fcc50a6bd153f427188b72
[]
no_license
kimkyuhwan/SCPC-Practice
cd63cce155dd62f1f1a4d353874f48528a94a374
f9ef04ccbe305636a38c42da0256a58f0ce2f593
refs/heads/master
2020-05-29T23:22:11.462542
2019-08-13T15:54:53
2019-08-13T15:54:53
189,432,083
0
0
null
null
null
null
UTF-8
C++
false
false
575
cpp
cf568C.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; ll N, M, sum, cnt; ll arr[200010]; priority_queue<ll> pq, temp; int main() { scanf("%lld %lld", &N, &M); for (int i = 0; i < N; i++) { scanf("%lld", &arr[i]); sum += arr[i]; while (sum > M) { sum -= pq.top(); temp.push(pq.top()); pq.po...
eb0b25fe1d2965a7de12615ab318cc89f268da24
99209e2a06ff8bd48528f885f57fe8eacc0665d4
/2023/others/Exercises/CircularBufferUtilization.cpp
838ce4a7ade9b44d1c44499032531d3c13dda751
[]
no_license
pbraga88/study
6fac30990059b481c97e558b143b068eca92bc42
fcc1fb7e0d11e264dadb7296ab201fad9a9b0140
refs/heads/master
2023-08-17T04:25:40.506116
2023-08-15T10:53:37
2023-08-15T10:53:37
155,830,216
0
0
null
null
null
null
UTF-8
C++
false
false
3,999
cpp
CircularBufferUtilization.cpp
/* Circular buffer Utilization A circular ring buffer is used to pass data between 2 threads; 1 Thread writes to the buffer whilst the other reads. A state variable captures the current utilisation of the ring buffer, where each binary bit represents an entry in the buffer: • If a bit is 1, the corresponding position...
9f5621c3de5a7e98108353c5eb42aeec6f3b46b7
c7e580f3fb034a48d2542d5d04438dcd796125b9
/CS420_Project2_Wumpus/Agent.h
9f343bf390bd059dc78d45b1621e7323b02baa41
[]
no_license
tchtrong/CS420_Project2_Wumpus
aa4e6cb38875bf3620d6071c7fa6ee839fa87441
f58c503619cad93525f925c40ccc1180518cab3c
refs/heads/master
2022-11-06T15:18:35.084278
2020-06-26T16:06:51
2020-06-26T16:06:51
274,125,645
0
0
null
null
null
null
UTF-8
C++
false
false
5,950
h
Agent.h
#pragma once #include "Board.h" enum class Question { SAFE, NOT_UNSAFE, WUMPUS, UNVISITED, }; enum class Direction { UP, DOWN, LEFT, RIGHT }; Direction& operator++(Direction& d) { switch (d) { case Direction::UP: d = Direction::RIGHT; break; case Direction::DOWN: d = Direction::LEFT; break; cas...
8c69777f69435aec23e7a58646a98bbff7363cb9
bcd810a6908f1d9cbf686d8f7b0312c7d5410b57
/client/test/writedir.cpp
8a919f4b2d72e35d5e14dd551027ea5081617c0e
[]
no_license
qingdy/SURDFS
a1f7e6ec27d0c507aeaf459c91d705591f740235
1b2f9da4e7aff64bb231ef8e387b5c8df552148f
refs/heads/master
2016-09-11T03:33:03.418177
2013-09-05T02:00:49
2013-09-05T02:00:49
12,606,667
0
1
null
null
null
null
UTF-8
C++
false
false
4,807
cpp
writedir.cpp
#include <stdlib.h> #include <stdint.h> #include <fcntl.h> #include <stdio.h> #include <time.h> #include <dirent.h> #include <errno.h> #include <limits.h> #include "time_util.h" #include "log.h" #include "bladestore_ops.h" #include "blade_common_define.h" #include "blade_file_info.h" #include "client.h" #ifdef PATH_MA...
8f85f66867cf221ab54f32fb306f7371b672946a
896c6c76bac1226521aed8ea2c92d96f0cfd13b9
/C++/wskazniki.cpp
976734182c240bbf59b4c4368d0eb5472e56669e
[]
no_license
marcelsawicki/Archive
e59a24d9f03030c9792f402c599e847b5802e233
8fee16156e2eb4e5b7dcaf4102be71380ef70464
refs/heads/master
2023-07-11T23:00:57.345335
2023-06-24T11:16:02
2023-06-24T11:16:02
94,013,821
0
0
null
null
null
null
UTF-8
C++
false
false
375
cpp
wskazniki.cpp
/* wskazniki */ #include <iostream> using namespace std; main() { int ti[6]; float tf[6]; int *wi; float *wf; wi = &ti[0]; wf = &tf[0]; cout << "Oto jak przy inkrementacji wskaznik\n" << "zmieniaja sie ukryte w nich adresy:\n"; for(int i=0; i<6; i++, wi++, wf++) { cout << "i= " << i << ")...
a7c1811ca8469029732e639b21145a0f7d2353f6
b0bfa764aeb115888de5f88696cdc13b48e5be4d
/chapter05/Excercises/5.9/5.9.cpp
6606c0422672a6cc4ad717ef826ece3ba5f1eac6
[]
no_license
Marco444/Accelerated-Cpp-Excercises
396cc2ed0459bd3a67854d5cbc34ff45e15ae3c8
ce66a28d1e9217a9a595737a57dd0bf686c3443c
refs/heads/master
2021-01-13T09:51:19.156540
2019-12-26T18:03:22
2019-12-26T18:03:22
69,895,701
0
0
null
null
null
null
UTF-8
C++
false
false
926
cpp
5.9.cpp
#include <iostream> #include <vector> #include <cctype> #include <iomanip> using std::string; using std::vector; using std::cin; using std::cout; using std::getline; using std::istream; // using std::endl; == '/n'; void vcat(vector<string>& ret, const vector<string>& bottom) { for (vector<string>::c...
11c8e6b2399d67cbb1afcf7d06445595f029e02f
daf4d928af2ee0fa207739a76fdd7578360ff73f
/FEM/rf_fluid_momentum.h
5d84a3a4662ea5efec584a2fa6baf58f701845b5
[]
no_license
UFZ-MJ/OGS_mHM
e735b411ccfdb5ff13b2f2c0e7e515191f722aed
91b972560b8566738dbacc61c2f05e9fc6e7932e
refs/heads/master
2021-01-19T17:31:13.764641
2018-02-08T10:27:59
2018-02-08T10:27:59
101,064,731
4
1
null
null
null
null
UTF-8
C++
false
false
2,367
h
rf_fluid_momentum.h
//////////////////////////////////////////////////////////////// // Filename: rf_fluid_momentum.h // // written by PCH, 05/2005 //////////////////////////////////////////////////////////////// #include "Configure.h" // C++ STL #include <list> #include <string> #include <vector> #include <fstream> #include "rf_pcs...
c0705d13997f94c5f059cd756c5b14695690fc0b
f8ff2c591cb9c2767099759fa3e3deade78b43f5
/Amanda/lista_ex11.cpp
bf00a1f5602251d56632cc8e8332365116fa2d07
[]
no_license
cecanho/PC2
4396d766c33668b9ea50c9bccc7a2971b073b21b
42cb46c201e277b42c4245e73f0368470941e951
refs/heads/master
2021-12-24T09:31:16.192744
2021-12-18T11:07:58
2021-12-18T11:07:58
190,442,981
0
0
null
null
null
null
ISO-8859-1
C++
false
false
697
cpp
lista_ex11.cpp
#include <stdio.h> #include <stdlib.h> #include <iostream> /* 11. Fazer um programa em "C" que lê um conjunto de 10 valores inteiros e verifica se algum dos valores é igual a média dos mesmos. */ using namespace std; int main(){ int num, vector[10]; int i; float media; cout << "Digite 10 valores inteiros: "...
a59f7ab7beb2559e81b4565acf6aaeb750a07b69
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_16147.cpp
41092c9cdeef800ad11273be2d441eb7e8b563c4
[]
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
35
cpp
Kitware_CMake_repos_basic_block_block_16147.cpp
memcpy(&bp[9], np->identifier, len)
b9da84c2c1225659a9d0fde18ba2b31ee295a0cd
c05bc1c96979107eeb1d1463a7fc01b5144452c8
/Medicina/Servers/MedicinaActiveSurfaceBoss/include/DevIOStatus.h
4bf20c4c162b6fdc42340ce8cba281a9cfb15ea6
[]
no_license
discos/discos
1587604ae737d8301f10011d21bfa012dd3c411f
87dc57a160f3b122af46a9927ee6abb62fdf4159
refs/heads/master
2023-08-30T21:39:55.339786
2023-06-21T13:39:20
2023-06-21T13:39:20
87,530,078
4
4
null
2023-09-07T07:57:43
2017-04-07T09:37:08
C++
UTF-8
C++
false
false
2,203
h
DevIOStatus.h
#ifndef _MEDICINAACTIVESURFACEBOSSIMPLDEVIOSTATUS_H_ #define _MEDICINAACTIVESURFACEBOSSIMPLDEVIOSTATUS_H_ /* ************************************************************************************* */ /* OAC Osservatorio Astronomico di Cagliari */ /* $Id: DevIOStatus.h,v 1.1 2...
e071509da2c271baed4367f244ba9316fdea3be6
dd77f7ba87740bb6230f24a1cccc62c302ee23df
/server/include/bodies/receiver/receiver.h
ceaf2bcc55d8681e552aa483667320d9ec216c0e
[ "Apache-2.0" ]
permissive
MarcosCouttulenc/Portal-Taller-de-Programacion-9508-FIUBA
014834fc844899d82853e6c5a1c7ce85d82cc340
6a642c02405a9409a936f1551cf2237639616825
refs/heads/master
2023-03-16T17:29:33.311013
2020-03-12T19:06:39
2020-03-12T19:06:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,458
h
receiver.h
#ifndef __RECEIVER_H__ #define __RECEIVER_H__ #include "../body.h" #include "../../world.h" #include "../../../../server/include/boolean_suppliers/boolean_supplier.h" #include "../../../../server/include/bodies/gate/gateable.h" class Bullet; class Gate; class Chell; class Receiver: public Body, public Gateable { pri...
4e0c3d8a281835ea1adeba32b35b17d69a63b1e1
84988f74a56fae40d01aa851dca83084612b055e
/Code/Enemies.cpp
cf9b94e4d5cf86784cd4ca897952e43faeb06f25
[]
no_license
MariamAshrafA/OOPGridGame
977a70e92571aad2d257811f70779192247c247e
29d0887065af926130516a9d08a26d7b0f4725c6
refs/heads/master
2022-11-23T06:16:52.450788
2020-07-13T15:51:54
2020-07-13T15:51:54
279,139,734
0
0
null
null
null
null
UTF-8
C++
false
false
608
cpp
Enemies.cpp
#include "Enemies.h" #include "Grid.h" #include "GUI.h" Enemies::Enemies(Cell* pos) { PositionCell = pos; slowed = false; } void Enemies::Move(Grid* pGrid) { if (counter > 0){ counter--; } else{ slowed = false; } // Check if the Move is Possible (No Obstacles) pGrid->MoveCells(Positio...
66c728c519becd2c6d117c5ae7f7fb9dc49c4e85
8e485b2283b0ec1e6d090fb4185f0fd93497e9fe
/DiscImageCreator/execScsiCmdforCD.cpp
4dcd8ded22dfc6eef5b9780ea7820d074653e636
[]
no_license
gorgobacka/DiscImageCreator
90e4b4afddbcc88bd1efef28a42efc5e7646eb03
3252a2d58fd1395988844b1405fdc27a64552fed
refs/heads/master
2020-12-02T22:32:11.000180
2017-07-03T20:12:46
2017-07-03T20:12:46
96,146,792
0
0
null
2017-07-03T20:10:10
2017-07-03T20:10:09
null
UTF-8
C++
false
false
97,391
cpp
execScsiCmdforCD.cpp
/* * This code is released under the Microsoft Public License (MS-PL). See License.txt, below. */ #include "struct.h" #include "check.h" #include "convert.h" #include "execScsiCmd.h" #include "execScsiCmdforCD.h" #include "execIoctl.h" #include "get.h" #include "init.h" #include "output.h" #include "outpu...
6312e1c492d7aa09173445ebc4394bdcc77af093
4b538d7e26f795220312190d4f134c166bd769d6
/Smoother.h
71256de099e3ae8360be35db14cd46c93c59f453
[]
no_license
neohung/neosoccer
bb659d595107adf1d5e103b5f75ff015a0b406e3
a2b1665f9ce2a7400802c76652236d0f4bb93bca
refs/heads/master
2021-01-25T10:05:49.647329
2015-07-17T09:54:51
2015-07-17T09:54:51
39,179,202
0
0
null
null
null
null
UTF-8
C++
false
false
1,340
h
Smoother.h
#ifndef SMOOTHER_H #define SMOOTHER_H //----------------------------------------------------------------------- //Smoother宣告一個vector: m_History存放最大數量SampleSize,定義0向量為ZeroValue //Smoother->Update()會傳回該vector所有物件的平均向量 template <class T> class Smoother { private: //this holds the history std::vector<T> m_History; ...
fb8cc6d03c5eb9644f9801b9060f0828ee4a1578
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonCalib/MuonCalibStandAlone/MuonCalibStandAloneExtraTools/src/MdtDqaTubeEfficiency.cxx
22ba1e11215e0399f0f694e18b5f70546d363fd5
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
C++
false
false
36,465
cxx
MdtDqaTubeEfficiency.cxx
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // 13.08.2008, AUTHOR: MAURO IODICE class rearranged from Efficiency by Steffen Kaiser //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
e8d00ef89edc941dbb3f30a11022553abe03f9de
ba0a1b19c3786a8d4142da4acdca766fd217cd08
/Verify/Common.cpp
2d6b8a104143f42730af843d7f504e7577c3c14d
[]
no_license
Tc-yao/Verify
997cee8b442048769f2bc648b2ac2b036db810bf
ee77a5e4561fa5283d3064d26eff6365e5273f95
refs/heads/master
2020-12-30T13:09:03.276860
2017-05-26T06:55:45
2017-05-26T06:55:45
91,333,748
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,471
cpp
Common.cpp
#include "stdafx.h" #include "Common.h" #include <random> #include <fstream> #include <time.h> #pragma comment(lib, "Iphlpapi.lib") #ifndef _PRINTHEAD #define _PRINTHEAD "Verify_Demo:%s\n" #endif #ifndef _WPRINTHEAD #define _WPRINTHEAD L"Verify_Demo:%s\n" #endif class CWin32Excetion :public std::exception { publi...
a3d2416c782828b601e77a032a231bc7f8f7d17a
92a3a20f1451a35c0f118b117afaf0b1562ab07a
/steem/code/key_table.cpp
6270fe263ff6cbba01e8eec56a404a75feacfa05
[]
no_license
larrykoubiak/steemsse
bde3dd0ddab3e08636a149857e82b8b9f48b1512
bf29624d84e8d4602ff627454b937336644a31ef
refs/heads/master
2021-04-28T07:30:24.516384
2018-02-20T15:58:24
2018-02-20T16:00:23
122,219,230
0
1
null
null
null
null
WINDOWS-1252
C++
false
false
21,858
cpp
key_table.cpp
#if defined(SSE_BUILD) #ifndef STEEMKEYTEST // These are the characters that are produced by pressing Alt+[shift]+key. // They were really hard to extract from TOS! // BYTE(STCode),BYTE(Modifiers, bit 0=shift 1=alt),BYTE(STAscii code),BYTE(0) DWORD AltKeys_French[8]={MAKELONG(MAKEWORD(0x1a,2),'['), MAKELONG(MAK...
ea5271a06a5aef5169ffe3792398c5cc4c79acaf
19f546bd37ea6222516f4e8742b6fb5b17a679a1
/include/sde/CJunctionViewFieldsInfo.h
a128cd2fe6fba8fd691770ecb29e7f5818635c20
[]
no_license
caojianwudong/delerrorgit
d48ed862acecda7c979a0a5f7077f1e156595a4f
c416091f955398283495b2bb8ac0f2a1ef0d8996
refs/heads/master
2020-04-12T17:53:44.766853
2018-12-21T03:55:53
2018-12-21T03:55:53
162,661,227
0
0
null
null
null
null
UTF-8
C++
false
false
2,653
h
CJunctionViewFieldsInfo.h
//## begin module%1.2%.codegen_version preserve=yes // Read the documentation to learn more about C++ code generator // versioning. //## end module%1.2%.codegen_version //## begin module%405A57A401BB.cm preserve=no // %X% %Q% %Z% %W% //## end module%405A57A401BB.cm //## begin module%405A57A401BB.cp preserve=no ...
2d845c0f3d137b638513a29e419d370a3c06dd98
cf65adc6d4498dab5bc737052f042a304a623061
/462.cpp
8017c076507313e59ed4b92d97035a5c1c2118f6
[]
no_license
orzzzl/uva
b8d5971961b21f428fe1aeb80834c8739fd07490
37d0188ad3c760ee0c919ac7d90b0b6c3cfac753
refs/heads/master
2016-08-05T18:33:36.215270
2015-12-28T05:54:08
2015-12-28T05:54:08
34,170,436
0
0
null
null
null
null
UTF-8
C++
false
false
1,734
cpp
462.cpp
#include <bits/stdc++.h> using namespace std; int stop [10]; int cnt [10]; int card [20][20]; void clear () { memset (card, 0, sizeof (card)); memset (cnt, 0, sizeof (cnt)); memset (stop, 0, sizeof (stop)); } int main () { char s [1000]; map <char, int> tran; tran ['A'] = ...
13a582ec3cf875d686fa49480dfb464f17a840b5
de9f72a763a082499462e8267be5a7f1e68d8ea3
/source/ttblue/tt_overdrive.h
006d817464e0eebefd06205f0515f89de7de850d
[ "BSD-3-Clause" ]
permissive
natcl/TapTools
d6ea9038834c1cfb48f32d20166cf7980c63adc4
30a8bdc83e3e8df3f3aac69f38f5dcd64681a4f2
refs/heads/master
2020-04-03T12:00:05.539483
2013-05-01T15:31:00
2013-05-01T15:31:00
9,793,935
2
0
null
null
null
null
UTF-8
C++
false
false
12,341
h
tt_overdrive.h
/* ******************************************************* * OVERDRIVE / SOFT SATURATION * waveshaping object which uses the equation * y = 1 - (1 - x)^n (positive quadrant only) * to shape the input signal. ******************************************************* * TapTools Blue Object * copyright � 200...
292c1bf0301ce4cd147194a962221a24e973eb4b
ff5fd313a8b958a5f5039c54b36c4538a0221d12
/Source/MyFirstCoolTESTGame/Private/AI/Services/FCTCheckAmmoService.cpp
21c35af82091316a137372a8f4e52f4fbe1de370
[]
no_license
YuriyKortev/MyFirstCoolTESTGame
1fdf236fa51469bdc09f05d5165c82c67a575885
46cca7bf86c3b89ece0128bd95f9208b35bf4f4f
refs/heads/master
2023-06-26T18:13:56.715925
2021-07-30T14:54:53
2021-07-30T14:54:53
369,049,375
0
0
null
null
null
null
UTF-8
C++
false
false
1,207
cpp
FCTCheckAmmoService.cpp
// MyFirstCoolTESTGame. All rights RESRVED! #include "AI/Services/FCTCheckAmmoService.h" #include "Components/FCGWeaponComponent.h" #include "BehaviorTree/BlackboardComponent.h" #include "AIController.h" UFCTCheckAmmoService::UFCTCheckAmmoService() { NodeName = "CheckAmmo"; } void UFCTCheckAmmoService::TickNode(UB...
b0a98e1c2a24d6367dc25b42e4b9574cf365d811
849c31b85417aa5a7593bac965d81d98054e1ef1
/project2/Savings.cpp
51c998f6d97aaf5679c75314a525199297859a6f
[]
no_license
neenar/COMPSCI256
4169a729262a6a28bd435eaecd510ce06c1f6821
120f6804fb216218e6a30ac1f77b474ba8590b6f
refs/heads/master
2022-04-30T04:12:51.134733
2022-04-11T06:07:24
2022-04-11T06:07:24
189,142,304
0
0
null
null
null
null
UTF-8
C++
false
false
1,093
cpp
Savings.cpp
#include <stdio.h> #include <iostream> #include <string> #include <vector> #include "Account.h" #include "Savings.h" using namespace std; void Savings::DoWithdraw(int amount){ setBalance(getBalance() - amount); this->withdraws.insert(this->withdraws.begin()+this->numWithDraws, amount); this...
b44dc48aea798da61987005134e4421fcdf50f97
cff8946ee6e4ea4c231c1b6dc7ebae3ed6bbcabd
/engine/modules/scene/terrain/terrain_material.cpp
407f87558012030be236ef7884d9ad41632284a9
[ "MIT" ]
permissive
Pablo-Qt/echo
c71a7e3b0fdd5d6a044dcbdc3ca8927cb6dbe63e
724b53336856167c549d2aeb3b271aef3e1ef3fc
refs/heads/master
2021-03-10T23:33:01.944351
2020-03-07T11:51:56
2020-03-07T11:51:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,744
cpp
terrain_material.cpp
#include "terrain_material.h" static const char* g_terrainVsCode = R"(#version 450 // uniforms layout(binding = 0) uniform UBO { mat4 u_WorldMatrix; mat4 u_WorldViewProjMatrix; } vs_ubo; // input layout(location = 0) in vec3 a_Position; layout(location = 1) in vec4 a_Normal; layout(location = 2) in vec2 a_UV...
e3a88179d899c3eba045e6f9478f70fe1c1d8896
2de6ea56de4ff689d5abc19c6ea932f9c48eecb7
/triangle/test.cpp
87c264b700149bb5c0b57110f9a909c58d623d46
[]
no_license
KennySmith95/KatasC-
9f9a8e491f22b02eb2a187d517108a6b9d31eec6
6883d0461ad1bec33109a1632cb6f289338fe398
refs/heads/master
2020-03-09T22:44:57.602884
2018-04-11T05:59:01
2018-04-11T05:59:01
129,041,713
0
0
null
null
null
null
UTF-8
C++
false
false
1,446
cpp
test.cpp
#include "triangle.h" #include <assert.h> #include <iostream> int inOneOrder (std::string msg, int a , int b, int c, std::string expected) { std::cout << msg << "(" << a <<", " << b << ", " << c << ")" << std::endl; std::string result = testTriangle(a,b,c); assert (result == expected); return 0; } int inAllOrder...
ccb6db8469a68a16c0e7ed5caaad9ed934f1827c
b449f16bf8a945eb25336ff9b40514984f647863
/ProjectHP/GameObject.cpp
cc8bffc4cf9a3b6f6dacdf5a5f42e0c7faebfc78
[]
no_license
vino333/HarryPotter
89004d8b9b6669a9504352be6e007b133458aa34
cecc2fd940de9b645193a160bd71e5034673cffe
refs/heads/master
2020-08-06T00:10:55.502945
2019-10-04T11:01:02
2019-10-04T11:01:02
212,765,606
0
0
null
null
null
null
UTF-8
C++
false
false
210
cpp
GameObject.cpp
#include "GameObject.h" #include "Resources.h" // game object c-tor GameObject::GameObject(float i, float j) { m_currPosition = sf::Vector2f(j*SQUARE_SIZE, i*SQUARE_SIZE); } GameObject::~GameObject() { }
1af297969b64e0c1083084286130e4f59d250f53
357ebde0cc6e7b0e7529e2967a8fa724d0b072d7
/Language/C++/C++_learning/18.3.structure and function together.cpp
e68ab935fc20ca6af12a7759dcbb0edfbf7b28ed
[]
no_license
Naveenprabaharan/Learning
0a54e7dd61ea9de5a04dfb5b44c576bb8de3b379
bd3f265e5d62ce162fce880c47a6e0e028c9a557
refs/heads/main
2023-06-24T14:53:44.272352
2021-07-29T09:48:07
2021-07-29T09:48:07
379,639,852
0
0
null
null
null
null
UTF-8
C++
false
false
600
cpp
18.3.structure and function together.cpp
#include<iostream> using namespace std; struct person{ char name[50]; int age; float salary; }; void displayPerson(person p); int main() { person p; cout<<"Enter person Name:"; cin.get(p.name,sizeof(p.name)); cout<<"Enter person age:"; cin>>p.age; cout<<"Enter pe...
9da7277492cb4450b4a030e9c074428a602afc13
86bbef537ddfff74a71b3ae365bbacdb030d8097
/PS/BOJ/C++/15340.cc
6be7602849540f1592520b30c594534c75f821bb
[]
no_license
gun2841/guno
5262a4cfb4d1d952d96875434a29e78549c8306a
32cdcdf2cfeccd07d83a9a1a72645bac4c365688
refs/heads/master
2022-05-05T03:49:22.164304
2022-03-30T03:49:49
2022-03-30T03:49:49
165,786,624
0
1
null
2020-09-02T21:05:10
2019-01-15T04:43:10
HTML
UTF-8
C++
false
false
385
cc
15340.cc
#include <iostream> #include <algorithm> #include <string> #include <cmath> using namespace std; int solve(int C, int D) { int a = 30 * C + 40 * D; int b = 35 * C + 30 * D; int c = 40 * C + 20 * D; return min(min(a, b), min(a, c)); } int main() { int C, D; while (scanf("%d %d", &C, &D)) { if (C ...
0c16937d259a10f7b6e7053fce6b22fb7428c2d0
1c3a0fe04d338653b827f7785603a835bb158431
/payment.cpp
27bfceb39b268245191522a409c2b85158c0740b
[]
no_license
gautamrastogi/Flight-ReservationSystemC-
e18935517c61781ea6869ba426a614421bdbe93b
52195432bd34f6d49d59bc394f565562658f716f
refs/heads/master
2022-09-03T19:15:58.166362
2020-05-27T12:05:12
2020-05-27T12:05:12
262,391,257
0
0
null
null
null
null
UTF-8
C++
false
false
2,909
cpp
payment.cpp
#include <iostream> #include "payment.h" using namespace std; int payment::isNumberString(const string & s) { int len = s.length(); for (int i = 0; i < len; i++) { if (s[i] < '0' || s[i] > '9') flag = 0; } flag++; } void payment::pay_detail() { //definition for payment method cout << "\n\n\nHow...
c39452361fa92dd7e9eca2c10c503fc2ddbf1f6b
3a7dc88b1abbb96be27e08713befbbb4b71d0219
/src/Escola.h
48a8e4eac3989012424934c120febe33e5b52bab
[]
no_license
AndreiaGouveia/AEDA-PROJ1
ff45aacc1a5cf312f07690990b5189c029e8181a
ee25dcb2d4b59a3c675855284aa80b641d02e41c
refs/heads/master
2020-04-03T19:27:43.652156
2019-01-10T10:19:40
2019-01-10T10:19:40
155,524,179
0
1
null
null
null
null
UTF-8
C++
false
false
2,797
h
Escola.h
#include "Utente.h" #include "Exceptions.h" /** * @class Escola * * @ingroup Escola * * @brief Classe para instanciar escolas * * Esta classe agrupa todas as caracteristicas de uma escola. * Pertmite definir as escolas frequentadas pelos utentes da empresa de transportes, * operando sobre elas: * obter a zon...
13838281b1f0b7999ba6c0d5a135070f2a6f9904
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/extensions/chrome_extension_web_contents_observer.h
4128d08656c9a3d24494e2f45285965cc8bf0e87
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
2,226
h
chrome_extension_web_contents_observer.h
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ #include <stdint.h> #i...
36aa39345653df36cd2c67cbd15c157b3cc22b1a
f8dc09bd08309239ae3357ee51569ef25c5c81c9
/152/main.cpp
d3159ad4858cface5829f2f6b9cb1f15d0c7b026
[]
no_license
liusy58/Leetcode
58127f8d81dac7c79e0c5243c9a26cfc5a6da49a
36f02d51ef323f54461fa357db375f6cf6937ac2
refs/heads/master
2021-07-03T23:33:27.540465
2021-01-10T09:10:09
2021-01-10T09:10:09
216,967,067
1
0
null
null
null
null
UTF-8
C++
false
false
418
cpp
main.cpp
int maxProduct(vector<int>& nums) { int len=(int)nums.size(); vector<int>minn(nums); vector<int>maxx(nums); int res=nums[0]; for(int i=1;i<len;++i) { minn[i]=min(nums[i],min(minn[i-1]*nums[i],maxx[i-1]*nums[i])); maxx[i]=max(nums[i],max(minn[i-1]*...
7eb7296fa411bf4b2078d574c06cee91e94253ae
97b1e2d55f68bf593faa39542ac0cf21b99ded12
/12-FunctionOverloading/12-FunctionOverloading.cpp
d20ca03200376e6b2d1151817ee5df8d10c08938
[]
no_license
dzy-monkey/C-StudyAdvance
f3b1222c2659387a1accb075354acf7fcf8054fe
6f1c9dcf3ac319342a281196f202432bb92f7c55
refs/heads/master
2021-05-24T17:34:18.788741
2020-04-14T08:20:44
2020-04-14T08:20:44
253,679,434
0
0
null
null
null
null
UTF-8
C++
false
false
1,024
cpp
12-FunctionOverloading.cpp
/* 函数重载 */ #include <iostream> using namespace std; void print(const char* cp); void print(const int* beg, const int* end); void print(const int ia[], size_t size); int main() { char c = 'a'; //传递的实参是char类型的指针,所以会调用第一个函数 print(&c); const size_t size = 5; int arr[size] = { 2,3,3 }; //传递的实参是两个Int类型的指针,所以会调用第二个函数...
77b8f27f1d0ade0a5a53e143405410e5ee6e30e9
98cdab33fe3ae0c16135b0e02710e3423cd1085a
/src/GeoSphere.h
c6b33447f050d3b45c7ae5320ad3d9291c024991
[]
no_license
dsalt/pioneer
c76754a6af21d66a0e46fa596c91692b360ad249
aff37148f86f377bd6cab81b595d3fd593b25858
refs/heads/master
2021-01-15T17:29:40.865112
2012-12-02T02:36:20
2012-12-02T02:36:20
1,718,965
2
0
null
null
null
null
UTF-8
C++
false
false
2,303
h
GeoSphere.h
// Copyright © 2008-2012 Pioneer Developers. See AUTHORS.txt for details // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt #ifndef _GEOSPHERE_H #define _GEOSPHERE_H #include <SDL_stdinc.h> #include "vector3.h" #include "mtrand.h" #include "galaxy/StarSystem.h" #include "graphics/Material.h" #include ...
60a8a759dad05cf5ec9125f8f902a972a395fd75
0b9944552a82b3742d36e336d6752418e041ff9d
/ZhuoRuiNTPC/network_common.cpp
b308a367e60ca773892138870922911927e1793a
[]
no_license
kingtub/Qt_Projects
33a4efadfb056428c1665be4ac60340c756c5f86
1a317c8a39fa45d582f619def23abf3284a87872
refs/heads/main
2023-06-20T03:51:39.023675
2021-07-20T04:45:28
2021-07-20T04:45:28
331,601,981
0
0
null
null
null
null
UTF-8
C++
false
false
4,176
cpp
network_common.cpp
#include "network_common.h" NetworkCommon::NetworkCommon() { } NetworkCommon::~NetworkCommon() { reqs.clear(); } NetworkCommon* NetworkCommon::instance = Q_NULLPTR; mutex NetworkCommon::mut; NetworkCommon* NetworkCommon::getInstance() { if(instance == Q_NULLPTR) { lock_guard<mutex> lm(mut); i...
4dfd505f5d1276f94ff1b47c59d72c21cd1d18a9
de8ff7af5bf2d2945cc82c38330623fd19ee409e
/SRC/NVCLASS/include/iniuser.hpp
afa7aa27735aa2b5b4d2d09ad04b21ee653b9040
[]
no_license
OS2World/DEV-SAMPLES-NET-TCPIP_Programming
eef5876ac0ee158633e3c5b3d9196897a9314013
f9c3b45662e57b51774e6aa7bfc6c49c3df5c591
refs/heads/master
2016-09-06T15:12:25.087804
2014-10-31T14:37:55
2014-10-31T14:37:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
594
hpp
iniuser.hpp
//------------ // C_INI_USER \ //--------------------------------------------------------------------------- // All information contained in this file is Copyright (c) 1994-1995 by // NeoLogic Inc. All Rights Reserved // // This source code shall not be implemented, duplicated or used as the basis // for any product w...
57278fb88231162abdc7d4877264a40e09a3742d
260e5dec446d12a7dd3f32e331c1fde8157e5cea
/Indi/SDK/Indi_SelectedNotificationWidget_BP_parameters.hpp
51f3c3f3b79ea3bc4d0303db075dfb87e2dc3ca6
[]
no_license
jfmherokiller/TheOuterWorldsSdkDump
6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0
18a8c6b1f5d87bb1ad4334be4a9f22c52897f640
refs/heads/main
2023-08-30T09:27:17.723265
2021-09-17T00:24:52
2021-09-17T00:24:52
407,437,218
0
0
null
null
null
null
UTF-8
C++
false
false
1,817
hpp
Indi_SelectedNotificationWidget_BP_parameters.hpp
#pragma once // TheOuterWorlds SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "Indi_SelectedNotificationWidget_BP_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //------------------------------------------------------------------...
b149402509da8b2a85dc47122a2c9d1b0860b17f
1106985164494c361c6ef017189cd6f53f6009d4
/zzz_Unsorted/CheckifChildSumProperty.cpp
99110d4bee1669e9f03b197cf07de60ce1e65e86
[]
no_license
SlickHackz/famous-problems-cpp-solutions
b7f0066a03404a20c1a4b483acffda021595c530
f954b4a8ca856cc749e232bd9d8894a672637ae2
refs/heads/master
2022-08-25T23:14:11.975270
2022-07-17T22:07:03
2022-07-17T22:07:03
71,126,427
1
0
null
null
null
null
UTF-8
C++
false
false
1,842
cpp
CheckifChildSumProperty.cpp
#include<iostream> #include<queue> using namespace std; struct node { struct node *left; int data; struct node *right; }; struct node *newNode(int a) { struct node *temp = new struct node(); temp->left = NULL; temp->data = a; temp->right = NULL; return temp; } void createTree(struct node **root,int x) { i...
8dd6456a62c8d3eeaa4b8bae8be64b57add610e9
2424a498882bc520be88503b28899cf8733ace5e
/DIJKSTRA O((V+E) log V).cpp
de8d75342cf4b483bf0c792defb875bbf9854046
[]
no_license
dhirajfx3/Algorithms
a8df457e10602eaa2a6a4300d7c6c691b6df2476
353a4fc9ece4444c99a7e6c4860c466e11bf3d55
refs/heads/master
2021-01-13T03:13:17.479824
2020-10-06T14:11:51
2020-10-06T14:11:51
77,627,559
3
5
null
2020-10-06T14:11:52
2016-12-29T17:10:10
C++
UTF-8
C++
false
false
1,573
cpp
DIJKSTRA O((V+E) log V).cpp
// Time complexity: O((V+E) log V ) #include <cstdio> #include <iostream> #include <vector> #include <set> #include <algorithm> using namespace std; vector<vector<int> > adj, W; vector<int> sd; int SIZE; struct cmp { bool operator()(const int &p, const int &q)const { if (sd[p] < sd[q]) return true...
8b9e13ba4f3409fcee8da12ed7ead5fccfbe3142
f3bcdd00d5c826db811ad18fb6c73a87d656a881
/rpo.cpp
3cd0a78fb11969ecca633c25c751b4e3ef374d08
[]
no_license
xorbit3024/C4
d703cf587448f0f499245e363cc6e5bc4807b29d
ce75d5f17727e19fc7d80eb3f6320a6addb0de9c
refs/heads/master
2022-04-08T16:32:50.983407
2020-03-17T19:32:13
2020-03-17T19:32:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
824
cpp
rpo.cpp
#include "rpo.h" Board::z RpO::TakeTurn(const Board& b) noexcept { if (actions.count(b) == 0) { NewAction(b); } return actions[b].Select() + 1; } void RpO::Learn(const vector<pair<Board, Board::z>>& moveset, ASRLC4::Result result) { if (result == ASRLC4::Result::loss) { for (vector<pair<Board, Board::z>>::...
26d37ea3de3a8a69045f0f272512583b0b5cc0af
8f8f87c0ffacf8509ee5f32f74447f64887ef501
/problems/leetcode/16-3-sum-closest/main.cpp
314d587cfdd0872c3446f274290c38f8b7db6e5c
[]
no_license
godcrampy/competitive
c32eb1baf355fa9697f4ea69bea1e8e2d346e14c
e42f3000296c7b40e6a4c368dd17241ebb678d18
refs/heads/master
2023-03-28T17:05:15.776334
2021-04-03T13:40:15
2021-04-03T13:40:15
206,922,544
6
3
null
2020-10-01T13:22:40
2019-09-07T05:51:30
C++
UTF-8
C++
false
false
968
cpp
main.cpp
#include <algorithm> #include <vector> using namespace std; int threeSumClosest(vector<int>& nums, int target) { if (nums.size() < 3) { return 0; } int closest = nums[0] + nums[1] + nums[2]; sort(nums.begin(), nums.end()); for (int i = 0; i < nums.size() - 2; ++i) { if (i == 0 || nums[i] != nums[i...
c78ffe9a0babc212b7b7574b01f7378f2845f484
645b5211c50b1a07a5d576b96624b22055802dc4
/sample_data/cavity/0.4/phi
9c8c8975dd37038daeff4c61d12573f10964f33c
[ "Apache-2.0" ]
permissive
dealenx/hpccloud-kemsu
7c3a33e5ce01560d6fc7abcb9524e4526b9f4848
42fc44b06385c6eb25a979477dcea53fe66cfbfa
refs/heads/master
2023-02-05T21:13:07.328928
2021-06-25T04:56:39
2021-06-25T04:56:39
252,550,259
3
0
Apache-2.0
2023-01-24T23:21:39
2020-04-02T19:41:31
Python
UTF-8
C++
false
false
10,626
phi
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
6cc7760785574fe0b33e19ae9914477caed662d9
843c051bffb7631307a402f263ecbee4a4a91fc1
/chap3/p5.cc
a14b9a58d7cfdc94895c8bcb805d6e438d5397cb
[]
no_license
baolidakai/cppLab
869e3f4d253718e3beec8cd2dfef712ce0dc5293
6786bf0d0a8d2c073957b2e07e6a8f23329b943c
refs/heads/master
2021-01-10T14:04:15.808945
2016-04-12T07:08:03
2016-04-12T07:08:03
55,671,392
0
0
null
null
null
null
UTF-8
C++
false
false
427
cc
p5.cc
// Implementation of // 5. Using a stringstream, write a function that converts an int into a string. #include <iostream> #include <sstream> #include <string> using namespace std; string intToString(int value) { stringstream ss; ss << value; return ss.str(); } int main() { int value; cout << "Enter an integer: "...
d5df4c157dc982653671b24b4aa3320c9c52a80b
1a72c4232cf836961c6ead34dcc5c8b05c23fa2c
/OdeloBattleSystem/OdeloBattleSystem/OthelloState.cpp
e166bb1b69a981ede2c845c7da07d023b23f9029
[]
no_license
GomTangOng/Research-OthelloBattleSystem
07edc4dfdfd91b7f4213aa176eccddaff0273520
730833494ae5ed2c7351ece25c781bfc12fc8ce0
refs/heads/master
2021-08-28T06:48:52.180612
2017-12-11T13:20:34
2017-12-11T13:20:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,424
cpp
OthelloState.cpp
#include "OthelloState.h" #include "OdeloBattleSystem.h" #include "Action.h" #define MAX_ACTIONS 60 OthelloState::OthelloState(const OthelloState & state) { memcpy(m_othello, state.m_othello, sizeof(COdeloBattleSytem)); m_nStoneType = state.m_nStoneType; } OthelloState::~OthelloState() { } bool OthelloState::is...
5477d82bf496d3f40e7d86812c4ef1d0c244e6d3
4b50e76c8c2d1184542b02ae166cac639878f92c
/PouEngine/include/PouEngine/system/XMLLoader.h
69bd46092ca730c3ab147d69de8f924e95a48d76
[]
no_license
Hengle/PouEngine
3b5b6b2f4ef65a2be542ac5ab6eb5893c3a69edc
699b9a21f422d0ac4e2348b1772c3d76ee53e5b6
refs/heads/master
2022-12-09T14:49:20.709382
2020-09-11T15:33:05
2020-09-11T15:33:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
580
h
XMLLoader.h
#ifndef XMLLOADER_H #define XMLLOADER_H #include "tinyxml/tinyxml.h" #include "PouEngine/Types.h" namespace pou { namespace XMLLoader { bool loadFloat(float &v, TiXmlElement *element, const std::string &attName); bool loadInt(int &v, TiXmlElement *element, const std::string &attName); bool loadBool(bool ...
64c630f92d34aeaab4ab74db557c6fe63d508807
5bca6ce6a47016cc8a738a9e06ce7ba069e5617c
/slave_md5cracker/gpuCracker.h
b1abbe6b1208a640eefc02f506e734d57a6a76e3
[]
no_license
zhanying26252625/md5cracker
d26a9d946f05af3718dd821e79664bbcd33f9d51
90ad0376f4b2959b4bc6b85e242f8d7bdd5e0007
refs/heads/master
2020-05-18T13:48:53.166290
2013-05-08T16:37:38
2013-05-08T16:40:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
484
h
gpuCracker.h
#ifndef _GPU_CRACKER_H #define _GPU_CRACKER_H #include <pthread.h> #include <vector> using namespace std; class SlaveMD5Cracker; class CpuCracker; class GpuCracker{ private: enum{NUM_THREADS=4}; SlaveMD5Cracker* slaveCracker; static void* workThreadFunc(void* arg); vector<pthread_t> workThreads;...
5b9db9ca23a93a4bf95cc4295b626f4b747bbc54
7ea8e3b5a660c328dbcce7f13a7b10f878a3f46e
/src/MacroNode.cpp
04977731846a389e85cd084651cc20408c78d0c7
[]
no_license
PrincetonUniversity/MemFlow
512ca050896eff795858559bd8c21f54b259f8bd
3f85f17d78a87f7f5b20ec84d86635902894556c
refs/heads/master
2021-03-27T15:17:47.271500
2019-01-12T18:19:13
2019-01-12T18:19:13
80,735,247
0
0
null
null
null
null
UTF-8
C++
false
false
6,907
cpp
MacroNode.cpp
#include<iostream> #include<vector> #include<algorithm> #include<climits> #include "MacroNode.hpp" #include "Setting.hpp" using namespace std; using namespace DRAMSim; LoadStoreDblk::LoadStoreDblk(){ read_cb = new Callback<TransactionReceiver, void, unsigned, uint64_t, uint64_t>(&transactionReceiver, &TransactionR...
e2386e4bed69bd281285bb199b7aa017259bedeb
50248f74c97d466542fc834b4c2117f8fd31bfe5
/mdf/ShareObject.cpp
6fb743a4af73688dfa61e1d383654fa38c35fbd9
[]
no_license
lgshendy/mdf
7659730032606291a886d1369f672bb1fedd3ea7
92845415f8c6c0dbfc1178b7204e3916a2883d69
refs/heads/master
2022-04-09T05:18:39.706871
2020-03-19T09:25:02
2020-03-19T09:25:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
580
cpp
ShareObject.cpp
#include "../../include/mdf/ShareObject.h" #include "../../include/mdf/atom.h" #include <cstdio> namespace mdf { ShareObject::ShareObject() { m_refCount = 1; } ShareObject::~ShareObject() { } void ShareObject::AddRef() { if (NULL == this) return; mdf::AtomAdd...
dff0a739bf44eb9523cf65920ea0901b847801fd
6bf0252b2c0600cf8d9e664d8d677eee34746f72
/BaekjoonOnline/7579_app2.cpp
77820a982459f9808edb39cf441bb8a3134ec648
[]
no_license
lja9702/JinAh-BOJ
18bfd3029c946e9d16039cc3ec813a6321c4e41c
eb6c16f7f315b8acbdc3c7532f49fbedb01dc43e
refs/heads/master
2021-04-28T14:35:50.179515
2018-08-19T05:54:20
2018-08-19T05:54:20
121,968,017
0
0
null
null
null
null
UTF-8
C++
false
false
561
cpp
7579_app2.cpp
#include <cstdio> #include <algorithm> int n, m, cost[101], res = 1 << 29; long long dp[10001] = {0}, app[101]; int main(){ scanf("%d %d", &n, &m); for(int i = 1;i <= n;i++) scanf("%lld", &app[i]); for(int i = 1;i <= n;i++) scanf("%d", &cost[i]); for(int i = 1;i <= n;i++){ for(int j = 10000;j >= 0;j--){ ...
958c8f779d889d5fc83777014ba3df6ec2dda63a
ec4fd79e42f231cbaabb60c8fcac302d4200a033
/C++/electric_field/main.cpp
bc1b6e2c56b003cac0af9ada25f1ab6a1d10c4a5
[]
no_license
urbanovez/CS_MIPT
3b7755e834fdfc20747bb7c5063e6eddf85ba24e
bd217fe2cba17479df48e3406fe8fac3d79e56cc
refs/heads/master
2022-06-08T20:40:09.369488
2020-05-07T21:04:13
2020-05-07T21:04:13
263,736,589
1
0
null
2020-05-13T20:31:03
2020-05-13T20:31:02
null
UTF-8
C++
false
false
2,272
cpp
main.cpp
#include <iostream> #include <SFML\Graphics.hpp> #include "charge.h" int main() { sf::RenderWindow window(sf::VideoMode(1600, 900), "My Window"); sf::Event event; static bool isPressed = false; std::vector<ElectricCharge> charges; std::vector<sf::VertexArray> lines; while (window.isOpen()) { ...
194628bb4d1520f80cbcb1b168dabde906f4c5d7
a7dfe8e648b86066000d3c985a18dbe066c42468
/덱/[1021]회전하는큐/이준규/rollinQ.cpp
a4b3fc90e26f32f7965e5e516ac7ed4d0b916fa8
[]
no_license
jth2747/AlgorithmStudy
b74d2c9db051ea200d942493a00c58d4ead3d541
534ce4a3bc8b89dc2417d45ba5d77976281481b6
refs/heads/master
2023-01-22T06:40:49.756461
2020-11-24T11:42:02
2020-11-24T11:42:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,095
cpp
rollinQ.cpp
#include <iostream> #include <deque> #include <cmath> using namespace std; int main(){ cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0); deque<int> q; int n , m, temp, count = 0, tempindex = 0; cin>>n>>m; for(int i = 0 ; i < n ; i++){ q.push_back(i+1); } ...
38d91dd196171899892ed952f7a7acada02a57fe
cac973193c10223ba1e09ac2d36e8c10e31e4988
/Marut_and_strings.cpp
a3623c43eafcd7b546706288aea3bbb8a6e6a85b
[]
no_license
gunjan01/Problems-HackerRank
055fdf06953b912bd2f764742d4a02df02a55e52
410630b109d9ba6019dc831d9027db181d42cafa
refs/heads/master
2021-03-24T11:02:28.481978
2017-10-22T14:39:34
2017-10-22T14:39:34
100,195,916
1
0
null
null
null
null
UTF-8
C++
false
false
757
cpp
Marut_and_strings.cpp
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; if(t<1 || t>10) cout<<"Invalid Test"<<endl; else { string s; while(t!=0) { cin>>s; int i,cntu=0,cntl=0; if(s.length()>100 || s.length()==0 ) { ...
cb2df76a3d9ac77453d4ffa77cc0d87cd211370f
97aa1181a8305fab0cfc635954c92880460ba189
/torch/csrc/jit/tensorexpr/var_substitutor.h
ba065d431bcdb0addbd6cb69e9cc78ba13aead99
[ "BSD-2-Clause" ]
permissive
zhujiang73/pytorch_mingw
64973a4ef29cc10b96e5d3f8d294ad2a721ccacb
b0134a0acc937f875b7c4b5f3cef6529711ad336
refs/heads/master
2022-11-05T12:10:59.045925
2020-08-22T12:10:32
2020-08-22T12:10:32
123,688,924
8
4
NOASSERTION
2022-10-17T12:30:52
2018-03-03T12:15:16
C++
UTF-8
C++
false
false
2,192
h
var_substitutor.h
#pragma once #include <unordered_map> #include <vector> #include <torch/csrc/jit/tensorexpr/ir.h> #include <torch/csrc/jit/tensorexpr/ir_mutator.h> #include <torch/csrc/jit/tensorexpr/ir_visitor.h> #include <torch/csrc/jit/tensorexpr/reduction.h> namespace torch { namespace jit { namespace tensorexpr { using VarMap...
b8a8474ee02f46a084d4e4c8005804ac77a876ef
45e9844eaf257786fc11bf762471932a52c369d4
/Node_Factory.cpp
d42b1b4c23c9644e50de734b4c59a62ff9bd6ad5
[]
no_license
abjay/calculator-project
3fd5e276a4ff7241938039a72021c2a80dfe2a17
dcf782714f5b4f4f7dce6b7322154d09afcfaae2
refs/heads/master
2020-03-09T21:43:13.910114
2018-04-11T01:39:19
2018-04-11T01:39:19
129,016,495
0
0
null
null
null
null
UTF-8
C++
false
false
252
cpp
Node_Factory.cpp
// Honor Pledge: // // I pledge that I have neither given nor receieved any help // on this assignment. #include"Node_Factory.h" // //Node_Factory // Node_Factory::Node_Factory(void) { } // //~Node_Factory // Node_Factory::~Node_Factory(void) { }
357c5eed6e536a11771892a7fa52d565c12a479b
49ff6718d9f956de0f8511db88d61d55df21ec8b
/emulator/lib/src/cpu_8080_logical.cpp
518699f1f6c5a3147fcc87d8c814cb6d76a33d1d
[]
no_license
borgmanJeremy/emulator8080
9db0513d5c7907316b90dea9cd6e1e63b45547c3
d76c9814addbb96ef0173c28fd842ee18f2ffd3f
refs/heads/master
2020-08-22T13:14:29.614486
2019-11-30T20:02:41
2019-12-06T23:05:38
216,402,695
0
0
null
null
null
null
UTF-8
C++
false
false
13,098
cpp
cpu_8080_logical.cpp
#include "cpu_8080.hpp" void Cpu_8080::andRegToRegA(uint8_t to_and) { reg_.a = reg_.a & to_and; setZeroFlag(reg_.a); setSignFlag(reg_.a); setParityFlag(reg_.a); flags_.cy = 0; flags_.ac = 0; } void Cpu_8080::orRegToRegA(uint8_t to_or) { reg_.a = reg_.a | to_or; setZeroFlag(reg_.a); setSignFlag(reg_....
c480dabeb4a761900dac2556c83ff3d2ad308932
0c7e20a002108d636517b2f0cde6de9019fdf8c4
/Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/widget/CDatePickerCalendarDelegateSavedState.h
d67d564e4f13cf81dd600e49e1ce587d2280b7ae
[ "Apache-2.0" ]
permissive
kernal88/Elastos5
022774d8c42aea597e6f8ee14e80e8e31758f950
871044110de52fcccfbd6fd0d9c24feefeb6dea0
refs/heads/master
2021-01-12T15:23:52.242654
2016-10-24T08:20:15
2016-10-24T08:20:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
641
h
CDatePickerCalendarDelegateSavedState.h
#ifndef __ELASTOS_DROID_WIDGET_CDATEPICKERCALENDARDELEGATESAVEDSTATE_H__ #define __ELASTOS_DROID_WIDGET_CDATEPICKERCALENDARDELEGATESAVEDSTATE_H__ #include "_Elastos_Droid_Widget_CDatePickerCalendarDelegateSavedState.h" #include "elastos/droid/widget/DatePickerCalendarDelegate.h" namespace Elastos { namespace Droid { ...
0fb6983fd14745de47e54bc8f8ae3188d7f1a82e
33924be8f34341ca37de794f07abca49f308d49d
/scm_core/src/scm/core/math/vec.inl
1997e7610a3bed806789ea8a1a2687b65d8e7919
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mapoto/schism
59ef4ab83851bd606b4f603d5160fb7c7a60366b
784d53d723ae62ebc9acb3017db664794fd4413e
refs/heads/master
2021-02-26T04:31:18.595701
2020-03-14T10:50:06
2020-03-14T10:50:06
245,495,976
1
0
NOASSERTION
2020-03-06T19:00:09
2020-03-06T19:00:08
null
UTF-8
C++
false
false
7,276
inl
vec.inl
// Copyright (c) 2012 Christopher Lux <christopherlux@gmail.com> // Distributed under the Modified BSD License, see license.txt. namespace std { template<typename scal_type, const unsigned dim> inline void swap(scm::math::vec<scal_type, dim>& lhs, scm::math::vec<scal_type, dim>& rhs) { lhs.swap(...
694e8db82032adfe370c18e3ea3d842b1c4ad541
acb8ebbd3c0cc5b067020eb15df63405feb6386d
/hw09_virtual_functions_and_abstract_classes/Rectangle.h
d548ca62399ecbfefaba932873498f8e529ec18c
[]
no_license
Aizeke/CS1C-Summer-2020
bfd5c2889744ba836d079dadcc4a144dd5643a4f
c02517143603efd2f9600baecb8a8a6b6d96c581
refs/heads/master
2022-11-28T22:09:56.400671
2020-07-25T05:57:24
2020-07-25T05:57:24
269,172,975
1
0
null
null
null
null
UTF-8
C++
false
false
460
h
Rectangle.h
#pragma once #include "Shape.h" // 1. Create sub classes of Shape called Rectangle // and Triangle that inherited the pure virtual // members above. class Rectangle : public Shape { public: Rectangle(); ~Rectangle() {}; Rectangle (float length, float width); float calcPerimeter() override; fl...
1f38715c3ddcb1cd88f8a4d531521207bdc4f35a
794e7d822b26c0692ec2ce1d30e54d43b82b8d4d
/wikipediagraphwidget.cpp
cf3dd88a8ab35074e9992da145b5c09bfa4dfced
[]
no_license
phdowling/WikiGraph
5e7da9e79675d6dbee5a29ad6ebee7754854512b
34cc16b179efd3604e3f3da3521b92d6b71676f4
refs/heads/master
2021-01-04T14:07:26.877670
2014-08-13T08:37:14
2014-08-13T08:37:14
3,001,275
0
0
null
null
null
null
UTF-8
C++
false
false
4,727
cpp
wikipediagraphwidget.cpp
#include "wikipediagraphwidget.h" WikipediaGraphWidget::WikipediaGraphWidget(GraphLayout *layout, QWidget *parent) : GraphWidget(layout, parent) { _expandTimer.setInterval(100); connect(&_expandTimer, SIGNAL(timeout()), this, SLOT(expandNext())); makeTestScene(); startForceCalculation(); } Node *W...
5edd8f6e3792324a72b9a1860b3d4b118229e864
f54d3c6f83f8c6398dcf00538e12209e17deeb98
/code/userprog/processtable.h
4808b8a248b0bff8778d032e73867fefa497e0a1
[]
no_license
joseluisdiaz/nachos
0edfab92a31e569f505fc06a16e9fb2723f56d66
b2c3fdc7f2faf8c11ba842bdccbcf00898b262e3
refs/heads/master
2021-01-17T17:05:55.664050
2013-07-24T21:33:49
2013-07-24T21:33:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
522
h
processtable.h
// processtable.h // Tabla de procesos para nachos (Header+Codigo) // by Diaz-Racca, la delantera del mundial '86 #ifndef PROCTABLE_H #define PROCTABLE_H #include "syscall.h" #include <map> class ProcessTable { public: ProcessTable(){ lastId = 0; }; ~ProcessTable(){ }; SpaceId Add(Thread *threa...
924852654a0f97d584034932139675d4f3db05c6
326441ea10a9d73a9f9776c9aaacefa15706a191
/modules/Preferences.cpp
8a0d578eda29e68c835bac7bf2fe59b6049f9ca1
[]
no_license
dtnaylor/session-management
1ff8338d279cedc9a3d11c7f721c1588e751b9f1
14633b49919e6471f797474b3522edfadb52d3c2
refs/heads/master
2021-01-22T13:42:14.935470
2014-06-16T13:13:23
2014-06-16T13:13:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
971
cpp
Preferences.cpp
/* ** Copyright 2014 Carnegie Mellon University ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law...
82ed7f715b564b0423eefb63fad8181b1d6b8623
44313c3267c1b694970a7cffd50a486930fea285
/Soul.cpp
b0dd38ac63616d8b1ec5bb1a345d2b94afbf24cc
[]
no_license
ehei1/maze-client
3bd08b40d8a02c760e0da631c9680a8375b514d8
3ca195e0cf21d2cf0c9c75b1374ffdaae3f88245
refs/heads/master
2022-10-28T13:38:27.971161
2020-06-15T12:33:24
2020-06-15T12:33:24
272,433,103
0
0
null
null
null
null
UHC
C++
false
false
504
cpp
Soul.cpp
#include "StdAfx.h" #include "Soul.h" #include "Event.h" #include "Body.h" Soul::Soul(void) : mIndex(0) { } Soul::~Soul(void) { } void Soul::AddEvent(Event* event) { /* TODO: 루아 스크립트에 event를 보낸다. 스크립트는 이를 바탕으로 메시지를 Soul을 통해 생성하고, 바디에 전송하도록 한다 */ if(nullptr != mBody) { mBody->Receive(*event); } } void S...
d88d065e9b0acd147560ff74b5aed7cd99b5ffcf
39689c7df24cb5df4155ccb6b2303cd730d6c949
/2576.cpp
db7bad2554cf303298da1f2c4ced328454f3eba1
[]
no_license
kisang0365/baekjoonAlgorithm
7f154cfa3dd2a4f50112061973cd2914acd2c9aa
781e8473f158488cf2cab8cbba8800c0102271ac
refs/heads/master
2021-01-23T03:59:16.446254
2017-10-27T08:55:09
2017-10-27T08:55:09
86,140,982
0
0
null
null
null
null
UTF-8
C++
false
false
521
cpp
2576.cpp
/* * 2576.cpp * * Created on: 2017. 7. 2. * Author: chokisang */ #include<iostream> #include<vector> #include<algorithm> #include<functional> using namespace std; int main(){ vector<int> v; for(int i=0; i<7; i++){ int num; cin >> num; v.push_back(num); } sort(v.begin(), v.end(), greater<int>()...
71b40b02eb156fd35366cfaa029dd11b558ae7b3
e25e84de08dd6829f85ce9d63e7aa36fdbae6510
/a.cpp
4acc2bab3677a14fb9f28c543f8ceec8632f8aae
[]
no_license
yatin17124/Codebook
07305f43b567f131cd317fd22608eef72f601962
847e2ed013876ef22f658fdf99ac36ddd3fd7311
refs/heads/master
2020-06-29T02:38:32.771554
2019-08-04T06:58:24
2019-08-04T06:58:24
200,414,544
0
0
null
null
null
null
UTF-8
C++
false
false
1,821
cpp
a.cpp
/*input */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define int long long #define pii pair<int,int> #define pb push_back #define f first #define s second #define FOR(i,n) for(int i=0;i<n;i++) #define IOS i...
c5f76334f7d9eab860560c80583ec8558d8918b0
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/ssl/include/tencentcloud/ssl/v20191205/model/DescribeHostUpdateRecordRequest.h
6f98fb6bb2effd64e54560045d72bf122bcd4875
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
5,306
h
DescribeHostUpdateRecordRequest.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 ...
36cbc87f24e508d649bee75e310f5cbfc7827c61
6bbc993501c67b301cc3d92f62e08f69ddbbcb43
/1001-1100/1094.cpp
056b3e7925631c7e79f51cbd96b966bd6568db4c
[]
no_license
CodeDiary18/CodeUp
5dbc6c7f8065c459ac6d3a9b24ce87c63bda0644
43ad933ea6f8eec3793b3de00be0840b346a36df
refs/heads/main
2023-01-23T07:04:07.256397
2020-11-21T15:25:18
2020-11-21T15:25:18
313,769,195
0
0
null
null
null
null
UTF-8
C++
false
false
206
cpp
1094.cpp
#include <iostream> using namespace std; int i, k; int arr[10000]; int main() { cin >> k; for (i = 0; i < k; i++) cin >> arr[i]; for (i = k - 1; i >= 0; i--) cout << arr[i] << ' '; return 0; }
16f35f32c0da5d03deb2f6fa0dc80f3a82f0b3ea
e7504e796df90bfe606781c14442a564eb01754b
/src/input/VRFakeTrackerDevice.cpp
9765cda9ac777f726f5cabd3b5239849f3ec3fa0
[ "BSD-3-Clause" ]
permissive
MinVR/MinVR
1dc4c007b10f184732d3a90e362175c8e950e95b
33386e6b49de6c6b75f735704ffa49ab6069f8bf
refs/heads/master
2022-06-28T19:50:09.692509
2022-05-17T21:44:13
2022-05-17T21:44:13
40,127,890
23
21
NOASSERTION
2022-05-17T21:44:14
2015-08-03T14:02:01
C++
UTF-8
C++
false
false
12,029
cpp
VRFakeTrackerDevice.cpp
#include "VRFakeTrackerDevice.h" #include <math/VRMath.h> #include <api/VRTrackerEvent.h> namespace MinVR { VRFakeTrackerDevice::VRFakeTrackerDevice(const std::string &trackerName, const std::string &toggleOnOffEventName, const std::st...
c58d16ccc548517788e890c61cf00f0d915f16de
b1115ba5b162f7dba9324f53d09694857ffee313
/physics/src/Shapes.cpp
0de832422fb444a251bc56ea02ae18bdbc1d174b
[]
no_license
eweitnauer/TangramRobot
cf0ec43f232252673c7a6a55ec5ef2c1f3c013c4
1c40e0b04dcb4fbf5876f06b4a28a0e2b7651be3
refs/heads/master
2016-09-06T00:49:38.596706
2010-08-26T09:14:10
2010-08-26T09:14:10
863,567
1
2
null
null
null
null
UTF-8
C++
false
false
7,417
cpp
Shapes.cpp
// Copyright 2009 Erik Weitnauer #include "Shapes.h" #include <vector> #include <LinearMath/btGeometryUtil.h> #include <LinearMath/btAlignedObjectArray.h> #include <iostream> #include <stdexcept> using namespace std; float Shapes::sf_sq = 0.5411; float Shapes::sf_pa = 0.5524; float Shapes::sf_st = 0.461; float Shapes...
8351327b096d252ab800244e88dd294893a60f98
b1072cc3c2b32073466d530d6a3724fe2256da3e
/src/nedxml/nedyydefs.h
08d7fc54a55c7e041a2230d1a46c75be5c7847ff
[]
no_license
ayjavaid/OMNET_OS3_UAVSim
e66af63ec5988d7b87684a80529690732986b558
2a002daa1b32bf3d6883271f0226b70076c32485
refs/heads/master
2021-05-15T01:32:08.590544
2018-09-25T18:02:42
2018-09-25T18:02:42
30,726,345
7
10
null
null
null
null
UTF-8
C++
false
false
1,431
h
nedyydefs.h
//========================================================================== // NEDYYDEFS.H - part of // // OMNeT++/OMNEST // Discrete System Simulation in C++ // //========================================================================== /*---------------------------------------------...
83ecca824b81106cb365e65faab124121dbc6a4c
d8c27c030c6666f9a61c2e4b96ae8a8ec2b7e0a3
/Jugador.h
952c278d1fa1128f43608ff694cb3b8823de8d63
[]
no_license
alessadge/Alessandro_Grimaldi_lab10
cf269b5eb478fb836bc10a83cbfb3173395d5c2e
bb1ce2bd5a3f613134dcef97aad8340c96fb7eaf
refs/heads/master
2021-01-21T13:49:25.930692
2017-06-24T00:04:12
2017-06-24T00:04:12
95,248,685
0
0
null
null
null
null
UTF-8
C++
false
false
540
h
Jugador.h
#include <iostream> #include <string> #include "Persona.h" using namespace std; #ifndef JUGADOR_H #define JUGADOR_H class Jugador:public Persona{ protected: string procedencia; string apodo; int dinero; public: Jugador(string,int,int,string,string,int); Jugador(); ...
4259e2c15e109cd6fd21d51adea393c273564b11
eb427f15f776628044d59b43d0b370b9c91dbee8
/direction_scanner.ino
3e5ab4ee73c36c513b30f16c90de69afcf34662f
[]
no_license
eboiko8003/Team-334-project-repository
8c34cae6623e6d4d381385901de4db32cf298b82
50369ce2d4a12c4a2b37cc7fd3424509726f2723
refs/heads/master
2020-03-30T11:34:47.803725
2018-10-13T13:29:10
2018-10-13T13:29:10
151,181,310
0
0
null
null
null
null
UTF-8
C++
false
false
2,093
ino
direction_scanner.ino
#include <Servo.h> Servo myServo; Servo servoLeft; Servo servoRight; int pingPin = 3; float duration; float left; float right; float front; void setup() { // put your setup code here, to run once: myServo.attach(11); servoLeft.attach(10); servoRight.attach(12); digitalWrite(2, HIGH); Serial.begin(9600...
61da2589faeb259550a6bbcc65631b42b3bbfe03
01446dd51317a23f28de5f56df2ae7485fe89f7c
/Classes/Game/Scene/Main/Tutorial.h
0cfbcc7ef94583ed5fdb97ae31215ec9c69b8b3c
[]
no_license
TeamMBEnd/FishLight
98315516088e5ea8f4fc48212c24221244ac7d83
7e7f9e652101e5bdad04ef2313f9c1145e63180e
refs/heads/master
2016-09-06T02:26:33.101264
2015-07-31T08:56:05
2015-07-31T08:56:05
30,166,261
0
8
null
2015-03-14T13:29:28
2015-02-02T01:30:24
C++
UTF-8
C++
false
false
706
h
Tutorial.h
#ifndef TUTORIAL_H #define TUTORIAL_H #include "cocos2d.h" USING_NS_CC; class Player; namespace Scenes{ /*----------------------------------------------------- チュートリアル画面生成用クラス  ファイル名 Tutorial.h 作成者 小林 大峰 ------------------------------------------------------*/ class Tutorial{ public: /*----------------...
23542bc6fb59d7fa360e5a10530f1b47ad42c0e7
737bd9818fb712801371d3552a6ee41d92bbd33e
/src/MFCExt/DCGFApp.cpp
0097c05852b74c8c3e59f441cfb3f87d39f72e24
[ "MIT" ]
permissive
segafan/wme1_jankavan_tlc_edition-repo
9bf8afb542d3a4a3949bf61c881927df4942410e
72163931f348d5a2132577930362d297cc375a26
refs/heads/master
2020-12-24T17:54:12.910112
2015-04-26T23:03:42
2015-04-26T23:03:42
38,780,832
1
0
null
null
null
null
UTF-8
C++
false
false
2,426
cpp
DCGFApp.cpp
// DCGFApp.cpp : implementation file // #include "stdafx.h" #include "DCGFApp.h" #include "DCGFMDIChildWindow.h" #include "DCGFView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////////////////////////////////////////////////////////////////////////...
38d1269d3893d3fbfe7eff395e0a1d86bf9ed780
2b39e712e43b8b1209ce9a6f585a48a698510ef7
/cpp/find_starting_pos_in_map.cpp
5997c1b3e79d30517ce29c1f0b8e1eb492f36d85
[]
no_license
nshahpazov/finals-preparation
ded39b0487ce71a15e027c98d80522924f409110
773f596ad9b2776796efb8a14a4704d2fe0dca4e
refs/heads/master
2020-03-22T20:07:55.825658
2018-09-09T11:02:53
2018-09-09T11:02:53
140,574,846
2
0
null
null
null
null
UTF-8
C++
false
false
2,168
cpp
find_starting_pos_in_map.cpp
#include <iostream> #include <string.h> using namespace std; /* Дадена е квадратна матрица от цели числа с размери 10x10, която описва лабиринт. Стойност 0 в дадена клетка означава „стена“, а стойност 1 означа „проходима клетка“. Даден е символен низ, съдържащ само буквите E, W, N и S, които указват едностъпкови...
15a65cd6e99d3afb66b683fa3de90db28b46da15
9d455eae3c17f2f477cf6bee28a4d40a0c7e4b03
/include/audioworkspace.hh
804d518ec0d92aa20a171d6b5e5ec330d0cb41ad
[]
no_license
gitGNU/gnu_aldo
fe523f92730c3e6ec6dcfb663c5ac82e4c639474
c2cbeb215a66a606ed01b58fc0be513ebb373e7c
refs/heads/master
2023-09-04T06:31:12.678175
2013-07-16T10:33:43
2013-07-16T10:33:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,452
hh
audioworkspace.hh
// -*- C++ -*- /*************************************************************************** libaudiostream -------------------- Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Giuseppe "denever" Martino begin : Sat 9 Mar 2002 email ...
58ff14d7fa4b342a375f2753ffd4c10a9ccf37db
8b18a688f92121fea6b3bec6c47a14a964869e01
/lib/RecordWidget.cpp
61402b463700fdb42619f253dbe011608a91f7c7
[]
no_license
wengsht/oh_my_life2
3fd98466c17ef6ca4406891f7eb313935fe6bfb7
b96468d76b8e05eeb83bb97734a85658f306f6a3
refs/heads/master
2016-09-05T16:22:11.385518
2014-03-12T08:45:48
2014-03-12T08:45:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,030
cpp
RecordWidget.cpp
#include "RecordWidget.h" #include <QVBoxLayout> #include <QPushButton> #include <QWidget> #include <QTableWidgeTItem> #include <QMessageBox> #include <string> #include <iostream> #include "QT.def" using namespace std; pair<int, int> RecordWidget::getLatestHM() { #include "sql.def" int nC = table->rowCount(); ...
dc1da3263ec688dee80136fc009a6ec9cc8efec4
7fab117c5429000351bd0abc565451aab1882f3f
/leetcode_16_3SumCloest.cpp
8d64971856f8d3716daad1b21511385d384b59cc
[]
no_license
BUPTxuxiangzi/xxz_leetcode
f7d180d66c8845f1131eeefe2b1b30d182ed5625
6a569a7a08e7632c12129bbd73b9f6b1fe1b037f
refs/heads/master
2020-06-06T14:56:42.673543
2015-06-01T14:48:44
2015-06-01T14:48:44
33,131,143
2
0
null
null
null
null
UTF-8
C++
false
false
1,757
cpp
leetcode_16_3SumCloest.cpp
/*问题描述 3Sum Closest Total Accepted: 33913 Total Submissions: 125849 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution. For example, given array S = ...
897065a7ad7ad3f49177cfd2739d0d9e81ff945c
88b130d5ff52d96248d8b946cfb0faaadb731769
/vespalib/src/vespa/vespalib/test/make_tls_options_for_testing.h
0bc39deaeaf3b79342b5aa195585e71d57dcb1c0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vespa-engine/vespa
b8cfe266de7f9a9be6f2557c55bef52c3a9d7cdb
1f8213997718c25942c38402202ae9e51572d89f
refs/heads/master
2023-08-16T21:01:12.296208
2023-08-16T17:03:08
2023-08-16T17:03:08
60,377,070
4,889
619
Apache-2.0
2023-09-14T21:02:11
2016-06-03T20:54:20
Java
UTF-8
C++
false
false
977
h
make_tls_options_for_testing.h
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/vespalib/net/socket_spec.h> #include <vespa/vespalib/net/tls/transport_security_options.h> namespace vespalib::test { /** * Make a socket spec representing "tcp/localhost:123". Used...
c99cd7ad7cc098fa784c868a6a2b4d0341619987
dd260bcbfdd75d10db13e3fd23f7499fb6639c38
/tests_scale_simple.cpp
584f8e92ac2019658ec1f3124b17e9ee4793026c
[]
no_license
tr11/timescales
7fdedbd2a9f11978a2b3b2d208bbec2079cbf04f
813aae773d860c9670047b7c9f31a9f585606565
refs/heads/master
2021-01-18T21:33:35.774948
2013-12-12T22:13:05
2013-12-12T22:13:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,776
cpp
tests_scale_simple.cpp
#include <boost/test/unit_test.hpp> #include <boost/filesystem/path.hpp> #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <iostream> #include "timescales.hpp" // using namespace timescales; using boost::posix_time::ptime; using boost::gregorian::date; using boost::posix_time::time_dur...
e12de3d2ab36c66fa2dac10bfb6b0d61cf842247
a25aa997816fd3f9f388e5901a401b068e4f6b8d
/pair_sw.h
8ac35f7969550d378c5cd13edd4339c3011166cb
[]
no_license
plrodolfo/FluidFreeEnergyforLAMMPS
3488dc8b534da74dadbe397010ab68ff828cc7eb
8710015ea4d27d88c120bd5b03f5d5d9e31e71dc
refs/heads/master
2022-02-09T21:50:01.573499
2022-02-03T01:42:28
2022-02-03T01:42:28
144,865,731
21
12
null
null
null
null
UTF-8
C++
false
false
3,623
h
pair_sw.h
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
35909f6f72369d18af84578af8878ff5819a7cb4
6228b2b751fef71a37e81d186c790b966baaeabc
/ros-pkg/core/xpl_calibration/src/prog/offset_maker.cpp
47965daad5a62f17cc4c3a9862d6bea61b8fb999
[]
no_license
teichman/phd-code
39bee20909f35cccb3c75fc2164fa1436a409f58
d04bbc54bdf6b658551b3561513ad8ce31f6433d
refs/heads/master
2020-03-28T21:54:55.526791
2014-06-26T00:50:04
2014-06-26T00:50:04
149,191,600
1
1
null
null
null
null
UTF-8
C++
false
false
2,494
cpp
offset_maker.cpp
#include <pcl/visualization/cloud_viewer.h> #include <pcl/common/transforms.h> #include <eigen_extensions/eigen_extensions.h> #include <rgbd_sequence/stream_sequence_base.h> using namespace std; using namespace rgbd; string usageString() { ostringstream oss; oss << "Usage: offset_maker SEQ SEQ SYNC_OUT [SYNC_IN]"...
8b08eecca4830557540c2cad1cf9c06f454a6ad7
412a08f5d43fcd9dc5e06d2f587efa578ea40e8a
/BOJ/Parsing/boj1388_바닥_장식.cpp
7c1f1095a31f05684c1de6a900ab082b448df74c
[]
no_license
onww1/Problem-Solving
19b920f5f4caec50a3aded971e1f1e630e8b6c46
86cc8854ef0457f8f7741cbae401af5038f8ae05
refs/heads/master
2022-06-07T15:47:45.685775
2022-05-25T12:59:59
2022-05-25T12:59:59
130,528,244
6
0
null
null
null
null
UTF-8
C++
false
false
1,155
cpp
boj1388_바닥_장식.cpp
/* * BOJ 1388. 바닥 장식 * * 바닥 장식에 대한 문자열을 입력 받으면서 장식의 첫 부분에서 s의 값을 증가시킵니다. * '-' 모양은 첫 열이거나 이전 문자가 '-'가 아니면 장식의 첫 부분이므로 s를 증가시킵니다. * '|' 모양은 첫 행이거나 이전 문자가 '|'이 아니면 장식의 첫 부분이므로 s를 증가시킵니다. * * P.S. 제출했는데 마지막 return문 다음 중괄호가 복사가 안돼서 컴파일 에러가 났네요 ㅋㅋㅋ */ #include <cstdio> using namespace std; char in[100][101...
3ddbccb0bf3a3dbaff4c2cbed08ba222c8297d52
184fedd9b15b150d3b9d1d2a6975f1a63792836c
/lhexam/TOptionFrm.h
198a665009361f24af742664607529b3c2260b1a
[]
no_license
wanyuehan/bcbworkspace
abdb8f9f12459eb53d0712448fa98a02d472cd5e
0a85495013c7566470f1e295f66a244aa97c196e
refs/heads/master
2021-01-10T01:37:08.690690
2013-05-27T01:55:21
2013-05-27T01:55:21
50,320,878
0
0
null
null
null
null
UTF-8
C++
false
false
1,376
h
TOptionFrm.h
//---------------------------------------------------------------------------- #ifndef TOptionFrmH #define TOptionFrmH //---------------------------------------------------------------------------- #include <ExtCtrls.hpp> #include <Buttons.hpp> #include <StdCtrls.hpp> #include <Controls.hpp> #include <Forms.hpp...
8169fe07a73d5ac7a84c9d033d8aab29bfa19c7c
d6564258ddcf0552c09ef86ae2751b51495c7ed3
/Dynamic Programming/goldMineProblemDP.cpp
b5c8f536d4b6a3e4802e035bdc28672197a1c306
[]
no_license
patiwwb/placementPreparation
f2c4ea38c5b4670b0b4d9e2c2c9d3bbfb40344ef
22229e50dca7bb033edca2c4eef8d573603ca277
refs/heads/master
2021-06-18T17:54:18.313729
2017-07-09T15:49:15
2017-07-09T15:49:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,068
cpp
goldMineProblemDP.cpp
#include<bits/stdc++.h> using namespace std; #define F(a,b,var) for(int var=a;var<b;var++) int main() { //code int T; cin>>T; while(T--) { int n,m; cin>>n>>m; int mat[n][m]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++) ...
afb72c329e3862f19e954c4209351f9eb44db141
dcc27fb68ef40c1b11b04d670e8c802cfe08e16e
/test/Unit.cpp
515c7db496c6843af0bed4865ed3dab894aca64b
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
danberindei/cpp-client
409c3785d82c0754641f891e60977019fe3c27d3
c9767c1a4db0d69336ab862a6d200e131f632e10
refs/heads/master
2021-01-17T11:40:20.569545
2015-09-01T13:20:34
2015-09-01T13:20:34
11,952,322
0
0
null
null
null
null
UTF-8
C++
false
false
931
cpp
Unit.cpp
#include "infinispan/hotrod/ImportExport.h" #include <stdio.h> /* The tests using internal classes are compiled directly into the shared library/DLL, this binary just runs them */ HR_EXTERN void threadTest(); HR_EXTERN void syncTest(); HR_EXTERN void runOnceTest(); HR_EXTERN void testTopologyChangeResponse(); HR_E...
4c943faef872239f748f5710ff178fc25f1381c9
20d97c9093065566a072b7505908b1b8f53372a3
/Final Labwork/Banker's__Safety_&_ResourceRequestAlgorithm.cpp
79923296f45c925ac622b71859dc6e929bcd4578
[]
no_license
Rubel2475/Operating-System-3Y2S
0fb288f0074d938d5be9e763682055fb0f0d3cdc
aef37286327a3d0b1cb48020ee4b23a8fdb20057
refs/heads/master
2020-09-16T03:01:31.647287
2020-03-03T18:38:26
2020-03-03T18:38:26
223,629,868
0
0
null
null
null
null
UTF-8
C++
false
false
2,715
cpp
Banker's__Safety_&_ResourceRequestAlgorithm.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,i,j,k,s=0,e,r; cout<< "Enter number of processes: "; cin >> n; cout<< "Enter number of resources: "; cin>> m; int Max[n][m], Allocation[n][m], Need[n][m],Request[n][m]; //Request[1][m] int Available[m], Work[m...
c378d50298358ecf585bd4d305ac8042c276f5b9
bae76888e633874c1278a43bb5773aae8201c44d
/CPSeis/spws_home/include/hardcopy/hardcopy_trace_plot.hh
d6f3e22cc2ca8a7dd86430fa90629cdf99e158ac
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Chen-Zhihui/SeismicPackage
a242f9324c92d03383b06f068c9d2f64a47c5c3f
255d2311bdbbacad2cb19aa3b91ceb84a733a194
refs/heads/master
2020-08-16T05:28:19.283337
2016-11-25T02:24:14
2016-11-25T02:24:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,554
hh
hardcopy_trace_plot.hh
/*<license> ------------------------------------------------------------------------------- Copyright (c) 2007 ConocoPhillips Company 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 with...
2a8a38dba41bd9e64aee8e948471cf731bbbe89d
8f8899e5dfdb5a54bcb4c538949b4d58dbed4d12
/Codechef/CPP/Div2_May_cookoff_2020/CROADS.cpp
a8595787c7bcf51403b053630c71433cefa9120a
[ "MIT" ]
permissive
kirito-udit/codeWith-hacktoberfest
0fb7780299ea099563cbac2aabfeb33bd9135349
175ed242e38ca25887350052335f13b0b0c0e303
refs/heads/main
2022-12-27T10:28:49.304226
2020-10-09T05:35:22
2020-10-09T05:35:22
302,606,983
1
0
MIT
2020-10-09T10:22:01
2020-10-09T10:22:00
null
UTF-8
C++
false
false
909
cpp
CROADS.cpp
#include<bits/stdc++.h> using namespace std; //#define ll long long const int N = 2e5+100; double eps=1e-6; int main(){ int t; cin>>t; while(t--){ long long int n; cin>>n; //n=1000000000; long long lpg=log2(n); long long p=pow(2,lpg); if(p==n && p!=1)cout<...
a9a5561f7e88008d0d7a3a6217f71a7d4c90d189
b2f54104efffba9d7c06e900b2eccaa58a847a1e
/Hindsight/src/main/cpp/Utility.h
9ecaa553bef14eb013faf11bfa7b36e4e7e8a6e0
[]
no_license
Team2550/Robot-Code
349a43f6dd9a4c37818fa5149b7822d91616d9dc
dd4eec6a89ba74aad41f68e257c39c25ca06643b
refs/heads/main
2023-06-07T12:02:54.771202
2022-05-05T22:18:51
2022-05-05T22:18:51
159,417,730
4
1
null
2022-06-02T21:29:47
2018-11-28T00:05:33
C++
UTF-8
C++
false
false
1,640
h
Utility.h
#ifndef UTILITY_H #define UTILITY_H #include <frc/Joystick.h> #include <math.h> #include <vector> #include <string> #include "Xbox.h" using namespace frc; namespace Utility { enum RumbleSide { LEFT, RIGHT, BOTH }; /*================================================= Name: deadzone Desc: Zeroes out values within ...
76be84f8ccee895f9a8c14f01d078cd5bcd80c65
2b5d90789d879be27ddf4c8744b434f9d14db4ca
/Assignment2/Assignment2/TuitionAndFees.h
253d900efd52400c0e4c142be12d33e3f8b61724
[]
no_license
Jrivera1625/Cpen333Assignment2
3932618f244a8625777efab99fa1353024f39260
0b7a9c67a7c97e8426b45c9889b29829b462f1a0
refs/heads/main
2023-01-31T11:56:37.401807
2020-12-04T22:44:08
2020-12-04T22:44:08
318,641,594
0
0
null
null
null
null
UTF-8
C++
false
false
988
h
TuitionAndFees.h
#ifndef __TuitionAndFees__ #define __TuitionAndFees__ #include <stdio.h> #include <iostream> #include <list> using namespace std; class TuitionAndFees { private: int creditCard; public: int Fees; // attribute // add fees for a course void AddFees(int courseFee) { Fees = Fees + courseFee; cout << "Updated ...
04d01e3b2909f802a32f158e5f967a3b88b6703e
ff6bf9cbe1401c15de8fe6d2297ca36a6070ce37
/util/queue_test.cpp
d4d4b645e0d500e1100ae06139462cc1205e44c6
[]
no_license
chuqingq/code_c
d4e4fc34ba945196a2ed0f32e20968033f63d8fc
45410b5487213a71953b6f425e495e27e4980a26
refs/heads/master
2023-06-09T01:42:32.003280
2023-06-04T08:40:12
2023-06-04T08:40:12
126,292,890
6
0
null
null
null
null
UTF-8
C++
false
false
635
cpp
queue_test.cpp
#include "queue.hpp" #include <iostream> #include <thread> int main() { Queue<int> q(5); std::thread th([&]() { // 确保队列为空并且队列关闭时才退出 while (!q.closed()) { while (!q.empty()) { sleep(1); auto v = q.pull_front(); std::cout << "recv " << v << std::endl; } } }); fo...
8324357315f6870a2c191f8963d207076edfa135
65e4995fbad46d2e4fc1fb7e26f10adc375071af
/Set_servo/Set_servo.ino
05a25d8ba5ab7bcae3bffdad3c32c75b91837510
[]
no_license
Kenn3Th/DATA3750
938724c5835dc2764d421c86d9efc0dea231b593
eeebe9c796ad7623119d141b2611d3345584daa5
refs/heads/master
2021-01-15T07:49:17.872257
2020-03-03T10:45:10
2020-03-03T10:45:10
242,919,536
0
0
null
null
null
null
UTF-8
C++
false
false
768
ino
Set_servo.ino
/*** Kode for å stille servoene til riktig posisjon før montering av robot armen. ***/ #define servoPinLeft 6 #define servoPinRight A0 #define servoPinRotation A1 int myAngle; int pulseWidth; void setup() { pinMode(servoPinLeft,OUTPUT); pinMode(servoPinRight,OUTPUT); pinMode(servoPinRotation,OUTPUT); } //Fu...
9ec25b71e216ca194f21f8a7688e4446162cfaf7
9dc9a2495de7e0be5929517628a787cd04917797
/samples/reflection/template.cpp
ba1bcf22b6bc3ea42a2d401137387a198bbc71fa
[ "Apache-2.0" ]
permissive
cpgf/cpgf
e707c96b439cdcbbb8959abf26b4a4e257362b73
2590f6bfe85de4cba9645acac64460031739767f
refs/heads/master
2023-03-09T00:56:02.276678
2022-05-22T06:47:24
2022-05-22T06:47:24
16,725,840
201
52
null
2018-08-15T01:04:29
2014-02-11T09:28:40
C++
UTF-8
C++
false
false
1,601
cpp
template.cpp
#include "reflect_common.h" namespace { template <typename T> class TestBase { public: virtual ~TestBase() { } int getDouble() const { return sizeof(T) * 2; } int value; }; template <typename T, typename P> class TestObject : public TestBase<T> { public: int getSize() const { r...
b11d87a739025bf96bd72eeec7cfe0556e1a7e7a
d4d89bfe844dba307030410957c22b22d0a3d92e
/cpp_code/abc119/b.cpp
2d78fad3530b24e2f4204e92ce06329254d21962
[]
no_license
Adaachill/atcoder
4dcb4435e0d9ca5c7363fe19f565e939ecfc056d
22af74e80fec95e77ce4d137eba6c7cc7e490ab3
refs/heads/master
2020-03-26T04:45:29.468222
2019-08-16T12:22:52
2019-08-16T12:22:52
144,521,344
0
0
null
null
null
null
UTF-8
C++
false
false
296
cpp
b.cpp
#include <iostream> #include <string> using namespace std; int main(){ int N; cin >> N; double x[N]; string u[N]; double sum = 0; for(int i=0;i<N;i++){ cin >> x[i] >> u[i]; if(u[i] == "JPY") sum += x[i]; else sum += x[i]*380000.0; } cout << sum << endl; return 0; }
af4874120db926713c8b79080634c7503572e706
75a166c925f371dc1c09551cd015ed422c643301
/Cell.cpp
87e8e41ca966f490997b496eaf4b060ca1632bb8
[]
no_license
tonyzheng6/Sudoku_Board_Solver
316ca30a59d47165177de574e5c8b425f38ce8ec
f0dd3131a319c2025931ca1666adabbfd510f337
refs/heads/master
2020-06-05T14:42:36.301274
2015-05-04T01:15:33
2015-05-04T01:15:33
34,967,809
2
0
null
null
null
null
UTF-8
C++
false
false
904
cpp
Cell.cpp
/** * Title: Cell.cpp * Author: Tony Zheng * Created on: 2/23/2014 * Modified on: 5/1/2015 * Description: A program that will generate solved Sudoku boards. The program starts by * inserting a random number (between 1 and 9) in the top left cell of the grid * and then places...
77369a4c8b635bc00b6d3164eb7bdf7552cfa9d2
245fbb17cf54ef40bd7e031434c5afd34ef7ebd2
/read_data_gals.cpp
ad46ba6c63a87f2390da9b382a0a4aaa8e3d7bda
[]
no_license
laury13marian/MillenniumXXL_GGL
e9786b352fe07a6c23bf28167e4404c808d2ed70
807f1f3a0cef3d421a289402a8e6e3a3d7906f47
refs/heads/main
2023-07-11T15:43:22.659400
2021-08-12T10:14:02
2021-08-12T10:14:02
395,275,972
0
0
null
null
null
null
UTF-8
C++
false
false
300
cpp
read_data_gals.cpp
#include "read_data.h" using namespace std; int main() { const string path_in = "/galformod/scratch/bmh20/SAM/Henriques2014/snaps/Guo10_bug_fix/MR/"; const double red=0.24; read_galaxy_Millennium OB(red, path_in); int sub=100; OB.open_subfile(sub); OB.deallocate(sub); return 0; }
19aa1d2a856569ceaf83f6771bdeec0912851cde
3536baec9b09d77449f4e86076ef469769b5ca24
/Classes/Card.h
ef9b1c3acb077d47ec9d1a7de4479519a46280cc
[]
no_license
oyueduo/landlord
7d29afefa85fe65443b3d5ef38c83d9117469127
ac30aa39de942a85612da33b6d55a2989ee0e286
refs/heads/master
2020-12-24T20:10:21.761516
2017-04-07T15:21:25
2017-04-07T15:21:25
86,240,237
1
0
null
null
null
null
GB18030
C++
false
false
1,186
h
Card.h
#ifndef __CARD_H__ #define __CARD_H__ #include "cocos2d.h" const double cardScale = 0.75; const double cardSizeX = 129; const double cardSizeY = 167; ////0代表大牌,1代表小牌 //enum CardSize //{ // BIG_CARD, // SMALL_CARD //}; //颜色0黑1红2金 enum CardColor { BLACK, RED, GOLD }; //牌的拥有者 enum CardOwner { F...