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
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 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
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
578415c4b8d08c593869cdc6b7a87ed4904e2745
110e87a5810e56401252841f645c9d4e7b71b85b
/HackerRank/Greedy/GridChallenge/gridChallenge.cpp
ea4251be7db46170578ceb8794d6ebff7921f99a
[]
no_license
lynntian/Code
8b917696eedf298bb7c24b5d53c9b68a7c45af48
7f93e5f3cd745d67b2a9a7b57147b9701ea30f08
refs/heads/master
2021-01-21T14:48:34.938721
2016-07-02T02:51:16
2016-07-02T02:51:16
57,042,489
0
0
null
null
null
null
UTF-8
C++
false
false
1,150
cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; bool canBeRearranged(vector<string>& in, int a, int b, int N, char& c) { if(a < 0 || b < 0 || a >= N || b >= N) { return true; } auto tmp = in[a].at(b); //cout << "Current a, ...
[ "tianlingyu90@gmail.com" ]
tianlingyu90@gmail.com
9125df7af7ccf65e4d8ecacc4384922af0cd2311
0bc4089e181c1a12d0783acaae450f24a66bf38e
/depart.cpp
c7cd1c12592b4739d92cfe122ef95fef60183d2b
[]
no_license
djxone123456/CPP-bai-lam
a2c718631b7b18b483c9e3e501a57aefb252f432
28f8d3656ed91f3374ede9d0c9753616edba5630
refs/heads/master
2023-02-20T18:38:18.782369
2021-01-16T14:17:21
2021-01-16T14:17:21
288,203,213
0
0
null
null
null
null
UTF-8
C++
false
false
1,935
cpp
#include <bits/stdc++.h> #define MP make_pair #define PB push_back #define INF INT_MAX #define PI 3.1415926535897932384626433832795 #define MOD 1000000007 using namespace std; typedef pair <int, int> pi; typedef long long ll; typedef unsigned long long ull; int n, cnt = 0, dd[900004], f[900004],sz, ma...
[ "noreply@github.com" ]
djxone123456.noreply@github.com
ba6f7afc5f59beed48842856c8b32a1ea0e96293
8dbbcdc463f915e53632de5a3ebcbb315b0f3b6c
/src/client/Client/EQComm/EQComm/CommonScene.cpp
99cf4dfa6349f04d6035055900f4b489d270a792
[]
no_license
atom-chen/project_EQGame
75030023ccb1d244b9ca722daead72c90b178c62
5fb9d4af79cbaa78ce89075c35aa2a488440cf6e
refs/heads/master
2020-06-17T03:29:37.641027
2017-10-06T12:56:20
2017-10-06T12:56:20
null
0
0
null
null
null
null
GB18030
C++
false
false
998
cpp
#include "EQCommPCH.h" #include "CommonScene.h" #include "LogicTable.h" #include "SceneManager.h" #include "MainPlayer.h" #include "EQGameMgr.h" #include "EQCamera.h" #include "GameState.h" #include "EQOgreSys.h" #include "ConfigOption.h" #include "AmbientMgr.h" CommonScene::CommonScene(int id) : EQGameScene(id) { a...
[ "892134825@qq.com" ]
892134825@qq.com
138b5d845ae382413ce2b27be60ba98929e3438f
a2f40e310addf04461b7c0ac8cefbbfbecdeea74
/Codes/coding_practice_2.7/time.cpp
9e3e1e038bf2724bc32d475c18a9f6fb7287a985
[]
no_license
CaptainXX/Notes
9549389b5982447cc35565c99caebb3f3a931d86
e6fd0acf0f9014ddf44c03a5f405d7204c2498a6
refs/heads/master
2020-03-25T20:51:29.360308
2018-08-30T09:46:02
2018-08-30T09:46:02
144,149,403
0
0
null
null
null
null
UTF-8
C++
false
false
392
cpp
// time.cpp -- Show inputed time in a better form #include <iostream> void showtime(int h, int m); int main() { using namespace std; int h, m; cout << "Enter the number of hours: "; cin >> h; cout << "Enter the number of minutes: "; cin >> m; showtime(h, m); return 0; } void showtime(int h, int m) { using std...
[ "670909183@qq.com" ]
670909183@qq.com
81ddd8f4f650c50d4c7c56065a452e083969a1f8
27475d12a707df45a8a46cb2fcf9448718b7f74c
/ExpressionClassifier.cpp
7f3743614ce116c36ab6ef880742ce1f47e3ab04
[ "MIT" ]
permissive
NitishNat/Emotion-Detecting-Hands-Free-Music-Player
78da486c052c236d86b955e3c0395d64e36e739b
19a776eea9004746731ed7af17e59ee3681e41c9
refs/heads/master
2020-06-23T21:20:28.000453
2019-07-25T04:41:41
2019-07-25T04:41:41
198,755,321
1
0
null
null
null
null
UTF-8
C++
false
false
3,205
cpp
#include "ExpressionClassifier.h" using namespace cv; /* sigma describes the classification sharpness. A larger sigma means the boundary between different expressions is more blurry. It won't change the classification, but will give you probabilities that are smoother. */ ExpressionClassifier::ExpressionClassifi...
[ "nitishn2@illinois.edu" ]
nitishn2@illinois.edu
6cdeacf410d4b4b9fabf10e37c35d98c4e03f739
9cfb4a81c228f3333e153aebf8fe149ee2fac81f
/tictactoe.cpp
4060373d7a2c0aa716f23d008826626f01d340c8
[]
no_license
Jating73/Tic-Tac-Toe-Game
d45d1a5cb2d2845795702605cb590ffce52f9275
2c18a9c4a2ccc7f4b682bc874518957ffa6c9885
refs/heads/master
2022-11-28T10:57:10.175784
2020-08-08T19:49:38
2020-08-08T19:49:38
286,109,451
0
0
null
null
null
null
UTF-8
C++
false
false
2,169
cpp
#include <bits/stdc++.h> using namespace std; char ch[10]={'0','1','2','3','4','5','6','7','8','9'}; int i,x,player; char mark; void showBoard(); int checkWin(); int main() { player=1; do{ showBoard(); if(player%2==0) player=2; else player=1; cout<<"Player "<<player<<endl; cout<<...
[ "jatingambhir22@gmail.com" ]
jatingambhir22@gmail.com
a7c839459482b19297ae7c4a6c48351045df628e
08d19b0dcce1d0cf666c538a8ff289f8beca63b8
/hdmap/ad_map/ad_map_access/impl/tests/generated/ad/map/landmark/ENULandmarkValidInputRangeTests.cpp
8aa4c576e223a895b539a49cc7db55cf3b5833d5
[]
no_license
feiyuxiaoThu/IITS
faf8e84aeb8c4a412bc6f955149f9fdf0dd2d092
0f5cd710a6fff1c19795662f8032cb9e22575bd7
refs/heads/main
2023-06-26T11:19:22.680078
2021-07-29T11:26:59
2021-07-29T11:26:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,976
cpp
/* * ----------------- BEGIN LICENSE BLOCK --------------------------------- * * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT * * ----------------- END LICENSE BLOCK ----------------------------------- */ /* * Generated file */ #include <gtest/gtest.h> #include <limits> #incl...
[ "dawei.wang@inceptio.ai" ]
dawei.wang@inceptio.ai
03a1a9e1b0fad8300bfc2e53dfa9f9612fbc311b
7a9ea572274a1b220c965a31155c062c24f05380
/include/record3d_unity_streaming/Record3DUnityStreaming.h
5929e9c7b1fca05b29de67fb00fc9e778cb646fd
[]
no_license
BadException/record3d_unity_streaming
928ad5839748216a52edd2580ecb47c0d7838245
49152244daa10686220c06c4f80dd9a823357e0f
refs/heads/master
2022-12-28T02:11:40.214758
2020-09-26T13:56:34
2020-09-26T13:56:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,389
h
#ifndef RECORD3D_UNITY_STREAMING_H #define RECORD3D_UNITY_STREAMING_H #include <string> #include <vector> #include <record3d/Record3DStructs.h> #include <iostream> #ifdef __cplusplus #ifdef WIN32 #define EXPORT_DLL __declspec(dllexport) extern "C" { #else #define EXPORT_DLL extern "C" { #endif #endif struct Devi...
[ "marek.simonik1@gmail.com" ]
marek.simonik1@gmail.com
0505b714bef498a658b682f0f9ed297792684886
9f8ba99f26a1970995cf5d782aeab880800920b8
/src/TraceImpl.cpp
4e84d37a5e8e81c9bb9cdb62558eb4fb656a3104
[]
no_license
ruleless/snail
de1ae20bda849b524b89a9b9927e831887dc5e7e
3421540753870f3c4eb63d376576135d06d2a915
refs/heads/master
2021-01-21T21:48:46.864117
2016-03-21T02:33:27
2016-03-21T02:33:27
39,679,220
0
1
null
null
null
null
GB18030
C++
false
false
8,889
cpp
#include "Trace.h" #ifdef SUPPORT_TRACE #include <list> #include <assert.h> #include <stdio.h> #include <time.h> #include <iostream> #if PLATFORM == PLATFORM_WIN32 # include <richedit.h> # include <tchar.h> #endif //-------------------------------------------------------------------------- // Trace API void create...
[ "ruleless@126.com" ]
ruleless@126.com
49642790bc2b18eff1ddbffd35e42f83ef437465
c3ab72cd7df88350f013db9146c019f821253745
/src/desired_velocity_tester.cpp
93c57fbfa0eb2d7b6a85b08bfc3836f9f2ac1cbd
[]
no_license
bellz867/homog_track
e5a2248ae079ad3f8d54350d77a303b616e5832c
bf061fa9f34fd387c6e0b4387b98b25666d3131f
refs/heads/master
2021-01-21T13:18:25.447390
2016-02-19T02:12:49
2016-02-19T02:12:49
45,148,734
0
0
null
null
null
null
UTF-8
C++
false
false
2,027
cpp
#include <iostream> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <fstream> #include <algorithm> // ros and opencv includes for using opencv and ros #include <ros/ros.h> #include <tf/transform_broadcaster.h> #include <tf/transform_listener.h> #include <geometry_msgs/Twist.h> // main...
[ "anuppari@ufl.edu" ]
anuppari@ufl.edu
c84553c8b2d66a7cbe0965c86660f6ea8ff6ffb6
a2d8b10890dfb1aa14d989d6e32856345acaf545
/src/control/KeyboardInput.cpp
28986ebd379f2dbcade9572d1b6f905720ad4d7c
[ "Apache-2.0" ]
permissive
eeros-project/eeros-framework
0a1e39788ee3a70c7f65062fb0e2f5bf9835d512
edd6574260127924ecbc6c0d907e0162e240c40e
refs/heads/master
2023-07-08T16:00:33.621592
2023-06-28T11:21:05
2023-06-28T11:21:05
17,247,637
16
15
Apache-2.0
2023-06-27T09:52:11
2014-02-27T12:11:16
C++
UTF-8
C++
false
false
1,367
cpp
#include <eeros/control/KeyboardInput.hpp> using namespace eeros::control; KeyboardInput::KeyboardInput(int priority) : k(priority), isHomed(this), esc(this), emergency(this), reset(this), start(this), stop(this) { } void KeyboardInput::run() { uint64_t time = eeros::System::getTimeNs(); out.getSignal().setTimesta...
[ "urs.graf@ntb.ch" ]
urs.graf@ntb.ch
bf6de06fad7185dcc300ca074f936b683c3f6ba7
3d9c986206f30ae5c12a2159b4b7ddc96153ad14
/Components/CollisionComponent.h
53c87b008d8cc44d62cf3d1dd5a37c5eee32e517
[]
no_license
EsasHG/Burnout-Engine
e00f7c52b721199c95e1a623b40db3807260909e
11d7919a3d23e615794a939ecc6f6bae0293e88e
refs/heads/master
2020-11-28T13:51:41.187336
2019-12-24T00:00:44
2019-12-24T00:00:44
229,838,977
0
0
null
null
null
null
UTF-8
C++
false
false
669
h
#ifndef COLLISIONCOMPONENT_H #define COLLISIONCOMPONENT_H #include "basecomponent.h" #include "GSL/matrix4x4.h" #include "GSL/vector3d.h" #include "Sound/soundsource.h" /** Component needed for an entity to have collision. Currently only supports sphere collision. */ class CollisionComponent : public BaseComponent { ...
[ "espenhg@hotmail.com" ]
espenhg@hotmail.com
92cb7c76b5e83ee8e3637143c421e90804539891
bc5634c205bc04684b23c01dcf819ceffa608400
/android/frameworks/av/media/libmediaplayerservice/rotation.cpp
1cf525cf2bd0de7647adad875c08fad52e9b61d1
[ "Apache-2.0", "LicenseRef-scancode-unicode" ]
permissive
hqctfl/BPI-A20-Android
6cc56d6621571ca98a4eb39756e9fb2bf97b2412
04390b01fe5fc717adaa8f2cb7963460909a8167
refs/heads/master
2022-05-31T09:15:52.708247
2016-11-04T02:58:28
2016-11-04T02:58:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
776
cpp
#include <utils/Log.h> #include <utils/RefBase.h> #include <binder/IBinder.h> #include <binder/Parcel.h> #include <binder/IServiceManager.h> #define LOG_TAG "rotation-demo" namespace android { int getRotation(){ const String16 name("window"); const String16 interface("android.view.IWindowManager");...
[ "mingxin.android@gmail.com" ]
mingxin.android@gmail.com
62ee7787fa1cc64cc08e5dafd935df790bbfa1ba
872cd980d8689827d7411993581b451688b00c39
/MagasinRouleaux/build-TestAlveoles-Desktop_Qt_5_11_1_GCC_64bit-Debug/ui_alveoleswidget.h
13dc9a073245d84e543c0a3f41a969a92445128f
[]
no_license
paulhbt/QT
11efe3842974c22a2d3c67b21420e0b518010031
974c9b7b97b3a3ff4d7bc5cc08d59ec6312268e7
refs/heads/master
2020-04-05T11:53:29.773280
2018-11-09T10:50:00
2018-11-09T10:50:00
156,849,019
0
0
null
null
null
null
UTF-8
C++
false
false
6,473
h
/******************************************************************************** ** Form generated from reading UI file 'alveoleswidget.ui' ** ** Created by: Qt User Interface Compiler version 5.11.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***********************************...
[ "paul.hbt@outlook.com" ]
paul.hbt@outlook.com
bcf4fdd399722de960e12d08ec3f53a1dd66d34a
c077e4ee1db38238b1c283da65760c74433c82e7
/movies.h
6c71512f63a1da128fcb07c10a88678b86f7301a
[]
no_license
FaaizHaque/Movie-Rental-System
4712291925790b9f255549093a4727bfce0aab87
eb2dd14c174aba6cb943138c8b20f6ba53b9dbac
refs/heads/master
2020-04-28T18:56:57.436361
2019-03-13T20:37:45
2019-03-13T20:37:45
175,494,980
0
0
null
null
null
null
UTF-8
C++
false
false
784
h
/* Faaiz Ul Haque 21503527 CS 201 - HW1 Section 1 */ #ifndef MOVIES_H #define MOVIES_H #include "subscribers.h" class movies { public: movies(); movies ( int ** subIDs, int ID, int num ); int getRentalNum(); int getMovieID(); void setSubIDs( int ** arrayTemp...
[ "noreply@github.com" ]
FaaizHaque.noreply@github.com
3f32d936a3948c24f2b26020ca3967c3d2ec0bd8
96c604bd68ca59b171b853e72b6e6d74fd9f7e17
/MRTK_V2/CollaborativeDesignApp/Il2CppOutputProject/Source/il2cppOutput/GenericMethods3.cpp
380b89785bade7352377102588cd8e48a088ca2d
[]
no_license
ruchirnaphade/AR-Industry-Applications
24566da6eb4fe8efe098974ac48ff7c8787fe1df
c54d715b6d970abc3b06055d911619a57597ac8f
refs/heads/master
2022-07-23T19:27:39.636188
2020-05-13T15:10:40
2020-05-13T15:10:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,734,613
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" template ...
[ "35610867+joaoadpereira@users.noreply.github.com" ]
35610867+joaoadpereira@users.noreply.github.com
533cc87e9a57ae96c677aad765a0c009f66674bf
e748f21ca6ef98149e546c6e6053dd7de2cad5ee
/src/Laser_Photoresistor_LED/Laser_Photoresistor_LED.ino
f77741bad864c9c2eea547bf1f6fa05c80968e86
[]
no_license
cbm-instructions/thunderbirds
69d0eff3aea07edcae5f57f6cb67aa8ca5300bbc
c2ce5446e3b4676b4ad7e1e719be8ad6b94da34c
refs/heads/master
2021-01-17T16:34:39.680847
2016-06-22T07:34:55
2016-06-22T07:34:55
58,318,464
0
0
null
null
null
null
UTF-8
C++
false
false
7,603
ino
#include <Servo.h> #include <PololuLedStrip.h> #include <LEDFader.h> // Create an ledStrip object and specify the pin it will use. PololuLedStrip<12> ledStrip; PololuLedStrip<13> ledStrip2; // Create a buffer for holding the colors (3 bytes per color). #define LED_COUNT 300 rgb_color colors[LED_COUNT]; #define LED...
[ "Pirsen@live.de" ]
Pirsen@live.de
6d608b7ee5c846d2ee77720d066ea7256a008acd
81a1ffac3f9f0f0d656ff6e95bf5f2913eb93666
/src/data.utilities/xml_lookup_table_2d_reading.cpp
bdaabb6907366cc1761a11cb44199eaa5b42e13d
[]
no_license
mccabe082/Simple-Aircraft-Simulator
6dd0622130f588a5e797729844697e9f36f525a6
e4f1e16d398ff3da9513cbb0b5a07715ad8b67f2
refs/heads/master
2022-07-03T05:45:44.553576
2020-05-17T22:49:01
2020-05-17T22:49:01
262,423,396
1
0
null
null
null
null
UTF-8
C++
false
false
6,377
cpp
#include "xml_lookup_table_2d_reading.h" #include "rapidxml.hpp" #include "rapidxml_utils.hpp" #include "bilinear_interpolation.h" #include <exception> #include <iostream> #include <string> #include <string_view> #include <algorithm> #include <memory> namespace { using namespace rapidxml; using NodePtr = xml_node<>*...
[ "david.mccabe082@gmail.com" ]
david.mccabe082@gmail.com
87fc7a4052acf8ac7dfdcb230baeff4675d7257f
325f4a6ce8aa09a019cae883c0db967b615da5db
/SDK/PUBG_DmgTypeExplosion_Grenade_classes.hpp
e71e87a72f7681320e973d8b8fb8f8a92dbc0b05
[]
no_license
Rioo-may/PUBG-SDK
1c9e18b1dc0f893f5e88d5c2f631651ada7e63a4
fa64ffdc5924e5f3222a30b051daa3a5b3a86fbf
refs/heads/master
2023-01-07T22:57:11.560093
2020-11-11T05:49:47
2020-11-11T05:49:47
311,240,310
0
0
null
2020-11-11T05:51:42
2020-11-09T06:09:27
C++
UTF-8
C++
false
false
696
hpp
#pragma once // PlayerUnknown's Battlegrounds (2.5.39.19) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace Classes { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGenerate...
[ "pubgsdk@gmail.com" ]
pubgsdk@gmail.com
86b6a9d7086cb79c0c95107f5d4364678f6cca9e
d2bb8b920f5d1d23f3db2d1256d1fd6213940014
/engine/UnitTest.Core/src/core/reflection/ReflectionTest.cpp
ef0c683972572a5a19df02708ef6a43515d1f152
[ "MIT" ]
permissive
ZieIony/Ghurund
726672d56838d18b6dd675f304feee1d95a296bd
0ce83cabd91f7ac71286dcd8e12d486bed2d75cf
refs/heads/master
2023-08-17T08:14:19.548027
2022-02-12T16:33:32
2022-02-12T16:34:54
124,959,579
91
9
null
null
null
null
UTF-8
C++
false
false
4,368
cpp
#include "pch.h" #include "CppUnitTest.h" #include "TestUtils.h" #include "TestClass.h" #include "MemoryGuard.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Microsoft::VisualStudio::CppUnitTestFramework { template<> static std::wstring ToString<Ghurund::Core::AString>(const Ghurund::...
[ "niewartotupisac@gmail.com" ]
niewartotupisac@gmail.com
7c655be6ea435de4b5470c787ccc41b9c615aeb6
56690e0ced0702fed775e6a1cc5b241b33167222
/Contest6/bai9/main.cpp
b70371de4e6cec4693e345774cfb7e4e72bffba8
[]
no_license
lanhuong1999/Data-Structures-and-Algorithms
251b540f631e62055d50f3530c7a0dc27fe7527a
021c06782baf53dc0f24d45f628157cf0720c4f4
refs/heads/master
2021-05-20T08:53:49.852380
2020-08-19T04:08:29
2020-08-19T04:08:29
252,207,967
0
0
null
null
null
null
UTF-8
C++
false
false
485
cpp
#include <bits/stdc++.h> #define maxn 105 using namespace std; void solve(int a[], int n, int k){ int res=0; for(int i=0;i<n-1;i++){ if(a[i]>k) break; for(int j=i+1;j<n;j++) if(a[j]+a[i]==k) res++; } cout<<res<<endl; } int main() { int t; cin>>t; while(...
[ "noreply@github.com" ]
lanhuong1999.noreply@github.com
a2a9445a220870aed53bb6e6fdc691ee80ecf2f4
bfd8933c9605067202e1fbe4dbd38e9be7d319eb
/Lib/Chip/Unknown/Nuvoton/NUC100_Series/GPA_BITS.hpp
382147334cbb7eba48a42c740de97eab9ba3b0e9
[ "Apache-2.0" ]
permissive
gitter-badger/Kvasir-1
91968c6c2bfae38a33e08fafb87de399e450a13c
a9ea942f54b764e27dbab9c74e5f0f97390a778e
refs/heads/master
2020-12-24T18:23:36.275985
2016-02-24T22:06:57
2016-02-24T22:06:57
52,541,357
0
0
null
2016-02-25T16:54:18
2016-02-25T16:54:18
null
UTF-8
C++
false
false
9,419
hpp
#pragma once #include "Register/Utility.hpp" namespace Kvasir { //Registers group namespace Nonedout0{ ///<GPIO Port Pin I/O Bit Output Control using Addr = Register::Address<0x50004200,0xfffffffe,0,unsigned>; ///GPIOxx I/O Pin Bit Output Control Set this bit can control one GPIO pin output valu...
[ "holmes.odin@gmail.com" ]
holmes.odin@gmail.com
d8d45cff54de65a962d56e31b667719be75497f9
76e5e852357b3c3c84fae625b16f7337171154b4
/test/MockTIOTreeItem.h
e55be5801634a9882afadc1c6f1a479c6acb440f
[]
no_license
tio-browse/tio-browse
2586c086956a03a9b0e665f5d8474df5e736a42b
0c29a93c0fd6814c5d6f12fc71e6ffa03bcbf3b1
refs/heads/master
2023-03-01T01:12:28.067291
2020-08-06T10:23:06
2020-08-06T10:23:06
239,782,281
2
3
null
2021-02-11T13:40:12
2020-02-11T14:30:17
C++
UTF-8
C++
false
false
1,018
h
// // test/MockTIOTreeItem.h // // (c) British Crown Owned Copyright 2019/AWE // // This file is part of TIO browse // Released under the BSD 3-clause license. // For more details see license.txt // #ifndef TEST_MOCKTIOTREEITEM_H_ #define TEST_MOCKTIOTREEITEM_H_ #include <typhonio.h> #include <string> #include "TIO...
[ "benjaminjeliot@gmail.com" ]
benjaminjeliot@gmail.com
c0609b02c29363e1d0f18451cb176e99909dd075
2156771a813df86af40ee0c7cbc6341b7d813c2c
/算法笔记/牛客网考研复试习题/球半径与球体积.cpp
5c6da2df1050202b9282c25db26dcc18943d636e
[]
no_license
ALILIYES/algorithm-note
fd643088a48a3b4c35cababcbf104d6a4d49992a
613f908986c422860edd105b5b27bc20763a2439
refs/heads/main
2023-07-08T06:05:46.436280
2021-08-10T01:19:59
2021-08-10T01:19:59
326,143,316
1
0
null
null
null
null
UTF-8
C++
false
false
351
cpp
#include<cstdio> #include<math.h> #include<algorithm> #include<iostream> using namespace std; int main(){ double x0,y0,z0,x1,y1,z1; while(cin>>x0>>y0>>z0>>x1>>y1>>z1){ double d = sqrt((x1-x0)*(x1-x0)+(y1-y0)*(y1-y0)+(z1-z0)*(z1-z0)); double t = (4/3.0)*acos(-1)*d*d*d; printf(...
[ "1357918777@qq.com" ]
1357918777@qq.com
30d41481f078ff1010d7ae4622e257cb551a1f17
5c4331a9981faf34a386ca62ccfe049946d78289
/src/compiler-dispatcher/compiler-dispatcher-tracer.cc
0370d8e9958d57e6bd968ae4d84a41a22cb1e3d1
[ "BSD-3-Clause", "SunPro", "bzip2-1.0.6" ]
permissive
stefb965/v8
391c624aa9283e8b7ca256d4b9b33c9a23288e44
679b31c21425ecdd86c40a8a02ac131b72f7bc6b
refs/heads/master
2021-01-13T17:20:28.139535
2016-12-21T15:14:16
2016-12-21T15:14:16
77,066,477
0
0
NOASSERTION
2019-05-11T23:58:31
2016-12-21T16:09:34
C++
UTF-8
C++
false
false
5,839
cc
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/compiler-dispatcher/compiler-dispatcher-tracer.h" #include "src/isolate.h" namespace v8 { namespace internal { namespace { double Mono...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
75bb1245109903d7be32f99b6fced8784a872a7f
2f4ecef9bb43a9f8468ddd08842124fb64aa7035
/Source/Engine/Engine/Effect/InputLayout.h
507f7a8926d7000f81910ac90d3ffbd09a6433dc
[]
no_license
sandcastle-studios/GameEngine
f745849a087b488d1302666190679253daa3ea9b
4feee60bfe7ab414346e5453cf593b521ae6e605
refs/heads/master
2020-02-26T15:32:50.033865
2016-10-01T18:49:11
2016-10-01T18:49:11
68,903,862
2
0
null
null
null
null
UTF-8
C++
false
false
578
h
#pragma once #include <d3d11.h> namespace ENGINE_NAMESPACE { class InputLayout { public: InputLayout(); ~InputLayout(); void Add(const char *aSemanticName, const int aSemanticIndex, const DXGI_FORMAT aFormat, int aInputSlot = 0); void AddPerInstance(const char *aSemanticName, const int aSemanticIndex, cons...
[ "erik.paldanius@gmail.com" ]
erik.paldanius@gmail.com
d450c8b91d82754dcfe7b642a439caa005103811
01915a26db8724fe10fb35a5e0fa2cffb6c00fea
/Account.h
2f729567362556efed71a864f64a03b74c423e35
[]
no_license
tgomez22/NetWorthCalculator
abcfb3440b7a6e1ddbcc9445586f9a7b7238af75
93667e44d9621f7a54861197dee6aef5e3c2bb21
refs/heads/master
2022-06-20T12:48:40.800060
2020-05-08T21:17:27
2020-05-08T21:17:27
261,633,985
0
0
null
null
null
null
UTF-8
C++
false
false
436
h
// // Created by magos-gomez on 5/5/20. // #ifndef NETWORTHCALCULATOR_ACCOUNT_H #define NETWORTHCALCULATOR_ACCOUNT_H #include "Address.h" #include "Node.h" class Account : public Address { public: Account(); Account(const Account & toCopy); ~Account(); private: float netWorth;...
[ "gomez22@pdx.edu" ]
gomez22@pdx.edu
9f7d49338544d3d3c7505f9845614d5d48053fa5
45364deefe009a0df9e745a4dd4b680dcedea42b
/SDK/FSD_Renderer_structs.hpp
1c7c09efb260d770ede7f513dec242930c456d72
[]
no_license
RussellJerome/DeepRockGalacticSDK
5ae9b59c7324f2a97035f28545f92773526ed99e
f13d9d8879a645c3de89ad7dc6756f4a7a94607e
refs/heads/master
2022-11-26T17:55:08.185666
2020-07-26T21:39:30
2020-07-26T21:39:30
277,796,048
0
0
null
null
null
null
UTF-8
C++
false
false
5,381
hpp
#pragma once // DeepRockGalactic SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "FSD_Basic.hpp" namespace SDK { //--------------------------------------------------------------------------- //Script Structs //--------------------------------------------------------------------------- // ScriptStruct ...
[ "darkmanvoo@gmail.com" ]
darkmanvoo@gmail.com
62ced8f4eaebc5745424dd8a3238bc93566d22a4
b120311dca73589b1988fb24c1e91cc2101a6b56
/modules/ui/include/lagrange/ui/AABB.h
ef03803762ec899f8c6d23aa3fc75c00be17b4b4
[ "Apache-2.0", "MIT", "LicenseRef-scancode-public-domain", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
quadmotor/lagrange
d4b176e97f6acc044685f2b15e77453a09ab3489
f56e7d5b27dbfe4ef6f208f6b3ad458dda928a8a
refs/heads/main
2023-03-14T07:43:08.731648
2021-03-02T21:39:23
2021-03-02T21:39:23
344,888,062
1
0
Apache-2.0
2021-03-05T17:41:25
2021-03-05T17:41:24
null
UTF-8
C++
false
false
2,004
h
/* * Copyright 2020 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
[ "jedumas@adobe.com" ]
jedumas@adobe.com
b15b699f75504ad3cf57d6eb2a38e8eb64b9dea2
f7fed2102bfcd147a8f3a163b891e88851821085
/subgraphs256/subgraphs.cpp
d32dfb1f883b3502df21323f6f9d2121658da41c
[ "MIT" ]
permissive
RenoirTan/dunjudge.me
532a139da6a1100303e44ea415bb9201f7562d4d
0098cfd45609e4ac50aac0b2c943b1afb6aff818
refs/heads/main
2023-05-13T13:57:11.794367
2021-06-03T15:26:02
2021-06-03T15:26:02
373,551,173
0
0
null
null
null
null
UTF-8
C++
false
false
1,102
cpp
#include <bits/stdc++.h> using namespace std; int subgraphs(vector<vector<int>> &matrix, int nodes) { int total = 0; if (nodes <= 1) return nodes; bool visited[nodes]; fill(visited, visited+nodes, false); for (int node = 0; node < nodes; node++) { if (!visited[node]) { t...
[ "renoirtan2005@gmail.com" ]
renoirtan2005@gmail.com
985087599d3de38086761f364c0b2a875f79cc33
6aba3d9e4a5401b5387548475d0ca74794e73c69
/GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/trajectoryanalysis/tests/trajectory.cpp
2124ebe165e608450f5ea0010a37aff064540b8f
[ "LicenseRef-scancode-free-unknown", "MIT", "LGPL-2.1-only", "LGPL-2.0-or-later", "LicenseRef-scancode-sun-rpc", "LGPL-2.1-or-later", "SunPro", "GPL-1.0-or-later", "BSD-2-Clause-Views", "GPL-2.0-only", "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "Zlib", "BSD-2-Clause" ]
permissive
rvhonorato/bioexcel-exascale-co-design-benchmarks
a47b2608ad796329247a671ca95c7b487be213ca
41bfd28e64a65f7d08a4195bdfd0024646664351
refs/heads/master
2020-06-18T05:56:43.151669
2019-07-10T15:17:45
2019-07-10T15:17:45
196,187,655
0
0
MIT
2019-07-10T10:50:25
2019-07-10T10:50:24
null
UTF-8
C++
false
false
4,107
cpp
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2016, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gro...
[ "mark.j.abraham@gmail.com" ]
mark.j.abraham@gmail.com
0da3be5d6027061fed84c5c6c5c10cf47a7c6958
19b161d59f915f2723675aed0e9e6e67f20b786e
/PDFNet/PDFNet.framework/C_CPP_Headers/Impl/Screen.inl
c65aa0401a1091afedd0d8d834685d6c9398effa
[]
no_license
torhector2/test-lfs
35aebfc5e06de13443f62bd80d26e6e5c7a8bc78
1a6026eb263c9263619c6c7986038ff9a7d63602
refs/heads/master
2020-09-08T00:51:27.406836
2019-11-11T11:35:33
2019-11-11T11:35:33
220,962,012
0
0
null
null
null
null
UTF-8
C++
false
false
129
inl
version https://git-lfs.github.com/spec/v1 oid sha256:c04391cce3cf4fa434a48f692f4ab371f67527b563961d0f37f3ea1bb5a0cafd size 5762
[ "torhector2@gmail.com" ]
torhector2@gmail.com
634883f448825e6e729858a7033f586c3b86be4c
3bfe741bca4ccb928ab03958fef677662b642a32
/include/RE/BSAudio/BSSoundHandle.h
f307eec8e006c97b4a4e16d8f69444e1df33e3f2
[ "MIT" ]
permissive
Slaynot/CommonLibSSE
9865fc7d7e3167dd72193ef3828ac7db54858cc5
6b3fd268327fb630139d2a183cbd5aa5669cfc5f
refs/heads/master
2023-08-19T00:32:11.523120
2021-10-05T21:02:33
2021-10-05T21:02:33
293,022,195
0
1
MIT
2021-10-05T19:52:10
2020-09-05T07:02:12
C++
UTF-8
C++
false
false
890
h
#pragma once #include "RE/NetImmerse/NiPoint3.h" namespace RE { class NiAVObject; struct BSSoundHandle { public: enum : std::uint32_t { kInvalidID = static_cast<std::uint32_t>(-1) }; enum class AssumedState { kInitialized = 0, kPlaying = 1, kStopped = 2, kPaused = 3 }; enum cla...
[ "ryan__mckenzie@hotmail.com" ]
ryan__mckenzie@hotmail.com
9db3817aa78bb5c89d4b6f6bc6edca398ce91206
792613dcd7b53b4e3d40bfdebcef784dbe10b84b
/Source/CProjectDemo/Private/CProjectDemoGameMode.cpp
a9a0f6f82e834887b4f71f0368324270b26bea53
[]
no_license
Inchapter/UE4-Tutorial
e679c638bf2800e6c69d9aba795617edcb944c5d
4b5b5373e4fdb30fbe7ff5c2893fbd97f456f145
refs/heads/master
2020-06-09T14:03:45.528115
2019-06-25T06:12:53
2019-06-25T06:12:53
193,448,858
0
0
null
null
null
null
UTF-8
C++
false
false
1,219
cpp
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "CProjectDemoGameMode.h" #include "CProjectDemoCharacter.h" #include "UObject/ConstructorHelpers.h" #include "GameFramework/HUD.h" #include "Blueprint/UserWidget.h" ACProjectDemoGameMode::ACProjectDemoGameMode() { // set default pawn class to our ...
[ "843452214@qq.com" ]
843452214@qq.com
1b8ebf09227cb813e0c29f3b951c53898e627c39
eac07e0f1c5fcb8688b6dd27aea9e84f6877b492
/studentsrequestdialog.h
09b1ffdea37bdb27cb6a80ebaf8f309225115333
[]
no_license
AliRn76/Student-Portal
cde6f84faf17d55713b52776291154e737fa943a
4bad9cdb565dc79f29587e8696149c88a4500adb
refs/heads/master
2022-04-21T22:48:02.264695
2020-04-23T21:46:11
2020-04-23T21:46:11
187,212,360
3
0
null
null
null
null
UTF-8
C++
false
false
377
h
#ifndef STUDENTSREQUESTDIALOG_H #define STUDENTSREQUESTDIALOG_H #include <QDialog> namespace Ui { class StudentsRequestDialog; } class StudentsRequestDialog : public QDialog { Q_OBJECT public: explicit StudentsRequestDialog(QWidget *parent = nullptr); ~StudentsRequestDialog(); private: Ui::Students...
[ "alirn76@yahoo.com" ]
alirn76@yahoo.com
8b90e5694ae242cd93b44a3b35ed62b8886fd7e1
cb0db151590f1dcf2fcc0d4931d27ed914f1fe7d
/plugins/chain_plugin/include/oac/chain_plugin/chain_plugin.hpp
f35957de3cfddd475a6b98573ec4298d85bb8452
[ "MIT" ]
permissive
ajunlonglive/openaichain
ea1302216705b9f136f3181fc948b250306d866b
14f144afa1bb4db5e4bf75a5ad836f4e408cfc95
refs/heads/master
2023-03-18T11:33:48.928739
2018-06-13T09:41:29
2018-06-13T09:41:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,044
hpp
/** * @file * @copyright defined in oac/LICENSE.txt */ #pragma once #include <appbase/application.hpp> #include <oac/chain/asset.hpp> #include <oac/chain/authority.hpp> #include <oac/chain/account_object.hpp> #include <oac/chain/block.hpp> #include <oac/chain/controller.hpp> #include <oac/chain/contract_table_obje...
[ "40119822+openaichain@users.noreply.github.com" ]
40119822+openaichain@users.noreply.github.com
2e2edaea5e02c5dd5067259acdd6d57b8928b39a
8c0ce0f8a28e2a738bf6248e010fb9e9be55ad01
/PAT-Test/basic/temp.cpp
aafb4a194d9d94bf5e88d6749893d9be8ba24937
[ "MIT" ]
permissive
niuyi1017/algorithm-demos
ff0295a21e22454c8efe43e95fba84c1fd27f33e
298ef237a13e3f80a03f7780a3cbd52fb1cdac09
refs/heads/master
2020-03-29T21:48:37.048323
2019-09-08T11:34:23
2019-09-08T11:34:23
150,388,748
0
0
null
null
null
null
UTF-8
C++
false
false
161
cpp
#include<iostream> using namespace std; main(int argc, char const *argv[]) { float x = 3.1415; x = (int)(x*100+0.5)/100.0; cout<<x; return 0; }
[ "1096196462@qq.com" ]
1096196462@qq.com
0bad02d16cdf614cd189a78583eb24645fe5aaed
799516a742541b63a43db4f94a89e1e50bc629b0
/acm.nyist.net/0048.cpp
b8b0ffb3c6fe51980b9268edfdd93f41ebc40f93
[]
no_license
webturing/ACM
2e940a72d90c0f3f45d1758d8d46c765ac47f689
aab803107af653e18ea4f049ac642fefa420acc7
refs/heads/master
2021-01-23T04:19:09.859541
2017-06-12T14:27:13
2017-06-12T14:27:13
92,923,789
0
0
null
null
null
null
UTF-8
C++
false
false
424
cpp
#include <iostream> #include <iterator> #include <vector> #include <algorithm> #include <set> using namespace std; int main() { set<int> s; for (int n; cin >> n;) { s.clear(); for (int t; n-- && cin >> t; s.insert(t)); cout << s.size() << endl; for (set<int>::iterator it = s.be...
[ "zj@ahstu.cc" ]
zj@ahstu.cc
91eafca96c1d65408d9d6da1022d159436716e66
668e65ea7c9c1903bcce3e007d2582cc9b456903
/Samples/Sample-CriticalSection/Sample-CriticalSection.cpp
4def0d38839a4edb06f3a0e9cdb3385ac585f9dd
[]
no_license
rusamentiaga/LibAC
444aaf337607f2494113e90d2fcddd11e8bc0ded
a6b53c32de076c4a59526da4912fcc715a22d9ed
refs/heads/master
2021-01-01T05:40:06.920682
2015-09-28T08:04:50
2015-09-28T08:04:50
42,655,379
0
0
null
null
null
null
UTF-8
C++
false
false
1,317
cpp
#include "stdafx.h" #include "../../Src/CriticalSection.h" #include "../../Src/ScopedCriticalSection.h" #include "../../Src/Thread.h" class SharedData { protected: int m_x; AC::CriticalSection m_cs; public: SharedData() : m_x(0) {} void Inc() { AC::ScopedCriticalSection ScopedCritSec(m_cs); m_x++; }...
[ "rusamentiaga@uniovi.es" ]
rusamentiaga@uniovi.es
58be16022eb37306a63c42101cb386c08d0ba476
d2566520060aa4e0dc9ee53cca3cfe8b0bc09cb9
/src/PDE/ConfigureTransport.cpp
6661396f12134dd2723b3411e368bec2b32b9d21
[ "BSD-2-Clause" ]
permissive
supermangithu/quinoa
f4a452de8ff1011a89dec1365a32730299ceecc1
2dd7ead9592b43a06fa25fec2f7fa7687f6169bf
refs/heads/master
2023-04-13T14:42:02.394865
2020-09-12T13:35:33
2020-09-12T13:35:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,509
cpp
// ***************************************************************************** /*! \file src/PDE/ConfigureTransport.cpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019-2020 Triad National Security, LLC. All rights reserved. See the LIC...
[ "jbakosi@lanl.gov" ]
jbakosi@lanl.gov
3ce101d04a5d84a8ed310cde191ba9ce60a39871
46e7b27f95cb19a89222defbd2dcc6357d902de9
/application/1.1/server/bin-src/get-logical-drives/get-logical-drives.cpp
cb2cb84fb1accb1d43e2a83f5f914460ad176e22
[]
no_license
LJR-LJQ/Miaodeli
77a30735a655d6183b25c030cae75ee291d8ac18
eb6a50aec786c36cc3c04177316ec9cbb8ea8049
refs/heads/master
2020-05-05T03:13:07.697206
2013-07-02T05:30:52
2013-07-02T05:30:52
10,667,356
1
2
null
null
null
null
UTF-8
C++
false
false
439
cpp
#define UNICODE #define _UNICODE #include <windows.h> #include <tchar.h> #include <stdio.h> DWORD bitOf(DWORD value, int i); int main() { DWORD v = GetLogicalDrives(); if (0 == v) { // 获取失败 return 0; } for (int i = 0, len = sizeof(DWORD) * 8; i < len; ++i) { if (0 != bitOf(v, i)) { pr...
[ "jianru.lin@gmail.com" ]
jianru.lin@gmail.com
f09d960b3c57b6743fd2bde86216ce8886047b6f
3f321619d7f900b79810e0b5e3722b405b099c72
/cpp/main.cpp
79b9d78107bfcb0d762ed67e6f3f4534cfa9116c
[]
no_license
mina20/cppLinux
a1c1b3dfd78a3edc69e08d50c532b9325a9b4110
d0b4e950d962315b36f3202920ddda37ac744911
refs/heads/master
2020-12-02T22:47:50.704032
2017-07-04T06:42:28
2017-07-04T06:42:28
96,184,034
0
0
null
null
null
null
UTF-8
C++
false
false
157
cpp
int main(void) { Complex x(1.0, 1.0); Complex y(2.0, 0.5); cout << "Original y= "<< y << endl; cout << "Conjugated y= "<< y << endl; return 0; }
[ "sameena@mtl205.cms.unipune.ernet.in" ]
sameena@mtl205.cms.unipune.ernet.in
d3afa9732232aeb1541ddf7ea395fc7e4af4e643
44d661eced71ab6948d9a7ced5eab259dd8065b8
/fh2client/src/fheroes2/gui/button.cpp
1c38d9dfffd8972daa7a2da53583ad44f70a44c4
[]
no_license
RomanHuryk/free-heroes
bf4e67995296ea646bbe69bfd15d605a26f626a5
e8c2fdafa38a011790345d2fef1cc821384df521
refs/heads/master
2020-03-27T14:26:32.862986
2014-05-16T12:13:27
2014-05-16T12:13:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,051
cpp
/*************************************************************************** * Copyright (C) 2009 by Andrey Afletdinov <fheroes2@gmail.com> * * * * Part of the Free Heroes2 Engine: * * http://...
[ "afletdinov@7cb044a8-4f03-41c8-82e0-fd9d2f03d584" ]
afletdinov@7cb044a8-4f03-41c8-82e0-fd9d2f03d584
575cd7f3bb6b7727a1357c2132ed9d852996da45
40d77d696707499a4195497447f4c96ae46467af
/src/global_obstacle_map_creater_tsukuba.cpp
9485c75396752b00aa4b4d98a0fe2c5d0030a924
[]
no_license
aoyan27/pcl_tutorial
6068130afe6e9f69f02ab32b4597db8c4eba2d12
3719a15bfe1b6ec0992fab7d09f709efe53cd973
refs/heads/master
2021-09-08T01:22:53.282843
2018-03-05T03:56:17
2018-03-05T03:56:17
99,441,796
0
0
null
null
null
null
UTF-8
C++
false
false
25,003
cpp
#include "ros/ros.h" #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/PointCloud.h> #include <pcl_ros/point_cloud.h> // PCL specific includes #include <pcl_conversions/pcl_conversions.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/filters/voxel_grid.h> #include <pcl/visualization/c...
[ "ce62001@meiji.ac.jp" ]
ce62001@meiji.ac.jp
6de71a30b1c3871baca0c5fa7366bfdc99195a5e
6f874ccb136d411c8ec7f4faf806a108ffc76837
/code/pushframework/3.1/PushFramework/private/MonitorConnection.h
74c11ce1ada009374317aad49ecb03e789f034ce
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JetAr/ZDoc
c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435
e81a3adc354ec33345e9a3303f381dcb1b02c19d
refs/heads/master
2022-07-26T23:06:12.021611
2021-07-11T13:45:57
2021-07-11T13:45:57
33,112,803
8
8
null
null
null
null
UTF-8
C++
false
false
1,171
h
/******************************************************************** File : MonitorConnection.h Creation date : 3/5/2014 License : Copyright 2010-2014 Ahmed Charfeddine, http://www.pushframework.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except ...
[ "126.org@gmail.com" ]
126.org@gmail.com
6708079d1135012f623ea7d69ba253625796ddfb
1d9b1b78887bdff6dd5342807c4ee20f504a2a75
/lib/libcxx/include/__type_traits/is_nothrow_assignable.h
e3ce33ece895588f891e1ff9ce91b7804ad1b7d9
[ "NCSA", "LLVM-exception", "MIT", "Apache-2.0", "LicenseRef-scancode-other-permissive" ]
permissive
mikdusan/zig
86831722d86f518d1734ee5a1ca89d3ffe9555e8
b2ffe113d3fd2835b25ddf2de1cc8dd49f5de722
refs/heads/master
2023-08-31T21:29:04.425401
2022-11-13T15:43:29
2022-11-13T15:43:29
173,955,807
1
0
MIT
2021-11-02T03:19:36
2019-03-05T13:52:53
Zig
UTF-8
C++
false
false
1,748
h
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
[ "andrew@ziglang.org" ]
andrew@ziglang.org
18ee452282c474ca2a0c693d49320f5ef1bf5541
daf92e2afe463891d23f7904a00004688d17a9c6
/userprog/addrspace.cc
d54e661f126abc8e7e4c845c1dd48c18a264085c
[]
no_license
SifatMd/Nachos
3fdd4212cf3bbddebd0e9b784d746bb09adc86d5
c5e4a4187a1386cebafc767129e7fed68767a9be
refs/heads/master
2020-04-25T11:23:47.079858
2019-02-26T15:58:45
2019-02-26T15:58:45
172,742,988
0
0
null
null
null
null
UTF-8
C++
false
false
9,867
cc
// addrspace.cc // Routines to manage address spaces (executing user programs). // // In order to run a user program, you must: // // 1. link with the -N -T 0 option // 2. run coff2noff to convert the object file to Nachos format // (Nachos object code format is essentially just a simpler // version of the UNIX execu...
[ "sifat.abdullah577@gmail.com" ]
sifat.abdullah577@gmail.com
a1982aa125988a6c56607a0ac9a1a4754108c742
be3167504c0e32d7708e7d13725c2dbc9232f2cb
/mame/src/mame/includes/topspeed.h
a053494da3032438c83e67e16560c0ff4e45ee9c
[]
no_license
sysfce2/MAME-Plus-Plus-Kaillera
83b52085dda65045d9f5e8a0b6f3977d75179e78
9692743849af5a808e217470abc46e813c9068a5
refs/heads/master
2023-08-10T06:12:47.451039
2016-08-01T09:44:21
2016-08-01T09:44:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,732
h
/************************************************************************* Top Speed / Full Throttle *************************************************************************/ class topspeed_state : public driver_device { public: topspeed_state(const machine_config &mconfig, device_type type, const cha...
[ "mameppk@199a702f-54f1-4ac0-8451-560dfe28270b" ]
mameppk@199a702f-54f1-4ac0-8451-560dfe28270b
1ed90acbe4f9a062d724fc07f5ccb711947bb487
11351870905c52454934b23b27ace5e3306c4107
/NWERC16/f/f.cpp
49c57e43bc49b4dba8b10290decb552765bd8850
[]
no_license
IvanAli/ACMICPC2017Training
65cbe9a47788ab38026134dfe41ef7132801d8c5
0a274f41d9b4300fdfbc9160cd171c5edf265cbc
refs/heads/master
2021-08-29T15:42:24.789100
2017-12-14T05:49:03
2017-12-14T05:49:03
114,207,562
0
0
null
null
null
null
UTF-8
C++
false
false
806
cpp
#include <bits/stdc++.h> using namespace std; const int maxn = 1000005; int n; int a[maxn], b[maxn]; bool ok(int x) { int las; las = -1; for (int i = 0; i < n; i++) { if (a[i] <= x) continue; if (las == -1) las = a[i]; else { if (a[i] != las) return false; las = -1; } } if (las != -1) return false...
[ "ivanali@outlook.com" ]
ivanali@outlook.com
1cdb762390215d16513f8c6c70896bd79c5c414d
f0b7bcc41298354b471a72a7eeafe349aa8655bf
/codebase/apps/titan/src/TrackProps/TrackEntry.cc
ce0109b7b079874b7535bee0c497f32f6f40af4b
[ "BSD-3-Clause" ]
permissive
NCAR/lrose-core
23abeb4e4f1b287725dc659fb566a293aba70069
be0d059240ca442883ae2993b6aa112011755688
refs/heads/master
2023-09-01T04:01:36.030960
2023-08-25T00:41:16
2023-08-25T00:41:16
51,408,988
90
53
NOASSERTION
2023-08-18T21:59:40
2016-02-09T23:36:25
C++
UTF-8
C++
false
false
4,084
cc
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Bo...
[ "dixon@ucar.edu" ]
dixon@ucar.edu
a38bc12068d86f382c2679435f626cfd8c699b87
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 102 - Ecological Bin Packing/sol.cpp
da361bbdb999c1b91544f3da3faee6f79ad01d65
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
C++
false
false
1,393
cpp
#include <cstdio> #include <climits> #include <cstring> using namespace std; int main() { int B[3], G[3], C[3]; while (scanf("%d %d %d %d %d %d %d %d %d", &B[0], &G[0], &C[0], &B[1], &G[1], &C[1], &B[2], &G[2], &C[2]) != EOF) { int min = INT_MAX, temp; char ans[4]; ...
[ "xenron@outlook.com" ]
xenron@outlook.com
0a77f7454544b6fcf663b336d319176626310b23
e8344ff1560272781921bd4f5a2f71adc0f742dc
/src/LasPointReader.cpp
93a19cab8cbdfbfcf104606bb9c0da40448bf3fc
[ "MIT" ]
permissive
saegersven/pointcloud-converter
19fc7b1a172368bbbc898883f73177c23cbeb6ea
61698e05efcccf08b29bfd7d1ec97b12a39acca1
refs/heads/main
2023-03-04T15:34:07.133938
2021-02-12T09:13:01
2021-02-12T09:13:01
320,833,354
1
0
null
2020-12-12T13:45:59
2020-12-12T13:09:06
null
UTF-8
C++
false
false
3,779
cpp
#include "LasPointReader.h" #include <stdexcept> void LasPointReader::open(std::string filename) { file = fopen(filename.c_str(), "rb"); if (!file) throw std::runtime_error("Could not open file"); // Read header fseek(file, 96, SEEK_SET); fread(&first_point_offset, sizeof(uint32_t), 1, file); fseek(file, 5, SE...
[ "sven.saeger@hotmail.com" ]
sven.saeger@hotmail.com
cfd1db13054f54a08090804e2d6a370edf3090f2
02e60087f62bdb0f43c273238931828bb7942af0
/String/LongestPalindrome.cpp
bbb3ad6d4a83b9f88d51a7a20e34625c27bba927
[]
no_license
cos65535/ICPCLibrary
ed92b0548c7ebc9ac8110d11ad7126b75308e923
7758e95c7df93b73b842eb4b8011a69772d04102
refs/heads/master
2021-01-22T21:17:06.747567
2016-09-17T09:25:12
2016-09-17T09:25:12
2,240,083
13
3
null
null
null
null
UTF-8
C++
false
false
571
cpp
// rad[i] is longest palindrome radius if center is (i+1)/2 vector<int> LongestPalindrome(const char *str) { int n = strlen(str); vector<int> rad(2 * n); int k; for (int i = 0, j = 0; i < 2 * n; i += k, j = max(j - k, 0)) { while (i - j >= 0 && i + j + 1 < 2 * n && str[(i - j) / 2] == str[(i + j + 1) / 2])...
[ "cos@kmc.gr.jp" ]
cos@kmc.gr.jp
ec7253189b8cc2105c4234a5449d3547e0522167
6b60654f5c37b788b5a0325fe22cce600794e525
/color.cpp
2e702d0b4218009b6fac114f7a9eb5f508653336
[]
no_license
rsmnnit/Codes
cd45ae7a111fd7bb9e80bc85c0f273058eb3eb07
355daa783c625c3f1789f82482a7dbac12950210
refs/heads/master
2021-09-09T15:10:06.900600
2018-03-17T09:10:49
2018-03-17T09:10:49
104,431,239
0
0
null
null
null
null
UTF-8
C++
false
false
323
cpp
#include<bits/stdc++.h> using namespace std; int main() { int t; scanf("%d",&t); while(t--) { char s[100009]; int r=0,g=0,b=0,i,j,n; scanf("%d",&n); scanf("%s",s); for(i=0;i<n;i++) { if(s[i]=='R') r++; else if(s[i]=='B') b++; else g++; } printf("%d\n",n-max(max(r,b),g)); } return 0;...
[ "noreply@github.com" ]
rsmnnit.noreply@github.com
31edc4720f3995a8f443e843c2753fd1a89c4f5e
711e5c8b643dd2a93fbcbada982d7ad489fb0169
/XPSP1/NT/multimedia/dshow/vidctl/fwdseq.h
6567b79151d513363979a136dc7ade4c5b952610
[]
no_license
aurantst/windows-XP-SP1
629a7763c082fd04d3b881e0d32a1cfbd523b5ce
d521b6360fcff4294ae6c5651c539f1b9a6cbb49
refs/heads/master
2023-03-21T01:08:39.870106
2020-09-28T08:10:11
2020-09-28T08:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,233
h
//==========================================================================; // // fwdseq.h : forward sequence infrastructure to extend the dshow stuff so that it // works nicely from c++ // Copyright (c) Microsoft Corporation 1995-1999. // ////////////////////////////////////////////////////////////////////////...
[ "112426112@qq.com" ]
112426112@qq.com
4d90d1e5b14cf3ba67150f475748e98d50c4ce30
829b3f2d0ae685d01fe097c03bf5c1976cbc4723
/deps/boost/include/boost/asio/impl/detached.hpp
92172e5035d4f009ca8113a165a5111134351b05
[ "Apache-2.0" ]
permissive
liyoung1992/mediasoup-sfu-cpp
f0f0321f8974beb1f4263c9e658402620d82385f
b76564e068626b0d675f5486e56da3d69151e287
refs/heads/main
2023-08-21T21:40:51.710022
2021-10-14T06:29:18
2021-10-14T06:29:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,506
hpp
// // impl/detached.hpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_IMPL...
[ "yanhua133@126.com" ]
yanhua133@126.com
2057c8f57be792e1fc6174848363797c073f6bf0
35873b4dedb86d36584e5d3e341c40be59409680
/Lab1/mainwindow.cpp
ca9c0db81eb89cf1f6bdc4af0f496e27b70b00a7
[]
no_license
lbchashkin/oop-miem
22fa60812ffacfe79fe4da27d86f619a6a2d08c0
538700b911180c06d039d242d605b2e084530afc
refs/heads/master
2023-02-03T14:31:47.321529
2020-12-04T19:56:28
2020-12-04T19:56:28
293,264,827
0
1
null
null
null
null
UTF-8
C++
false
false
6,341
cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "dialog.h" #include "lampdialog.h" #include <iostream> #include <QHeaderView> #include <QStringLiteral> #include <QAbstractItemModel> #include <QFileDialog> #include <QString> #include <QJsonParseError> #include <QMessageBox> using namespace std; MainWindow...
[ "lbchashkin@edu.hse.ru" ]
lbchashkin@edu.hse.ru
2ab15908e526ec577db1e68b9b4e540216913c24
8df64af68085e3bd3eeb99ab6679eb074e80842b
/opensimAD-install/sdk/include/OpenSim/Simulation/Model/ActuatorPowerProbe.h
e9bdc498bc3e398d81e7d7cb2c90821343a5f041
[ "Apache-2.0" ]
permissive
VDB-Bram/opensimAD
ace0a9db6a844ffde7f03f18f9c0a31d3b39bf40
7afad33dc669f3540fdffb54e8e93374dceb3624
refs/heads/main
2023-08-13T09:10:35.158779
2021-10-02T01:59:30
2021-10-02T01:59:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,482
h
//#ifndef OPENSIM_ACTUATOR_POWER_PROBE_H_ //#define OPENSIM_ACTUATOR_POWER_PROBE_H_ ///* -------------------------------------------------------------------------- * //* OpenSim: ActuatorPowerProbe.h * //* ---------------------------------------------------------------------...
[ "antoinefalisse@gmail.com" ]
antoinefalisse@gmail.com
fef97bbeb0833b3c41e3ac252f98ba796da5d5bb
c18e3cba4f445613b2ed7503061cdfe088d46da5
/docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_6.cpp
9c07d5e3870900d6124c0d1d84ca1e5a36a1cafc
[ "CC-BY-4.0", "MIT" ]
permissive
MicrosoftDocs/cpp-docs
dad03e548e13ca6a6e978df3ba84c4858c77d4bd
87bacc85d5a1e9118a69122d84c43d70f6893f72
refs/heads/main
2023-09-01T00:19:22.423787
2023-08-28T17:27:40
2023-08-28T17:27:40
73,740,405
1,354
1,213
CC-BY-4.0
2023-09-08T21:27:46
2016-11-14T19:38:32
PowerShell
UTF-8
C++
false
false
548
cpp
// Sorts the given sequence in the specified order. template <class T> void parallel_bitonic_sort(T* items, int lo, int n, bool dir) { if (n > 1) { // Divide the array into two partitions and then sort // the partitions in different directions. int m = n / 2; parallel_invoke( ...
[ "v-zhecai@microsoft.com" ]
v-zhecai@microsoft.com
545fb489e06c8d52d216e9403a7a08dd0b29ca50
52ffdc31f5b6c5444128b94090e765804adcd0b9
/src/box.h
c7208d98967dc30e4154e14a25764d3935aba16b
[]
no_license
dondanndy/RayTracerWiFiSimulator
a88ba7bc112ed5da2ca96a8966fa72718353fb79
86f1d7f8608ea48d9dfe1107f30cdebd026f1f53
refs/heads/main
2023-06-23T20:07:46.360704
2021-07-22T23:05:57
2021-07-22T23:05:57
379,912,912
0
0
null
null
null
null
UTF-8
C++
false
false
287
h
#pragma once #include "vec3.h" #include "wall.h" #include "ray.h" class box { public: Wall walls[6]; point3 origin; float side; public: box(){} __host__ __device__ box(const point3& og, const float side); __host__ __device__ bool hit(const Ray& r, float& final_power) const; };
[ "daniel.10.10.1997@gmail.com" ]
daniel.10.10.1997@gmail.com
958f73d36f0bf9f9b7eb1b0aef451cb059787c2b
87d8af054e17e0c346b6f59636402883fbf0158d
/Cpp/SDK/MovieSceneCapture_structs.h
c3265b3cb7af3126a6f66802c60e431b09abc09e
[]
no_license
AthenaVision/SoT-SDK-2
53676d349bca171b5e48dc812fd7bb97b9a4f1d8
4a803206d707a081b86c89a4b866a1761119613d
refs/heads/main
2023-03-20T10:48:21.491008
2021-03-10T21:55:10
2021-03-10T21:55:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,197
h
#pragma once // Name: sot, Version: 4.2 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Enums //------------------------------------------------------------------...
[ "59620169+NtLoadDriverEx@users.noreply.github.com" ]
59620169+NtLoadDriverEx@users.noreply.github.com
ecb5bc9c831af5ea9ce64acc417973ca3414e77f
12a7d6c95a2bd988e14fbe2b3d324f12f0282101
/Algorithms/WCBS/MAPF_stripped_WCBS/TreeD/CTabuSearch.cpp
6634cbb52d0944a6321127ffc48c0fdeb2b71a6c
[]
no_license
zhuqinghe/MAPF
1f7c1ec7aa99a2fb9f12c80ff654c80e6ba725ae
b49fdd48c0e4612995ad9cc0cc9bc767c455872e
refs/heads/master
2022-11-11T07:26:08.341393
2020-07-01T20:13:53
2020-07-01T20:13:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
21,789
cpp
#include "CTabuSearch.h" #include "cputime.h" CTabuSearch::CTabuSearch(CTreeDecomposition* cctd){ ctd=cctd; cchg=ctd->GetConstraintHypergraph(); vector<STreeNode>& sTreeNodes=ctd->GetTreeNodes(); sTabuTreeNodes.resize(sTreeNodes.size()); numVars=cchg->GetNumVars(); numCons=cchg->GetNumCons(); var2Loc....
[ "jean123447@gmail.com" ]
jean123447@gmail.com
952dececa506544a21cf95444581f3789ff65a5b
818df5a6b667055f9c472e72ee0fc823f86de819
/531.cpp
cd858b04bbfa3533dd4636b01d22a8d1760597f1
[]
no_license
kalex1994/UVA
0a495e971fdcf92a785421a5c741bda915c21fca
cf45c6174cd299df14e8b52637c29ea7c3ec0f20
refs/heads/master
2021-01-01T19:47:13.630295
2016-10-15T19:14:46
2016-10-15T19:14:46
12,342,624
0
0
null
null
null
null
UTF-8
C++
false
false
1,889
cpp
#include <iostream> #include <string> #include <sstream> #include <vector> #include <algorithm> #include <limits> #include <climits> #include <cctype> #include <stack> #include <cstdio> #include <cstdint> #include <cstdlib> #include <cstring> #include <cmath> #include <set> #include <queue> #include <numeric> #include ...
[ "kiralaleks@gmail.com" ]
kiralaleks@gmail.com
846e1a4f6fb93a0952f0f483143a3bf95da37bdb
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/contest/1542579770.cpp
df96ca61156ec8568abcb31746bfab361c85d769
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
493
cpp
#include <bits/stdc++.h> using namespace std; string a, b[200]; int n; int main() { cin>>a; cin>>n; for(int i=1;i<=n;i++){cin>>b[i];} for(int i=1;i<=n;i++){ if (b[i]==a) { cout<<"YES"; return 0; } } int ok1 = 0; int ok2 = 0; for (int i = 1;i <= n;i++...
[ "harshitagar1907@gmail.com" ]
harshitagar1907@gmail.com
20fd18a78b6d8fb180e8d0e55dd4ad23e31d17af
0b57b2563238c86e4cdbf937d0af4604a34fdf6a
/IrpsimEngine/fifo.cpp
28139486371104b095ce583f6af6c947c5411832
[]
no_license
jnikolas-mwd/IRPSIM
c902917d7d438c599602b82bf623bdff15804130
482e142262e877ae71c2097312aee7598cdfc3eb
refs/heads/master
2020-09-27T03:44:54.389795
2019-12-06T22:56:45
2019-12-06T22:56:45
226,421,536
0
0
null
2019-12-06T22:27:45
2019-12-06T22:27:44
null
WINDOWS-1252
C++
false
false
3,851
cpp
// fifo.cpp : implementation file // // Copyright © 1998-2015 Casey McSpadden // mailto:casey@crossriver.com // http://www.crossriver.com/ // // ========================================================================== // DESCRIPTION: // =========================================================================...
[ "casey@crossriver.com" ]
casey@crossriver.com
ad540f8001145b3789959212d39b503a23b3d1aa
47c6e92d80b0aad5051b793315f1b7924a29a895
/src/matching.h
abe30ced426db7a8f2f80b837c5da4e6c6a33c09
[]
no_license
Muhammad-Abdullah-Rana/Person_ReIdentification
e787d5b34e17b27f7a7980eb32ac93ac91903dde
cc19fc3b9a3ef86b2f14c82fa14d671e54843b0d
refs/heads/master
2023-07-18T23:59:49.969776
2018-12-11T04:44:37
2018-12-11T04:44:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
378
h
#pragma once #include "opencv\cv.h" #include "opencv2\highgui\highgui.hpp" using namespace cv; class matching { public: int indexOfperson; int indexarray[200]; MatND torso; MatND legs; string hDataset; double claculateSim(); matching(void); matching(MatND t,string s); matching(MatND t,MatND s); ...
[ "marjan.moodi@gmail.com" ]
marjan.moodi@gmail.com
c8a0cc192d43d2b558bbd3003175a9b75328f3c1
695bdd7357105a2a77ed5d96a036a004337f5350
/PAC-MAN/Mapchip.h
0ec5adaca0aa8b7e97e0325a6c02b5244900c002
[]
no_license
human-osaka-game-2019/Battle-Party-Pacman-Powercookie-Festival
29147ecc75e88ae0f64e641d8470fb13ec66dc80
61a130c223bd8b00eea2324779fbbe8ecd5f71bc
refs/heads/master
2021-07-25T08:57:56.139405
2019-08-07T03:27:43
2019-08-07T03:27:43
198,361,510
0
0
null
null
null
null
UTF-8
C++
false
false
7,949
h
#ifndef MAPCHIP #define MAPCHIP #include<iostream> #include<stdio.h> class MapchipLoading { public: int** mapchip(const char* filename, int Hrow, int Hcol, int** data); int textureprint(int** F, int s, int d); }; struct mapp { int num; int tex; }; class DrawMap { public: void DrawMapChip(int map_size_wi...
[ "shouma20000407@gmail.com" ]
shouma20000407@gmail.com
78ba7e0b0f5c96205e203b781aa8da4e911b451e
c925592db63635c58aab5983dd03b79a57f416a7
/exp/MP3/PartA/solution4/sim/autowrap/testbench/gold.cpp_pre.cpp.line.cpp
ed587b2ebec046acb52d592bf3097cd88e0ce910
[]
no_license
jaybharat29/ECE527
23872d75496840e09710680a50aa63ad4735dfdf
c145cde638c6a8961c4caa8c7696a5d53e6b3601
refs/heads/master
2020-03-28T09:47:29.403801
2018-11-01T18:25:36
2018-11-01T18:25:36
148,059,981
1
1
null
null
null
null
UTF-8
C++
false
false
1,746
cpp
#pragma line 1 "C:/Users/Patel/Downloads/ECE527/exp/MP3/PartA/gold.cpp" #pragma line 1 "<built-in>" #pragma line 1 "<command-line>" #pragma line 1 "C:/Users/Patel/Downloads/ECE527/exp/MP3/PartA/gold.cpp" #pragma line 1 "C:/Users/Patel/Downloads/ECE527/exp/MP3/PartA/parta.h" 1 #pragma empty_line #pragma empty_line...
[ "jaypatelstar@gmail.com" ]
jaypatelstar@gmail.com
be4e913391a6733fab3f754924a49abcfc7de8a0
fb81d60eaea26c8feed34cdf8bcb302e6246caad
/examples_theory/teacher/1_CppBasic/conste.cc
836538f50837ea8d5f4669e7014f984df5ef0843
[]
no_license
auroraleso/Cpp-course
e03ff719c7b6dc8ee56f1dde9b5a0521231edc94
dce1cd39da03c22e595f513379aa0b7e14228c1e
refs/heads/main
2023-03-27T07:14:24.730861
2021-03-25T17:41:00
2021-03-25T17:41:00
345,602,280
0
0
null
null
null
null
UTF-8
C++
false
false
726
cc
// C++11 code // compile time constants #include <iostream> #include <cmath> constexpr int f(int i, int j) { return i * j; } int main() { constexpr int i = 3; int j; std::cin >> j; std::cout << i * j << std::endl; constexpr int k = f( i, 5 ); /* --------------------------------------DEF OF CONSTEXPR...
[ "lesoaurora@gmail.com" ]
lesoaurora@gmail.com
72ea5095b2965d2965300d39d9074de3673cdf7d
83213fa20300df1a4b39cc06d48bdb7db38c0647
/julka.cpp
3aca73727df24e84117f82ea0c2bdb36c19cca53
[]
no_license
riyarohilla/Julka-Spoj
3cd89be60649e6468903bbd4dc5daf877d009d70
05323537dfca40b104d7ce9cde7c5362f30d821e
refs/heads/master
2020-07-06T02:32:55.170855
2019-08-17T09:24:26
2019-08-17T09:24:26
202,860,761
0
0
null
null
null
null
UTF-8
C++
false
false
1,793
cpp
#include <stdio.h> #include<string.h> void add(char v1[], char v2[]) { int i,d,c=0; int l1=strlen(v1); int l2=strlen(v2); for(i=l1;i<l2;i++) v1[i]='0'; for(i=l2;i<l1;i++) v2[i]='0'; for(i=0;i<l1||i<l2;i++) { d=(v1[i]-'0')+(v2[i]-'0')+c; c=d/1...
[ "noreply@github.com" ]
riyarohilla.noreply@github.com
241e3b5f0bfb11fce0afc12d7aad77e5c3e1763c
b4d1fc90b1c88f355c0cc165d73eebca4727d09b
/tests/ceftests/message_router_harness_unittest.cc
42ac03319595c586c6c6791132f8614fb84339d7
[ "BSD-3-Clause" ]
permissive
chromiumembedded/cef
f03bee5fbd8745500490ac90fcba45616a29be6e
f808926fbda17c7678e21f1403d6f996e9a95138
refs/heads/master
2023-09-01T20:37:38.750882
2023-08-31T17:16:46
2023-08-31T17:28:27
87,006,077
2,600
454
NOASSERTION
2023-07-21T11:39:49
2017-04-02T18:19:23
C++
UTF-8
C++
false
false
2,592
cc
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. #include "tests/ceftests/message_router_unittest_utils.h" namespace { // Used to verify that the test harness (bound functions) b...
[ "magreenblatt@gmail.com" ]
magreenblatt@gmail.com
f1be9394b1f609e2ed4c48bb0b1c7f7b4b16152f
d77471349c1fa1989875a3d914c8f6395fc0c77b
/Source/Room3D/GeneratedFiles/Release/moc_Room3DWebDlg.cpp
aa7d01b8b4f54abb4969affa5bc9a6b471019c5d
[]
no_license
wagdev1919/PickMe3D
0f6065ab0dd87dd3f31603abca05dd3276b16aa7
199e0b53334aa607249fc542525971be983614fd
refs/heads/master
2022-02-21T13:16:38.958754
2019-09-24T11:40:32
2019-09-24T11:40:32
210,482,030
1
0
null
null
null
null
UTF-8
C++
false
false
4,150
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'Room3DWebDlg.h' ** ** Created: Tue Apr 9 09:37:21 2013 ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.0) ** ** WARNING! All changes made in this file will be lost! ****************...
[ "wagdev1919@gmail.com" ]
wagdev1919@gmail.com
3f125dc4530bc6fe6304c32d7f82993d9acab0bc
6405afd77b729254442bfa07e6fbe8ab748ad814
/QAsys/xiagao_dos/src/Quas.cpp
725aee453c4bb2f041daf2300d12f7b77be3bfc6
[]
no_license
YiwenSu/QAsys
a44872daa9f8e0a8655660cbfee7f5b450e35d7b
6ae3257891e18dc2e665f7263a16e6efd5f6616e
refs/heads/master
2020-04-01T19:41:13.999075
2018-10-18T05:10:56
2018-10-18T05:10:56
153,566,562
1
0
null
null
null
null
UTF-8
C++
false
false
634
cpp
#include "Quas.h" Quas::Quas() { //ctor } Quas::~Quas() { //dtor } void Quas::Display() { string a,au,t; int i; this->GetContent(a); this->Getauid(au); this->Gettime(t); this->Getid(i); cout<<"TITLE: "<<this->title<<endl<<"CONTENT:"<<endl<<a<<endl<<"id:"<<this->id <<" "<<"auid: "<...
[ "suyiwen19970227@sina.com" ]
suyiwen19970227@sina.com
08cb67889f72ce4507bc56ae2918f7f6c0e83940
f458038b0fd4ed79fc5ad8efa1e1170a57a7e769
/Hackerrank/Save the Queen.cpp
97c0533817e51dfcb15f4d2e0960c671fe9a18f1
[ "MIT" ]
permissive
sgpritam/DSAlgo
c000519d1bde0907d5af477893e3dff0e0806add
3e0e6b19d4f8978b2fc3be48195705a285dbdce8
refs/heads/master
2021-02-26T09:27:36.594473
2020-10-01T14:22:27
2020-10-01T14:22:27
245,515,797
1
0
MIT
2020-10-01T14:22:28
2020-03-06T21:01:36
C++
UTF-8
C++
false
false
1,916
cpp
#include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); vector<string> split(const string &); /* * Complete the 'solve' function below. * * The function accepts following parameters: * 1. INTEGER n * 2. INTEGER_ARRAY a */ void solve(int n, vector<int> a) { ...
[ "pritam1bnk@gmail.com" ]
pritam1bnk@gmail.com
f41b23f3207a676fd29da788d40b5af25bc47c5e
bc91326b309787bb5e338f62e7b8bd34a7eb9b3d
/好压缩/HuffmanTree.hpp
ec751732241482e0d186dd3d934d50ffaf71b570
[]
no_license
2416390994/helloword-
8d8a0786b7b32a325fd43dd43ab8b5c494f3629e
0baca1a4d5aa00dd875e6a193bddd00dd6f3bfc6
refs/heads/master
2021-06-25T15:33:16.480745
2021-01-01T12:25:00
2021-01-01T12:25:00
190,583,170
0
0
null
null
null
null
GB18030
C++
false
false
1,888
hpp
//什么是哈夫曼树:带权路径长度最短的一棵二叉树---权值越大,越靠近根节点 #pragma once #include<iostream> #include<vector> #include<queue> using namespace std; template<class T> struct HuffmanTreeNode { HuffmanTreeNode(const T& weight = T()) :_left(nullptr) , _right(nullptr) , _parent(nullptr) , _weight(weight) {} HuffmanTreeNode<T>* _left; //左...
[ "2416390994@qq.com" ]
2416390994@qq.com
b868c704fe069857c66c8c4490c4e2eaa72dbcc7
c2189140aab642c63a8a12af78b1270eeef910fb
/TriggerEfficiency.cc
17a5b2934d1b5e744838dac51b2c1c248bf570dc
[]
no_license
KongTu/V0Analyzer2015
21165b640dfe3241eb329fbef6acd4bb52a77868
4e731ba0c4ef1dc201d279a8a8fa37605515f06d
refs/heads/master
2016-09-05T19:47:28.782272
2015-06-06T02:02:24
2015-06-06T02:02:24
29,557,549
0
1
null
null
null
null
UTF-8
C++
false
false
10,668
cc
//cription: [one line class summary] // Implementation: // [Notes on implementation] // // Original Author: Zhoudunming Tu, // Created: Mon Jun 13 20:56:30 CEST 2011 // $Id$ // // // system include files #include <memory> #include <string> #include <vector> #include <iostream> #include <math.h> #inclu...
[ "zhoudunmingtu@Zhoudunmings-MacBook-Pro.local" ]
zhoudunmingtu@Zhoudunmings-MacBook-Pro.local
2dad4670079504df5b69ad2293d12a73779c29e1
0dca3325c194509a48d0c4056909175d6c29f7bc
/bssopenapi/include/alibabacloud/bssopenapi/model/DescribeResourceCoverageDetailRequest.h
27fcede8500d725c734309076c5c6249137034cf
[ "Apache-2.0" ]
permissive
dingshiyu/aliyun-openapi-cpp-sdk
3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62
4edd799a79f9b94330d5705bb0789105b6d0bb44
refs/heads/master
2023-07-31T10:11:20.446221
2021-09-26T10:08:42
2021-09-26T10:08:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,156
h
/* * Copyright 2009-2017 Alibaba Cloud 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 * * Unless required...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
af268e146734bd66f163f4c06f0ab128df96e447
a909df0ba2abf695df4a7d15350312d4c6463c48
/UVa/11040.cpp
bab3c87daa00f001fac4c6740a941588af0513fb
[]
no_license
SayaUrobuchi/uvachan
1dadd767a96bb02c7e9449c48e463847480e98ec
c213f5f3dcfc72376913a21f9abe72988a8127a1
refs/heads/master
2023-07-23T03:59:50.638063
2023-07-16T04:31:23
2023-07-16T04:31:23
94,064,326
0
0
null
null
null
null
UTF-8
C++
false
false
1,255
cpp
#include<stdio.h> int main() { int a,b,c,d,e,f,g,h,i,j,k[10][10],x; scanf("%d",&x); for(x;x>0;x--) { for(i=1;i<10;i+=2) { for(j=1;j<=i;j+=2) { scanf("%d",&k[i][j]); } } a=k[1][1]-k[3][1]-k[3][3]; a/=2; k[3][2]=a; k[2][1]=a+k[3][1]; k[2][2]=a+k[3][3]; a=k[3][1]-k[5][1]-k[5][3]; a/=2;...
[ "sa072688@gmail.com" ]
sa072688@gmail.com
81ef882cefbf54c54e5b01845fd75bbb42ed6d85
2a1ef984f2af7bc38628a5db3871d85f87831399
/Classes/ClientNet/MsgService/MsgPipe.h
c408886ea8c5dcc11b355bb0e2f25f7642c3fefa
[]
no_license
hkanynetx/c2d_client_socket
2b72e9496daadcf4985271a0a317de995fdc6c28
195ee76d920d4fd43510e35197d500d68e0fe10a
refs/heads/master
2021-12-23T06:40:20.770144
2017-11-03T07:18:32
2017-11-03T07:18:32
null
0
0
null
null
null
null
GB18030
C++
false
false
1,083
h
#ifndef __Msg_Pipe_H__ #define __Msg_Pipe_H__ #include <deque> #include <set> #include "cocos2d.h" #include "Public/Singleton.h" #include "ClientNet/NetPack.h" class IMsgService; class MsgPipe : public CSingleton<MsgPipe> { FRIEND_SINGLETON_CLASS(MsgPipe); private: MsgPipe(); public: ~MsgPipe(); publi...
[ "huanyingch01@gmail.com" ]
huanyingch01@gmail.com
ae4432a1319c1deb6c6d59c53cea78bb7a053795
ac3815967418153a7c5806127a50b0fe5b585f66
/rxzn_zj/Transceiver/spi.cpp
767cac204c46e77a58edfb5f047605535c0bb708
[]
no_license
hugo0chen/rxzn_zj
944baaa22cd9d7066cae1f5fb197425b21907081
0b04c02ecdc978f6f239471f70c988ad5eec338f
refs/heads/master
2021-07-06T13:15:11.631836
2017-09-25T02:59:23
2017-09-25T02:59:23
104,304,225
0
0
null
null
null
null
UTF-8
C++
false
false
318
cpp
#include "spi.h" /* MOSI P3.1 * MISO P3.2 * SCLK P3.3 */ INT8U SPI_ExchangeByte(INT8U data){ INT8U i,temp; _DINT(); SCK_0 ; for(i = 0; i < 8; i++){ if(data&0x80){ MOSI_1; } else{ MOSI_0; } data <<= 1; SCK_1; temp <<= 1; if(MISO) temp++; //MISO SCK_0 ; } _EINT(); return temp; }
[ "2482752117@qq.com" ]
2482752117@qq.com
c92c0308b007d1d94a327d38a69bd6cfafc631c0
9b2f2bf07b2df790989fe73989a1f7b13dc4787e
/Codeforces Solutions/617A-Elephant.cpp
441aa20bff6d8e0e87805e4175ec09f25122e074
[]
no_license
ImdadMiran17/SolutionsofProblemsOnlineJudge
d38a33484c3b74db59f52dc6b34ad6cc9300acb9
30f4f92d4526d12e628465766808b0bdb87c98f3
refs/heads/master
2023-08-17T02:28:21.473280
2023-08-03T19:09:35
2023-08-03T19:09:35
204,754,944
2
0
null
null
null
null
UTF-8
C++
false
false
205
cpp
#include<bits/stdc++.h> using namespace std; int main(void) { int n,a; cin >> n; if(n%5==0) a=n/5; else a=(n/5)+1; cout << a << endl; return 0; }
[ "noreply@github.com" ]
ImdadMiran17.noreply@github.com
116f8c141390b16b22ecdee9ff3ecfd7b7bb66cd
6bdaeda6a193c75d556014f1e9897af4f23ee8e4
/src/zeromq_handler_stop.cpp
78bc61ac5b2d147c55334f9179b27e42349e235e
[ "BSD-3-Clause" ]
permissive
AllenInstitute/ZeroMQ-XOP
5e96c65d158b7761d840002007430682f2e492b9
ab2d2b752d1c8856993b7e82bf6bc37d5c558363
refs/heads/main
2023-08-29T11:59:45.540711
2023-05-26T13:52:15
2023-05-26T13:52:15
97,764,684
11
8
BSD-3-Clause
2023-05-26T13:52:16
2017-07-19T21:57:47
C
UTF-8
C++
false
false
315
cpp
#include "ZeroMQ.h" #include "MessageHandler.h" // This file is part of the `ZeroMQ-XOP` project and licensed under // BSD-3-Clause. // variable zeromq_handler_stop() extern "C" int zeromq_handler_stop(zeromq_handler_stopParams *p) { BEGIN_OUTER_CATCH MessageHandler::Instance().Stop(); END_OUTER_CATCH }
[ "thomas.braun@byte-physics.de" ]
thomas.braun@byte-physics.de
fa6c4cd90f9249c7ac6e4509d29aef69300ea483
422c7a4f5866ff6a2b1383c96588204b540c9e97
/Proj2/libcppSocket/libcppsocket/ClientSocket.h
6d5ea98f5e1163523c814fdc4caaacae0f6500fb
[]
no_license
blaedj/5651Networks
fd292e1950c67c9b545afdcc52cb5aeb7069fbb9
8824818e84989a0d323ac34eba2cc4c5c4301037
refs/heads/master
2020-06-01T16:35:00.917277
2013-10-18T21:40:30
2013-10-18T21:40:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
529
h
/* * @author: Blaed Johnston Oct 2013 * ClientSocket.h * */ #ifndef __LIBCPPSOCKET__CLIENTSOCKET_H #define __LIBCPPSOCKET__CLIENTSOCKET_H 1 #include "Socket.h" #include <sys/types.h> #include <netinet/in.h> namespace libcppsocket { class ClientSocket : public Socket { public: ClientSocket(string ip_ad...
[ "blaedj@gmail.com" ]
blaedj@gmail.com
a2781ddc92b0a995d38824e5ef64b46931741b3c
5f16210532e677e817d01b4023629ba858c5b5ce
/src/init.cpp
ab1e5e9b3234fba459055596b0e52d454d94533e
[ "MIT" ]
permissive
tulipcoins/tulipcoin
509648aedca976131ca611206f1ad41621515904
5e14b1e488b0672ca405a2732603b1e091e2bbd2
refs/heads/master
2021-05-13T23:23:40.968992
2018-01-12T12:50:13
2018-01-12T12:50:13
116,513,389
5
3
null
null
null
null
UTF-8
C++
false
false
36,137
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "net.h" #i...
[ "cricketcoin@yahoo.com" ]
cricketcoin@yahoo.com
224b4ac50f7c0e18fa943b38d77ca014683270c3
abf8815f54833ecad61ca54326c36b3e1b333a90
/CF_ASSIGNMENT4.cpp
65148cbd5cc0c108316a61ae23e7932e71dc922d
[]
no_license
cflores124568/CS2B
5711e15a05f507ccb37a3b8157bfc491955ba094
5dacb8f180a157e08ab4d2fc66fe6c7eb925d387
refs/heads/main
2023-06-05T03:13:19.351025
2021-06-19T01:19:36
2021-06-19T01:19:36
378,297,017
0
0
null
null
null
null
UTF-8
C++
false
false
17,239
cpp
//===--------------------------------------------------------------------------------------------------===// // FileName: CF_ASSIGNMENT4.cpp // Description: This program is an account managment system for phone numbers and their messages. // Users can select up to 5 choices. // //Date Author ...
[ "noreply@github.com" ]
cflores124568.noreply@github.com
2f1f4dcc8e4f127ef9d9273a65b45694fb8961d8
d147f9c98bae97ed79cef2597977f61c83724c39
/STLWorkspace/Exam/Exam4/ProjectBD/Source/ProjectBD/Zombie/BTTask_CheckBattle.h
f92b9e236c086c6e0bf10b6590515625aa725b3d
[]
no_license
daaie/SkillTreeLab
28ec4bea1057d4c44a5f15bcfb1e0178358f85e1
43482b9a4732836ad7b0f2df5c29c6b1debfa913
refs/heads/master
2020-03-17T05:06:08.824446
2018-07-17T04:49:47
2018-07-17T04:49:47
133,302,446
0
0
null
null
null
null
UTF-8
C++
false
false
452
h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "BehaviorTree/Tasks/BTTask_BlackboardBase.h" #include "BTTask_CheckBattle.generated.h" /** * */ UCLASS() class PROJECTBD_API UBTTask_CheckBattle : public UBTTask_BlackboardBase { GENERATE...
[ "pda4423@gmail.com" ]
pda4423@gmail.com
5ad8331b34cfa870bfe6dcc9539ecddf396f723f
fbd5111e817a31fde1cad1a6dd644f08f531e358
/C++ 4주차/과제 해설/main.cpp
ab23b0ac8f1b7dd3c50c598fd01524ca8d02de9b
[]
no_license
Hyeongho/Academic_Materials
9b82694d0a82236095def41a5077b1ef7f07c222
59ea3557b3403beb9b3a51387ce7c856b767aaa3
refs/heads/main
2023-05-09T14:29:12.664792
2021-05-31T19:29:16
2021-05-31T19:29:16
359,943,594
0
0
null
null
null
null
UTF-8
C++
false
false
1,252
cpp
#include "Shape.h" #include <iostream> #include <string> using namespace std; void Calculator(float _a, float _b, char _c, float* pta); void StringSum(string _s, int* _result); bool Palindrome(string _s); int main() { Shape s(2, 2, 3); cout << s.GetRectangle() << endl; cout << s.GetCircle() << endl; float a,...
[ "rlaguddgh@nate.com" ]
rlaguddgh@nate.com
5864c35f48010fdd964975c01c35acc70a37eafb
636deb9dfd8fde646128983c2fac70719485d5ce
/source/game/boss/0203_cLeviathanBoss.cpp
6d281d4ed2545f9553bb19ae7359c905b83c9d38
[ "Zlib", "CC-BY-4.0" ]
permissive
MausGames/project-one
e77fb5d7dce9ece09fe001fa733e869de2c2bd86
31a0979e01fde4943da3a81572bddd9569644d95
refs/heads/main
2023-05-25T17:04:26.507312
2023-05-18T08:02:11
2023-05-18T08:02:11
29,095,906
3
0
null
null
null
null
UTF-8
C++
false
false
23,610
cpp
/////////////////////////////////////////////////////// //*-------------------------------------------------*// //| Part of Project One (https://www.maus-games.at) |// //*-------------------------------------------------*// //| Copyright (c) 2010 Martin Mauersics |// //| Released under the zlib License ...
[ "revision@maus-games.at" ]
revision@maus-games.at
d4945f3876179d4efb2907506b08a00416a5c86b
7491e96c4dc532b3ed7a1e6cb1a900892d182f1e
/Graph + Trees/12.Check_a_graph_for_tree.cpp
7a02819ac436647aff41b81f8b32b307ffaf36bc
[]
no_license
parvezaalam786/Placement-Preparation
b4312364d06d9e01118bd872da73f72dc4f6c64e
948f546443c0d535bb1ee40bc68ed438125a6cf4
refs/heads/master
2023-01-19T17:51:46.914941
2020-11-11T11:28:14
2020-11-11T11:28:14
282,716,681
0
0
null
null
null
null
UTF-8
C++
false
false
301
cpp
// Handshaking Lemma #include<bits/stdc++.h> using namespace std; int main() { int n; scanf("%d",&n); int a,sum=0; for(int i=0;i<n;i++) { scanf("%d",&a); sum+=a; } if(sum == 2*(n-1)) printf("Yes\n"); else cout<<"No\n"; return 0; }
[ "parvezaalam786.p@gmail.com" ]
parvezaalam786.p@gmail.com
763ac1a413a6bcd676f214cfe2902a566c290f56
11cd4f066c28c0b23272b6724f741dd6231c5614
/Codeforces/1311-C.cpp
6422ebe96ad9691c067a33130e7a2a1e385901b1
[]
no_license
Maruf089/Competitive-Programming
155161c95a7a517cdbf7e59242c6e3fc25dd02b7
26ce0d2884842d4db787b5770c10d7959245086e
refs/heads/master
2021-06-24T11:00:55.928489
2021-06-01T05:45:58
2021-06-01T05:45:58
222,057,521
0
0
null
null
null
null
UTF-8
C++
false
false
7,344
cpp
/**Bismillahir Rahmanir Rahim.**/ #include<bits/stdc++.h> using namespace std; #define ln '\n' #define inp(x) scanf("%lld",&x) #define inp2(a,b) scanf("%lld %lld",&a,&b) #define f0(i,b) for(int i=0;i<(b);i++) #define f1(i,b) for(int i=1;i<=(b);i++) #define MOD 1000000007 #define countv(v,a) count(v.begin()...
[ "noreply@github.com" ]
Maruf089.noreply@github.com
70a98c55c6887c9445cf814de581078c1ad1de18
ac96b532f7d4cedb044df17d228046704ac25aa5
/MPShelpers/include/eigs.h
7edb30b0df3f54828f5f47de910d7ad48e09e2a3
[]
no_license
Darkdragon84/IMPS_CPP_tools
7c6d4d3c3811b82c91d13bf588f561b08a89d852
aa94af3e82c05f835f592345c4e2fb691271c2f3
refs/heads/master
2022-01-06T00:56:28.875188
2019-05-06T08:29:18
2019-05-06T08:29:18
103,420,831
2
0
null
null
null
null
UTF-8
C++
false
false
4,207
h
#ifndef EIGS_H_ #define EIGS_H_ //#include "MPSIncludes.h" #include <iostream> #include <assert.h> #include "Defs.h" #include "arma_typedefs.h" /// TODO (valentin#1#2016-12-12): switch to templates of MultOPx to be able to pass temporary lambdas extern "C" { // struct /// variables controlling debugging in ARPA...
[ "stauber.valentin@gmail.com" ]
stauber.valentin@gmail.com
e63d643c1afba9c4cc603b67858a43259a2cc875
910f3d783b7d1414764781a0a485e16a4cdb39a3
/final/bbcar/bbcar/parallax_servo.cpp
db4b60dcbbf6cfc3213e5a1d96118830e4903b34
[]
no_license
brianlu90/final
8696fa8955fde76990db81a00083ff7b95848a52
7747f636e9f418485ff998ed022915311f6eb468
refs/heads/master
2023-05-15T19:28:13.973841
2021-06-16T09:15:25
2021-06-16T09:15:25
376,781,087
0
0
null
null
null
null
UTF-8
C++
false
false
3,567
cpp
#include "parallax_servo.h" parallax_servo::parallax_servo (PwmOut& pin) { pin.period(0.02); pwm = &pin; factor = 1; target_pwm_value = 0; current_pwm_value = 0; ramping_factor = 0; } // set new target pwm value (speed = pwm value) void parallax_servo::set_speed( double value ) { target_pw...
[ "brianlu90@gmail.com" ]
brianlu90@gmail.com
7710b8c09f0564beee78f1a6969fae6a858b063b
6d0b035f347765552dd196449e7b1a8b36805525
/world/CWorld.cpp
6b03a27b8c71d31d021767f53c837b88648f5f9c
[]
no_license
AmosZhu/raytracer
8932c9f2142cbc2db1794c342c65a2b9646b58bb
f0f881b0bfb29fac4867b7c0623d221e24458b16
refs/heads/master
2021-01-13T00:50:35.502269
2016-02-22T05:53:34
2016-02-22T05:53:34
45,279,728
0
0
null
null
null
null
UTF-8
C++
false
false
3,089
cpp
/* * CWorld.cpp * * Created on: Oct 30, 2015 * Author: Dizhong.Zhu */ #include "CWorld.h" #include "CSingleSphere.h" #include "CTracerMultipleObjects.h" #include "CMultiJitteredSampler.h" #include "common.h" #include "CPlane.h" CWorld::CWorld() { tracer_ptr = nullptr; camera_ptr = nullptr; m_screen = CD...
[ "Amos.Zhu@hotmail.com" ]
Amos.Zhu@hotmail.com
ae0c7a42c2b1bfba2d576988f60b0dcb331f5f0a
688d5a8227bfd8e7e503a06b256d83f707cdb162
/plot/TPlotNote.cc
e2f44201f8cd9e1be63f2af1a4ddb943d2c3dc1f
[]
no_license
pavel1murat/murat
ea65ee1baf5b3335d080585b04e18d0304963097
d76111a73a18c150e6b5218fc411a2fd05e91e10
refs/heads/main
2023-06-11T07:22:18.986114
2023-05-24T16:35:22
2023-05-24T16:35:22
118,154,861
0
0
null
null
null
null
UTF-8
C++
false
false
3,879
cc
/////////////////////////////////////////////////////////////////////////////// // base class for plot notes //////////////////////////////////////////////////////////////////////////////// #include "plot/TPlotNote.hh" #include "TPaveLabel.h" #include "TArrow.h" #include "TObjArray.h" #include "TObjString.h" ClassImp(...
[ "murat@fnal.gov" ]
murat@fnal.gov
4a77bebd7d020024bd882ba83eb604c25532347b
134d4357ccc3b3bd75fd94083554059b7e478cf2
/Code/nowCode/NC109岛屿数量_dfs.cpp
021c5d14495ab2c6242943f157053c03e8acc44b
[]
no_license
CaiHuicheng/Project
cd7f0cf5516ef14ee17554b1a97b4b1a40872692
b76214f9ff469676bb1dfa39c4fe2ac99af06209
refs/heads/master
2023-02-17T16:16:45.736858
2021-01-16T13:14:14
2021-01-16T13:14:14
293,016,694
3
0
null
null
null
null
UTF-8
C++
false
false
955
cpp
class Solution { public: /** * 判断岛屿数量 * @param grid char字符型vector<vector<>> * @return int整型 */ int solve(vector<vector<char> >& grid) { //看成无限图,用dfs或bfs int r = grid.size(); if(r == 0) return 0; int c = grid[0].size(); int nums = 0; for(int i ...
[ "2751886429@qq.com" ]
2751886429@qq.com
a62262e820723b5c7a6c2037baab3cc8101f43a1
431a5c28b8dfcc7d6ca6f4f97bf370cd770547a7
/src/v2i-hub/CARMAStreetsPlugin/test/test_J2735ToSRMJsonConverter.cpp
aacbcaddf98d790ce8f3ae38438b97c3c34beae7
[ "Apache-2.0" ]
permissive
usdot-fhwa-OPS/V2X-Hub
134061cfb55d8c83e871f7fd4bbfa5d8d3092eb0
aae33e6a16b8a30e1faee31a7ee863d191be06b8
refs/heads/develop
2023-08-26T10:10:59.989176
2023-08-24T14:58:21
2023-08-24T14:58:21
168,020,929
106
63
null
2023-09-11T20:24:45
2019-01-28T19:16:45
C
UTF-8
C++
false
false
7,254
cpp
#include <gtest/gtest.h> #include <J2735ToSRMJsonConverter.h> #include <cassert> class test_J2735ToSRMJsonConverter : public ::testing::Test { public: test_J2735ToSRMJsonConverter() = default; ~test_J2735ToSRMJsonConverter() = default; protected: tmx::messages::SrmMessage *_srmMessage; SignalRequestM...
[ "noreply@github.com" ]
usdot-fhwa-OPS.noreply@github.com
dcbdc6e335ad10f0f1c15fcfd159d2e486cca070
27aef7d39558016993d76c3cbb8be1c6277e251b
/cpp/photo.h
6085cb9257bfc42222211bc8fec04d5853a4cf84
[]
no_license
duan-yingjie/set-top_box
0e73cfa4c34754927f9b4e22a1e4dcc57817f346
7cbf456f1ccf3e242c696b8e0896314da6a98e75
refs/heads/main
2023-02-04T13:36:38.725006
2020-12-24T17:33:25
2020-12-24T17:33:25
324,205,857
0
0
null
null
null
null
UTF-8
C++
false
false
1,520
h
#ifndef PHOTO_H #define PHOTO_H #include"multimedia.h" class Photo:public Multimedia { /** * @brief latitude-latitude of photo * @brief longitude-longitude of photo */ double latitude; double longitude; public: ~Photo() override; /** * @brief getlatitude-g...
[ "532099692@qq.com" ]
532099692@qq.com
b82753e844162264cdda9bd7bf0bb3239be8ccdb
f778e8152800dfe2f6ca3411e34054ab23d843d9
/ndn-fw-judge-tag.cc
c98b17f1caece232679445d8703236d4006c9ffe
[]
no_license
projectsimtest/sim
4f29389be537dd357b19b0680f006d1ba759299a
73865a37765f144e1d9c091c33a7e5787946a19e
refs/heads/master
2020-12-24T19:37:06.991311
2016-04-23T03:26:22
2016-04-23T03:26:22
56,898,430
0
0
null
null
null
null
UTF-8
C++
false
false
759
cc
/* * ndn-fw-judge-tag.cc * * Created on: 2015年12月3日 * Author: zhuxd */ #include "ndn-fw-judge-tag.h" namespace ns3 { namespace ndn { TypeId FwJudgeTag::GetTypeId () { static TypeId tid = TypeId("ns3::ndn::FwJudgeTag") .SetParent<Tag>() .AddConstructor<FwJudgeTag>() ; return tid; } TypeId ...
[ "badboyaccount@163.com" ]
badboyaccount@163.com
382f957b5bf40eb1bc8fbcb521dd6339aef2c879
47b08539e489322471a737e0fa908058c84db1b3
/endzone.cpp
057cdd7ba1c5f8ec573b4cbbc321aced9a988e88
[]
no_license
LuSi2001/mapcreatortest
544cd599c9fdf900f6be8ce778308b2b67f5cff8
c77b8fb5fc0f9453ae09d616385342a952aee055
refs/heads/master
2023-02-13T06:01:07.364728
2021-01-15T13:09:09
2021-01-15T13:09:09
329,895,996
0
0
null
null
null
null
UTF-8
C++
false
false
1,563
cpp
#include "endzone.h" #include "velocityengine.h" #include "ballcounthandler.h" #include "QPainter" #include <QTime> EndZone::EndZone(CounterMode mode, Zone *parent) : Zone(parent), m_countermode(mode) { } void EndZone::setCounterMode(CounterMode mode) { m_countermode = mode; } CounterMode EndZone::coun...
[ "luca.sievers@rheinmetall.com" ]
luca.sievers@rheinmetall.com
677882db648a5ce806938f7883c8f90922d59848
3e4c8432ae6596af13f093c88dbd7d2fe4c6a11d
/libraries/RobotOpen/ROWebServer.cpp
18e1f22e062d00b5411616056d646c943b7964d0
[]
no_license
team3408/RobotOpen-Sasquatch-Library
36b175f871a540903f20ef35f7015ae35e448747
f248999a8cd3cca17802e15ee2faa3afaf077be8
refs/heads/master
2020-12-30T22:55:30.017175
2014-12-01T04:35:37
2014-12-01T04:35:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,482
cpp
#include "RobotOpen.h" // Initialize our http constants const char *ROWebServer::http_open[7] = { "HTTP/1.1 200 OK\n",\ "Content-Type: text/html\n", "Connection: close\n", "\n", \ "<!DOCTYPE HTML>\n",\ "<html>\n",\ "<meta http-equiv=\"refresh\" conte...
[ "tech2077@gmail.com" ]
tech2077@gmail.com