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
bcb839988196eda454104ca2c2e19d2cfda80093
082fa6b3970bc27d7e349dcc56e209f33a997442
/code/common/LibHNLobby/HNLobby/ChildLayer/GamePayLayer.cpp
48f61ff2439e4f7261f6193e86c5b16efe3e27f2
[]
no_license
Crasader/C-_Project
e0627276e9305b661c82706f635cf0bdfa009897
106d2c8fd9561730a59d36af12f11677e54f8772
refs/heads/master
2021-10-27T05:48:05.937651
2019-04-16T07:30:35
2019-04-16T07:30:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,332
cpp
GamePayLayer.cpp
#include "HNLobby/ChildLayer/GamePayLayer.h" #include "HNLobby/PlatformDefine.h" #include "HNLobby/PlatformConfig.h" #include "HNMarketExport.h" #include "UI/Base/HNLayerColor.h" static const char* PAY_JSON_PATH = "platform/pay/PayUI_1.json"; // //static const char* PAY_BG = "platform/common_bg.png"; // ba...
37c1b9243056d7413fcf0094f78742a9dd61b482
61b23cadab2249c09fae26cb9485314207f4eab3
/src/semantic/types/constraints/TypeConstraintUnifyVisitor.cpp
2c8efd9da2115c5c899a24bb1b84d0886d81bc17
[ "MIT" ]
permissive
matthewbdwyer/tipc
c3fc058958b540830be15a2a24321dd4e60f2d69
92bc57d0c2f63e9d14ac6eca3fb28368ed2fa3a5
refs/heads/main
2023-08-17T03:40:51.183052
2023-08-15T21:09:30
2023-08-15T21:09:30
205,929,620
62
32
MIT
2023-09-02T21:38:23
2019-09-02T20:13:09
C++
UTF-8
C++
false
false
365
cpp
TypeConstraintUnifyVisitor.cpp
#include "TypeConstraintUnifyVisitor.h" #include "ConstraintUnifier.h" TypeConstraintUnifyVisitor::TypeConstraintUnifyVisitor(SymbolTable *pTable) : TypeConstraintVisitor(pTable, std::move(buildConstraintHandler())) {} std::shared_ptr<ConstraintHandler> TypeConstraintUnifyVisitor::buildConstraintHandler() { ret...
42c02e149e8df56172b749b572f3dc3b0646c821
0c907bdb4a7a8c81d4f5d645c0e08ffaaf9b30ba
/FlyForYourLife/Source/RacingGame/Private/GameModes/TimeTrialMode.cpp
d84a405780f42c5ae29e4e2216d3d1bd1e1b4817
[]
no_license
Rodolfo377/Futuristic_Racing
4a35a66cd3652b27ccb176c3c59e1b7668cfad68
6e826a06e0090d3094f78d597e67e1d689f4a5a0
refs/heads/master
2021-03-11T13:01:52.352243
2020-07-22T22:54:40
2020-07-22T22:54:40
246,531,189
0
0
null
null
null
null
UTF-8
C++
false
false
132
cpp
TimeTrialMode.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "../../Public/GameModes/TimeTrialMode.h"
bbc540207c23fc64710350bc7a4733b736f26b5c
686fc01dffaddffcf97a42f7bdfe1d368c326ed5
/src/meta_data/cppwrapper.hpp
eaecd380e6de7e74f684281f1373385f7a9840bd
[]
no_license
rootfs/fusionfs
4330dc1e1d4d15b9ccd34ec366ef22792c685f84
7dcdd03578112a9bc66d2e930ac8029fda10a3d0
refs/heads/master
2020-05-20T09:21:45.435057
2015-01-14T14:11:23
2015-01-14T14:11:23
29,246,384
0
0
null
null
null
null
UTF-8
C++
false
false
2,686
hpp
cppwrapper.hpp
#ifndef cppwrap_hh #define cppwrap_hh #include <ctype.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <fuse.h> #include <libgen.h> #include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/xattr.h> #ifdef __cplusplus e...
3327ce1738cc8e4adbc36fd05d7a0b9311276e0d
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeOfferingRequest.h
24fbaef28dce40bcf9134ccc06c93dad6430a9fd
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
2,629
h
DescribeOfferingRequest.h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/mediaconnect/MediaConnect_EXPORTS.h> #include <aws/mediaconnect/MediaConnectRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { n...
cd791abc8c18bac0978af1684f96ee4af9aff69e
8a95cb1e783c9e15dacf28f43b6bb19fa047cab7
/Event.cpp
1e672d9508769d75af2fa68b9e69db8db7c1f191
[]
no_license
cbshiles/KALX-Open-Bloomberg
65d1cfcdbc6e24d2a2d4098ab3ee9499dcee4a37
a7326612e73459e6ceb5f75ac190823122878dd5
refs/heads/master
2021-07-23T23:36:33.513258
2013-07-05T16:59:45
2013-07-05T16:59:45
109,073,219
0
0
null
null
null
null
UTF-8
C++
false
false
7,003
cpp
Event.cpp
// Event.cpp - blpapi Event class // Copyright KALX, LLC. All rights reserved. No warranty made. #pragma warning(disable: 4244 4127) #include "blpapi_event.h" #include "xllblp.h" using namespace BloombergLP; using namespace blpapi; using namespace xll; XLL_ENUM_DOC(BLPAPI_EVENTTYPE_ADMIN, BLPAPI_EVENTTYPE_ADMIN, CATE...
764e8357df6d9b67b5da456dd6f41bd4088fd51c
b44bf2739444921db3dd3c8e6efc41c70c6cb0b9
/WN8OS-master/kernel/core/ioport.cc
61a912eead1591877325d3adc1cf0f5eeea2bcb5
[ "MIT" ]
permissive
satyrswang/os
ebf25df1964fe851e5aed48513aa3fa25c0907bd
79bc2778a530dd3a8866cf85320dac6ac2fa8b66
refs/heads/master
2021-05-05T18:11:31.396928
2017-09-15T21:59:27
2017-09-15T21:59:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
781
cc
ioport.cc
#include "ioport.h" namespace ioport { void outb(ioport_t port, u8 val) { __asm__ __volatile__ ("outb %0, %1" :: "a"(val), "Nd" (port)); } void outw(ioport_t port, u16 val) { __asm__ __volatile__ ("outw %0, %1" :: "a"(val), "Nd" (port)); } void outl(ioport_t port, u32 val) { __asm__ __vo...
049b7f4220482ce43158bf164f09ccd594f79bfc
b8273be80d7f36b64768c68e2228783d004f334a
/成绩管理系统/Source.cpp
171b242bacde75902dd09402bc5e86ad205c7390
[]
no_license
SH201808/level1
2fc6e6136b98523048954082dd069be7643e6985
af11ce4bb62e8b05ff508272e5191132026f6c97
refs/heads/master
2023-05-03T09:15:48.651627
2021-05-21T13:07:24
2021-05-21T13:07:24
369,515,426
0
0
null
null
null
null
GB18030
C++
false
false
8,430
cpp
Source.cpp
#include<iostream> #include<string> #include<vector> #include<fstream> #include<sstream> using namespace std; struct student{ string ID; string name; string Cla; int math; int physics; int c; }s; class Student_System{ public: void input(); void output(); void Add(); void Search_Dele_Modify(); void Delete(int...
3af5d10066181db27b6d7e4088883d5c9b656850
48a128080eef29a1f5bf38d10dc5e2beca89a02d
/src/GeepGLFW/Foundation.h
db798536a2b42c43bc90b9a02658efa133959cf0
[ "Apache-2.0" ]
permissive
AtomicFiction/rezpackages
636ecefd58a5c1d8597a44337f3d7677a1de4735
906cd67f7144a22a1d3b1ce77554d2b3e5d2bba8
refs/heads/master
2022-02-11T08:32:57.931129
2019-06-20T20:54:24
2019-06-20T20:54:24
45,408,080
5
1
null
2018-03-22T17:11:33
2015-11-02T16:50:03
CMake
UTF-8
C++
false
false
1,751
h
Foundation.h
//-***************************************************************************** // Copyright 2015 Christopher Jon Horvath // // 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:/...
a41e2e9a9a7dd4122c7f5e662c4098d53308c6ae
278f96657aec5dfe3e793642acc1b41aee018db1
/source/JitterFromRedNoise.cpp
632de182e4710a78448354cfa8172807df077dc4
[]
no_license
BertoltLang/BertPlatoSim
615ef4e12518e02c5eddf8d0fa6f077911f2d0c6
c79d1ee68e2b82d6ab4369f80bf1ec3f8b562ca5
refs/heads/master
2021-01-23T07:43:53.801973
2017-03-28T08:45:52
2017-03-28T08:45:52
86,436,005
0
0
null
null
null
null
UTF-8
C++
false
false
5,101
cpp
JitterFromRedNoise.cpp
#include "JitterFromRedNoise.h" /** * \brief Constructor * * \param configParams The configuration parameters from the input parameters file */ JitterFromRedNoise::JitterFromRedNoise(ConfigurationParameters &configParams) : lastYaw(0.0), lastPitch(0.0), lastRoll(0.0) { // Set the configuration parameters ...
8eec75c1847a43018887550b2de2b99b4e277e96
74cd1bf6cb3359e26282f5f814b6d02d426f0b31
/09_thousandLookAtMe/src/square.cpp
62ea15f7af15345c689f9fd9ad36c3cba6e0cb18
[]
no_license
bschorr/OFCourse_ThousandParticles
6e2c0e068f2c9b75b90a50f4c1d69362b2917e93
772623c6c2cd511d64a2855c588b625db7962442
refs/heads/master
2016-08-11T19:21:48.891731
2016-03-19T23:30:49
2016-03-19T23:30:49
54,291,643
1
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
square.cpp
// // square.cpp // 06_lookAtMe // // Created by Bernardo Schorr on 4/30/15. // // #include "square.h" void square::setup(ofVec2f _pos) { pos = _pos; } void square::update(ofVec2f lookAt) { ofVec2f diff; diff = lookAt - pos; rot = atan2(diff.y, diff.x); rot = ofRadToDeg(rot); ...
8dd576862df41c5e61da4f954d7db706158b3e61
94f955b45caef0b21d1ff5ed453519d0fb632e05
/resource/performance_sample/performance_sample/src/sample_data.cpp
2a48035efcedfc59fceb784e14e00f4001f75955
[]
no_license
googol-lab/310_data
2259bd10ec91a6b303845c709ed93f4f69ffba45
b06663fdea4d387eb02435f7a10520c9b5096fbf
refs/heads/master
2020-12-12T08:02:38.232393
2019-06-12T08:48:35
2019-06-12T08:48:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,164
cpp
sample_data.cpp
/** * @file sample_main.cpp * * Copyright (C) <2018> <Huawei Technologies Co., Ltd.>. All Rights Reserved. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #include "sample_data...
72c7a16dbeb0d772a265baad8efa38c4e775f3e2
6987a1383bb376adda4303a7aa80c6d4192681c7
/src/libcamera/include/ipa_context_wrapper.h
c9e194120de6b69c3efea554c386bb2871362e7b
[]
no_license
shristi428/libcamera
66af541c9ce7e2d390a953e07d5520cd632f5ff3
dd9429f438865c5a48b460b4ce33b3f74f90027f
refs/heads/master
2021-02-25T15:04:35.251005
2020-02-05T10:34:46
2020-02-24T09:45:56
245,457,790
1
0
null
2020-03-06T15:44:10
2020-03-06T15:44:09
null
UTF-8
C++
false
false
1,274
h
ipa_context_wrapper.h
/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2019, Google Inc. * * ipa_context_wrapper.h - Image Processing Algorithm context wrapper */ #ifndef __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__ #define __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__ #include <ipa/ipa_interface.h> #include "control_serializer.h" na...
b2293d8e3ae7bae7e5d58604d9c2746abc929132
85ba4e6e293b61908abee97cf12fc6f04fa5b99a
/ecl/hqlcpp/hqlcse.cpp
328c1441d012cee59eb18c8c402d3aa83b91937d
[ "Apache-2.0" ]
permissive
praveenmak/HPCC-Platform
6021a561c01d9706aaf5b86bbaa059284b9f6190
30cb9026779310921567106e9d5b090e81065b33
refs/heads/master
2021-01-14T11:48:56.585472
2014-04-02T14:20:09
2014-04-02T14:20:09
18,383,693
1
0
null
null
null
null
UTF-8
C++
false
false
48,759
cpp
hqlcse.cpp
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
f95dbe0feafe79fbd4a642c48dbd81a51b8ace7d
3eb188167143d0f45f56328cf9177405d0e1adb9
/src/Player.cpp
a88cdbd2a04622d9e4dcf61d710bc0d8a76e69ca
[]
no_license
iarwain/ld49
5e2b2be35e47d25f67c9f6c027bfc0b7155fe8cd
3a52f4a5b3e06176889f2c319f2918aae5541742
refs/heads/master
2023-08-31T13:41:38.714863
2021-10-05T05:32:34
2021-10-05T05:32:34
412,701,717
0
0
null
null
null
null
UTF-8
C++
false
false
9,300
cpp
Player.cpp
/** * @file Player.cpp * @date 2-Oct-2021 */ #include "Player.h" #include "Arena.h" void orxFASTCALL Attract(const orxCLOCK_INFO *_pstClockInfo, void *_pContext) { Player *poPlayer = (Player *)_pContext; if(!poPlayer->bDead) { poPlayer->PushConfigSection(); const orxSTRI...
1dfe20448832d26991f725ffa01526c6bb27498e
16aadfb24be9bf2b5795bc2e02cadb9d0fe709b3
/utility/stale/runtime/PriorityScheduler.cc
7ae2707cb199b3f162d34b7a4c59f8220792bdbf
[]
no_license
dhu/conger
7c44a9747db6deaa25c6819c7aad4a9f9fbfa995
b8268ef672c6d232c3d3466efc723534f77d79e1
refs/heads/master
2021-01-16T21:01:00.088263
2014-02-16T10:05:30
2014-02-16T10:05:30
2,466,404
1
0
null
2014-02-16T10:05:30
2011-09-27T08:35:51
C++
UTF-8
C++
false
false
17,735
cc
PriorityScheduler.cc
#include "PriorityScheduler.h" #include "AuroraNode.h" #include "QBox.h" #include "LockHolder.h" #include <fstream> BOREALIS_NAMESPACE_BEGIN AURORA_DEFINE_SCHEDULER(PriorityScheduler); PriorityScheduler::PriorityScheduler() : Scheduler(true, true), _die(false), _draining(false) { } void PrioritySchedul...
b05fdc611052b9a3c49abc6974a8f21aa8ff9052
2727f231c7700ea16a4dc0724dc370210461bdd7
/c++core/009_Circle.cpp
8363578e4a46d677e9ef0db157a4a4967c1b2480
[]
no_license
qinlei1992/CppLearning
a1fb15cab2735d79a54ba0d56332edcb0143d76e
18812cb55098c8f78c82ac87e7229fbc7df27be5
refs/heads/main
2023-04-16T19:43:11.306209
2021-04-27T08:24:29
2021-04-27T08:24:29
357,489,974
0
0
null
2021-04-21T04:17:03
2021-04-13T09:05:37
C++
UTF-8
C++
false
false
272
cpp
009_Circle.cpp
#include "009_Point.h" #include "009_Circle.h" void Circle::set_radius(double radius){ this->radius = radius; } double Circle::get_radius(){ return radius; } void Circle::set_center(Point p){ center = p; } Point Circle::get_center(){ return center; }
ad9393c6b06ea82b327660a5ad087b729f70d6a5
157fd7fe5e541c8ef7559b212078eb7a6dbf51c6
/TRiAS/TRiAS/Obsolete/DBase/CodeBase DLL/D4XGOEOF.CXX
83e1d115ac028e15decfadacfc32c7bdc697a62e
[]
no_license
15831944/TRiAS
d2bab6fd129a86fc2f06f2103d8bcd08237c49af
840946b85dcefb34efc219446240e21f51d2c60d
refs/heads/master
2020-09-05T05:56:39.624150
2012-11-11T02:24:49
2012-11-11T02:24:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
403
cxx
D4XGOEOF.CXX
// d4xgoeof.c (c)Copyright Sequiter Software Inc., 1990-1991. All rights reserved. #include "d4all.h" int DataIndex::go_eof() { int rc ; if ( (rc = flush_record()) != 0 ) return rc ; long count = reccount() ; if ( count < 0 ) return -1 ; rec_num = count+1L ; eof_flag = 1 ; if ( ...
a5b3540aaa55d0916dd6ffadcd65a158e6faa043
4bd300d451a4dc2f1df37243fcd3047b5564a914
/02 数据类型/06 布尔类型 bool.cpp
d2344cd481967eaa42c5f72392a624aaa2ba2f0b
[ "MIT" ]
permissive
AlicePolk/cpp-
24c865ca70a11a931c42192db4ebdb4924cf72e8
5bc3b1ea7fde780d0c45632fad083d583d65fb66
refs/heads/master
2022-12-14T16:39:02.316754
2020-09-12T01:46:51
2020-09-12T01:46:51
224,430,332
0
0
null
null
null
null
UTF-8
C++
false
false
272
cpp
06 布尔类型 bool.cpp
//#include<iostream> //using namespace std; // // //int main() { // // bool flag = true; // cout << flag << endl; // 1 // // flag = false; // cout << flag << endl; // 0 // // cout << "size of bool = " << sizeof(bool) << endl; //1 // // system("pause"); // // return 0; //}
e71980d5c93fee00a8b200db9520148153bd41b2
4d0300263d28fb461f285cc2c3dfd7c51621cb4d
/platform/windows/Corona.Native.Library.Win32/Rtt/Rtt_WinAudioRecorder.cpp
89a497b804be9294469857097e1fe4610e5cde82
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown" ]
permissive
coronalabs/corona
6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2
5e853b590f6857f43f4d1eb98ee2b842f67eef0d
refs/heads/master
2023-08-30T14:29:19.542726
2023-08-22T15:18:29
2023-08-22T15:18:29
163,527,358
2,487
326
MIT
2023-09-02T16:46:40
2018-12-29T17:05:15
C++
UTF-8
C++
false
false
14,599
cpp
Rtt_WinAudioRecorder.cpp
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
9755ef516e3c8be2418d45c19c69f3b48aff372f
6501a0232db2c9fe370fdbbc24746114a6f37ea4
/d24.cpp
619405fecc48280db92e1f3b0da8dcfb148d27a5
[]
no_license
blackkama/joblab
3b6cee917a5fce9c36bb56b7bd2c996fcf97d0ad
abc1a0caebf12a7807c4dc708c13d3a02d86015a
refs/heads/master
2020-12-28T23:34:56.083655
2016-03-05T08:00:34
2016-03-05T08:00:34
53,197,995
0
1
null
2016-03-05T11:23:54
2016-03-05T11:23:54
null
WINDOWS-1251
C++
false
false
459
cpp
d24.cpp
#include <iostream> #include <climits> using namespace std; int main() { cout.setf(ios_base::fixed, ios_base::floatfield); float tub = 10.0 / 3.0; double mint = 10.0 / 3.0; const float million = 1.0e6; cout<<"tub= "<<tub; cout<<"Миллион= "<<million*tub; cout<<",\nand ten million tubs = "; cout<<10*million...
911171c7b17cbf9b2ebb42ec9741e8fd9c2d6944
adba93157daccb869ba22caffb142e633f4a8afc
/src/engine/systems/TweenSystem.h
574aca30987908cf5c35ba15fcda14eeaa4f1765
[ "Apache-2.0" ]
permissive
Cosmin-B/Sealed
333cb80e3eeaddaf16db724c8ef0353db5e697b4
637946ccb1c8af2e95033533cb2a84dd3b5e22af
refs/heads/master
2022-01-07T09:35:16.621365
2019-05-18T20:08:29
2019-05-18T20:08:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
319
h
TweenSystem.h
// // Created by xCocoDev on 2019-03-04. // #ifndef SAXION_Y2Q2_RENDERING_TWEENSYSTEM_H #define SAXION_Y2Q2_RENDERING_TWEENSYSTEM_H #include "System.h" namespace en { class TweenSystem : public System { public: void update(float dt) override; }; } #endif //SAXION_Y2Q2_RENDERING_TWEENSYSTEM_H
56ccc31987005a1589be88499f07e112e5e98f1d
f8372ab7eaae820219f2bb0aed97319c472be9a0
/fitness.cpp
b5c695bf6986c42b3663c80835c501a679fb2509
[]
no_license
rafaelsdellama/algGen_Bin
938aa1686ffde936d915f5a07638a4ff777f4944
27ef4c30ed98d034b8112a44129d2e2284358ac1
refs/heads/master
2021-08-07T18:15:57.669590
2017-11-08T17:23:55
2017-11-08T17:23:55
110,004,441
0
0
null
null
null
null
UTF-8
C++
false
false
599
cpp
fitness.cpp
/******************************************************************************\ * Fitness: * \******************************************************************************/ #include "defTipo.h" #include <cstdlib> #include <cmath> /*********************************************************************...
e130b505dd1d3bd4cd90c0bb1756353f21c131e1
0225a1fb4e8bfd022a992a751c9ae60722f9ca0d
/openlr/candidate_points_getter.hpp
02c16c0b87e20c0cd72c1d4236b395a582cec1e6
[ "Apache-2.0" ]
permissive
organicmaps/organicmaps
fb2d86ea12abf5aab09cd8b7c55d5d5b98f264a1
76016d6ce0be42bfb6ed967868b9bd7d16b79882
refs/heads/master
2023-08-16T13:58:16.223655
2023-08-15T20:16:15
2023-08-15T20:16:15
324,829,379
6,981
782
Apache-2.0
2023-09-14T21:30:12
2020-12-27T19:02:26
C++
UTF-8
C++
false
false
1,150
hpp
candidate_points_getter.hpp
#pragma once #include "openlr/graph.hpp" #include "openlr/stats.hpp" #include "indexer/data_source.hpp" #include "geometry/point2d.hpp" #include <cstddef> #include <functional> #include <vector> namespace openlr { class CandidatePointsGetter { public: CandidatePointsGetter(size_t const maxJunctionCandidates, siz...
8fb5a3ee52e7e62067b98a7182c4a184ca069fe1
c1d20b9b69033e71b113c1f948b7c45e300a2584
/Lab08/OrderedLinkedList.h
67db2677da0fec4321509c590fc67bbe2617fdd8
[]
no_license
snyderks/data-structures
aa31de0f36b7d4eba84c6fb4eb2a17e051df817e
b8713d94405a323b875d219ea3ff090d64fbeee8
refs/heads/master
2021-01-24T18:38:32.487906
2017-04-10T19:44:22
2017-04-10T19:44:22
84,462,196
1
0
null
null
null
null
UTF-8
C++
false
false
7,306
h
OrderedLinkedList.h
// // Created by Kristian Snyder // #ifndef LAB08_ORDEREDLINKEDLIST_H #define LAB08_ORDEREDLINKEDLIST_H #include <iostream> class Node; template <class T> class OrderedLinkedList { private: template<class U> class Node { public: U* data; Node* next; /// \brief constructor ...
1de5c6b4c6739d457b82a97bd85d3030f8f1f9e7
ea778356c49fd9b5f983376a802efdeb360be47a
/include/Util/JMapUtil.h
22903a1cfead6d6fda3b9fb34d1eeebcc33d2e31
[]
no_license
Evanbowl/Legacy-SMG2-Project-Template
59702034fd1e2054ace33487c667df92267de8b0
7129565c797746d950fe11aab9fb2c9a1204d5d9
refs/heads/main
2023-04-18T03:15:03.798809
2021-04-27T23:56:28
2021-04-27T23:56:28
361,564,344
1
0
null
null
null
null
UTF-8
C++
false
false
1,770
h
JMapUtil.h
#pragma once #include "JMap/JMapInfoIter.h" namespace MR { bool getJMapInfoArg0NoInit(const JMapInfoIter &iter, s32 *out); bool getJMapInfoArg0NoInit(const JMapInfoIter &iter, f32 *out); bool getJMapInfoArg0NoInit(const JMapInfoIter &iter, bool *out); bool getJMapInfoArg1NoInit(const JMapInfoIter &it...
655447b1f0cd3f903dbe564c402a2025aa01664f
d26a93001382cd60dd9fa4002c25fee289c3e80c
/Leetcode/Graph_Theory/BFS/Max_Width_Binary_Tree.cpp
48b5dd5d7a822b0c0a5a8d7382f6b74471fded20
[]
no_license
veedee2000/Competitive-Programming
cfb0e38d5534252f65eb266c24b19fd6c9f5124b
cebf93a994e10faf02138726435bb11b5b8ff807
refs/heads/master
2021-09-05T08:21:11.344179
2021-08-07T08:57:48
2021-08-07T08:57:48
207,164,471
4
0
null
null
null
null
UTF-8
C++
false
false
1,053
cpp
Max_Width_Binary_Tree.cpp
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int widthOfBinaryTree(TreeNode* root) { if(!root) return 0; queue<pair<TreeNode...
d94cfe4363c592064719dd5c9d74bb0ad9b74a5c
c39862dcbc5b9ad65f582752bcfd0c5eb9be463e
/dev/external/wxWidgets-3.1.0/include/wx/wxcrt.h
dbf556310c42a47fbac97fbaa6a6555379868d4e
[ "MIT" ]
permissive
rexdex/recompiler
5f1138adf5d02a052c8b37c290296d5cf5faadc2
7cd1d5a33d6c02a13f972c6564550ea816fc8b5b
refs/heads/master
2023-08-16T16:24:37.810517
2022-02-12T21:20:21
2022-02-12T21:20:21
81,953,901
1,714
120
MIT
2022-02-12T21:20:22
2017-02-14T14:32:17
C++
UTF-8
C++
false
false
49,187
h
wxcrt.h
/////////////////////////////////////////////////////////////////////////////// // Name: wx/wxcrt.h // Purpose: Type-safe ANSI and Unicode builds compatible wrappers for // CRT functions // Author: Joel Farley, Ove Kaaven // Modified by: Vadim Zeitlin, Robert Roebling, Ron Lee, Vaclav Slavi...
29fbd6673081d1f9146d6b690a7036bf28d5140e
f90b4cccaac205833413af237cab9d89ec80fd1d
/creatures.h
bd96f26bfec27e5f3b639f8fd7c4bc58b1b9413c
[]
no_license
perquam/duzajaskinia
bc4eed98bfdee86d7d9cdeebdbfdca3b734af6e4
d7e44ad6d8fdcfe3faea626793b60ad5b2940393
refs/heads/master
2021-01-13T03:39:20.793358
2016-12-28T18:11:44
2016-12-28T18:11:44
77,257,609
2
2
null
2016-12-24T21:00:36
2016-12-24T00:30:51
C++
UTF-8
C++
false
false
1,131
h
creatures.h
#include <iostream> #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include "game_object.h" class Player : public sf::Drawable, sf::Transformable, Game_Object { sf::Texture player; sf::Sprite player_r; sf::Clock frameTime; sf::Clock time; int p_width, p_height; int p_posx, p_posy; //MOTION_PARAMETERS ...
235c002506f4b9ada5cb742f36a303e9caec270c
e9e74fdbdede5f39b26782df201780f2a5d10ed9
/cpp/TestStaticLib/staticlib.h
6ac1df4105015a42a4fb9a4de91ed6183d7d73ec
[ "Apache-2.0" ]
permissive
wangxiaobai-dd/MyRep
d6258f4d472243f82540fbb0c750117059dc1c0c
f33132868d8520971174bdfd8976587309c4faef
refs/heads/master
2023-04-09T12:32:59.987183
2022-10-16T08:41:20
2022-10-16T08:41:20
248,949,848
0
0
Apache-2.0
2023-02-25T07:31:23
2020-03-21T10:06:33
C++
UTF-8
C++
false
false
62
h
staticlib.h
#include <iostream> struct Test { int a = 0; int b= 0; };
460fdd2420fa20de0ecf130e4d91cd82842d288b
4d27e90f74ef452619a3abba488b902389b6a733
/mesh.cpp
7b2088c91f02aa710fcfe1fce853a7462d449867
[]
no_license
tshih5/CS130-raytracer
e4414c1e8bb8f626d8a098cb02cc1ca7764342cd
5b238c6c103bc85f3c93958aab65de9a90a83612
refs/heads/master
2020-12-19T10:49:22.694235
2020-10-13T20:33:17
2020-10-13T20:33:17
235,711,180
0
0
null
null
null
null
UTF-8
C++
false
false
4,516
cpp
mesh.cpp
#include "mesh.h" #include <fstream> #include <string> #include <limits> // Consider a triangle to intersect a ray if the ray intersects the plane of the // triangle with barycentric weights in [-weight_tolerance, 1+weight_tolerance] static const double weight_tolerance = 1e-4; // Read in a mesh from an obj file. Po...
4c4205c2cd8edbc682510be15cf589d706dc30a1
ad408c6244d3474d7631acbbf38476a16ff80730
/LaonSill/src/sess/MessageHeader.h
8d1a7acc2c724bff9d7be5b8a9753b2fc41a5aed
[ "Apache-2.0" ]
permissive
alice965/LaonSillv2
e229cc9351bd4befb23a50820108f489125e18e7
826f664d5fd8a8625f2abfb9cd566e4f700c16d1
refs/heads/main
2023-02-16T16:57:06.699971
2020-11-30T06:44:43
2020-11-30T06:44:43
354,684,554
1
0
null
2021-04-05T01:25:49
2021-04-05T01:25:43
null
UTF-8
C++
false
false
1,511
h
MessageHeader.h
/** * @file MessageHeader.h * @date 2016-10-20 * @author moonhoen lee * @brief * @details */ #ifndef MESSAGEHEADER_H #define MESSAGEHEADER_H #include "common.h" // Serialize시 packet 구성 // |---------+--------+------------------------------------------| // | MsgType | MsgLen | MsgBody ...
3b57ed334754cc287c44c3da46681c5cb10e0a6a
310f141298e1ef654cc0bf008f3d7302d204bf15
/main.cpp
181b5858a486e63b5fb5fc7afa8a9bba09ebf6a6
[]
no_license
AnaCrisOliver/System_API
dc5217e6f7ddeade1d5ebbe8ab1f6f4785949482
3590b477f3e15bd25cc80ed412590c39d8533f52
refs/heads/master
2023-04-12T00:46:08.535354
2021-04-28T21:32:51
2021-04-28T21:32:51
186,177,972
0
0
null
null
null
null
UTF-8
C++
false
false
568
cpp
main.cpp
#include <iostream> #include "system.h" #include "systemimpl.h" #include "modelimpl.h" #include "flowimpl.h" #include "systemimpltest.h" #include "modelimpltest.h" using namespace std; int main() { SystemImplTest test1; ModelImplTest test2; System *s = new SystemImpl(); test1.unit_set_e...
81b7c584227a5d01fff7102df250a08b64ab0fe2
9c3f589331082b47ac3cba22e199a377c39ce186
/stickman_drawer/stickman.hpp
30e3fcd7a64174c2e1c5743c729abf60543fc565
[ "MIT" ]
permissive
JustLuoxi/textured_avatars
204bc7b1c1c3292e81fa8cf8e520bc8810da33c0
114e94e92ee0a84e2757a4223edfe8b2b4de3ec5
refs/heads/master
2022-04-27T03:57:15.148538
2020-03-20T18:50:11
2020-03-20T18:50:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,808
hpp
stickman.hpp
#include <iostream> #include "lists.hpp" #include <math.h> #include <algorithm> #include <array> //#define GLOBAL_Z_MIN 100 //#define GLOBAL_Z_MAX 500 using namespace std; struct PointT { float x, y; }; struct LineT { float x1, x2, y1, y2, z1, z2; }; class StickmanData_C { int _n = 4; // int _len[4]={1...
74861f53012185d453f55527c178cc7c5fb70e0c
f8d4611e0d37cbe7a3fda574a2ffa338fc954486
/Source/CatSandbox/Http/HttpRequest.h
00bcb5c2eb909320d850781847879e2e6b421c9e
[]
no_license
blockspacer/UnrealEngineExamples
15424bfad20373f8409d6d962a35802d2fbe043a
88b4d75fbbaa9189d391317e76c38457f57d4e7f
refs/heads/master
2021-01-05T07:30:53.806583
2018-07-02T12:45:10
2018-07-02T12:45:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,195
h
HttpRequest.h
#pragma once #include "Object.h" #include "Runtime/Online/HTTP/Public/Http.h" #include "HttpResponse.h" #include "HttpRequest.generated.h" UCLASS(BlueprintType, Blueprintable) class CATSANDBOX_API UHttpRequest : public UObject { GENERATED_BODY() DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FHttpResponseD...
37215d43cf60089cc7cb6d94272726d179230849
ff142cfb461d748846fab7a9779b6c2ab9fd29d0
/src/chrono/physics/ChLinkLinActuator.h
c92fab5dd357df9a59d05548eb5421a0762c8fd4
[ "BSD-3-Clause" ]
permissive
cecilysunday/chrono
f739749153d40973c262c5b060b1a7af7c5ce127
903463bd5b71aaba052d3981eb6ca8bf3c3eab4f
refs/heads/develop
2022-10-17T05:48:56.406791
2022-05-04T16:00:10
2022-05-04T16:00:10
154,656,858
3
0
BSD-3-Clause
2020-11-04T17:47:40
2018-10-25T11:07:38
C++
UTF-8
C++
false
false
4,268
h
ChLinkLinActuator.h
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
e4b16a6af559308380beaf95724b89d188aed066
49891f785685ae24d60830d25a6275da7a792310
/src/RcppExports.cpp
a0abccc2c913b5c5d7637656a731d294af6b63ba
[ "MIT" ]
permissive
rettopnivek/seqmodels
a8a7fb57fc22dac8fa12e093ef0ba82d3cbcc1b8
2fc1456074b030898f964f93d1edfb04191f198c
refs/heads/master
2021-01-10T05:09:30.201092
2020-04-27T20:04:18
2020-04-27T20:04:18
52,176,011
1
0
null
null
null
null
UTF-8
C++
false
false
19,324
cpp
RcppExports.cpp
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; // remg Rcpp::NumericVector remg(int n, Rcpp::NumericVector mu, Rcpp::NumericVector sigma, Rcpp::NumericVector lambda); RcppExport SEXP _seqmodels_re...
b3e227317f6cb7797cabf26423d162ad399f1e91
bc82d84ac41ab082caa97b739f23bee6cbd613ac
/Massive/Massive/MyForm.h
01323874583922d9cb5fa6ba73854eb0c0a252ff
[]
no_license
eliseev17/MyCode
2b63e1fbcbf90155fe2282e723d6884903e38d17
0b104350b5285505be654af878fc9ddffb24b4f6
refs/heads/master
2020-04-07T18:10:47.033743
2018-11-21T20:11:54
2018-11-21T20:11:54
158,600,079
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
36,974
h
MyForm.h
#pragma once #include <random> #include <cmath> namespace Massive { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::IO; ...
56efdc1c4aeccc1225d6211fa0e5af22e782ac66
dd1385ee93b0135f53c705f9d89f7936390a8fd8
/src/resources/resources.h
705bb5c16e0549f9ae5640a8b8a0650efcf2c6ce
[]
no_license
catompiler/celestial-battle
fcceff6d1551398bda97a62930295986d1217281
1998c50867317d71326caec54ecbc47749f71445
refs/heads/master
2016-09-05T09:51:32.493447
2015-05-09T16:47:44
2015-05-09T16:47:44
35,336,270
0
0
null
null
null
null
UTF-8
C++
false
false
15,774
h
resources.h
#ifndef _RESOURCES_H #define _RESOURCES_H #include <assert.h> #include <string> #include <map> #include <list> #include <iterator> #include "engine/engine.h" #include "resptrs_types.h" #include "typelist/typelist.h" #include "reader.h" ENGINE_NAMESPACE_BEGIN class Resources { public: typedef tl::makeTypeL...
8b3a0959dea2d9a4f1dbe75503a413e1510aec47
61c49d20245da7c4af2bf745978997eafae76350
/c-plus-plus-como-programar/cap-6-funcoes-recursao/sobrecarga_funcoes.cpp
22dac5d12bd8fe72a1b8b34f1dcb60dca1eba463
[]
no_license
virginiasatyro/c-plus-plus
c71c59a1cb75ff36d116e72a70cd226cdebc68d8
69a57494fc2a82dc3285b93798f9ec8210d8057f
refs/heads/master
2022-11-24T10:50:22.741089
2020-07-28T22:46:00
2020-07-28T22:46:00
147,515,932
1
0
null
null
null
null
UTF-8
C++
false
false
738
cpp
sobrecarga_funcoes.cpp
/*********************************************************************************** * File: sobrecarga_funcoes.cpp * C++ * Author: Virgínia Sátyro * License: Free - Open Source * Created on 2020 April * * Funcoes sobrecarregadas. ********************************************************************************...
86ab50913fc490fe4b4421a9735860a95d8b2d88
b843121078c3d43753654d84e26f815c63b49f74
/aviTypes.h
0f4e731674c29a39d7ae9f486e087043069b3010
[]
no_license
jzeeck/aviConverter
950d4016eec9c2c12f9f853e85f16524c4e80345
ef2bfdb06c80fc959181b0ffdae9cdbf69a678ad
refs/heads/master
2016-08-04T13:43:05.385800
2014-01-22T12:50:47
2014-01-22T12:50:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,304
h
aviTypes.h
#ifndef AVI__HEADER #define AVI__HEADER #include <iostream> #include <string> using namespace std; //Raw Data Types typedef uint8_t BYTE; // 1byte typedef uint16_t WORD; // 2bytes typedef uint32_t DWORD; // 4bytes typedef uint8_t SIZE[4]; typedef uint32_t FOURCC;// 4bytes //Static values static const DWOR...
01fb08e294680b999ed17e5301f7335a7da40320
803c63295eb7c5793bca40f6a2572704013ec31e
/NOI/NOI2009/treapmod.cpp
7937f6c734ad725edfbf9e93f233af67f7e59bda
[]
no_license
dxmtb/OICodeShare
59587e3560e188e7d5332ba6fd5b54e7639f1866
3b4cc940e4819abcea3c513c4d555fea87ffc1f0
refs/heads/master
2016-08-07T12:46:49.748565
2013-05-17T05:19:59
2013-05-17T05:19:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,102
cpp
treapmod.cpp
/* * Problem: NOI2009 二叉查找树 * Time: 2011.06.13 * Author: dxmtb * State: Solved * Memo: 树形dp */ #include <cstdio> #include <algorithm> using namespace std; const int MAXN=75; const int oo=0x7fffffff; struct Node { int data,w,f; }node[MAXN]; inline bool operator < (const Node &a,const Node &b) { return a.data<b...
a0c4b92247acb474ca549a505ff61d661b3a8aba
43220f87a527e4b143e5969346c987a97e1e25bb
/semestr2/6_2/set_2.h
5637aa9db4defba5f0e0ad350a8ad29e4bf1b399
[]
no_license
TatianaZ/homework
9c5b532e523a4a39ba1daee8c21e679a2c81ba41
6050110edca0af5a7afa2a48e2926a9f59efd73c
refs/heads/master
2020-05-17T23:29:26.017717
2013-12-22T18:58:11
2013-12-22T18:58:11
3,537,314
2
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,890
h
set_2.h
#pragma once #include <iostream> /** @brief класс множество элементы организованны в видем списка @param element элемент множества *next указатель на следующий элемент */ template <typename T> class Set { public: /** @brief конструктор */ Set():next(NULL){} /** @brief конструктор...
5b1b6862b04bfa3465ce1ae6175cc91404743ed9
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/fluidisedBed/0.59/pMean
7cd4d3e556c4327fc581e4e11bdd2559907cbf8d
[]
no_license
pyotr777/openfoam_samples
5399721dd2ef57545ffce68215d09c49ebfe749d
79c70ac5795decff086dd16637d2d063fde6ed0d
refs/heads/master
2021-01-12T16:52:18.126648
2016-11-05T08:30:29
2016-11-05T08:30:29
71,456,654
0
0
null
null
null
null
UTF-8
C++
false
false
46,374
pMean
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
08c130777490917e99187e24bb9b192a8631a1c7
900ac54ee1b249b52e55504148f14ea2cd964b10
/Sources/Solver/Mitosis.Formatters/DeSerializingPoleUpdater.h
eb5050df8008e6bca427ccc6014a48c411b05904
[ "MIT" ]
permissive
m-krivov/MiCoSi
1d5bf248bcd7908837aeee3a1fb4c7827d94dd1e
a0f32bacb2e09f23518a5629b4ccc2ca27e67209
refs/heads/master
2021-09-10T04:48:53.927491
2021-08-27T10:56:34
2021-08-27T10:56:34
165,875,825
4
0
null
null
null
null
UTF-8
C++
false
false
635
h
DeSerializingPoleUpdater.h
#pragma once #include "Mitosis.Objects/Pole.h" class DeSerializingPoleUpdater : public IPoleUpdater { public: DeSerializingPoleUpdater() = default; DeSerializingPoleUpdater(const DeSerializingPoleUpdater &) = default; DeSerializingPoleUpdater &operator =(const DeSerializingPoleUpdater &) = default; ...
93b54722ad95c89fb8f6facc2d92b72439ff47a6
5631f368f153a855fbc1bbc59bf2217f88681d50
/eccezionebacca.h
564dce8cac4054d79978eb901292dfeb03d2c85e
[]
no_license
piaz97/monsterKalk
77f4214ca4310e04a45a0b3c535378b87de123be
27d2153b9c6a7461f2197d3a95e87e18616ccd1f
refs/heads/master
2020-03-29T02:10:16.154250
2018-09-19T10:12:55
2018-09-19T10:12:55
149,423,468
0
1
null
null
null
null
UTF-8
C++
false
false
236
h
eccezionebacca.h
#ifndef ECCEZIONEBACCA_H #define ECCEZIONEBACCA_H #include "eccezione.h" class EccezioneBacca:public Eccezione{ public: EccezioneBacca(std::string messaggio=""); std::string getMessaggio() const; }; #endif // ECCEZIONEBACCA_H
d203c17a65a232e0e3d2a02c54233e8d6205ae88
5de7df0be411b4bad61f927cae845bdb8223308f
/src/libs/vtkh/rendering/VolumeRenderer.cpp
71bea3ea356afaf3e1a8ef56de9f88af72705b24
[ "BSD-3-Clause", "Zlib" ]
permissive
Alpine-DAV/ascent
cb40429167a93c62f78fe650a0121258be279162
e52b7bb8c9fd131f2fd49edf58037cc5ef77a166
refs/heads/develop
2023-09-06T07:57:11.558238
2023-08-25T16:05:31
2023-08-25T16:05:31
81,366,855
151
61
NOASSERTION
2023-09-13T19:31:09
2017-02-08T19:21:22
C++
UTF-8
C++
false
false
25,276
cpp
VolumeRenderer.cpp
#include "VolumeRenderer.hpp" #include <vtkh/utils/vtkm_array_utils.hpp> #include <vtkh/compositing/Compositor.hpp> #include <vtkh/Logger.hpp> #include <vtkm/rendering/CanvasRayTracer.h> #include <memory> #ifdef VTKH_PARALLEL #include <mpi.h> #endif #include <vtkm/cont/ColorTable.h> #include <vtkm/rendering/Conne...
bd2d9a3e482f76637080576507aa4583e397a594
e1315b89ffe93ca1646b4efd5f339e83e891ee36
/Physics.h
8c0356cce55e20e76dc973fe89c59497fca17fe0
[]
no_license
eriytt/helo
8eb323dee3292a31475b0ede45862fd10bd25fc9
9eb36d1c158b32ebf5fe5d3c58241524ed808ce4
refs/heads/master
2021-05-08T15:59:19.347940
2015-07-14T18:51:39
2015-07-14T18:51:39
120,135,718
1
0
null
null
null
null
UTF-8
C++
false
false
3,073
h
Physics.h
#ifndef PHYSICS_H #define PHYSICS_H #include <vector> #include <Ogre.h> #include <btBulletDynamicsCommon.h> #include "Thread.h" class HeloMotionState : public btMotionState { protected: btTransform worldTrans; btTransform offset; Ogre::SceneNode *snode; bool dirty; public: HeloMotionState(const btTransf...
8fe19702f8fbd471203f40448bd8167d242c205a
a8f8d2d00584e339582725e8e92328938f4a3cb1
/LatticeStatics/mex/Energies.cpp
8617e36c5fdfd276d58b32856f043909b7181f1a
[]
no_license
gvsureshreddy/LatticeStaticsPackage
c78586839c7b4bec22e5bfcdc7ed5702137c4af6
e3cd7b6e013d21ff734a86a38133358bcfc01518
refs/heads/master
2021-08-23T07:35:26.950556
2017-02-15T04:20:01
2017-02-15T04:20:01
112,993,974
0
0
null
null
null
null
UTF-8
C++
false
false
1,571
cpp
Energies.cpp
#include "mex.h" #include "PerlInput.h" #include <Matrix.h> #include <Vector.h> #include "KnownLattices.h" #define param0 8 #define param1 8 #define param2 24 #define totparams 40 // RadiiMorse has 8 parameters // [A0, AT, B0, BT, Rref1, Rtheta1, Rref2, Rtheta2] // Lat0 -- FCC Ni; Lat1 -- FCC Ti; Lat2 -- B2 NiTi voi...
9d24c0a4427e0fea22190f37a1e2f35b8431cfcf
06e3a51780fe6906a8713b7e274a35c0d89d2506
/qtmdsrv/leveldbbackend.h
52227a4c78e4ef47659e0415467e54f97888656d
[]
no_license
ssh352/qtctp-1
d91fc8d432cd93019b23e7e29f40b41b1493aceb
248d09e629b09cbe1adbf7cd818679721bf156d0
refs/heads/master
2020-04-01T16:55:31.012740
2015-10-27T15:56:02
2015-10-27T15:56:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,296
h
leveldbbackend.h
#ifndef LEVELDBBACKEND_H #define LEVELDBBACKEND_H #include <QObject> namespace leveldb { class DB; } class LevelDBBackend : public QObject{ Q_OBJECT public: explicit LevelDBBackend(QObject* parent = 0); ~LevelDBBackend(); void init(); void shutdown(); leveldb::DB* getTodayDB(); leveldb::D...
9961152d62e939bebbb126bbbce5415863f017d6
f535eaca6e51b35c3bdbed16090be6694f4fcc82
/聊天室/server/main.cpp
ae00e8540eda23dc4a61c8e98a3f3f706dfadf75
[]
no_license
mubai-victor/project
61736495a05424a9c7b4a2c42a3dd234ad766f00
adb5c0b639a49e1ed1aa56e15a8485119fe111cc
refs/heads/master
2022-12-10T19:32:04.812484
2020-09-12T07:14:42
2020-09-12T07:14:42
290,642,415
0
0
null
null
null
null
UTF-8
C++
false
false
7,725
cpp
main.cpp
#include <iostream> #include <bits/stdc++.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <pthread.h> #include <stdlib.h> #include <unistd.h> #include <iostream> #include "mysql.h" #include <list> #include <unordered_map> using namespace std...
e4b78bfe666bd030ebb378bac39668939b6b9b1f
0e795a2b435ddf87df66dd00bf7020d032f9d8bd
/src/deploy/ssd_model.h
f9a759a740a70c51121190173c8614b7b508610f
[]
no_license
pppppM/mmdetection-tvm
a1a038d671ca78c0bb82da4dd3781d987db011f4
bdb3090dc59b052da32687d6853d3dd2fe2d6d05
refs/heads/master
2022-12-02T04:14:28.341519
2020-08-22T23:17:32
2020-08-22T23:17:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,306
h
ssd_model.h
#include <stdio.h> #include <opencv2/opencv.hpp> #include <tvm/runtime/module.h> #include <tvm/runtime/registry.h> #include <tvm/runtime/packed_func.h> #include <cstdio> constexpr char kLibSoFileName[] = "ssd_lib.so"; constexpr char kGraphFileName[] = "ssd_graph.json"; constexpr char kParamsFileName[] = "ssd_param.par...
a7e549c238853fc4c7451871d636dbadb3a224d5
a06f362b431d0255411e30cb95dbe14750d64dad
/Calculator.cpp
d2f5f98b0e4f0cb40e8de71aa96d9d434e4367cc
[]
no_license
MrZloHex/roman_calculator
30c2edc5d911ed1ccfbed64ecc599594d6798d3e
75d2e32d9a951ba1199575036b20dd60274ca259
refs/heads/main
2023-06-15T18:03:35.515103
2021-06-29T18:23:03
2021-06-29T18:23:03
382,953,358
1
0
null
2021-07-04T21:41:02
2021-07-04T21:41:02
null
UTF-8
C++
false
false
4,853
cpp
Calculator.cpp
#include "Calculator.h" #include <iostream> int Calculator::OperatorPriority(const std::string &ch) { if (ch == "+" || ch == "-") { return 1; //Precedence of + or - is 1 } else if (ch == "*" || ch == "/") { return 2; //Precedence of * or / is 2 } else if (ch == "^") { return 3; //Precedence of ^ is ...
490e510b9747ad9b615c9c597c93a4aa90dbe8eb
b11f71cdacb190426e1be64414855d1b3062fde2
/App/rational.h
9ecec29dfd05bda09a613752e7d369f52e883393
[]
no_license
AngelOfSol/dress_app
be661fb0807f782dd5723784c9033ee5680f5628
fc5b81e0b523be8ce0fa47c825df97703244a0ba
refs/heads/master
2016-09-06T08:13:43.151199
2015-02-02T01:16:56
2015-02-02T01:16:56
28,242,511
0
0
null
null
null
null
UTF-8
C++
false
false
7,437
h
rational.h
#pragma once #include "math.h" #include <string> #include <boost\regex.hpp> #define DEBUG template <class IntType> class Rational { public: Rational(IntType numerator, IntType denominator):numerator_(numerator), denominator_(denominator) { this->rationalize(); #ifdef DEBUG this->value = (long double)this->numer...
2867a630c2e6048e2745d4ff7c9fe0ffd439316e
d23e594e88dcf907ed9ce1dc28d4c89803ca98e3
/src/iFuseOper.cpp
5b80f4043b89d151f6d63880ddbf006dbb02a0eb
[]
no_license
cyverse/irods_client_fuse
f3465bade36a079d9b39ffb2c3cf08833d0dd5be
834c42bfb01b5561c36cb013b2c0acf49c091888
refs/heads/master
2021-01-11T20:51:34.577972
2020-11-24T19:19:57
2020-11-24T19:19:57
79,190,231
0
1
null
2017-01-17T05:01:12
2017-01-17T05:01:12
null
UTF-8
C++
false
false
24,409
cpp
iFuseOper.cpp
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* Copyright 2020 The Trustees of University of Arizona and CyVerse Licensed under the Apache License, Version 2.0 (the "License" ); you may not use...
643860465a670284970b3ebd5c07c96ef5d5dbac
ba649a3c5666bbc3f7d95c1c029ac4e9cacd9655
/ImageMagic/ImageHandler.cpp
1964c2782275e9a8d30cf20cc882a329a3b58923
[]
no_license
Neo-T/MachineVisionLib
45de172947ea9a216121aa3a08b00e6625c5a15a
ab0e7692dfb9541e903a590f895f623faff7a7c2
refs/heads/master
2021-06-03T18:23:38.462418
2020-11-05T08:14:20
2020-11-05T08:14:20
131,290,811
12
9
null
null
null
null
GB18030
C++
false
false
6,295
cpp
ImageHandler.cpp
#include "stdafx.h" #include <stdio.h> #include <string.h> #include <io.h> #include <vector> #include "common_lib.h" #include "MachineVisionLib.h" #include "MathAlgorithmLib.h" #include "ImagePreprocess.h" #include "ImageHandler.h" static void EHImgPerspecTrans_OnMouse(INT nEvent, INT x, INT y, INT nFlags, void *pvIPT...
1e94904e59cbdac48f060bbca62059970689c274
0c3bba7e9f749c60f1703448a1d7ca308e1b6e1d
/torches.cpp
e924e42c9192cdcb5dca424660c56d1e4ae65af5
[]
no_license
theodorekwok/codepractices
06cdc43b1719a15fd47b61bf39cb4ac8f41875b5
9f4b18bbe812b7dcc5b8408fb9f269253a63428b
refs/heads/main
2023-03-19T00:15:13.359117
2021-03-12T14:49:12
2021-03-12T14:49:12
347,092,280
0
0
null
null
null
null
UTF-8
C++
false
false
440
cpp
torches.cpp
#include <bits/stdc++.h> #define ll long long using namespace std; void solve(ll x, ll y, ll k) { ll num_sticks_for_coal = y * k; ll total = num_sticks_for_coal + k; ll trades = (total - 1) % (x - 1) == 0 ? (total - 1)/(x - 1) : (total - 1)/(x - 1) + 1; cout << trades + k << '\n'; } int main() { ...
d22b5804de51e41b4b5e5b4d10889291aaac1262
b081cb2c14c69be0c5e0feb437c5f8a50be70787
/Typeable.h
5ae0037a835bcca27c91dbcc95515a8e734e785f
[]
no_license
konchunas/minicraft-psp
9747239fb941ecd67ac90ec47a4b61b7b42e9b6d
532a935da0253f7820dd75ce87012db649fe0b75
refs/heads/master
2020-04-13T14:35:25.467035
2015-01-09T21:52:26
2015-01-09T21:52:26
13,645,390
9
2
null
null
null
null
UTF-8
C++
false
false
472
h
Typeable.h
#ifndef TYPEABLE_H_ #define TYPEABLE_H_ enum ClassType { UNDEFINED, MOB, PLAYER, TOOL_ITEM, RESOURCE_ITEM, POWERGLOVE_ITEM, FURNITURE_ITEM, FURNITURE, AIR_WIZARD }; //this class is intended to replace java instainceOf function using predefined enums class Typeable { public: bool instanceOf(ClassType t) { ...
0dfc3339f5ece350e4ad2addadc30f2b35a31b13
311525f7de84975434f55c00b545ccf7fe3dcce6
/online/cf/244/match_and_catch.cpp
43281bd22e4cb6f27065b6b0e8a0feb0cf5853a0
[]
no_license
fishy15/competitive_programming
60f485bc4022e41efb0b7d2e12d094213d074f07
d9bca2e6bea704f2bfe5a30e08aa0788be6a8022
refs/heads/master
2023-08-16T02:05:08.270992
2023-08-06T01:00:21
2023-08-06T01:00:21
171,861,737
29
5
null
null
null
null
UTF-8
C++
false
false
2,971
cpp
match_and_catch.cpp
/* * We can create the suffix array for s1$s2. If there is a unique common substring between the two strings, * they have to be next to each other in the suffix array. We can also use the LCP array to compare on both * sides to see if the common substring is longer than adjacent common substrings (which would mean t...
283b7bc69d8f43a3e0c35e7d79951c0119d85e3e
d390a36a08e0b2bd3b6235749b81b95e36128784
/Dxproj/Sound/AudioComponent/ListenerComponent/ListenerComponent.h
9e7b91835afdae17dbd2c13c1854b5385468fdee
[]
no_license
hasepon/XAudio2Test
4214f7c8ca78aa5add5343468d49b52e9113e6df
f0d9be75dc48edbc2f761e3aed5d03d2f1e77039
refs/heads/master
2021-08-23T09:08:48.912090
2017-12-04T12:29:10
2017-12-04T12:29:10
81,212,809
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
595
h
ListenerComponent.h
#pragma once class CSoundComponent; #include"../../Sound.h" #include"../SoundComponent/SoundComponent.h" #include"../../../Calculation.h" #include"../../XAudio2/X3DAudio/X3DSound/X3DSound.h" /* * * CListenerComponent * リスナーを設定する用のComponent * */ class CListenerComponent : public CSoundComponent { public: CListenerC...
9edd8786cca997dce080990b9c8e2ab57c4bb143
af5e6a7b02262edb9512deddc00a3d85e66792af
/MyCppGame/Classes/src/FlameEmitter.cpp
9185440544841f9da674040874a1131d9a15e3c7
[ "MIT" ]
permissive
ChristopherBuggy/FYP
0f72905d402ac448c6be3838cebc2d761abee0de
bc5edcd8396ca48ac217f8ee876c09b7ef298708
refs/heads/master
2021-01-10T18:20:38.338627
2016-04-25T08:27:53
2016-04-25T08:27:53
45,679,206
0
0
null
null
null
null
UTF-8
C++
false
false
3,421
cpp
FlameEmitter.cpp
#include "FlameEmitter.h" USING_NS_CC; FlameEmitter::FlameEmitter(GameStates & gameState) : m_gameState(gameState), m_touched(false) { } FlameEmitter * FlameEmitter::create(Vec2 position, GameStates & gameState, int i) { std::shared_ptr<GameData> ptr = GameData::sharedGameData(); auto spritecache = SpriteFrame...
45742500f41d08fda07e3e1ef02ad36d727dc593
9a1314af456bee446bc3dd6bf49a4be51599ebe9
/rem/rem.cc
03e21533c148fae6cf686f6bfc0fa82a9857e2d7
[]
no_license
joshrands/adhoc-routing-framework
614808b86a3045baf2bf0bea24cb3d0bbf016b34
ba26544cdcb271d298f084190d5ce744ede909b8
refs/heads/master
2021-06-24T13:58:08.944846
2021-02-12T16:10:07
2021-02-12T16:10:07
205,958,978
2
2
null
2020-10-26T17:09:55
2019-09-03T00:48:10
C++
UTF-8
C++
false
false
8,469
cc
rem.cc
#include "rem.h" #include "assert.h" #include <chrono> #include <ctime> #include <string.h> void REM::initialize(IP_ADDR parentIp) { m_parentIp = parentIp; simStartTime = this->_getCurrentTimeMS(); if (REM_DEBUG) cout << "[DEBUG]: Initializing REM monitoring service for node " << getStringFromIp(m...
400898967a3ce2252e3567ee2e7ad17a18645bfe
41823c261082cc74037f56be62996600422fe518
/ world-opponent-network/wonapi/WONLobby/LanTypes.h
2ffab1c7799f2580d2607f35fe176000095ffbc5
[]
no_license
ECToo/world-opponent-network
90adf14ca8b324898a1f0b2202c1cfb2b4bdeb03
fbb35876ae26006606d07b6297d557bd53234066
refs/heads/master
2021-01-25T07:40:21.063935
2014-05-16T16:02:54
2014-05-16T16:02:54
32,217,407
0
1
null
null
null
null
UTF-8
C++
false
false
1,241
h
LanTypes.h
#ifndef __WON_LANTYPES_H__ #define __WON_LANTYPES_H__ namespace WONAPI { /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// enum LanBroadcastMsgType { LanBroadcastMsgType_GameInfo = 1, LanBroadc...
2cf35643a76e7df63cab124a198f28ca309af532
71234b346984f6cf5fdeb8d6d3fe9440a04bb1c8
/NxtLibrary/connection.h
7a7f5aa551935042ae1fc9ba2239f2a8577c70e6
[ "MIT" ]
permissive
fvigneault/NXT-FTL
a4c1d0441f064c97912a02417adbb79dea5b9fc7
86585f228ca0af1802a1def47b5240d5ade8bb6b
refs/heads/master
2020-03-17T11:52:03.217004
2018-04-12T15:12:34
2018-04-12T15:12:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,186
h
connection.h
#ifndef CONNECTIONH #define CONNECTIONH #include <string> #define NXT_BUFFER_SIZE 64 using namespace std; /** * Connection type enumeration @see Connection#get_type */ enum Connection_type { /** * Bluetooth connection */ BT = 0x00, /** * Network connection */ NXT_NETWORK = 0x0...
32198ba365062df94a5912ee0cccea205b9042cd
7da4022520c45e170458368b6c073ad7b8298b64
/546A.cpp
aa2c9362feaf5f87bcf814ef61827acb742d4e93
[]
no_license
SebastianCD/coding-problems
a997c55924e34cb7f97617c35cbff9e8c589fc11
8bc24796cabdb391c0dd5e7baba0af4671573f8e
refs/heads/main
2023-08-03T22:49:56.045656
2021-09-18T02:34:03
2021-09-18T02:34:03
405,277,548
0
0
null
null
null
null
UTF-8
C++
false
false
203
cpp
546A.cpp
#include<bits/stdc++.h> using namespace std; int main(){ long long int n, m, k; cin>>n>>m>>k; k=(k*(k+1))/2; k=k*n; if(k-m>0){ cout<<k-m<<endl; } else{ cout<<0<<endl; } return 0; }
2d6a2c993e721d5534239a9eca45a2f1e333d21d
d8e7a11322f6d1b514c85b0c713bacca8f743ff5
/7.6.00.32/V76_00_32/MaxDB_ORG/sys/src/SAPDB/SQLManager/Catalog/Catalog_ICallBack.hpp
dcdd4df7f82acc18cf1881fd964486437574ff4b
[]
no_license
zhaonaiy/MaxDB_GPL_Releases
a224f86c0edf76e935d8951d1dd32f5376c04153
15821507c20bd1cd251cf4e7c60610ac9cabc06d
refs/heads/master
2022-11-08T21:14:22.774394
2020-07-07T00:52:44
2020-07-07T00:52:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,482
hpp
Catalog_ICallBack.hpp
/*! @file Catalog_ICallBack.hpp @author ThomasA @brief callback interface for catalog iterators @ingroup Catalog \if EMIT_LICENCE ========== licence begin GPL Copyright (c) 2000-2005 SAP AG This program is free software; you can redistribute it and/or modi...
941d678e9cc0794918065a11d9449f39c286c9ed
3656678dc7d03f91300de4e3a7a1ace9792fb512
/upstairs/upstairs/源.cpp
5257126569530ffede0ac91158349f8e66725b77
[]
no_license
changtingwai/leetcode
ed29d32c7a3f8d93253066bb053726a668cc788d
5b0eca6fd65b522db02776a36ad442cc858b0530
refs/heads/master
2021-01-10T13:31:34.933142
2016-03-10T03:06:34
2016-03-10T03:06:34
53,551,534
1
0
null
null
null
null
UTF-8
C++
false
false
570
cpp
源.cpp
#include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: bool containsDuplicate(vector<int>& nums) { if (nums.size()==0) return false; set<int> hs; int i; for ( i=0;i<nums.size();i++) { if(hs.count(nums[i])) { return true; } el...
af199afcba8736e45f833fd196621fb5a702bbd0
fa652de84a51ec3a4e749caafe61af9279702351
/gac1.cpp
40d57f398a5e12b405edd94a68187bea0a6e212d
[]
no_license
sunny30/gcj
20bc5bdaa1f417fb25be005b092c36b2287d0792
da752debb551d64f34d611941fa926a4caeeacb1
refs/heads/master
2021-01-23T11:49:43.010594
2015-03-22T21:44:22
2015-03-22T21:44:22
32,696,880
0
0
null
null
null
null
UTF-8
C++
false
false
837
cpp
gac1.cpp
#include<stdio.h> #include<stdlib.h> #include<algorithm> #include<vector> #include<string> #include<string.h> #include<set> #include<map> #include<fcntl.h> #include<stack> #include<queue> #include<iostream> using namespace std ; typedef int64_t LL ; int main(){ FILE *fp = freopen("1.in","r",stdin) ; FILE *fp1 =freo...
71ccef4523f9ab3811bdae9325df03c53eca7d2c
79d3f311e5407280a5db0469e0c01cb5b7cb27f6
/src/ShadertoyJSON.h
1e5d8379b6e2f084eaccc362b87fc87696b44ac3
[ "MIT" ]
permissive
kuzy000/runfragment
0e102b2adb71ece4d8c6ec9fca43b294da8cda9c
569195eeca11c80051e254c13bf1e7cd9dc7b829
refs/heads/master
2020-04-10T15:52:45.499674
2016-10-06T00:18:15
2016-10-06T00:18:15
51,010,407
6
0
null
null
null
null
UTF-8
C++
false
false
2,204
h
ShadertoyJSON.h
#pragma once #include <vector> #include <rapidjson/document.h> namespace RunFragment { struct ShadertoyJSON { const std::string ver; struct Info { const std::string name; const std::string username; Info(const rapidjson::Document::ValueType& d) : name {d["name"].GetString()} , username {d["userna...
fc31edcd3dcf77a69885cf85735eed4394b300a6
c7e65a70caf87041afd27441fe45eac85e8cd1e4
/apps/hls_examples/fanout_hls/pipeline.cpp
9bdf3819c408961afdca9bcd2aa5a67566c444a9
[ "MIT" ]
permissive
jeffsetter/Halide_CoreIR
adb8d9c4bc91b11d55e07a67e86643a0515e0ee6
f2f5307f423a6040beb25a1f63a8f7ae8a93d108
refs/heads/master
2020-05-23T18:06:27.007413
2018-10-02T22:09:02
2018-10-02T22:09:02
84,777,366
7
1
NOASSERTION
2018-11-05T15:05:11
2017-03-13T02:50:55
C++
UTF-8
C++
false
false
2,229
cpp
pipeline.cpp
#include "Halide.h" #include <string.h> using namespace Halide; using std::string; Var x("x"), y("y"), c("c"); Var xo("xo"), xi("xi"), yi("yi"), yo("yo"); class MyPipeline { public: ImageParam input; Func A; Func B; Func C; Func hw_output; Func output; std::vector<Argument> args; MyP...
83a34a84a408c0634c14aceff8250145f2bfd7c1
386a7666e7b5418bf9c7fe2626bea45a67fcaa19
/Exhaustive_search/P69348.cc
510902724d7ba907615cf0390a1e498928f264c8
[]
no_license
sanchyy/Jutge-EDA
d6392b6f05407273561df0595b33645ea70b4b02
4d88e0a42236a05716467e49a0d89bc6f823d2fd
refs/heads/master
2021-04-28T07:05:32.074448
2018-05-28T09:54:33
2018-05-28T09:54:33
122,217,246
0
1
null
2018-05-28T06:58:50
2018-02-20T15:34:01
C++
UTF-8
C++
false
false
502
cc
P69348.cc
#include <iostream> #include <vector> using namespace std; void f(int n,int k, vector <int> &v,vector<bool> &b) { if (k == n) { cout << '('; for (int i = 0; i < n; ++i) cout << (i ? "," : "") << v[i]; cout << ')' << endl; } else { for (int i = 1; i <= n; ++i) { if (!b[i-1]){ v[k] = ...
1725b33389bd014f29816b47bd3a1722af110deb
4a603a30603d52c3167eaad39913f349f480d3e8
/algor.cpp
db1d74bdcf2c47515335572fc67b1ec4e4a93fbf
[]
no_license
Csraf/Algorithm
e1fed921f3ee42de15fb14926d2993601ba85a2f
6cb735471c422887908bd7862a99b204099c19d3
refs/heads/master
2023-05-30T22:07:32.854425
2021-07-08T12:22:52
2021-07-08T12:22:52
383,974,676
1
0
null
null
null
null
UTF-8
C++
false
false
1,262
cpp
algor.cpp
#include<iostream> #include<string> #include<vector> using namespace std; bool hashTable[11]={false}; void dfs(int index, int n, string &item, string str, vector<string> &vs){ if(index == n){ vs.push_back(item); cout<< "##### " << item << endl; return ; } for(int i=0; i<n; i++){ ...
785ff805c8f193a522e9d2fab85b77000464d64a
ee2c4386b2b6feafd06f0b767b37391f10925b88
/arrowCSVReader.cpp
0922bd5b06d161413dc20d3efe706a6062e108de
[]
no_license
mohandotyes/ApacheArrowTutorial
cdbe3fe5b0bc9258b0b913123df6af7c68a41423
bc364f75905e7de1c558c879cdc4525c77e3e7ce
refs/heads/master
2022-09-03T00:23:13.050263
2020-05-27T07:20:25
2020-05-27T07:20:25
267,248,943
0
0
null
null
null
null
UTF-8
C++
false
false
2,062
cpp
arrowCSVReader.cpp
#include <iostream> #include <vector> #include <arrow/api.h> #include <arrow/csv/api.h> #include <arrow/io/file.h> #include <string> #include <tuple> #include <arrow/stl.h> #include <algorithm> #include <arrow/util/iterator.h> #include <arrow/io/api.h> #include <arrow/compute/kernel.h> int main() { arrow::MemoryP...
cecb465c8f665e3d749b1e5355e4e5ee6e187da7
b02e12c03cd07ef829a07a25f50b8ffd6a6b7548
/src/libqdigibib/DBLibrary.h
61542a07f67f3f7320209bf002c12ab433d7a65b
[]
no_license
uly55e5/QDigibib
5fb1063c10a2dd014fbe4aab092cb77dd9701dda
2bda0c3efb7c7d1de62648a08e44fa929b94ad70
refs/heads/master
2021-01-22T07:13:37.612859
2009-08-10T22:56:02
2009-08-10T22:56:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,018
h
DBLibrary.h
/* * DBLibrary.h * * Created on: 06.08.2009 * Author: uly55e5 */ #ifndef DBLIBRARY_H_ #define DBLIBRARY_H_ #include <QObject> #include <QStringList> namespace QDigibib { class DBVolume; typedef QList<DBVolume *> DBVolumeList; ///< A List of volumes /*! \brief Manages a set of volumes from the "Digital...
2ef3efd021a800677e95dd85d71d9b2554525fbe
bd8bcdb88c102a1ddf2c0f429dbef392296b67af
/sources/Editor/EditorView.cpp
cbdec3329b07757adf673e39a95cd74fce4cf4b5
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
LukasBanana/ForkENGINE
be03cee942b0e20e30a01318c2639de87a72c79c
8b575bd1d47741ad5025a499cb87909dbabc3492
refs/heads/master
2020-05-23T09:08:44.864715
2017-01-30T16:35:34
2017-01-30T16:35:34
80,437,868
14
2
null
null
null
null
UTF-8
C++
false
false
17,557
cpp
EditorView.cpp
/* * Editor view file * * This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "EditorView.h" #include "EditorViewSceneRenderer.h" #include "EditorSelectionSceneRenderer.h" #include "Frame/Main/MainFrame.h" #include "Frame/Console/...
5671ecdb6e4e5afa08ee3986ac70b8ce56ce6fda
d7674f20a362b0cad8ffb7782785bf21a69c9fd2
/01_OLD/another_test/include/another_test/another_test.h
9578deddf656f06c9b00cfd7ce7b2baea478b738
[]
no_license
linjuk/adda_ros_multiple_cars
9f7bef20ab1490a90502464cd146b8e33476e12d
694191bf0377da8589abee773798cce4d7fbc1f4
refs/heads/master
2022-12-07T03:16:23.429104
2019-07-06T15:18:46
2019-07-06T15:18:46
145,716,743
0
1
null
2022-11-22T01:06:42
2018-08-22T13:58:32
Python
UTF-8
C++
false
false
954
h
another_test.h
#ifndef another_test_H #define another_test_H #include <ros/ros.h> #include <std_msgs/Bool.h> //include <actionlib/client/simple_action_client.h> namespace another_test{ //typedef actionlib::SimpleActionClient<bla_msgs::GoToAction> BlaActionClient; class ClassName { public: ClassName(ros::NodeHandle& nh, ros::NodeH...
0bce34bc96a6d14c5ee7a54eafdac232a779fef3
d559527977731e9990ab909e77592348e89b96ab
/inc/string.h
5139943c0df49b62d01a323a1577f7c16d4c3955
[ "MIT" ]
permissive
Southeastern-Policy-Institute/ionia
f1c92c4b413a55558cade5039d5cecd18434b45e
46adbe66104acf1f78d85b561977f05e2d00ea73
refs/heads/main
2023-07-05T22:05:54.537872
2023-06-29T05:53:00
2023-06-29T05:53:00
315,117,242
2
0
null
null
null
null
UTF-8
C++
false
false
2,113
h
string.h
/* STRING.H - Standard C Library Functions and Declarations * Southeastern Policy Institute, 2023 */ # ifndef _STRING_H_ # define _STRING_H_ # if !defined(NULL) && defined(__cplusplus) # define NULL nullptr # elif !defined(NULL) && !defined(__cplusplus) # define NULL (void*)0U # endif /* NULL */ ...
9cb9e0b64e10d34ab0f8e15a7ecaf89d97af1b54
e926bede54cbddf08870036ae478124e0a6cec77
/src/tests/unit_tests/bounding_box3_tests.cpp
e237ecf0828521e1a48523062a31120e6e6b8e64
[ "MIT" ]
permissive
doyubkim/fluid-engine-dev
2d1228c78690191fba8ff2c107af1dd06212ca44
94c300ff5ad8a2f588e5e27e8e9746a424b29863
refs/heads/main
2023-08-14T08:04:43.513360
2022-07-09T06:24:41
2022-07-09T06:24:41
58,299,041
1,725
275
MIT
2022-07-09T06:24:41
2016-05-08T06:05:38
C++
UTF-8
C++
false
false
8,732
cpp
bounding_box3_tests.cpp
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <unit_tests_utils.h> #include <jet/bounding_box3.h> using namespace jet; TEST(BoundingBox3, ...
37803811301947c94496fb789a31037c868b606e
67487d255d6d26bb93d486b14d8bf33a85ef61a2
/cpsc585/cpsc585/LaserBeam.h
37e8282fda2015057aa9e9d1027e3ea1176536bd
[]
no_license
ryosaku8/CPSC-585-Game-Project
aec2c5a1e70688ce8e4dc1f7ca5eee27ae1be2ad
2711d94c4e51a9d7dff3229b3da27d53bb7d720a
refs/heads/master
2021-05-26T20:10:20.182220
2012-04-16T18:50:22
2012-04-16T18:50:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
430
h
LaserBeam.h
#pragma once #include "Mesh.h" class LaserBeam { public: LaserBeam(D3DXVECTOR3 startPoint, D3DXVECTOR3 endPoint); ~LaserBeam(); void writeVertices(Vertex* vertexList); void update(float seconds); bool destroyed; static float vanishingSpeed; private: D3DXVECTOR3 start; D3DXVECTOR3 end; ...
30a97d7d0309e0b3992cc25265ff2c82fd0e59a3
66f57f944e93ee7c61edb2b3dc5f346bac502d3a
/CH.5 Entry3_Math/3_4 Primes/B1007.cpp
cbcf086ce07d82a3158691da4f4179968cc63012
[]
no_license
Preburnism/PAT
5fa4ace51643b0ed075d4f64443d32279a6ceb44
9cde9c7b9805d328699156169b3151276c9aef2c
refs/heads/master
2022-11-11T22:48:39.741823
2022-10-23T10:38:29
2022-10-23T10:38:29
143,695,292
0
0
null
null
null
null
UTF-8
C++
false
false
424
cpp
B1007.cpp
#include <cstdio> #include <cmath> bool isPrime(int n) { int sqr = sqrt(n * 1.0); for (int i = 2; i <= sqr; i++) { if (n % i == 0) return false; } return true; } int main() { int n; scanf("%d", &n); int count = 0; for (int i = 3; i <= n - 2; i += 2) { ...
8593091a8ebd31854f84ce687dcfaa692bbd7227
b4ede0ffe374e783c34a234198bb11f31e2499e2
/Source/MainMenuScene.cpp
b910d9d17249256908f7581ada8277ee4f989c60
[]
no_license
S3lfik/ccs2dx_smpl
a787af88a0031ede03b93e39cd14dcc7ca5090b8
ccb434bb7ee404abafe15901214f5e32107f2733
refs/heads/master
2021-01-10T16:16:03.791798
2015-11-18T13:40:23
2015-11-18T13:40:23
46,106,518
0
0
null
null
null
null
UTF-8
C++
false
false
1,722
cpp
MainMenuScene.cpp
#include "MainMenuScene.h" #include "GameScene.h" #include "SimpleAudioEngine.h" #include <iostream> MainMenuLayer::~MainMenuLayer() { } CCScene* MainMenuLayer::scene() { // 'scene' is an autorelease object CCScene *scene = CCScene::create(); // 'layer' is an autorelease object MainMenuLayer *layer = MainMenuLay...
7a88f00bf4ef229fa79f1ad76fee7c100f491001
2f4b60f961945496f91c1a8c81f28ebf07467cfc
/src/parallel_jacobi.h
5a807c7ac9b8c95a8363cbd9562ce763dc0b46e6
[]
no_license
simonhorlick/parallel-jacobi
33277c767525b423cb76e9a69e5ab987acd40e76
9b9dbb41d0c67cb243bcf0053d8219f69adb41a7
refs/heads/master
2016-09-05T23:52:34.887849
2010-04-17T10:30:54
2010-04-17T10:30:54
32,095,769
0
0
null
null
null
null
UTF-8
C++
false
false
7,385
h
parallel_jacobi.h
#pragma once #include <vector> #include <limits> #include <cmath> #ifdef enable_openmp #include <omp.h> #endif #include "matrix.h" #include "timer.h" namespace parallel_jacobi { //========================================================================== // Computes the minimum and maximum of two elements of arbi...
2edfcb3878bf609bccdef93bc08436f6e1677be2
bc0a4dc5bfca4718b348d4a1d872d5ff7205f927
/USBCA/CA_ViewER/src/demo_control.cpp
345defb963f098f437fe1c4c22a1d7eecda6ed8b
[]
no_license
adas-eye/CA378-AOIS_USB3-IFB
cdf190d4cfec9632178cbdadebbfcaef1052aad3
26b40a49b554db0567a6c468044fa7b6896af02b
refs/heads/master
2022-02-25T03:20:09.349914
2019-10-01T09:40:54
2019-10-01T09:40:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,588
cpp
demo_control.cpp
/* Copyright (c) 2017-2019, CenturyArks 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 follo...
0ccf3a8fa5e048f6f776f6d21f42ec2c148ba516
49e125a9e43d22706cea8f304e88c96dd20197ae
/Codeforces/bowow.cpp
c712614c3bb3dc36351e6eface81ae72bd07d4a5
[]
no_license
tahsinsoha/Problem-solving-
b0382b7afa539715dafb1fbc40666e4051b5f7db
7049dcc7ab9e4a59977787c2e9052055bff560a8
refs/heads/master
2023-01-06T02:35:56.822736
2020-11-04T12:15:43
2020-11-04T12:15:43
280,789,760
0
0
null
null
null
null
UTF-8
C++
false
false
608
cpp
bowow.cpp
#include<bits/stdc++.h> #define mod 1000000007 using namespace std; unsigned long long Pow(unsigned long long x, unsigned long long y){ unsigned long long res = 1; while(y>0){ if(y&1) res = (res*x)%mod ; x= (x*x)%mod; y>>=1; } return res; } int main(){ string s; cin>>s; unsigned long long sz = 0; u...
907059ea7dfd29b922af2f70e20c3ed8ab806055
6728f511ffb966da8d9c7e27c752aa318e66da54
/test/functional/steps/TriangleSteps.cpp
99df4b1bb44345cdc54292e1fc909f2e2114ebe3
[]
no_license
tkadauke/raytracer
32bf28f6a3368dc6c75a950cc929a81157b6c06d
013cf2817c925bbce763d277b8db7ebd428ae8df
refs/heads/master
2023-02-07T05:00:40.258183
2023-01-28T09:54:58
2023-01-28T09:54:58
6,061,333
2
0
null
null
null
null
UTF-8
C++
false
false
873
cpp
TriangleSteps.cpp
#include "test/functional/support/RaytracerFeatureTest.h" #include "test/functional/support/GivenWhenThen.h" #include "raytracer/primitives/Triangle.h" using namespace testing; using namespace raytracer; GIVEN(RaytracerFeatureTest, "a centered triangle") { auto triangle = std::make_shared<Triangle>(Vector3d(-1, -1...
eb08d8d090d19a7b0b1fefbcf91bf4c7d71bbb35
569d64661f9e6557022cc45428b89eefad9a6984
/code/gameholder/buff_func_base.h
f03d26868a378facdc922b0483b38d67ab07c5e3
[]
no_license
dgkang/ROG
a2a3c8233c903fa416df81a8261aab2d8d9ac449
115d8d952a32cca7fb7ff01b63939769b7bfb984
refs/heads/master
2020-05-25T02:44:44.555599
2019-05-20T08:33:51
2019-05-20T08:33:51
187,584,950
0
1
null
2019-05-20T06:59:06
2019-05-20T06:59:05
null
UTF-8
C++
false
false
1,772
h
buff_func_base.h
/* * buff 功能基类 */ #ifndef buff_func_base_h__ #define buff_func_base_h__ #include "battle_define.h" class Buff; class BuffData; class BattleUnit; class BuffController; class BuffFuncBase { public: typedef std::map<uint32, int32> PropertyMap; BuffFuncBase(uint32 funcId); virtual ~BuffFuncBase(); Ba...
393b6182ea8c4932a5c0a5925f1c6a121b5f8e91
b4f19ec1b2956d336cf56a409546d9c7502106c3
/Thanadolos World/Utils.hpp
9ced57234c161576cee83025a4f57fe57b58b2d4
[]
no_license
w0dm4n/Thanadolos
d3095a8aec322270cf94d70f4709396ef6275cd2
35086d7658175735c6490a188d42580afdbd6c14
refs/heads/master
2021-03-16T05:54:11.638301
2017-06-19T22:54:17
2017-06-19T22:54:17
90,393,751
18
7
null
null
null
null
UTF-8
C++
false
false
588
hpp
Utils.hpp
#pragma once #ifndef UTILS_HPP # define UTILS_HPP #include <time.h> #include <iostream> #include <string> #include <sstream> #include <vector> #include <iterator> #define Split std::vector<std::string> class Utils { public: static int getRand(int min, int max); static const int getIntValueFromString(const std::stri...
e61e77ad49a0ce9f82391a5fc490f8e206ca3586
f5f0d506bc7e0c7bc8a67d40ff24abb1d93f975d
/005_cache/cache.cpp
8eabd5e223dd0ce7e276b8324d62724e572ff3fd
[]
no_license
akshayjee/cache-hierarchy-simulator
dfd326d788f285bfd7fb07047ea5d6bf37575b2a
1bc73446cf1e669f04f4f604ec8cc2255972281c
refs/heads/master
2020-03-07T17:02:21.422825
2018-04-01T06:07:06
2018-04-01T06:07:06
127,600,682
0
0
null
null
null
null
UTF-8
C++
false
false
13,891
cpp
cache.cpp
#include "stghold.h" #include "cache.h" #include "cmdCenter.h" int cache::getWay(string & ass){ int ans; //HERE TO IMPLEMENT string ass_int; string::iterator it; if( !ass.empty() ) { for( it = ass.begin(); it != ass.end(); it++) { ass_int.push_back(*it); } } stringstream ss; ss<<std::dec<<as...
67c38a8b1bbf77473fe24852cddf8637268aa0fa
ba4db75b9d1f08c6334bf7b621783759cd3209c7
/src_main/public/dme_controls/AttributeBasePickerPanel.h
4e1f4f793c23aa0c14a9761dd6ac1d21a5649019
[]
no_license
equalent/source-2007
a27326c6eb1e63899e3b77da57f23b79637060c0
d07be8d02519ff5c902e1eb6430e028e1b302c8b
refs/heads/master
2020-03-28T22:46:44.606988
2017-03-27T18:05:57
2017-03-27T18:05:57
149,257,460
2
0
null
2018-09-18T08:52:10
2018-09-18T08:52:09
null
WINDOWS-1252
C++
false
false
1,328
h
AttributeBasePickerPanel.h
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #ifndef ATTRIBUTEBASEPICKERPANEL_H #define ATTRIBUTEBASEPICKERPANEL_H #ifdef _WIN32 #pragma once #end...
7c94780b460e1780e64f0483f1bbe7576c3c05e5
855af63c1c6cf2546ceae7bc47572dcd93fdc8ce
/fork_ex_1/01-simple-fork.cpp
cd24de89212fbfc71423412ee75355278f96b0a1
[]
no_license
BenTarman/fork-exec-pipe-examples
5390538d9701cce6d62b1130dd8274796e5fe305
8158c098f6e7d42ce36e6842d016cbf56f21fc9f
refs/heads/master
2021-05-11T04:33:27.924122
2018-01-18T06:35:54
2018-01-18T06:35:54
117,942,492
0
0
null
2018-01-18T06:31:58
2018-01-18T06:31:58
null
UTF-8
C++
false
false
437
cpp
01-simple-fork.cpp
/** * Simple program demonstrating fork(), a system call that spawns a new process. * * man fork */ #include <iostream> #include <unistd.h> using namespace std; int main() { // Fork a new child process. After this system call, there will be two // processes executing. pid_t pid = fork(); cout << "My pid...
e7c6e3b34395f1e9b4979da0574c1fcdc7d26cc5
06aa3647ea9caf1e5fe6cd37c76651f6fece1a3b
/src/mxFindDialog.cpp
3ab76075eaf2ad7935180b0e467009e61d1050b1
[]
no_license
SoftwareIDE/ZinjaI
6731dc9a5a67a9f138f547f02f8c62a67d42f8d5
a3d752bf5fa971a726fc4ba036d860edf6588b5f
refs/heads/master
2020-12-24T19:46:21.098172
2016-05-04T20:45:52
2016-05-04T20:45:52
58,789,743
3
4
null
null
null
null
ISO-8859-1
C++
false
false
26,156
cpp
mxFindDialog.cpp
#include <wx/sizer.h> #include <wx/combobox.h> #include <wx/arrstr.h> #include <wx/button.h> #include <wx/stattext.h> #include <wx/textfile.h> #include "mxFindDialog.h" #include "mxUtils.h" #include "mxBitmapButton.h" #include "mxSource.h" #include "mxMainWindow.h" #include "mxMessageDialog.h" #include "ids.h" #include...
eeff17c70419eb82c8e5d8e90efd40f3869a1cb7
baa5f93607ae921cb015633c984c090def12299b
/src/Ecs.hpp
598d9b7966196534dd673cecffb92c56eb76e92f
[ "MIT" ]
permissive
tkln/TemplateECS
5a54f8a2058c486897af921d93b41fc2f581eddf
bd04001a7e1d1656a580db0569ab145b9b206880
refs/heads/master
2020-05-12T23:51:45.231178
2019-04-10T22:52:07
2019-04-10T22:52:07
181,567,275
0
0
null
2019-04-15T21:18:04
2019-04-15T21:18:03
null
UTF-8
C++
false
false
6,961
hpp
Ecs.hpp
// // Created by Lehdari on 2.4.2018. // #ifndef TEMPLATEECS_ECS_HPP #define TEMPLATEECS_ECS_HPP #include "Types.hpp" #include "System.hpp" #include <vector> #include <functional> #include <tuple> /// Use this in component header files #define DECLARE_COMPONENT_TEMPLATES(COMPONENT)\ extern template uint64_t E...
3dd651f0a4758c4f519d414f8b4bf516809859d1
c013714b28ab69d3946ee68f00ce47215c058f4f
/AcaciaNI/src/Acacia.cpp
a792cd81255f1b9e7d7ff19d43a94b957ab2613e
[]
no_license
gaborpapp/apps
f0195bfd41c30a6f7ab1430bbc0ffda35fbc4ed5
82d06ec9009f81440abc34f996da5ba64583750c
refs/heads/master
2020-06-02T07:59:23.172058
2014-09-17T16:11:27
2014-09-17T16:11:27
1,826,410
3
0
null
null
null
null
UTF-8
C++
false
false
9,722
cpp
Acacia.cpp
/* Copyright (C) 2012 Gabor Papp 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 (at your option) any later version. This program is distributed in the hope...
cda45a2f76fcf770043e43a452978e7aa25ba0c2
395f5870ba1a3d428a3294cf166d63891b3346e0
/robot2005/src/simulator/simulatorRobot.cpp
d64acded3c39a938a4b94c90e0abd38db95a1ab1
[]
no_license
BackupTheBerlios/robotm6
08a57f8cbb9100734c85ef0e444260f16e7efa6f
dc26ad2d1f3575c016c6c9104bd49ec6fb4d812d
refs/heads/master
2021-01-01T19:25:40.673078
2005-06-03T21:18:04
2005-06-03T21:18:04
39,962,329
0
0
null
null
null
null
UTF-8
C++
false
false
18,584
cpp
simulatorRobot.cpp
/** * @file simulatorServer.h * * @author Laurent Saint-Marcel * * Systeme de simulation du robot et de son environnement */ #include "simulator.h" #include "simulatorRobot.h" #include "simulatorGrsBall.h" #include "simulatorSkittle.h" SimulatorRobot::SimulatorRobot() : RobotBase("Simulated robot", CLASS_SI...
543aca3d36bfeadfe99759f183c54f5314131e35
26f6f9a290182e1ffa8f8554b2f9f498b17004f0
/HDOJ/1710.cpp
3f898c3256d2902764be824e94c7d81811111870
[]
no_license
ZhaoxiZhang/Algorithm
bb2d0f4a439def86de86de15f5cb91326e157fe0
6f09e662f4908f6198830ef1e11a20846ff3cacb
refs/heads/master
2021-01-01T19:42:02.668004
2019-09-07T14:55:14
2019-09-14T08:08:39
98,655,367
13
6
null
null
null
null
UTF-8
C++
false
false
807
cpp
1710.cpp
#include<bits/stdc++.h> using namespace std; const int maxn = 1005; typedef struct Tree{ Tree *left,*right; int val; }Tree; Tree *head; Tree *build(int a[],int b[],int N) { Tree *node; for (int i = 0;i < N;i++) { if (b[i] == a[0]) { node = (Tree *)malloc(sizeof(Tree)); node->val = a[0]; node->left = b...
d6a59cedd40c53000a3a5b134004e9e9db3e6ad6
ae7a415f5c291960d08c73aca391e48c2f02359c
/ui/include/radio_group.h
5e357cbf4f8fccf44e76c2967e9f776f0f210be5
[]
no_license
BlenderCN-Org/commonlib
7baca6483bcba06dfc33e5e0725a3f5a70a363e5
ed75131a230052483a5a0c0503aebca219a6379c
refs/heads/master
2020-05-22T18:50:02.423070
2018-06-11T17:56:46
2018-06-11T17:56:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
589
h
radio_group.h
#ifndef __RADIO_GROUP_H__ #define __RADIO_GROUP_H__ #include <vector> #include "check_button.h" namespace UI { class RadioGroup { private: std::vector<CheckButton *> group; public: RadioGroup() {} ~RadioGroup() {} void add(CheckButton *c) { group.push_back(c); } void se...
be0fda9dbd7c780ac0836e15fac863a6c58611ef
9be246df43e02fba30ee2595c8cec14ac2b355d1
/utils/matsysapp/matsysapp.cpp
9f2804854e96e108b0b975000c1464265397565e
[]
no_license
Clepoy3/LeakNet
6bf4c5d5535b3824a350f32352f457d8be87d609
8866efcb9b0bf9290b80f7263e2ce2074302640a
refs/heads/master
2020-05-30T04:53:22.193725
2019-04-12T16:06:26
2019-04-12T16:06:26
189,544,338
18
5
null
2019-05-31T06:59:39
2019-05-31T06:59:39
null
UTF-8
C++
false
false
21,431
cpp
matsysapp.cpp
/* glapp.c - Simple OpenGL shell There are several options allowed on the command line. They are: -height : what window/screen height do you want to use? -width : what window/screen width do you want to use? -bpp : what color depth do you want to use? -window : create a rendering window rather t...
09d070093ac86afe1f73206d6ddfa3cc8383ec3b
81e4a5de81de39562e27befbad253ec8f039c9f3
/2_LeetCode/28/ans.cpp
6e17bb8d69d882d13a754f6750f6cbace852a752
[]
no_license
Twelveeee/AlgorithmQuestion
20fb5628f9e3b8bf167d41949afb23abc9f4d595
d229f589c8b3b672e37a9adabcdad1eedea931cd
refs/heads/master
2023-04-16T05:40:37.157432
2021-04-28T12:13:40
2021-04-28T12:13:40
197,725,598
0
0
null
null
null
null
UTF-8
C++
false
false
502
cpp
ans.cpp
class Solution { public: int strStr(string haystack, string needle) { int n= haystack.size(); int m = needle.size(); if(n<m && m!=n)return -1; if( m==0 )return 0; for(int i =0;i<n;i++){ if(haystack[i] == needle[0]){ for(int j=0;j<m;j++){ if(haystack[i+j] != ne...
441922f1da089472d3890da9d33158735cda477b
ca711af27fff5442d0ee56f264e77a63caee055c
/projetoJacana/src/TipoAto.cpp
c8810d822edb3b9463666456a85b62f4d628da94
[]
no_license
green-dev-52-matheushsilva/__projeto__jacana__587TK
051da2432f9f3b1f76944d93ffa29879d134d364
315b1d6eb504012bf885b1f509a2f3018ad45ca3
refs/heads/master
2021-01-12T17:05:17.509350
2016-10-20T18:53:28
2016-10-20T18:53:28
71,493,898
0
0
null
null
null
null
UTF-8
C++
false
false
7,473
cpp
TipoAto.cpp
#include "TipoAto.h" const void *TipoAto :: definirAtosAplicaveis( ) { this->tiposDisponiveisDeAtos = new std::vector< std::string * >(); tiposDisponiveisDeAtos->push_back ( new std::string( "Livro-2R-RRI" ) ); tiposDisponiveisDeAtos->push_back ( new std::string( "Livro-2A-RRI" ) ); tiposDisponiveisDeAtos->pu...
52935b308da79b857c3e42ca27e3c6857f8a36e3
1c2c0fbe2a9f27ba8f0e154a044d086b1af878de
/46.cpp
016fe6863eb68481d4d477f4b0581ec082047c33
[]
no_license
QunNguyen/C_luyentap
b8b72bf2dfd1ae722a435baf25c3fd506c340612
da801e21935bc2bd8e664391ea2b46c053105554
refs/heads/main
2023-08-13T05:45:04.139919
2021-10-19T05:49:40
2021-10-19T05:49:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
46.cpp
#include<bits/stdc++.h> using namespace std; int a[100],n; bool check=true; void Tao(){ check=true; for(int i=1;i<=n;i++) a[i]=i; } void In(){ for(int i=1;i<=n;i++) cout<<a[i]; cout<<" "; } void Sinh(){ int i=n-1; while(i>0&&a[i]>a[i+1]) i--; if(i>0){ int j=n; while(a[i]>a[j]) j--; swap(a[i],a[j]);...