blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
a10019a4fdb18f4e3c5b2467bc6e7ec79409ceba
4c19506e8a61967c9de1a84d9b39e90f87776a1a
/MatrixInv.cc
6133f767d87327c52786968b4112246da0a833c5
[]
no_license
asantra/SusyPhoton
588541d735e85f53d98388ac83adbfa4edc72177
b6f44b50f484e62f655442043a80d97146367dd6
refs/heads/master
2021-01-17T09:33:31.516282
2015-02-06T19:01:48
2015-02-06T19:01:48
19,005,221
0
0
null
null
null
null
UTF-8
C++
false
false
3,019
cc
#include <iostream> #include <cmath> #define EPS 0.000000001 #define MAXIT 200000 using namespace std; /* Using Jacobi iteration method */ void Jacobi(int n, float a[4][4], float b[4], float x[4], int *count, int *status){ int key; float sum, x0[4]; for(int i=0;i<4;i++) x0[i] = b[i] / a[i][i]; *count =...
[ "santra.arka@gmail.com" ]
santra.arka@gmail.com
f4ee79d501f60219857d991dfe230738ab7f7adc
764835e76e3bff2e730fe4e5e6da0e2fd143cc24
/01Sept2016/src/llt.cc
38ec4ae079e21debf462ccbfb4255b2a6e1adba7
[]
no_license
amandipde/HiggsWH
2a409441ecb1559081af87ee4c09ad76c150af8f
9e293577824e5248ae8668392e15a7cf3ca1867a
refs/heads/master
2020-03-21T20:36:16.308220
2017-03-02T11:32:44
2017-03-02T11:32:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
958
cc
#include <iostream> #include <string> #include <vector> #include "TROOT.h" #include "TStopwatch.h" #include "LLT.h" using std::cout; using std::cerr; using std::endl; using std::string; using std::vector; int main(int argc, char* argv[]) { if (argc < 2) { cerr << "Usage: " << argv[0] << " jobFile " << endl; ...
[ "atanu.modak@cern.ch mailto:atanu.modak@cern.ch" ]
atanu.modak@cern.ch mailto:atanu.modak@cern.ch
3441616b32d74e5be01f91c65ccc09b388a872a3
d4371dc01d02fd5c21ced58683ae4f982a38110b
/code/modules/core-tests/src/ecs/ComponentManagerTests.cpp
f5a284fbfdda6a28cd4f9624b864009eb93ce003
[ "MIT" ]
permissive
Eregerog/Modulith
a2aeb030444a4c1197fd7b7403b5b8c769f35a3b
ce6c153d28c64f24654ac7a2247bfe4992096090
refs/heads/main
2023-01-21T14:21:43.702785
2023-01-15T09:22:44
2023-01-15T09:22:44
318,228,599
0
0
null
null
null
null
UTF-8
C++
false
false
2,866
cpp
/** * \brief * \author Daniel Götz */ #include "Core.h" #include "catch.hpp" #include "ECSTestUtils.h" #include <ecs/EntityManager.h> SCENARIO("Components can be copied from and to std::any"){ auto componentManager = CreateComponentManager(); GIVEN("A component with data and no RAII / Destructors"){ ...
[ "danielgoetz3@gmx.de" ]
danielgoetz3@gmx.de
06879f9d1b1a9a183cf047fce356f5ea88c23161
84aa2ebaead83898f15c48fc434acb5fb5d338d3
/common/yaml/test/yaml_read_archive_test.cc
646593ea2e13713bc4297e1f060474f0bd21f152
[ "BSD-3-Clause" ]
permissive
mamurtaza88/drake
ebc1f8d51599c138d37f86505ed83846c5c2509a
6ebdccec71336b7cbe6dcf894988719219074c54
refs/heads/main
2023-03-18T03:47:44.572623
2022-12-17T21:45:43
2022-12-17T21:45:43
579,491,783
0
0
null
null
null
null
UTF-8
C++
false
false
33,512
cc
#include "drake/common/yaml/yaml_read_archive.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "drake/common/name_value.h" #include "drake/common/nice_type_name.h" #include "drake/common/test_utilities/eigen_matrix_compare.h" #include "drake/common/test_utilities/expect_throws_message....
[ "mamurtaza@live.com" ]
mamurtaza@live.com
d5de5de4c0fe0281f63790c9f372c89478d25579
cd378f83f04edaf4c6b14d041e746a1140abbe8b
/210317_WinAPI/RightMove.cpp
e30ee331720587929baff062b0d605cc2ba958d1
[]
no_license
soapunny/Strikers1945
bd812bd6339e490b2a95ba9adbbb86b548c51bf0
ef6259b9dca087d64a79724c89a3478356a47dd3
refs/heads/main
2023-04-10T03:04:10.101571
2021-04-23T00:33:17
2021-04-23T00:33:17
358,157,660
0
0
null
2021-04-22T22:05:46
2021-04-15T06:52:28
C++
UTF-8
C++
false
false
211
cpp
#include "RightMove.h" void RightMove::DoMove(FPOINT* pos, float* angle) { float elapsedTime = TimerManager::GetSingleton()->getElapsedTime(); //if (pos->y < 400) { pos->x += moveSpeed * elapsedTime;; } }
[ "soapunny@gmail.com" ]
soapunny@gmail.com
6a0510e39fe73cbc3f1e2cb3d81a7cdd4f1a2115
cb5feef76e521e5c5b82a35ea6a0b92a337ba3d7
/tfs_0.2.14/src/creature.cpp
ceafd4b223ec0458462ba59967f2018a2b2861bc
[]
no_license
Armada-Azteca/ArmadaAztecaServer
8a41adf79ce89c6919507ae664f71b4e1e9a4f0e
2513c168583676264addda2106918ae6591ff1a7
refs/heads/master
2023-05-25T02:26:57.551274
2023-05-24T17:31:52
2023-05-24T17:31:52
3,155,919
8
7
null
2023-05-17T21:38:06
2012-01-11T17:51:57
C++
UTF-8
C++
false
false
41,494
cpp
////////////////////////////////////////////////////////////////////// // OpenTibia - an opensource roleplaying game ////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////// // This program is free software; you can redistribute it ...
[ "manuel220@yahoo.com" ]
manuel220@yahoo.com
249ad36925d79186866371ea44571a6057d949fb
7129fbb2d290cf2bc5d12351cc5c87093ae52e56
/IPFinal/IRenderer.hpp
5714ac2c37fb995c5b2e722b0e45421e4d5e9811
[]
no_license
42yeah/IPFinal
75263668e1fba78724a2181c497a91344988b067
161c5ccc7945b9545eae1a173050bb974f60fadd
refs/heads/master
2020-12-05T21:57:10.591373
2020-01-09T09:08:12
2020-01-09T09:08:12
232,258,331
0
0
null
null
null
null
UTF-8
C++
false
false
490
hpp
// // Renderer.hpp // IPFinal // // Created by apple on 2020/1/8. // Copyright © 2020 aiofwa. All rights reserved. // #ifndef Renderer_hpp #define Renderer_hpp #include "StandardProgram.hpp" #include "Framebuffer.hpp" class IRenderer { public: IRenderer() {}; virtual void init() = 0; virtual vo...
[ "potion@live.cn" ]
potion@live.cn
3e4bf5a52610066835c2a3d611dfdd3b984e20e7
e29c1365c01a693c5fff034eb17c6080372fdb31
/scripts/scripthelper.cpp
b83bf14d056f8b4c1c45a377d08a387fd93000a4
[]
no_license
ClaudiuHNS/OGLeague2
574968399bf1141bb03c978ceadbb0c1d8f6b580
e974de5a2e15d6b403fbf2aa739de25dedad36df
refs/heads/master
2020-05-24T17:54:23.468796
2017-06-08T01:32:59
2017-06-08T01:32:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,330
cpp
#include "scripthelper.h" #include "scripthelperbb.h" #include "scripthelperdamage.h" #include "scripthelperextra.h" #include "scripthelperspells.h" #include <iostream> #include "obj/gameobject.h" std::vector<AiTimer *> *ScriptHelper::mLevelTimers = nullptr; std::vector<NeutralTimer *> *ScriptHelper::mNeutralTimers = ...
[ "moonshadow565@gmail.com" ]
moonshadow565@gmail.com
723ab2651fec0c3216962cd4a82ca2dcd89e8c44
71ef9f45e2fada26f34c75c1cb9513ccbe3ef17f
/GPStudio/src/main.cpp
b023264545190af7de6dacab822ba0a1e7679f9e
[]
no_license
yangli-learning/TrajectoryCompletion
0668b1ad6fcf6da9195474df45b3208d2983e68d
6a46ec1bf2ab6b3c40f2cbf01d51fbe717daeaee
refs/heads/master
2023-01-29T07:52:57.494362
2019-05-26T07:34:41
2019-05-26T07:34:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,613
cpp
#include <QApplication> //#include <glog/logging.h> //#include "caffe_wrapper.h" #include "main_window.h" #include "guiless.h" #include <gflags/gflags.h> #include <ostream> #include <string> using namespace std; string ti="Turns on interactive mode", tb="Path to bbox file (.yaml format)", tp="Path to...
[ "tori2011@gmail.com" ]
tori2011@gmail.com
b43b6b4064816f12794b997139fa73569a0203cc
1eb894c9842bbae917f5a8c35784e34abfa35331
/Assignment-4(Stack & queues)/getMin.cpp
2fc69d90925468e33315a4cd5bfe658c3114d40d
[]
no_license
witcher-shailesh/CP_CipherSchools
b4dc6b6dd2d1e93d3bddd64779af09dc93ae86bb
96242b60b90d642fff306dedbc5d69b5ec739c14
refs/heads/main
2023-03-08T12:15:29.549532
2021-02-22T15:01:44
2021-02-22T15:01:44
338,615,327
0
0
null
null
null
null
UTF-8
C++
false
false
890
cpp
#include<bits/stdc++.h> using namespace std; int getMini=0; void push(stack<int>& s, int a){ if(s.empty()){ s.push(a); getMini = a; }else{ if(a >= getMini){ s.push(a); }else{ s.push(2*a-getMini); getMini = a; } } } bool isFull(stack<int>& s,int n){ return s.size...
[ "shailesh.techcourse@gmail.com" ]
shailesh.techcourse@gmail.com
febcbb7907993abdb8d852b755ed87d3c4de2929
1bbd0f6117dfd88587353f36688620e304d3f92b
/FMI/FMI_v3-1_with_HOS_v2-1/FMI_v3-1_with_HOS_v2-1/Fleet-Management-Controller/src/CIftaDlg.h
c29c87a5fbbcc63f239a443ecb4169db0ce6ba3d
[]
no_license
Qasemt/teltonikaRes
46f30740043b5753d3c5bf75f616bbab9d5f8ac7
b9c74ad7309ac67bbcfa9061b4ff3cb899c3115c
refs/heads/master
2016-08-12T14:40:23.990338
2015-05-24T08:09:06
2015-05-24T08:09:06
36,158,291
0
1
null
null
null
null
UTF-8
C++
false
false
1,493
h
/********************************************************************* * * HEADER NAME: * CIftaDlg.h * * Copyright 2013 by Garmin Ltd. or its subsidiaries. *--------------------------------------------------------------------- * $NoKeywords$ *********************************************************************/...
[ "qasemt@gmail.com" ]
qasemt@gmail.com
ed12c48e56d595e468e725e32a4cb1aaacbe3eea
1151d4f8b636a36db18829f0fb03166a3c40b735
/tools/cmd/propenv.cpp
9c588ccf19e996b18f081cd88a95fbe2afd957dd
[ "LicenseRef-scancode-public-domain", "LGPL-3.0-only", "MIT" ]
permissive
Afonso-2403/universal
9f695344649f363d4faeaf8df4d1d033c258a952
bddd1489de6476ee60bd45e473b918b6c7a4bce6
refs/heads/main
2023-08-05T06:54:48.006615
2021-09-16T11:42:42
2021-09-16T11:42:42
382,342,543
0
0
MIT
2021-07-02T12:40:39
2021-07-02T12:40:38
null
UTF-8
C++
false
false
8,610
cpp
// propenv.cpp: cli to show the type properties of the compiler environment // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/number_system_properties.hpp> //minmax_range...
[ "theo@stillwater-sc.com" ]
theo@stillwater-sc.com
8bb3ae49816e375c8f5b098a48de14732f05edf3
d29a98d4cfc6c4fe8705e583bef48ec5f25a1e13
/leetcode/min-stack.cc
e252dfc95fdb5d18357abba5726307adff4b3a80
[ "MIT" ]
permissive
Waywrong/leetcode-solution
0295a83ea748a6295a598f996f82397f4ee728db
55115aeab4040f5ff84bdce6ffcfe4a98f879616
refs/heads/master
2020-04-03T08:34:38.190104
2018-11-20T12:40:19
2018-11-20T12:40:19
155,137,800
0
0
MIT
2018-11-20T12:40:21
2018-10-29T02:07:05
C++
UTF-8
C++
false
false
864
cc
// Min Stack class MinStack { public: /** initialize your data structure here. */ MinStack() { } void push(int x) { main_stack.push(x); if (mini_stack.empty() || x <= mini_stack.top()) mini_stack.push(x); } void pop() { int tmp = main_stac...
[ "jiangxq18@outlook.com" ]
jiangxq18@outlook.com
1eb0c710e0ed62988996f7e2652370b39e286f41
78ce9a6f9e5680af7c3f35d60f1d1d8d347afaba
/problems/42/header.cpp
b7694a66d535556bc5a8150226b399e516c6edf5
[]
no_license
hacktheinterview/hacktheinterview
3f32f91b8b8fdaa127331d98327f8ea0ce051775
2bd76c4c6ec454f1c14f69058126999099c71e60
refs/heads/master
2021-01-12T16:36:15.101277
2016-06-08T05:05:22
2016-06-08T05:05:22
52,276,126
0
0
null
null
null
null
UTF-8
C++
false
false
574
cpp
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #include <sstream> #include <cmath> #include <bitset> #include <utility> #include <set> #include <numeric> #include <ctime>...
[ "radhakrishnancegit@gmail.com" ]
radhakrishnancegit@gmail.com
f9d6b0650145f1095d95adc572401aaac1e47bf1
f5acd38efe9f28e14a3e77cf60f938000a6660ab
/clients/cpp-restbed-server/generated/model/ResponseTimeMonitorData.cpp
054634157a0e03404ee69ddc12e4829b1332e54f
[ "MIT" ]
permissive
rahulyhg/swaggy-jenkins
3fc9377c8cf8643d6b4ffe4a6aceb49315afdb8e
21326779f8814a07153acaf5af15ffbbd593c48b
refs/heads/master
2020-05-04T16:14:43.369417
2019-01-27T06:27:32
2019-01-27T06:27:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,835
cpp
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.0.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT. * https://openapi-generator.tech * Do not edit the class manually. */ #include ...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
5ab886da2d9d156811cbf1e54b6f0f9e6a51d361
823d69017612c90d072a59801ef10b60472a0c79
/src/test_partial_search.cpp
5888806cd04ca0fc9dc5d6a32a2cb1fe4ee500b2
[]
no_license
zhangzongliang/object_3d_retrieval
864404d2c36ef75d6f4647c071b818be9bf8b1ac
414694d00fdc529673f6d9db945e645b0cf15fe8
refs/heads/master
2021-01-15T13:33:01.163411
2015-06-16T08:29:23
2015-06-16T08:29:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
83,220
cpp
#include <iostream> #include <chrono> #include <pcl/kdtree/kdtree_flann.h> #include "object_3d_retrieval/supervoxel_segmentation.h" #include "object_3d_retrieval/object_retrieval.h" #include "object_3d_retrieval/dataset_convenience.h" #include "object_3d_retrieval/register_objects.h" #include "object_3d_retrieval/seg...
[ "nilsbore@gmail.com" ]
nilsbore@gmail.com
402273bc37927fa530f28c217f9403fb2561f24a
7ba254b6e04238d482c62420781fa995719a984c
/mpac_mproc/pac-soc/pac-soc.cpp
0f9f4bf9f453a1c0d5c3e1d8e5a9504fff287a2a
[]
no_license
cuibixiong/multicore-simulation
25d3ba38ad1270e19868e297fa6af484606ed638
8b22030c2e264fee08ff92f315a2948e45de9012
refs/heads/master
2021-01-01T05:35:34.857120
2013-05-26T16:04:22
2013-05-26T16:04:22
10,299,972
1
1
null
null
null
null
UTF-8
C++
false
false
8,759
cpp
#include "mpac-mproc-define.h" #include "pac-socshm-prot.h" #include "pac-soc.h" #include "pac-parser.h" #ifdef PAC_2WAY_ICACHE_LINE #include "pac-l2-way-bus.h" #elif PAC_4WAY_ICACHE_LINE #include "pac-l2-way-bus.h" #elif PAC_8WAY_ICACHE_LINE #include "pac-l2-way-bus.h" #else #include "pac-l2-direct-bus.h" #endif #in...
[ "cuibixiong@gmail.com" ]
cuibixiong@gmail.com
67c1cefb22028cf24c8e7e759e69ad2a29f4f055
238bb5b432dbaf3c6bae06a0320898592c67bffe
/16zombie-process/main.cpp
c7935d9033adcdfbf877ee49961f3a348a577025
[]
no_license
morningblu/linux-program
ae71d417eb4c608e8190cd8422946519fc90c1a7
9702252f44758ac519fbf8959a4f9f52da557f93
refs/heads/master
2020-08-02T22:06:36.219117
2018-10-26T09:09:41
2018-10-26T09:09:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
266
cpp
#include "../common.h" int main() { pid_t pid = fork(); if(pid > 0) { // 等待子进程退出,如果子进程退出,回收子进程的PCB wait(NULL); while(1) { sleep(1); } } return 0; }
[ "mazhao@iMac-2.local" ]
mazhao@iMac-2.local
5b6bb3f597fbb56044c098a19831a774b7c1f018
aa9ced7d5ffac5ea642ec893c75b62cc46fb3046
/src/response.cc
3724a585709a5c2e20d28c6fee6ed7000a1c2c66
[ "MIT" ]
permissive
dwd/chorus
103baeea71ef68a6edde63ea0949b0bddcb7c0ba
1d3ad50936a2840e1fb06fc91003a83a8be25b02
refs/heads/master
2016-09-10T21:39:55.381280
2016-01-14T09:38:31
2016-01-14T09:38:31
41,246,382
1
0
null
null
null
null
UTF-8
C++
false
false
67
cc
// // Created by dwd on 28/12/15. // #include <chorus/response.h>
[ "dave.cridland@surevine.com" ]
dave.cridland@surevine.com
66a689d1678734a1a2bb9aa861673473dec91836
71cc711461927a5fb15b19c4529117f62cec4210
/host/streaming_reg_access/src/host.cpp
dab4414950cefeb587421df8c4c7616ca0042742
[ "BSD-3-Clause" ]
permissive
yfduskk/Vitis_Accel_Examples
aa37adb021e8332791927709e248ff48780a1636
9231c73b3849b0ef7fca756086db3e3912f51dbb
refs/heads/master
2022-10-29T16:25:55.206281
2020-06-04T12:09:25
2020-06-04T12:09:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,367
cpp
/********** Copyright (c) 2019, Xilinx, 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
[ "heeran@xilinx.com" ]
heeran@xilinx.com
1923fb53faa11d714a8695e33a858543a6e2d9fd
df6311ad5d9a7f056b682281feb2bc0a79768f23
/win.h
cbad0460fdbf1128b34cff909778a7aa1ae0ee78
[]
no_license
annsngkv/qt-counter
ef5c841451bd0d4e4a4fab11f7d6be77f2740d3c
95daf517912b4ce9fa7f6a2572fc261e73694203
refs/heads/master
2023-04-26T17:36:54.772140
2021-05-23T19:15:05
2021-05-23T19:15:05
367,749,497
0
0
null
null
null
null
UTF-8
C++
false
false
4,250
h
#ifndef win_h #define win_h #include <QtGui> #include <QLineEdit> #include <QLabel> #include <QPushButton> /* * Класс счетчик, наследуемый от QLineEdit */ class Counter:public QLineEdit { /* * Обязательный макрос, так как класс Counter определяет новые сигналы и слоты */ Q_OBJECT // макрос Qt, обеспе...
[ "snegarkova@yandex.ru" ]
snegarkova@yandex.ru
f82aeb841d5d5fff61fa51fd958ba933f87cbd4d
301ed54244fd41502fd6f23a2e016c6e0cfba2dd
/02 CONTESTS/Codechef/LTIME87A/A.cpp
1d236bdd33adbc7e14882b93f0f6b98aeb6f6fbf
[]
no_license
iCodeIN/Competitive-Programming-4
660607a74c4a846340b6fb08316668057f75a7ba
05b55d2736f6b22758cd57f3ed5093cf8a2f4e2f
refs/heads/master
2023-02-22T12:53:39.878593
2021-01-28T10:57:50
2021-01-28T10:57:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,883
cpp
#include <bits/stdc++.h> using namespace std; #define en "\n" #define INF (int) 9e18 #define HELL (int) (1e9 + 7) #define int long long #define double long double #define uint unsigned long long #define pii pair<int, int> #define pb push_back #define fs first #define sc second #define size(a) (int) a.size() #define de...
[ "yashjain0530@gmail.com" ]
yashjain0530@gmail.com
edc208ccbc4122874a1987a9adb6c5ac85b5cc3b
b03be8c91e696a1f68f9086d5a13dfc4a8cf96bf
/20190427_ABC125/B-Resale.cpp
5768cfa80a7a6f19b94552c5ee28bfe84d575ad1
[]
no_license
shimech/AtCoder
6b4cc9d7b664f29e9d0ec23c344933558a77be1b
992a36c0a578d4117e5e08275954c51e5cb5037d
refs/heads/main
2021-07-25T21:01:58.619897
2021-06-26T06:36:37
2021-06-26T06:36:37
182,351,805
0
0
null
2021-06-06T12:58:58
2019-04-20T02:49:06
C++
UTF-8
C++
false
false
409
cpp
#include <iostream> using namespace std; int main() { int N; cin >> N; int V[N], C[N]; for (int i = 0; i < N; i++) { cin >> V[i]; } for (int i = 0; i < N; i++) { cin >> C[i]; } int sum = 0; for (int i = 0; i < N; i++) { if (V[i] - C[i] > 0) { sum ...
[ "ut.s.shimizu@gmail.com" ]
ut.s.shimizu@gmail.com
58fb24ed5d3083561f774d10fd5cfe58edc1dcc3
351a4b2f0cf7e66d1d86ec175c001528cc933b26
/examples/RenderManagerOpenGLPresentExample.cpp
e8a3443290b3f0bc07fe9f6abd8b8d3d0aadfddf
[ "Apache-2.0" ]
permissive
bwrsandman/OSVR-RenderManager
831dd1ec30facc57245810f66b1ea9d30695c510
c22e7e068228b236b1a51094ae32cc34b151d859
refs/heads/master
2021-01-17T21:39:51.098718
2016-06-12T00:17:55
2016-06-12T00:17:55
61,181,130
1
0
null
2016-06-15T05:54:08
2016-06-15T05:54:08
null
UTF-8
C++
false
false
14,927
cpp
/** @file @brief Example program that uses the OSVR direct-to-display interface and OpenGL to render a scene with low latency. @date 2015 @author Russ Taylor <russ@sensics.com> <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Version...
[ "russ@reliasolve.com" ]
russ@reliasolve.com
82244daf927743fb77f3a6986f41e42b1b623ad6
cbaefe57f2b4f860745bf84254b30318534c1555
/SDK/pfc/nix-objects.cpp
e35ed1c805b4d07f3fe86adb4db81ffc1aad4a97
[ "LicenseRef-scancode-unknown-license-reference", "Zlib" ]
permissive
topia/foobar2000-sdk
f9b6a4a3d74af3e3f33eb543f70a9434c2c7b219
f0f995e67e9fc5e36e96f5f6540ea7f8a6c8b964
refs/heads/master
2023-06-08T11:23:00.013923
2023-06-02T03:47:34
2023-06-02T03:47:34
238,448,996
0
0
null
null
null
null
UTF-8
C++
false
false
9,970
cpp
#include "pfc-lite.h" #ifndef _WIN32 #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <poll.h> #include <math.h> #ifdef __APPLE__ #include <mach-o/dyld.h> #endif #include "nix-objects.h" #include "string_base.h" #include "array.h" #include "debug.h" #include "...
[ "topia@clovery.jp" ]
topia@clovery.jp
1c1ab1c522118915bf02e61db636f94c4a4d51ce
64bd2dbc0d2c8f794905e3c0c613d78f0648eefc
/Cpp/SDK/BP_BuoyantStorageBarrel_LockedToWater_functions.cpp
61264f20eeecf672586c0602ece0ee8bbd016fca
[]
no_license
zanzo420/SoT-Insider-SDK
37232fa74866031dd655413837813635e93f3692
874cd4f4f8af0c58667c4f7c871d2a60609983d3
refs/heads/main
2023-06-18T15:48:54.547869
2021-07-19T06:02:00
2021-07-19T06:02:00
387,354,587
1
2
null
null
null
null
UTF-8
C++
false
false
1,850
cpp
// Name: SoT Insider, Version: 1.103.4306.0 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //---------------------------------------...
[ "zp2kshield@gmail.com" ]
zp2kshield@gmail.com
ed6a5f6d3488c05d4eb67d1b82f7b6e5177eec0e
a1804529be44f876f55143a66396381da743c229
/code/Others/TernarySearch.cpp
dadd819a7fbcd19bd68161dca97b8ff3faf2eec9
[]
no_license
dcordb/icpc-reference
73fc0644e88c87f3447af9aab650f65f8aaf3bdc
9d2b6e52cd807696e63987092372ee227cf36e6e
refs/heads/master
2023-03-25T00:58:34.403609
2023-03-12T22:54:53
2023-03-12T22:54:53
214,291,425
1
1
null
null
null
null
UTF-8
C++
false
false
309
cpp
//ternary search for minimum (for maximum reverse < operator) double st = -INF, nd = INF; //domain of function for(int i = 1; i <= 150; i++) { double m1 = st + (nd - st) / 3.0; double m2 = nd - (nd - st) / 3.0; if(f(m1) < f(m2)) nd = m2; else st = m1; } double res = (st + nd) / 2.0; //optimal point
[ "dcordb97@gmail.com" ]
dcordb97@gmail.com
530b75ea0f4b29d06042f21e399a52335913cf0a
12c545c0c8eb79240f43875505bddeffe2018950
/lantern/src/Contrib/SortVertices/cuda_utils.h
0dbd4d55aaec3618a98ff997adbe78f7fe70ef4d
[ "MIT" ]
permissive
snapbuy/torch
9322b8ee7e5ba1a31ac02a9151d4fc587a460ba7
8d968099ef78242062d4d301b2fc8364f2de2eb5
refs/heads/master
2023-08-26T16:41:10.695600
2021-10-19T22:56:58
2021-10-19T22:56:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,485
h
/* MIT License Copyright (c) 2020 Lanxiao Li Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
[ "dfalbel@gmail.com" ]
dfalbel@gmail.com
809b10c5034af885382e0f94950f3f3ba20ac9ee
b2e2b269e930a399d011398c3b9beef19da94d8b
/benchmarks/SpanningForest/Framework/mains/unite_early_ldd.cc
17d57a08ee136284079168adb70b8da5da58a284
[ "MIT" ]
permissive
jiangjiaqi6/gbbs
b81df575fdfc2e0b24b9ec7eaafbdd1c3f7390cc
ff372b104e4c66766230ecafd34c2840726aee92
refs/heads/master
2023-08-23T15:14:46.536379
2021-10-13T18:41:40
2021-10-13T18:41:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,101
cc
// This code is part of the project "Theoretically Efficient Parallel Graph // Algorithms Can Be Fast and Scalable", presented at Symposium on Parallelism // in Algorithms and Architectures, 2018. // Copyright (c) 2018 Laxman Dhulipala, Guy Blelloch, and Julian Shun // // Permission is hereby granted, free of charge, t...
[ "laxmandhulipala@gmail.com" ]
laxmandhulipala@gmail.com
040772402f5353c36c63e9c32db6fce200c880cf
8856f444618e0bbdd821ecda3bcca7f3fc9abd34
/Enemy.cpp
8d9923c97ee9aca93730ada03b8bddfde053f02b
[]
no_license
jGold6001/2DEasyGameByQt
f0d9ad643fd08b4b28abf9b7115954d1d74cd1a5
22bccbc191191688e3abbb9430421a0a61b4f4ba
refs/heads/master
2021-08-16T07:50:38.809808
2017-11-19T09:24:18
2017-11-19T09:24:18
111,280,192
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
859
cpp
#include "using_libs.h" #include "Enemy.h" #include "Game.h" extern Game * game; Enemy::Enemy(QGraphicsItem *parent): QObject(), QGraphicsPixmapItem(parent){ //set random position int random_number = rand() % 700; setPos(random_number,0); //draw the enemyCar setPixmap(QPixmap(":/images/images/car...
[ "jgold6001@gmail.com" ]
jgold6001@gmail.com
2317780ce50ff3ed2872c79f618c5ecb92ee92b0
8fca8c6b8c324f9a3a0cd842a41ac88e4c138d94
/zipeg-mac/p7z/p7z/CPP/7zip/Archive/Zip/ZipHandler.cpp
8dc1af2977737805b8fa54b192ccfa0f5f358b64
[]
no_license
leok7v/zipeg
98ef829ae7cbfb9091558b9abc4f7beed77059d7
10bdd8af188526246eeb8fc25040bff689e13d0d
refs/heads/master
2021-05-28T01:10:08.737491
2013-11-06T18:18:41
2013-11-06T18:18:41
11,702,142
0
0
null
null
null
null
UTF-8
C++
false
false
22,409
cpp
// ZipHandler.cpp #include "StdAfx.h" #include "Common/ComTry.h" #include "Common/IntToString.h" #include "Windows/PropVariant.h" #include "Windows/Time.h" #include "../../IPassword.h" #include "../../Common/FilterCoder.h" #include "../../Common/ProgressUtils.h" #include "../../Common/StreamObjects.h" #include ".....
[ "leo.kuznetsov@gmail.com" ]
leo.kuznetsov@gmail.com
46294477b577a9f3f071d0486e106a594deb318f
05bc027e448301357f54be1d7a60712307eef259
/include/Key.h
f23d886c25201d989f698cf55e41862ac71243a0
[]
no_license
mgoetschius/Platformer1
54f72d7015ad509c8b22df376c3b3a901329edfc
0a2887b924c0433140bc2f13a3aaaebe5f8ae8f7
refs/heads/master
2021-01-02T22:17:28.899591
2015-05-10T00:59:30
2015-05-10T00:59:30
30,471,314
0
0
null
null
null
null
UTF-8
C++
false
false
708
h
#ifndef KEY_HH #define KEY_HH #include "Shader.h" #include "Texture.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "vector" class Key { public: Key(); void Setup(Shader &shader, int x, int y, int size); void render(); vi...
[ "mgoetschius@googlemail.com" ]
mgoetschius@googlemail.com
139465221125b90a9427078c718004046368cc91
830541d9198c2151c1325d1ad98dd10f9c245805
/test/stable_sort.cpp
dd150daddc49c36092eb5b019d3a240ae1b2ac3f
[]
no_license
colinhp/MiniSearchEngine
f0cc818d32ec1bae4115dab3798cde79a8e1d252
dbae31ca2915115f2045a5962bf37652b54e9091
refs/heads/master
2021-10-30T08:19:40.532150
2019-04-26T02:28:53
2019-04-26T02:28:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
816
cpp
/// /// @file stable_sort.cpp /// @author kkmjy(mjy332528@163.com) /// @date 2017-09-06 10:02:57 /// #include <algorithm> #include <iostream> #include <string> #include <vector> struct Employee { Employee(int age, std::string name) : age(age) , name(name) { } int age; std::string name; ...
[ "mjy332528@163.com" ]
mjy332528@163.com
54c80f7524e37c6fd59992629fd54785613d2292
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/squid/gumtree/squid_repos_function_3869_squid-3.1.23.cpp
2227e9bb9bb2d6cf819569390ed81172a5571872
[]
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
179
cpp
void Adaptation::Ecap::XactionRep::noteMoreBodyDataAvailable(RefCount<BodyPipe> bp) { Must(proxyingVb == opOn); Must(theMaster); theMaster->noteVbContentAvailable(); }
[ "993273596@qq.com" ]
993273596@qq.com
b285f1f8ef80adccb599399700e45a2d5dbfb609
2348000ede440b3513010c29a154ca70b22eb88e
/src/CPP/src/leetcode/CombinationSumIII.cpp
0908bc160c754af94b3067bdec2d91b4c921732c
[]
no_license
ZhenyingZhu/ClassicAlgorithms
76438e02ecc813b75646df87f56d9588ffa256df
86c90c23ea7ed91e8ce5278f334f0ce6e034a38c
refs/heads/master
2023-08-27T20:34:18.427614
2023-08-25T06:08:00
2023-08-25T06:08:00
24,016,875
2
1
null
null
null
null
UTF-8
C++
false
false
1,298
cpp
/* * [Source] https://leetcode.com/problems/combination-sum-iii/ * [Difficulty]: Medium * [Tag]: Array * [Tag]: Backtracking */ #include <iostream> #include <vector> using namespace std; // [Solution]: // [Corner Case]: class Solution { public: vector<vector<int>> combinationSum3(int k, int n) { vec...
[ "zz2283@columbia.edu" ]
zz2283@columbia.edu
7020aeaa16d7c68d58d4e50d007037c6171ec848
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArG4/LArG4EC/src/LArEndcapPresamplerCalculator.cc
c6ed07a808cf6a3aaa4aea88336ec62291cd99bb
[]
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
3,755
cc
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ // LArEndcapPresamplerCalculator // 27-Dec-2002 Bill Seligman // This singleton class provides detector-description information and // calculations for the Geant4 simulation. // 2-July-2003 Mikhail Leltchouk: local coordinates for determ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
2428b7b37ef45d80deb454e095939c5be5ade4ff
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/riscv64-unknown-elf/include/c++/10.2.0/bits/stl_algobase.h
b1546521dfd0ac3640cd4fb1b81c21d566d55537
[ "Apache-2.0" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
C++
false
false
71,977
h
// Core algorithmic facilities -*- C++ -*- // Copyright (C) 2001-2020 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software ...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
d2feaa76c5df77e212ad1e8249fd84fb5643fc7f
5f67658f61d03a786005752583077a40b42d03b1
/Sound/UserSoundChannel.cc
95c60700683b7f19492f05b8f53ea2167c8be95c
[]
no_license
newtonresearch/newton-framework
d0e5c23dfdc5394e0c94e7e1b7de756eac4ed212
f922bb3ac508c295b155baa0d4dc7c7982b9e2a2
refs/heads/master
2022-06-26T21:20:18.121059
2022-06-01T17:39:47
2022-06-01T17:39:47
31,951,762
22
7
null
null
null
null
UTF-8
C++
false
false
20,504
cc
/* File: SoundChannel.cc Contains: Sound channel implementation. We render sound using the AudioUnit framework. Written by: Newton Research Group, 2007. */ #include "UserSoundChannel.h" #include "SoundErrors.h" #include "Globals.h" #include "ROMResources.h" #include "Lookup.h" #include "NewtonScript.h" #inc...
[ "simon@newtonresearch.org" ]
simon@newtonresearch.org
45604b617d97b904063081eac31fa70a4b42a282
bbf09754891dd483c27c70559ff2ab1dedd822f5
/Lab2/time.cpp
6099eac49b81136ae888ceb8ece2d08fc9bbc9e6
[]
no_license
nolandonley14/csc245
4b5b0e790cab1182c41211b6ca260199d627554f
373a07ce1c974ead89645b8982605dcb82a26135
refs/heads/main
2023-02-24T00:37:06.405826
2021-02-02T15:53:34
2021-02-02T15:53:34
335,335,487
0
0
null
null
null
null
UTF-8
C++
false
false
4,222
cpp
//****************************************************************** // IMPLEMENTATION FILE (time.cpp) // This file implements the Time member functions //****************************************************************** #include <iostream> using namespace std; #include "time.h" // Private members of class: // in...
[ "nolandonley14@gmail.com" ]
nolandonley14@gmail.com
799d8e1c956ac81b50e889b6b8efae302f1cc5e8
ae1bb960e93468819ab8fa14e6b07cd111b885c0
/First_year/Triannual1/Classwork/Parte 1/5.cpp
05ecfca41c3e8427790520589746e9fefdb32578
[]
no_license
Asmilex/CppUniversityProjects
b50deb5a0e480e35834ba832234f0df98923505e
37d074b32d0e9daed4c03b15b212e9ebe13c9555
refs/heads/master
2021-10-11T18:16:56.572056
2019-01-28T23:30:03
2019-01-28T23:30:03
114,488,606
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
#include <iostream> #include <cmath> using namespace std; int main(){ int a,b,c,e,p //no están bien declaradas las variables con respecto al ejercicio 13, esto y el cout cout <<"Valores de a,b,c,d,e respectivamente: \n"; cin >>a; cin >>b; cin >>c; cin >>e; cin >>e; double result=atan2(c+exp*(2)...
[ "andresmm@outlook.com" ]
andresmm@outlook.com
c7ee5a9d2490573993395e512e44e758854cff21
c1c292d122b6cbccd5d1cb428d14573393df1943
/game_logic_lib/include/MainLoopData.h
33774c625b62365570f8bd402174b2405759c696
[]
no_license
ChausV/pacman
272591c6169a433d0083e2e3ad6f8d3d907e5f31
10a46f97f2e95cce48aa57f5386d2c162c617854
refs/heads/master
2020-04-11T18:29:01.942172
2018-12-25T08:22:25
2018-12-25T08:22:25
162,000,320
0
0
null
null
null
null
UTF-8
C++
false
false
482
h
#ifndef MAIN_LOOP_DATA_H #define MAIN_LOOP_DATA_H #include <chrono> struct MainLoopData { int input; unsigned frames_counter; std::chrono::steady_clock::time_point start; bool pause; float game_time; float frame_time; MainLoopData() : input(0), frames_counter(0u), ...
[ "chausvm@gmail.com" ]
chausvm@gmail.com
1d603bd2eb9a8a70577c316c8cbda467037d51c6
933ca5c936441f56c9925c8e617102174c54e392
/src/server/game/Tools/PlayerDump.h
f92c22ee96c026d0f4983041a986e63431a0e8dd
[]
no_license
FreedomEmu/FreedomEmu
0900d088d5bde1ddcb2045080a20e195931620ac
0b2c2db8be925d0dc623da048b058c74a3e35515
refs/heads/master
2020-05-18T08:50:00.575392
2012-06-29T12:37:30
2012-06-29T12:37:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,029
h
/* * Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2012 Myth Project <http://mythprojectnetwork.blogspot.com/> * * Myth Project's source is based on the Trinity Project source, you can find the * link to that easily in Trinity Copyrights. Myth Project is a private commun...
[ "zulhellwow@hotmail.com" ]
zulhellwow@hotmail.com
38fc842c56ba6ec982118a9e911df6f9540871a1
ae894b872d52f8e367642b621f7ce2751e51ed0e
/ConsoleApplication2/ConsoleApplication2.cpp
898730ef3539b8f55c1764bd0e4ea8c26602b531
[]
no_license
giftchoi/test_for_vs
5776e8d84bea678e2b609402166b81e1bb3ac911
e0b1484bb4c96a5a62d9823b4d05b2eda1090651
refs/heads/master
2021-01-23T02:53:48.229115
2015-05-12T08:22:52
2015-05-12T08:22:52
35,473,767
0
0
null
null
null
null
UTF-8
C++
false
false
1,200
cpp
// ConsoleApplication2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "ConsoleApplication2.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // The one and only application object CWinApp theApp; void findfile(CString filename); using namespace std; int _tmain(int argc, TC...
[ "giftchoi@naver.com" ]
giftchoi@naver.com
c2f6f6bda817b73bde5d7e14a704a2fc145c395c
35f17313b43be3d0eb569fe6fb83c95ca8ab8ef3
/basic/Example.h
6100dd6d38468cda598723cede8594cc9cc8957e
[]
no_license
foxlf823/nodner
0698c1b57e35746db82e0b37502e1c3f9be10b62
96f1ab7d68463ca0830c6595fc2e8aac1f7c2fa6
refs/heads/master
2021-01-12T03:46:19.818733
2017-07-06T02:18:57
2017-07-06T02:18:57
78,263,198
2
0
null
null
null
null
UTF-8
C++
false
false
962
h
/* * Example.h * * Created on: Mar 17, 2015 * Author: mszhang */ #ifndef SRC_EXAMPLE_H_ #define SRC_EXAMPLE_H_ #include "MyLib.h" using namespace std; struct Feature { public: vector<string> words; // actually only words[0] is used vector<string> types; // other kinds of features, such as POS public: ...
[ "foxlf823@qq.com" ]
foxlf823@qq.com
7a46ead8e904be513070dc182f829ada6929b8fc
bc267d395c514c9c454304d0b5f187cf5ded3d93
/src/WavDataSource.cc
c42d463652b2bbed9f331ab2849c95eb4a5620d7
[]
no_license
greggiacovelli/audio
1de783c4237ffc361667400bde52f5883ecebf92
ca32cdd1a9f920c87edc681ecc67741a013cef62
refs/heads/master
2020-12-24T17:08:51.917855
2013-07-11T20:35:32
2013-07-11T20:35:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,770
cc
/** * @file * Handle feeding input into the SinkPlayer */ /****************************************************************************** * Copyright 2013, doubleTwist Corporation and Qualcomm Innovation Center, Inc. * * All rights reserved. * This file is licensed under the 3-clause BSD license in the NO...
[ "tmalsbar@quicinc.com" ]
tmalsbar@quicinc.com
e095ca73d25d0d2fa58c5e42de14667163687c8a
7950c4faf15ec1dc217391d839ddc21efd174ede
/cpp/2028.0_Find_Missing_Observations.cpp
9545935c4f2a710722909c7c07ca5b3ae7ce367c
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
C++
false
false
2,420
cpp
/* 执行用时:128 ms, 在所有 C++ 提交中击败了72.90% 的用户 内存消耗:120.8 MB, 在所有 C++ 提交中击败了31.61% 的用户 通过测试用例:64 / 64 */ class Solution { public: vector<int> missingRolls(vector<int>& rolls, int mean, int n) { int m = rolls.size(); int sum = mean * (n + m); vector<int> ans; for (int i = 0; i < m; i++) su...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
0406e0222585f91dfa7a3dfaf6750e34a381f77d
f1d0ea36f07c2ef126dec93208bd025aa78eceb7
/Zen/Core/Utility/src/Log.cpp
096a72580974a8c75afcc9d27341144f06e31be3
[]
no_license
SgtFlame/indiezen
b7d6f87143b2f33abf977095755b6af77e9e7dab
5513d5a05dc1425591ab7b9ba1b16d11b6a74354
refs/heads/master
2020-05-17T23:57:21.063997
2016-09-05T15:28:28
2016-09-05T15:28:28
33,279,102
3
0
null
null
null
null
UTF-8
C++
false
false
5,337
cpp
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Zen Core Framework // // Copyright (C) 2001 - 2010 Tony Richards // Copyright (C) 2008 - 2010 Matthew Alan Gray // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors ...
[ "mgray@wintermute" ]
mgray@wintermute
fc68effff346f24c5bd1ca2682243d6875bb7124
1459d71218af196799fd59c14e823fab56b43d05
/tools/clang/include/clang/Sema/TypoCorrection.h
5fbfba2d5d0e88af13ec23cbda3739485801aae3
[ "NCSA" ]
permissive
omp-check/llvm-clang
93b237c12f35baf8687e27bb2277265f09cf751c
bd40054e929d3f9acdf34a3accb39d1ef9fa8447
refs/heads/master
2020-05-18T02:45:43.734521
2015-01-28T02:31:26
2015-01-28T02:31:26
22,711,058
1
0
null
null
null
null
UTF-8
C++
false
false
10,472
h
//===--- TypoCorrection.h - Class for typo correction results ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
[ "luisfe2007@gmail.com" ]
luisfe2007@gmail.com
dda0ee6da5bfababf452a15376dd1c72b2894055
a4587c1cd2932329099a3a84959923e76452b8a2
/single-triton-tree-generator.cpp
9f2c3a8f5d479b9177355246bf80291291e82487
[]
no_license
jwbrummer/k600analyserPR254
02c164c885504d13ac883fab92500bfb4b9942ab
5745fe7b92d0082817eef8f4fc378bc81208402b
refs/heads/master
2021-06-09T15:38:13.877754
2021-05-07T14:15:56
2021-05-07T14:15:56
64,749,561
0
0
null
null
null
null
UTF-8
C++
false
false
1,048
cpp
// Written by JWB (jbrummer@sun.ac.za) on 11/11/2018. This macro script receives an integer parameter so that the // triton trees are created right after a run has been analysed so that much less disk space is needed to analyse all runs. void single_triton_tree_generator(int runNum) { TFile *fin = TFile::Open("...
[ "jbrummer@sun.ac.za" ]
jbrummer@sun.ac.za
9e29c094faa2013b36d10cad505d1253179a9a37
acde63ef939bc99ee20bfec182e79417aec6c347
/SeqQueue.h
648cc476bb12cec3909f0a9954f0cb968886d8a7
[]
no_license
EricPro-NJU/DataStructure-Algorithm
1f3aeebc8775625ddaaa65a7b64dc4513789472a
725fe2c22de6d92cc16b40625c0a473a66c8fb29
refs/heads/main
2023-07-11T08:48:15.519826
2021-08-18T09:39:44
2021-08-18T09:39:44
384,650,505
0
0
null
null
null
null
UTF-8
C++
false
false
944
h
// // Created by RUIPENG on 2021/7/28. // Basic Data Structure 05: Queue // Queue is a linear data structure, that data enter from rear but exit from front // A simple way of implementation is circular array. // #ifndef NJU_REVIEW_SEQQUEUE_H #define NJU_REVIEW_SEQQUEUE_H #include "commons.h" #include <iostream> #incl...
[ "geruipeng@smail.nju.edu.cn" ]
geruipeng@smail.nju.edu.cn
b5e083c182f655e0f24cd56cf761b5b12e1b6c04
f7a405cb6a534424bfd3de5cc2b6fa9abcc04734
/src/GaussianPeakShape.cpp
ca1fb11a3f7d7f5f76538d097f11cc919f250058
[ "MIT" ]
permissive
papacar/psf
843d1de63735c7551d61984fa8f6fc1f3ecf4819
750abce6d04b3dd899ee7e440879a8a4d7e95700
refs/heads/master
2021-01-23T11:32:44.140682
2011-10-05T07:54:41
2011-10-05T07:54:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,831
cpp
#include <cmath> #include <psf/Error.h> #include <psf/PeakShape.h> using namespace psf; double GaussianPeakShape::at(const double xCoordinate) const { return std::exp(-(xCoordinate * xCoordinate) / (2 * sigma_ * sigma_)); } double GaussianPeakShape::getSupportThreshold() const { return this->getSigma() * th...
[ "bernhard.kausler@iwr.uni-heidelberg.de" ]
bernhard.kausler@iwr.uni-heidelberg.de
2a97108f915d58472347350cc5216acd0a7a7861
cc6586824584d1a9816dafd31bff2377d92f19ad
/ch3/Stacks_and_Queues/Ch3_3.5/main.cpp
85426c64d0af57059184ef8e059336696ee62c71
[]
no_license
huyunf/CC150
73bd0a9bff3fd05f469bac9e56deaf199eb4a78d
fe735476c0d81b44400919306fd56cad8be3eef8
refs/heads/master
2020-04-06T05:47:15.841302
2016-07-29T17:53:08
2016-07-29T17:53:08
58,819,640
0
0
null
null
null
null
UTF-8
C++
false
false
2,251
cpp
/* Implement a MyQueue class which implements a queue using two stacks. */ #include <iostream> using namespace std; class cstack { public: cstack() :stack_ptr(-1) {}; bool push(int d); bool pop(int *d); void dump_stack(); private: static const int stack_size = 65536; int stack_array[stack_size]; int stack...
[ "Yunfeng Hu" ]
Yunfeng Hu
63b69c4be3c7cf4d53b18ff78a1699619e827596
187cec85c2a2984be61e7534ea77199015e03810
/NetServer/noncopyable.h
f413d4d3aafb559b6e7837f1225c4c698d3f1d36
[]
no_license
yueqianlongma/RpcLearning
268f95195f59ffd184b902274e9ecc10bfe9e4ee
b44f0f7a04ea02ebb495d89dbc9bde379bffeb75
refs/heads/master
2023-03-12T02:54:15.538785
2021-03-03T09:40:48
2021-03-03T09:40:48
344,073,213
0
0
null
null
null
null
UTF-8
C++
false
false
438
h
#ifndef __NETSERVER_NONCOPYABLE_H__ #define __NETSERVER_NONCOPYABLE_H__ namespace net { class noncopyable { public: noncopyable(noncopyable&) = delete; noncopyable& operator=(noncopyable&) = delete; protected: noncopyable() = default; //这里必须要写, 因为上面我们使用了 noncopyable(noncopyable&), 虽然是delete的,但是任然使...
[ "yydw.mjl@foxmail.com" ]
yydw.mjl@foxmail.com
be3dce246d85b3a7b038bd6423dcf710a01c3dda
b0a31edabc9d4bd939cb853a254892089374ad66
/C++Study/C++Study/STL/Chapter10_Algorithm/5. copy.cpp
8b8655b84dad3362960cf4f53c35897139c03163
[]
no_license
2302053453/MyStudy
e31201d40cc701c9cc4692b60f132fec3e4bf91a
229c431c0ef4ab40b52d37729b049c69de959166
refs/heads/master
2021-06-04T05:33:52.733762
2016-05-06T01:54:28
2016-05-06T01:54:28
null
0
0
null
null
null
null
UHC
C++
false
false
1,150
cpp
//#include<iostream> //#include<algorithm> //#include<vector> //#include<list> // //using namespace std; // ///* // 2016-03-18 // copy 예제 // 컨테이너에 저정한 것과 같은 자료형을 저장하는 // 다른 컨테이너에 저장하고 싶을 떄 사용 // 복사할때 A를 B로 copy할 때 B는 최소한 A만큼의 크기를 // 확보하고 있어야 한다. // -> copy를 할 떄 미리 공간을 지정해 두어야 한다. //*/ // //int main() //{ // vector<in...
[ "jhghdi@gmail.con" ]
jhghdi@gmail.con
86f22454990ee3ffa7e57e769f900bfa6d62d0d1
f1a2536fa7e9a8aabc0bc07122adefe213bf3111
/slam_system/rf_map/bt_dtr/bt_dtr_node.h
5a29b2b99b813b7f85d932afe688ecd15c274587
[]
no_license
lood339/Pan-tilt-zoom-SLAM
87076cf223c113101d8a6f9dd807d85b22deafa7
529212e09b8d2d233d3d6d5ecb6e9a0992b13507
refs/heads/master
2020-03-31T15:24:33.269349
2019-07-10T13:39:45
2019-07-10T13:39:45
152,335,661
5
0
null
2018-10-09T23:41:27
2018-10-09T23:41:27
null
UTF-8
C++
false
false
2,141
h
// Created by jimmy on 2016-12-29. // Copyright (c) 2016 Nowhere Planet. All rights reserved. // #ifndef __BT_DTR_Node__ #define __BT_DTR_Node__ // back tracking decision tree Node for regression // idea: during the testing, back tracking trees once the testing example reaches the leaf node. // It "should" increase...
[ "jimmy@Jianhuis-Mac-mini.local" ]
jimmy@Jianhuis-Mac-mini.local
a1f77b6ad35af304efd0b9e646bca863df7c48c8
202d02a2a749be7e3e5440e962670d9836a79f25
/src/pixie/System/Spline.cpp
8d7af1c6b36d652a19d5b247afbb6bf995ab886a
[ "MIT" ]
permissive
martonantoni/pixie
792b3b373c002a2a5089598fdfc9ade3f6aec55f
4760e1363eb20919ef5c9d4b5adb5b7d955e3ccf
refs/heads/master
2023-08-17T02:53:27.056968
2023-08-12T16:01:25
2023-08-12T16:01:25
249,523,928
0
0
null
null
null
null
UTF-8
C++
false
false
1,626
cpp
#include "StdAfx.h" #include "pixie/pixie/i_pixie.h" cPoint CubicSpline(const std::vector<cPoint> &SplineParameters, double t) { if(ASSERTFALSE(SplineParameters.size()!=4)) return {}; auto a=Lerp(SplineParameters[0], SplineParameters[1], t); auto b=Lerp(SplineParameters[1], SplineParameters[2], t); auto c=Lerp(Sp...
[ "marton.antoni@gmail.com" ]
marton.antoni@gmail.com
6c67e2e5f28e60e09dbb7aa64ba159ea35492a43
1dbf007249acad6038d2aaa1751cbde7e7842c53
/eip/src/v3/model/PublicipInstanceResp.cpp
e998ee8306165018adfc02116bbf52c9fe01f63c
[]
permissive
huaweicloud/huaweicloud-sdk-cpp-v3
24fc8d93c922598376bdb7d009e12378dff5dd20
71674f4afbb0cd5950f880ec516cfabcde71afe4
refs/heads/master
2023-08-04T19:37:47.187698
2023-08-03T08:25:43
2023-08-03T08:25:43
324,328,641
11
10
Apache-2.0
2021-06-24T07:25:26
2020-12-25T09:11:43
C++
UTF-8
C++
false
false
20,359
cpp
#include "huaweicloud/eip/v3/model/PublicipInstanceResp.h" namespace HuaweiCloud { namespace Sdk { namespace Eip { namespace V3 { namespace Model { PublicipInstanceResp::PublicipInstanceResp() { id_ = ""; idIsSet_ = false; projectId_ = ""; projectIdIsSet_ = false; ipVersion_ = 0; ipVersio...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
a7df56e967839502411a30649fa106fb611813bb
91337a37770debaabbdbe6accd332edca0931100
/algorithms/strings/Weighted Uniform Strings.cpp
e80af3489defd615c27a724d7f71704976193b0a
[]
no_license
googleknight/HackerRank_Solutions
d350ed98c0c6e7562dcd68a7260574a726d8ed91
f584db0ff7699faf56d8c3f99c995a68a2deb0e0
refs/heads/master
2021-01-20T02:07:28.690211
2017-04-30T11:11:34
2017-04-30T11:11:34
89,375,687
1
1
null
null
null
null
UTF-8
C++
false
false
658
cpp
//https://www.hackerrank.com/challenges/weighted-uniform-string #include <bits/stdc++.h> using namespace std; int main() { string str; int n,x; cin>>str>>n; set<int> weight; for(int i=0,j;i<str.length();i++) { weight.insert(str.at(i)-96); for(j=i+1;j<str.length();j++) { ...
[ "mathur1995@gmail.com" ]
mathur1995@gmail.com
ca93809a8c8ba9f6af58df61137064a05269e2ba
b56bac95f5af902a8fdcb6e612ee2f43f895ae3a
/Wireless OverSim-INETMANET/inetmanet-2.0/src/underTest/wimax/linklayer/Ieee80216/MACSublayer/QoS/CommonPartSublayerQoSAP.cc
132c7da428d7678dfa500e716ddf00a4e3533372
[]
no_license
shabirali-mnnit/WirelessOversim-INETMANET
380ea45fecaf56906ce2226b7638e97d6d1f00b0
1c6522495caa26d705bfe810f495c07f8b581a85
refs/heads/master
2021-07-30T10:55:25.490486
2021-07-20T08:14:35
2021-07-20T08:14:35
74,204,332
2
0
null
2016-11-22T05:47:22
2016-11-19T11:27:26
C++
UTF-8
C++
false
false
396
cc
#include "CommonPartSublayerQoSAP.h" #include "PhyControlInfo_m.h" #include "InterfaceTableAccess.h" #include "InterfaceEntry.h" Define_Module(CommonPartSublayerQoSAP); CommonPartSublayerQoSAP::CommonPartSublayerQoSAP() { } CommonPartSublayerQoSAP::~CommonPartSublayerQoSAP() { } void CommonPartSublayerQoSAP::initi...
[ "rcs1501@mnnit.ac.in" ]
rcs1501@mnnit.ac.in
42afbebe9d1626bcb379f9c6c19601cbadd25cd7
350167ad671cea6e40222db4b15d632db06a51b2
/StandardTemplateLibrary/stdafx.cpp
c996bcd6323c88cd6c94cf33abe355993bf2cb41
[]
no_license
michaelfordbrown/AcceleratedIntroductionToCPP
35d15c8631ab28ded6143ac10a73fe7c2f99a482
2617e86c36c6dc9ed59fdefb9dc1523d08f6edf3
refs/heads/master
2021-08-30T00:38:48.079928
2017-12-15T11:43:18
2017-12-15T11:43:18
112,620,119
0
0
null
null
null
null
UTF-8
C++
false
false
302
cpp
// stdafx.cpp : source file that includes just the standard includes // StandardTemplateLibrary.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
[ "michaelfordbrown@hotmail.com" ]
michaelfordbrown@hotmail.com
45c2a3e30b09e45ab2180e95ec43340f54a834d8
5e17dba0aa651b40cc060e3a1fa643330a39f8c2
/rf24/software/ping_server/ping_server.ino
6f15108ed7c9dec6226a15fbfe6f16ba180ace4f
[]
no_license
skalpt/rf
8b460bc2d8e2f6cb1bde6e60336eddd83590b03f
ed057b3e77abdb7fd2ee20d78e05f64228cf1b3b
refs/heads/master
2020-04-05T23:05:39.313082
2014-01-07T01:13:24
2014-01-07T01:13:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,649
ino
/** * An Mirf example which copies back the data it recives. * * Pins: * Hardware SPI: * MISO -> 12 * MOSI -> 11 * SCK -> 13 * * Configurable: * CE -> 8 * CSN -> 7 * */ #include <SPI.h> #include <Mirf.h> #include <nRF24L01.h> #include <MirfHardwareSpiDriver.h> void setup(){ Serial.begin(9600); /* ...
[ "julian@thenewdabbs.com" ]
julian@thenewdabbs.com
efb59fba9b4859d99d0cc13abd72df718bfab1f8
f8b6238c44679460dee0fbd49f3f21c309791e1d
/Lab 4/ControlSystem.h
5a413662cd23f726a92f4cfb4bf5a81da1d0223e
[]
no_license
JohnCodd/GamesEngineeringII
92a636af91621108895c33c799899ba95b27c570
a3b095e221027f1b0cdc52995c38e1efb4c467e6
refs/heads/master
2020-03-29T16:03:41.284544
2019-03-28T15:05:23
2019-03-28T15:05:23
150,095,001
0
0
null
null
null
null
UTF-8
C++
false
false
225
h
#pragma once #include "Entity.h" class ControlSystem { std::vector<Entity> entities; public: void addEntity(Entity e) { entities.push_back(e); } void update() { std::cout << "ControlSystem Update" << std::endl; } };
[ "john.codd@hotmail.com" ]
john.codd@hotmail.com
26fe3b35ad2db268e76074bb7d5c5cf58d941b3f
49aef59a754ded1be83520c78a2d55b58bf57336
/tests/TestArr/TestArr.cpp
c4a5511015b54355ac343e0099b2607e0afc688f
[]
no_license
andreyV512/Coating
048fe1764e6d0beb91e3d4832fb660f058f97b6b
2d98bed2ff91faeb8561d99e6253bcd39123e829
refs/heads/master
2023-04-14T20:25:14.481248
2021-04-27T10:34:04
2021-04-27T10:34:04
347,822,035
0
0
null
null
null
null
UTF-8
C++
false
false
1,401
cpp
// TestArr.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы. // #include <iostream> #include "templates\typelist.hpp" template<class O, class P>struct tst { bool operator()() { printf("%s\n", typeid(O).name()); return true; } }; template<clas...
[ "nobody@mail.net" ]
nobody@mail.net
d4110a9aac4e3501c8ea11b09ecacdcfb4c46e15
1923a18e2b45c3d7011ea4172975cef806e571ce
/framework/features/visuals.cpp
18c5e9ab7ea3f29625cd0fafcfc6870244abb063
[]
no_license
sestain/hawk_sdk
9a06f286cd59812a8973ed770198cd1d32e19ce3
f24cd0bd1ebd7a225b849476b9f51fda8f642cae
refs/heads/main
2023-02-26T00:06:21.037287
2021-01-28T09:24:12
2021-01-28T09:24:12
316,706,269
0
0
null
2020-11-28T10:14:56
2020-11-28T10:14:55
null
UTF-8
C++
false
false
7,035
cpp
#include "features.hpp" #include "../menu/variables.hpp" #include "../globals.hpp" #include <chrono> #include <ctime> #include <iostream> #include <cmath> #include <iomanip> #include <locale> #include <codecvt> #include <string> #include <sstream> bool features::visuals::bound(player_t* player) { vec3_t origin, min,...
[ "49698228+Pleberie@users.noreply.github.com" ]
49698228+Pleberie@users.noreply.github.com
7d0e647831098e6670189abc6de55bca07699fee
8dc84558f0058d90dfc4955e905dab1b22d12c08
/chrome/installer/util/install_util.cc
fe23ea3f7d5eaa40dc98a06a779b367c59d7e81c
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
24,129
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. // // See the corresponding header file for description of the functions in this // file. #include "chrome/installer/util/install_util.h" #include <s...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
a56d2c94798e7afd5356e26a357fbb0521bda2c6
d0276045ff88c6ad4969aa4deb929d1e2ed9efb7
/Striver SDE SHEET/Day 2 (Arrays)/Pascal Triangle.cpp
d47a4da0b751faddb8b3bf80b2517b731952281c
[]
no_license
rishabhtyagi2306/Competitive-Programming
2f4d6e34701d3012832e908341606fa0501173a4
269d42a89940eefa73c922b6f275596fe68add6a
refs/heads/master
2023-07-12T18:05:17.366652
2021-08-29T18:30:09
2021-08-29T18:30:09
256,992,147
3
3
null
2020-10-02T05:43:31
2020-04-19T12:20:46
C++
UTF-8
C++
false
false
1,218
cpp
class Solution { public: vector<vector<int>> generate(int numRows) { vector<vector<int>> ans; for(int i = 1; i <= numRows; i++) { vector<int> tmp; if(i == 1) { tmp.push_back(1); } else if(i == 2) { ...
[ "rishabhtyagi.2306@gmail.com" ]
rishabhtyagi.2306@gmail.com
053da5eb7b233e250a4adfb35c7aaf19988fefab
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/tcss/src/v20201101/model/DescribeWebVulListRequest.cpp
d890c2721220cd0517f7741e1015dbac2100c1cd
[ "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
4,490
cpp
/* * 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 ...
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
5dc369e27445c26f18f448e763359cb30d928f23
fa02d527a0c3440274aadfa007ef30e0eed61d07
/SVR/Arduino src/SVR Serial Sender.ino
19b8756db19bb58bb159d1567b80d77257873326
[]
no_license
tdeweyn/SVR
6b36608ac560180590f75e10bdb9ef280d6b6b19
f2b997b687866a4f4310bf86b8ba3d9743c16a3b
refs/heads/master
2021-09-06T06:51:30.923556
2018-02-03T13:21:19
2018-02-03T13:21:19
115,836,981
0
0
null
2017-12-31T02:16:13
2017-12-31T02:11:08
null
UTF-8
C++
false
false
316
ino
/* * Sub vocal recognition sensor Serial printing to python * Based off the Arduino ReadAnalogVoltage example. */ const int inputPin = A5; // Change to whatever pin yours is. void setup() { Serial.begin(115200); // Gotta go fast } void loop() { Serial.println(analogRead(inputPin)); Serial.flush(); }
[ "james.l.fu@gmail.com" ]
james.l.fu@gmail.com
3ca4e3dc758b0618cd716101a1539beceb4a89df
0c6da8b04ba38ba930364155fd3596b94c41dfbb
/Problemset/design-front-middle-back-queue/design-front-middle-back-queue.cpp
ba7e12b6fbf30bdca0307d51eb738c41d244f227
[]
no_license
rubychen0611/LeetCode
200725a80cf4e27b8180a14276d4f5c8958b5c39
185a0f9de2624345ca1f219be633ed1e891e6d8d
refs/heads/main
2023-08-26T11:33:02.711733
2021-10-21T03:22:12
2021-10-21T03:22:12
306,789,533
0
0
null
null
null
null
UTF-8
C++
false
false
2,666
cpp
// @Title: 设计前中后队列 (Design Front Middle Back Queue) // @Author: rubychen0611 // @Date: 2020-12-24 19:19:05 // @Runtime: 72 ms // @Memory: 20.3 MB class FrontMiddleBackQueue { private: list<int> Q; list<int>::iterator mid; public: FrontMiddleBackQueue() { } void pushFront(int val) { if...
[ "rubychen0611@yeah.net" ]
rubychen0611@yeah.net
b95dffd1c23c09f025c1d5be9c61a519a3cd2e63
d150cf91105b580bda2bfdd333513024fad3856c
/projet-minestorm/mainwindow.h
7b7b66bcf8ce0a51ad698b891f1f32ec0422e7d5
[]
no_license
rolljee/epsi-project
4cd3e48b7058b9e935401facda1ef4a4da8cc446
aad3f52b19782f171a33f96c8ad249929041c9d4
refs/heads/master
2021-05-01T01:03:23.659665
2017-03-22T21:41:31
2017-03-22T21:41:31
74,974,744
3
1
null
2016-12-03T17:58:17
2016-11-28T13:18:10
C++
UTF-8
C++
false
false
372
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> class Game; /** * @brief La classe MainWindow crée un widget contenant un controller et un gameboard pour le game * donné */ class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(Game *game,QWidget *parent = 0); ~M...
[ "Nicolas RIQUELME" ]
Nicolas RIQUELME
8841204e9d3d9c193ba403592d74ecc8771cb42a
145f9616480e621b5ec5f16c21d4dcf4b7be27da
/entities/Attack.hpp
2689a36fd931917df83a0546c6405f74a46d987e
[]
no_license
DavidSaxon/Advanced-Evolutionary-Tatics-LD24
4821eaf8b6fc7068fe3ca3059435b9312d852da5
c5a7ed6390780e972cc062f5b60877f7efa0218d
refs/heads/master
2016-09-05T20:27:56.842691
2012-08-26T23:29:44
2012-08-26T23:29:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
980
hpp
/*************************************************************\ | This is an attack, has a destination, team, and player type | \*************************************************************/ #ifndef _ATTACK_H_ #define _ATTACK_H_ #include <iostream> #include <math.h> #include <stdlib.h> #include "../Entity.hpp" u...
[ "david.saxon@windowslive.com" ]
david.saxon@windowslive.com
76d8249b32cbde41110bd3fbab6ae6db87bcb5f5
e11d1a4b4059a18536ea44509754841735a94d2c
/algo/stack/cplusplus/push.cpp
663078ecb232abae73bcf5779d966164b5123137
[]
no_license
hexu1985/lib_code
e18577cda5b127db43381798b6a4879586a885f0
5833f2eaf1a6addbfcd2d81e76a151a424518d3e
refs/heads/master
2020-06-25T22:31:32.220915
2020-05-21T06:40:06
2020-05-21T06:40:06
96,992,991
0
0
null
2017-07-12T10:00:51
2017-07-12T10:00:51
null
UTF-8
C++
false
false
348
cpp
// stack::push/pop #include <iostream> // std::cout #include "stack.h" // stack int main () { stack<int> mystack; for (int i=0; i<5; ++i) mystack.push(i); std::cout << "Popping out elements..."; while (!mystack.empty()) { std::cout << ' ' << mystack.top(); mystack.pop(); } std::c...
[ "hexu_bupt@sina.com" ]
hexu_bupt@sina.com
86fefd3135aba74dc073da1b402c82211e7903cb
c0b1f0e7c2a690a1993ee6a7829e58d32f082424
/thor/code/Thor/Graphics/GraphicsRuntimeDx11Component/ThHardwareBuffer.cpp
4acce3bd6e9021fdd77da71e6310cbc85b255ea8
[ "MIT" ]
permissive
Soth1985/Thor
2c05189c5af0b8d3ce4fe6640f0b48cd57d2ff15
4e1c939183ce3e7f8ae4150cfe190f8f00d0f0b2
refs/heads/master
2020-12-25T19:03:55.824820
2015-01-01T14:12:43
2015-01-01T14:12:43
28,458,675
0
0
null
null
null
null
UTF-8
C++
false
false
1,701
cpp
#include <Thor/Graphics/GraphicsRuntimeDx11Component/ThHardwareBuffer.h> #include <Thor/Graphics/GraphicsRuntimeDx11Component/ThDirectX11Renderer.h> namespace Thor{ THOR_REG_TYPE(ThHardwareBuffer, THOR_TYPELIST_1(ThHardwareResource)); //---------------------------------------------------------------------------...
[ "soth1985@yahoo.com" ]
soth1985@yahoo.com
86eb1c40e09aad945cff491d97ec83574ebcddfc
f5460007665164b39d62e20d6a353f006a023c1c
/SDSSystem/SDSSystem/Ctrl/MyLineEdit.h
44accf6b4281dc263a802dd026f03909bcb94fa1
[]
no_license
Windy-X/SDS_SEG
861cb239b47da3d608ee5c5bda3811d67c64fdad
a09c7c60b6b97b929ef809b21c73a46e6669d438
refs/heads/main
2023-02-18T20:15:21.751381
2021-01-20T03:50:13
2021-01-20T03:50:13
331,186,007
0
0
null
null
null
null
GB18030
C++
false
false
676
h
/******************************************************************** * Copyright (C) 深圳市德力凯电子有限公司 * All rights reserved * * 文件名称:MyLineEdit.h * 摘 要:重载QLineEdit控件,控件获取焦点时向父窗口发送信号 * * 历史记录: * <2020/10/23> xiongz, * ********************************************************************/ #pragma once #include <QObj...
[ "Winnie199406@163.com" ]
Winnie199406@163.com
1febf7aa39c2dd6474f2e83c994982454825ea41
229f25ccda6d721f31c6d4de27a7bb85dcc0f929
/solutions/uva/11507 - Bender B. Rodríguez Problem/solution.cpp
7b922e060a5156fda8117316d0727eef525ce08e
[]
no_license
camil0palacios/Competitive-programming
e743378a8791a66c90ffaae29b4fd4cfb58fff59
4211fa61e516cb986b3404d87409ad1a49f78132
refs/heads/master
2022-11-01T20:35:21.541132
2022-10-27T03:13:42
2022-10-27T03:13:42
155,419,333
0
0
null
null
null
null
UTF-8
C++
false
false
1,286
cpp
#include <bits/stdc++.h> using namespace std; int main(){ int n; while(cin >> n, n){ int dir = 0; for(int i = 1; i < n; i++){ string s; cin >> s; if(s == "+z"){ if(dir == 0)dir = 4; else if(dir == 1)dir = 5; else if(dir ==...
[ "camilopalacios772@gmail.com" ]
camilopalacios772@gmail.com
01d24fc54a0ff0422f7c9f261cf3c583e65d8e5e
eb205ea05c1ee102ff8306e9704a8e29477626c2
/tqueue/Memory.h
1d1a6a8c985083367807a3b5368dd85181f9fe73
[]
no_license
lllhhhqqq/Utility
54d2854e8ee6024b871b8cf6e1641137232fb184
ab03538a16e8bd0a34e72a3e58acb3721ab8071a
refs/heads/master
2021-01-23T06:29:23.940542
2014-06-08T14:57:04
2014-06-08T14:57:04
20,618,945
0
0
null
null
null
null
GB18030
C++
false
false
8,295
h
#ifndef MEMORY_H_V1_0 #define MEMORY_H_V1_0 #include <list> #include <string> #include <stdio.h> #include <string.h> #include <algorithm> #include "Type_Cast.hpp" class MemoryRead { public: MemoryRead():read_offset(0),write_offset(0) { buffer = new char[1024]; memset(buffer,0,sizeof(buffer)); ...
[ "lllhhhqqqlhq2007@hotmail.com" ]
lllhhhqqqlhq2007@hotmail.com
b152ff7ce537422f241f96ba1812b3ce253c279b
89607b067f4194fd3861a00a5f7691cda1430c0d
/src/kademlia/boost_to_std_error.hpp
84af38739c816752ac92d7ce9bf9dcd822a023aa
[]
no_license
lsst-dm/kademlia
f093609a706d4428e8c0cf2e2d4adc3a4cfa8996
546f679888b9dd2c6beff82814122d6a83011dae
refs/heads/master
2021-01-15T18:59:32.012811
2015-09-13T16:56:44
2015-09-13T16:56:44
41,469,325
0
0
null
2015-08-27T06:20:38
2015-08-27T06:20:38
null
UTF-8
C++
false
false
2,363
hpp
// Copyright (c) 2013-2014, David Keller // 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 c...
[ "david.keller@litchis.fr" ]
david.keller@litchis.fr
7e288521ab02e29b68ce3946c73254ffc1b72bae
4f530f52e204fa4cbf47cd1d6eaaf79d27dc9c4d
/include/dynamic_introspection/DynamicIntrospection.h
d79bdfe05ba55e098228a2f0cefffb5ec7a781cd
[]
no_license
pal-robotics/dynamic_introspection
389413d928e092e509c026c1edaae2d0a81e24ae
e575d9a46071cc80e018c0f11d19425a43d9921b
refs/heads/master
2021-05-13T17:26:19.339372
2015-02-19T16:44:03
2015-02-19T16:44:03
116,823,144
0
0
null
null
null
null
UTF-8
C++
false
false
1,439
h
#ifndef _DYNAMIC_INTROSPECTION_ #define _DYNAMIC_INTROSPECTION_ #include <Eigen/Dense> #include <ros/ros.h> #include <rosbag/bag.h> #include <dynamic_introspection/IntrospectionMsg.h> class DynamicIntrospection{ public: DynamicIntrospection(ros::NodeHandle &nh, const std::string &topic); ~DynamicIntrospection(...
[ "hilario.tome@pal-robotics.com" ]
hilario.tome@pal-robotics.com
263d55547a2b1441b0f19c5f292a8046dd93a59c
decefb13f8a603c1f5cc7eb00634b4649915204f
/packages/node-mobile/deps/icu-small/source/tools/genrb/reslist.cpp
3186c781e934f3767b3007e85c5092379294dc9f
[ "Zlib", "CC0-1.0", "ISC", "Apache-2.0", "LicenseRef-scancode-public-domain", "ICU", "MIT", "LicenseRef-scancode-public-domain-disclaimer", "Artistic-2.0", "BSD-3-Clause", "NTP", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "LicenseRef-scancode-openssl", "LicenseRef-sc...
permissive
open-pwa/open-pwa
f092b377dc6cb04123a16ef96811ad09a9956c26
4c88c8520b4f6e7af8701393fd2cedbe1b209e8f
refs/heads/master
2022-05-28T22:05:19.514921
2022-05-20T07:27:10
2022-05-20T07:27:10
247,925,596
24
1
Apache-2.0
2021-08-10T07:38:42
2020-03-17T09:13:00
C++
UTF-8
C++
false
false
61,318
cpp
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * * Copyright (C) 2000-2015, International Business Machines * Corporation and others. All Rights Reserved. * **********...
[ "frank@lemanschik.com" ]
frank@lemanschik.com
6856123cc74634670b2bb87fd3fe37e29004f840
48c2c911253fe6da02e3e2621484b41289cc4ba9
/src/Field2.cpp
5cb79881dcb72a1cef8cd78812e2c2fe69e158e4
[]
no_license
nimadehmamy/Field_network
0bc198785bea711f362dc932efbb49ea759de125
2be44a689a95c085ca98f8707214e805ee36ed48
refs/heads/master
2021-01-22T02:40:49.483887
2014-11-12T00:13:42
2014-11-12T00:13:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,133
cpp
/* * generate.cppx * * Created on: Dec 12, 2013 * Author: navid */ #include <iostream> #include <cstdio> #include "string.h" #include <stdlib.h> #include <cmath> #include <fstream> #include <sstream> using namespace std; double distance_squared(double x1, double y1, double x2, double y2) { return (x1 -...
[ "nidami@gmail.com" ]
nidami@gmail.com
90cf30ff292e8aaa41705979644a582774a7b490
bff541a3925bb0cd5b43eaa238174135277b6b00
/EventLog/EventLog.h
157bc3e52713e93bc41cedac70c91d4f13d10125
[]
no_license
bridadan/event-log-example
9b456bd9e9e3cda124be33d4c7232ce1e657d3bc
2383bc7e4a1f3c9fa996928f15664e408a9397ba
refs/heads/master
2021-01-19T21:35:37.758054
2017-04-19T17:51:04
2017-04-19T17:51:04
88,670,263
0
0
null
null
null
null
UTF-8
C++
false
false
1,360
h
#ifndef EVENT_LOG_H #define EVENT_LOG_H #include "EventLog/EventLogEvent.h" #include <stdio.h> #define EVENT_LOG_BUFFER_SIZE 64 class EventLog { public: enum LogState { LOGGED_NO_TIME, LOGGED_WITH_TIME, SYNCED }; // This assumes the filesystem is mounted and ready to go!...
[ "brianddaniels@gmail.com" ]
brianddaniels@gmail.com
9a2032aa2c74ba69a362d7f2cc21929a54589bc8
23ae6999a16ce181e7c45e3e9d518923552ad4db
/image/image.cpp
d76d2b6ba61718d3361c6e5cb8d5e4a4b9d91b7b
[]
no_license
aalness/lfl
ce38d8019cdc7458de1e691d24df21df5842b4e4
ce638b8cb10c556d34d66f0e128ee3d0666afb20
refs/heads/master
2021-01-21T23:33:53.955947
2015-05-05T00:17:36
2015-05-05T00:17:36
35,055,590
0
1
null
2015-05-04T19:45:23
2015-05-04T19:45:23
null
UTF-8
C++
false
false
12,000
cpp
/* * $Id: image.cpp 1336 2014-12-08 09:29:59Z justin $ * Copyright (C) 2009 Lucid Fusion Labs * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * ...
[ "koldfuzor@users.noreply.github.com" ]
koldfuzor@users.noreply.github.com
6648f0219aecec8622155899cca99f5d7490024b
6cbb6558c1f4e87cc97162aa9caf6d2fdeb99369
/Project/SDL2_Engine/SDL2_Engine/MainScene.cpp
00318403baf138fcc904614bc8d95d64c04fb364
[]
no_license
M2vH/GPA4300_0318
67b0c94c7e1a60577f37da41514f6d65a1839a68
38c579edc49148cde57441f637965824eb4ccae8
refs/heads/develop
2020-03-22T19:57:03.235115
2018-07-28T09:39:29
2018-07-28T09:39:29
138,725,217
1
0
null
2018-07-10T11:46:49
2018-06-26T10:56:24
C
UTF-8
C++
false
false
438
cpp
#pragma region project include #include "MainScene.h" #include "World.h" #include "ContentManagement.h" #pragma endregion #pragma region public override function // initialize scene void GMainScene::Init() { // create world m_pWorld = new GWorld(CEngine::Get()->GetRenderer(), "Texture/World/T_WorldSide.png"); m_pWo...
[ "marc.friedrich@nyfa.edu" ]
marc.friedrich@nyfa.edu
1606e7e983b4b60d73a6f3440e2a561af38f84b5
b8497ccf4a134968985b19ccaf125a1a323af8e0
/include/point_location/walking/walking_point_location.h
d7b2c1b2fc08d76efbc38a1c4166c1a2cb48e91f
[]
no_license
s-nandi/point-location-2d
38f7d910246d2ecdc104840e4f7588785008b0cc
12f5a047b2ecdf15b6bda5dc7d62927a8b6d1a9e
refs/heads/master
2023-03-05T02:09:38.175170
2019-03-29T21:28:04
2019-03-29T21:28:04
177,846,066
0
0
null
null
null
null
UTF-8
C++
false
false
585
h
#ifndef WALKING_POINT_LOCATION_H #define WALKING_POINT_LOCATION_H #include "point_location/point_location.h" #include "point_location/walking/starting_edge_selector.h" #include <memory> class walking_point_location : public online_point_location { private: std::unique_ptr <walking_scheme> locator; std::unique...
[ "saujas.nandi@gmail.com" ]
saujas.nandi@gmail.com
cca0b48ea2cbe082d72fdd77b9700e5913ce7b71
6581ff32670e4b30dd17c781975c95eac2153ebc
/artifacts/linux/include/unicode/enumset.h
9c15b9a967529c61d01a6f394c39c42c75ff398c
[ "Apache-2.0", "OpenSSL", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows" ]
permissive
pxscene/Spark-Externals
6f3a16bafae1d89015f635b1ad1aa2efe342a001
92501a5d10c2a167bac07915eb9c078dc9aab158
refs/heads/master
2023-01-22T12:48:39.455338
2020-05-01T14:19:54
2020-05-01T14:19:54
205,173,203
1
35
Apache-2.0
2023-01-07T09:41:55
2019-08-29T13:43:36
C
UTF-8
C++
false
false
2,115
h
// Copyright (C) 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * Copyright (C) 2012,2014 International Business Machines * Corporation and others. All Rights Reserved. * ...
[ "travis@example.org" ]
travis@example.org
271513ff81e818fb04260ef76041342fd4ab4a72
c3e1fce7a720bb66a3814123727b6f835b54c8fd
/src/OGLSamples_GTruc/external/glm-0.9.5.B/test/core/core_type_cast.cpp
cc5c600cc6dafb70518848f3376ac02c8e72f907
[ "MIT" ]
permissive
isabella232/vogl
6df37b32eb5c484a461b50eb50b75f2a95ffb733
172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e
refs/heads/master
2022-04-18T21:11:14.760227
2014-03-14T21:55:20
2014-03-14T21:55:20
482,027,147
0
0
MIT
2022-04-16T02:59:09
2022-04-15T16:59:45
null
UTF-8
C++
false
false
2,480
cpp
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2013-05-06 // Updated : 20...
[ "mikesart@gmail.com" ]
mikesart@gmail.com
9dfa6ee906d003b67305d9663874f6a95b6a7e14
ab4156ca699182a749105ece73d26ecd66f4ff1d
/tests/test_threads_wait_queue.cpp
2d381dc5946cefb2cee55e621240d090cc9ed2e6
[ "MIT" ]
permissive
firebirdtools/CppCommon
4c6057224f46c798960bf7d6751e5fff63afca58
ad96c6739da0cb2c5b7144b2ff5e66249c9eb462
refs/heads/master
2020-04-13T19:56:52.219898
2018-12-21T19:51:31
2018-12-21T19:51:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,296
cpp
// // Created by Ivan Shynkarenka on 05.10.2016 // #include "test.h" #include "threads/wait_queue.h" #include <thread> using namespace CppCommon; TEST_CASE("Multiple producers / multiple consumers wait queue", "[CppCommon][Threads]") { WaitQueue<int> queue; REQUIRE(!queue.closed()); REQUIRE(queue.size...
[ "chronoxor@gmail.com" ]
chronoxor@gmail.com
ea0b6d307bb05004a567784da859c97c6be0095f
ed68de35cc94bb7ee0680d7b523157f9afad85e3
/tests/ubo-test.cc
b2676a3a379458cbbd03ec65de5035979ba13d61
[ "MIT" ]
permissive
danem/SimpleGL
7b4f2ba740504b76c59db58c23b9679577b305f3
aa9e1a1b5ac8de0a294b5e1f3e3146aec4de4251
refs/heads/master
2021-06-20T03:47:22.301964
2019-04-15T22:03:23
2019-04-15T22:03:23
104,854,029
5
0
null
null
null
null
UTF-8
C++
false
false
871
cc
#include <SimpleGL/helpers/SimpleGLHelpers.h> #include "sgl-test.h" struct UBOData { int x; int y; int z; }; int main () { sgl::Context ctx{500, 500, "ubo test"}; UBOData data; sgl::UniformBuffer<UBOData> ubo{&data, 1}; sgl::Shader uboShader = sgl::loadShader(TEST_RES("ubo_vs.glsl"), TES...
[ "" ]
b38b75b44a9da2a6d45ff9b73a6291f9b995f3be
0f0b2c5e9095ba273992ab0b74a82f986b4f941e
/opengl/tools/glgen/stubs/gles11/glGetProgramPipelineInfoLog.cpp
5b556d5d82a5ab0db09a23c368935695535d0a8d
[ "LicenseRef-scancode-unicode", "Apache-2.0" ]
permissive
LineageOS/android_frameworks_native
28274a8a6a3d2b16150702e0a34434bc45090b9a
c25b27db855a0a6d749bfd45d05322939d2ad39a
refs/heads/lineage-18.1
2023-08-04T11:18:47.942921
2023-05-05T12:54:26
2023-05-05T12:54:26
75,639,913
21
626
NOASSERTION
2021-06-11T19:11:21
2016-12-05T15:41:33
C++
UTF-8
C++
false
false
688
cpp
#include <stdlib.h> /* void glGetProgramPipelineInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */ static jstring android_glGetProgramPipelineInfoLog(JNIEnv *_env, jobject, jint shader) { GLint infoLen = 0; glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen); if (!in...
[ "jessehall@google.com" ]
jessehall@google.com
caf61d26b179a24608029f7b21121970cc509d8b
e71cf8bc0077df065f7778d19a3be85e4a894776
/coderushdiv2_4.cpp
0b6268d04a1f1814568613b66d7afdca0fa583e8
[]
no_license
NishantRaj/program_files
c33ac91523a65dc6a1af7cdc35e6c18e969b10f3
934a9f1dcdbc2851c50f36e0f33c4e08d214e2e7
refs/heads/master
2021-01-21T04:54:46.691639
2019-05-11T09:22:25
2019-05-11T09:22:25
39,347,684
0
0
null
null
null
null
UTF-8
C++
false
false
1,126
cpp
#include <bits/stdc++.h> using namespace std; #define LL long long #define ULL unsigned long long ULL solve(int a,ULL sum) { ULL d = (ULL)sqrt(a*a + 8*a*sum); d-=a; return d / (2*a); } ULL calculate(ULL a[], ULL t , int sz) { ULL total = 0; for(int i = 0 ; i < sz ; i++) total += solve(a[i],...
[ "raj.nishant360@gmail.com" ]
raj.nishant360@gmail.com
6dd9d60635f29c7d8fa212430ae59e11368fef65
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/third_party/WebKit/Source/core/svg/SVGPathBlender.cpp
bf5d68aa695e7bdaba3cc4cfde6ef0fda33127b6
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
12,092
cpp
/* * Copyright (C) Research In Motion Limited 2010, 2011. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your opti...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
92eebca2e65e719303ebf521b1f171458be02377
2f37b0b5ea900093ec3d06f835824270738c0556
/剑指offer/002_替换空格.cc
a26f0f3d8c8f3b4d64b3d82c9e6876dc03b1c879
[]
no_license
yanglin526000/Wu-Algorithm
d0da3fdc92748c21c2a96b096a260a608f04adab
5259f8c81fc9a14ec35c5422d0edb9ec36304ae8
refs/heads/master
2021-09-11T12:41:48.195238
2018-04-07T04:48:17
2018-04-07T04:48:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
973
cc
#include<string> #include<limits.h> using namespace std; //请实现一个函数,将一个字符串中的空格替换成“%20”。 //例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 class Solution { public: void replaceSpace(char *str, int length) { //保证字符串数组有足够的空间去容纳变长后的字母 int countSpaces = 0; for (int i = 0; i < length; i++) { ...
[ "jt26wzz@icloud.com" ]
jt26wzz@icloud.com
15f9e758f5b3b78c8dfbba3ec729e4ef124a4101
83f27e9b04c7c7772f8a64238d3b86d22e8b0eef
/chrome/browser/updates/update_notification_service_bridge.h
a77cbd28a9564831dda7cf73f91f14996f817948
[ "BSD-3-Clause" ]
permissive
fxb20170613/chromium
122a0dd9efa36ebd238a53a45dd799fcbff36b1c
501061ccbb7b9fab6dad77babecf12e4ae9f7890
refs/heads/master
2023-03-02T08:47:05.969248
2020-02-03T16:18:55
2020-02-03T16:18:55
238,015,164
1
0
BSD-3-Clause
2020-02-03T16:54:31
2020-02-03T16:54:30
null
UTF-8
C++
false
false
1,867
h
// Copyright 2020 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 CHROME_BROWSER_UPDATES_UPDATE_NOTIFICATION_SERVICE_BRIDGE_H_ #define CHROME_BROWSER_UPDATES_UPDATE_NOTIFICATION_SERVICE_BRIDGE_H_ #include <memor...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
8ef9164a2cfc38c167d66fb9d8f8b798efbc1e5e
0f054d3440d94f27bc61c2b69c46d250fd1400a8
/ModCpp/DemoCode/ProductivityFeatures/lambdas.h
79dc252a46245cd573b26ef472a2c0a43492c77c
[]
no_license
Tomerder/Cpp
db73f34e58ff36e145af619f03c2f4d19d44dc5d
18bfef5a571a74ea44e480bd085b4b789839f90d
refs/heads/master
2020-04-13T21:37:06.400580
2018-12-29T02:35:50
2018-12-29T02:35:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,142
h
#pragma once #include <iostream> #include <vector> #include <algorithm> #include <set> #include <numeric> #include <random> #include <iterator> #include <future> #pragma region STL is great void stl_is_great1() { std::vector<int> ints; std::copy( std::istream_iterator<int>(std::cin), std::istream_iterator<int...
[ "tomerder@gmail.com" ]
tomerder@gmail.com
b59ec5cfa2e1fb0da9328186c71a6774669933b5
ce420020aa4bcbbc562c55db16804e6f10013aef
/1379.cpp
7f78b134a93177eacfca3b1926706f1d9e50b9c0
[]
no_license
pbking1/cplusplus--algorithm
b0cfba3fd8d5e9fd7cba0a7d745219de69f925d6
c6fbae99d77e3af6a433e9ae6a42885f9fb54bec
refs/heads/master
2020-03-30T15:44:39.755972
2014-01-08T12:51:46
2014-01-08T12:51:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,368
cpp
#include<iostream> #include<queue> #include<map> using namespace std; /* Input 第一行是一个整数n,表示一共有多少组测试数据。 下面n行每行9个字符,用空格隔开,代表一个初始状态。 目标状态是 1 2 3 4 5 6 7 8 0。 Output 最小操作步数,无解时输出-1。 sample input 4 1 2 3 4 5 0 7 8 6 1 2 3 4 0 5 6 7 8 8 6 7 2 5 4 3 0 1 6 4 7 8 5 0 3 2 1 sample output 1 14 31 31 注意在 ...
[ "731849410@qq.com" ]
731849410@qq.com
edfaa31e30516fb15419f9b9b88bc37fbbd05c0b
6b6e19cb8b0ae8ec47cdadd2d7ba53c52e06d769
/CIS4800/A3/Qix/bouncy.h
aa32b52bc87d15c94ddfd69acefda6c140534303
[ "MIT" ]
permissive
Bananattack/uoguelph
b0b5a69a7b1ec267017685a9c13a5fdabcc889e3
a5c46718ac15a5738eb58a0d75147f928df1dde2
refs/heads/master
2021-01-01T19:00:43.738084
2012-08-09T07:47:01
2012-08-09T07:47:01
5,338,004
0
1
null
null
null
null
UTF-8
C++
false
false
5,352
h
// CIS*4800 Computer Graphics // Andrew Crowell // acrowell@uoguelph.ca // 0545826 #pragma once namespace Qix { class Bouncy { private: static const double SPEED = 0.1; static const double MOVEMENT_STEP = 0.01; public: do...
[ "overkill9999@gmail.com" ]
overkill9999@gmail.com
066f362636a02988a45995364581ed190315d2f2
781f351347692832c17ebd43bb90accd1036572d
/Sources/MultiServer/S3Relay/StdAfx.cpp
12350ddedaf134b288827ba66be90d7966477a5e
[]
no_license
fcccode/Jx
71f9a549c7c6bbd1d00df5ad3e074a7c1c665bd1
4b436851508d76dd626779522a080b35cf8edc14
refs/heads/master
2020-04-14T07:59:12.814607
2017-05-23T07:57:15
2017-05-23T07:57:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
286
cpp
// stdafx.cpp : source file that includes just the standard includes // S3Relay.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
[ "tuan.n0s0und@gmail.com" ]
tuan.n0s0und@gmail.com
c0e5383015e817a27552b73163034221cfd87362
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/net/upnp/common/upnetwork/interfacetable.cpp
96f550411c54ec07f2383dd6a37c724bb6da45cc
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,778
cpp
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 2000. // // File: I N T E R F A C E T A B L E . C P P // // Contents: Builds a mapping from IP addresses to interface guids // // Notes: // // Author: mbend ...
[ "support@cryptoalgo.cf" ]
support@cryptoalgo.cf
60f437ece81a99760c51b3d933884225f8bd45c6
e9ade5ea33cf3382f8ab3ad980e7f6d8cb76faf8
/solved/abc188/aa.cpp
cfe3b55f4f4bbe433d38fac7b4fd028e841f8794
[]
no_license
Creamy1137689/kyopro
75bc3f92edb7bff2cbf27dc79d384b422a0a4702
dcacbf27defe840ea7998e06a5f3fb78718e7d53
refs/heads/master
2023-05-10T19:28:56.447493
2021-06-03T12:54:11
2021-06-03T12:54:11
266,143,691
0
0
null
null
null
null
UTF-8
C++
false
false
3,887
cpp
//https://atcoder.jp/contests/abc188/submissions/19356072 #ifdef LOCAL //#define _GLIBCXX_DEBUG #endif //#pragma GCC target("avx512f,avx512dq,avx512cd,avx512bw,avx512vl") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include <bits/stdc++.h> using namespace std; typedef long long ll; t...
[ "exception031noexist@gmail.com" ]
exception031noexist@gmail.com
e5daf0b67af9300a8a7d963b0b2f79210a63f132
65aae4f8be2ec8f12a7b91df0fb4c797716046c9
/machine.cc
2c352f30d4394057022b0f2723df20ea61fa054b
[]
no_license
ramprakash-k/compilers
ef9a688d4c282eded8c5ef86a2d53964a2f0b3f9
7b87baf4964be5a2a527343517af48a172fe58f6
refs/heads/master
2021-03-24T10:43:23.562294
2015-04-28T10:44:24
2015-04-28T10:44:24
34,562,167
0
0
null
null
null
null
UTF-8
C++
false
false
7,426
cc
#include<iostream> #define STACK_SIZE 10000 #define j(l) goto l #define je(l) if(_flag==0) goto l #define jne(l) if(_flag!=0) goto l #define jl(l) if(_flag==-1) goto l #define jle(l) if(_flag==-1||_flag==0) goto l #define jg(l) if(_flag==1) goto l #define jge(l) if(_flag==1||_flag==0) goto l using namespace std; cla...
[ "rampsbb27@gmail.com" ]
rampsbb27@gmail.com