blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
622b21e4d2d561723df65ff67b041881278eb5b6
90d6f3f2379aea59a9c3466d40d4879bbb3f84f7
/Heather_Key_Game_4/RenderManager.h
2ffb36b7ae75a2349685b541538c405fb2709dea
[]
no_license
hmkey/Game_4_Repo
67bed8497b01f0f1eb5db29cae0901413f933eab
ffd6d693f9536fc110a91b72d2aac8ed10f70303
refs/heads/master
2020-05-19T14:06:19.056829
2015-04-07T04:22:29
2015-04-07T04:22:29
33,517,572
0
0
null
null
null
null
UTF-8
C++
false
false
4,114
h
#if !defined RENDER_MANAGER #define RENDER_MANAGER #include "GameHeader.h" #include "Ogre.h" #include "RenderListener.h" #include "CSC2110/ListArray.h" #include "tinyxml.h" class GameManager; class GUIManager; //class ScriptManager; class RenderManager { private: Ogre::SceneNode* selected_node; List...
[ "hmkchan0327@gmail.com" ]
hmkchan0327@gmail.com
a985e0135b795045f3f86ba0d08db4c00b83aa1d
40efe206e2a2050f852fe8e51b25962da8de58a3
/acex_draw_test/AppBase.cpp
7b712b9a0d3a2643a4df07850828652e066c4787
[ "MIT" ]
permissive
fstabin/acex_draw
47778d766a5f84f4af9963f3d85e33628fcc78d6
4ae949fea7aff2a7e5fb7d62c87f66d819d7732d
refs/heads/master
2021-04-06T20:23:46.664569
2018-03-16T07:27:15
2018-03-16T07:27:15
125,228,614
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
6,439
cpp
#include "stdafx.h" #define CRTDBG_MAP_ALLOC #include <crtdbg.h> #include <thread> #include <atomic> #include <combaseapi.h> #include <shared_mutex> #include <mutex> #include <WindowsX.h> #include "resource.h" #include "AppBase.h" #include "Main.h" #define MAX_LOADSTRING 100 #define WM_USER_SCREEN_SETUP ( WM_USER + ...
[ "tabibito_1500@yahoo.co.jp" ]
tabibito_1500@yahoo.co.jp
b3396d994146ab6806d67538bac4c3df07852e52
91604aa0369c53e8c76f48039ef4f72b994160dd
/InitBall/main.cpp
bc9726c5e593221dd93e0d8a01192fb8e22e7cfc
[]
no_license
Devang-25/dev_cpp
391a32baa1ddf765849e945a616f783f2fca56cf
6847f85e5b35b7c2d23acad935d4ae752f1c5b56
refs/heads/master
2023-01-30T16:32:56.134960
2020-09-05T00:55:39
2020-09-05T00:55:39
308,292,954
0
0
null
2020-12-18T18:32:04
2020-10-29T10:27:28
null
UTF-8
C++
false
false
926
cpp
#include <string> #include <iostream> class Ball { private: std::string m_color{"black"}; double m_radius{10.0}; public: // Default constructor with no parameters Ball()//: m_color{"black"}, m_radius{10.0} { } // Constructor with only color parameter (radius will use default value) Ball(const ...
[ "nsikanikpoh@gmail.com" ]
nsikanikpoh@gmail.com
936141bbd3b4f20817d48b4a4ca98d3aa7b6aeb0
c4a93788c29ba1600802a618d13b566791cf29d6
/QtPriority/myclass.h
fe48c3986e70820eca2a3b3d6638ca73fdada230
[]
no_license
linshunzong/qt
f297bcad91452fbbcab3ddd2f602e8b4c1ea67a4
3a33d9d8c2b43380ce1b11e7cad340d46e1896e8
refs/heads/master
2021-01-13T01:49:25.092907
2015-02-09T15:48:38
2015-02-09T15:48:38
30,252,409
0
0
null
null
null
null
UTF-8
C++
false
false
632
h
#ifndef MYCLASS_H #define MYCLASS_H #include <QObject> class MyClass : public QObject { Q_OBJECT Q_ENUMS(Priority) Q_PROPERTY(Priority priority READ priority WRITE setPriority) Q_PROPERTY(QString version READ version WRITE setVersion) public: enum Priority{High,Low,VeryHigh,VeryLow}; explicit ...
[ "linsz@163.com" ]
linsz@163.com
f65cd307754826fa923f655f42c04e698221959e
9bae8aacd764665af615619cb99f516d24003d70
/src/blockchain_utilities/blockchain_prune_known_spent_data.cpp
e3627dd0f06945c98504085f3faf21b4e27ca6f9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
txchangecoin-project/txchangecoin
624dfb0d38d3588a9de52fe4fbb6a63f01e9e841
0d9f95db55386cb40ed0326cbeba8ed19a15b075
refs/heads/master
2020-05-17T14:24:51.491958
2019-09-14T11:53:58
2019-09-14T11:53:58
183,763,255
3
3
NOASSERTION
2019-07-10T21:08:28
2019-04-27T11:16:57
C++
UTF-8
C++
false
false
10,568
cpp
// Copyright (c) 2014-2019, The Monero Project // // 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 /...
[ "o.aphunu@gmail.com" ]
o.aphunu@gmail.com
59a9e90f7547337ed4caac0dbcd0ff894a96eb39
8c8ea056e5c38abe04c70c1a89fcd610613777de
/module04/ex01/PlasmaRifle.cpp
be3941b19ece92cc22f5b9d4df012723d8227f86
[]
no_license
1337hunter/cpp_modules
96992f7a000323ffee98fa7ee95bd5ce0686c381
b8cce9989c3092d878654799b390c0ab23d44e6e
refs/heads/master
2023-03-22T09:26:28.061684
2021-03-12T07:11:21
2021-03-12T07:11:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,350
cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PlasmaRifle.cpp :+: :+: :+: ...
[ "ant.sergy@gmail.com" ]
ant.sergy@gmail.com
8d064452e60cc5cea2dda385a0aa4074e9513f65
254bf7d275384ed462a49b81e4930e9bd5ab29d7
/P4/HEAP_1/MinHeap.h
e2201ef6d3bb3c2647d16214d4b6b49b4811f064
[ "WTFPL" ]
permissive
leRoderic/ED2018
74dfc20183c17ef152df12f770eb9976a78a8c3a
a1663fc7b1ce8ae29ba5d9c004a0ddcf32d6c2aa
refs/heads/master
2021-06-02T09:07:30.053040
2019-11-07T18:06:20
2019-11-07T18:06:20
123,178,244
1
1
null
null
null
null
UTF-8
C++
false
false
7,104
h
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: MinHeap.h * Author: Tropped * * Created on May 19, 2018, 11:12 AM */ #ifndef MINHEAP_H #define MINHEAP_H #include...
[ "rcmikado@gmail.com" ]
rcmikado@gmail.com
466623722bb16f3469694bcb446470bb5eda07cf
23092a0b775419403d3bfd7eb6e9d2baa84e34a6
/test/move_eval_test.cc
77874246a4071140017ed752a6c5557e398ffdd4
[]
no_license
felixguendling/chessbot
709f15f9ac7093260c709620fbd0dd1fef185ee3
a65d0fff1723deae2cd001491c7f8a9eae04eee2
refs/heads/master
2023-05-10T13:22:53.655589
2021-06-21T15:15:47
2021-06-21T15:15:47
336,854,945
1
0
null
null
null
null
UTF-8
C++
false
false
1,237
cc
#include "chessbot/stockfish_evals.h" #include "doctest/doctest.h" using namespace chessbot; TEST_CASE("move eval comparison") { SUBCASE("mate vs cp") { auto const e1 = move_eval{.mate_ = -2, .cp_ = 0}; auto const e2 = move_eval{.mate_ = 0, .cp_ = 100}; CHECK(e1 < e2); } SUBCASE("mate vs mate neg...
[ "felix.guendling@gmail.com" ]
felix.guendling@gmail.com
3ce47cbca3779ce640262c5b401decb196e97a2d
dd2bcd6e829347eef6ab8020bd8e31a18c335acc
/ThisIsASoftRenderer/Editor/XTP/Source/ReportControl/XTPReportBehavior.h
3bb76e0c762b8482af0fd3363b46e86d2d8dc915
[]
no_license
lai3d/ThisIsASoftRenderer
4dab4cac0e0ee82ac4f7f796aeafae40a4cb478a
a8d65af36f11a079e754c739a37803484df05311
refs/heads/master
2021-01-22T17:14:03.064181
2014-03-24T16:02:16
2014-03-24T16:02:16
56,359,042
1
0
null
2016-04-16T01:19:22
2016-04-16T01:19:20
null
UTF-8
C++
false
false
5,201
h
// XTPReportBehavior.h: Declaration of the CXTPReportBehavior class. // // This file is a part of the XTREME REPORTCONTROL MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WIT...
[ "54639976@qq.com" ]
54639976@qq.com
d3ef052b3c731122e7124a18700d02dd91337aca
ac1c4815ab47858919140edbf193f24ae4fb3118
/src/rosserial/rosserial_server/include/rosserial_server/serial_session.h
5ca707586560fd2de8dc243f0351889f0d93d844
[]
no_license
DavidHan008/Autonomous-RC-Car
c13e3816efc4a8d8112f9b71e44d4cb15a465fa3
443dadc48c8bbbe30811fa18b110deffa2daf998
refs/heads/master
2021-01-23T14:13:57.875181
2017-04-12T17:59:33
2017-04-12T17:59:33
102,679,239
1
0
null
2017-09-07T02:04:39
2017-09-07T02:04:39
null
UTF-8
C++
false
false
3,989
h
/** * * \file * \brief Single, reconnecting class for a serial rosserial session. * \author Mike Purvis <mpurvis@clearpathrobotics.com> * \copyright Copyright (c) 2013, Clearpath Robotics, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted pro...
[ "muthiyanbhushan@gmail.com" ]
muthiyanbhushan@gmail.com
b1ad91dda21a2d68c22351dcb8c54de9d7988a5c
07074962be026c67519a0ccfb3d48bd95ede38ed
/DbData/dbusers.h
3453f5a0629f4623625acab0e5708f32308d5020
[]
no_license
End1-1/Cafe5
2fa65c62f395c186e2204f3fb941a2f93fd3a653
ba2b695c627cf59260a3ac1134927198c004fe53
refs/heads/master
2023-08-17T02:39:29.224396
2023-08-14T06:37:55
2023-08-14T06:37:55
151,380,276
2
1
null
null
null
null
UTF-8
C++
false
false
201
h
#ifndef DBUSERS_H #define DBUSERS_H #include "dbdata.h" class DbUsers : public DbData { public: DbUsers(); QString fullName(int id); QString fullShort(int id); }; #endif // DBUSERS_H
[ "end1_1@yahoo.com" ]
end1_1@yahoo.com
b039eaa3680630d7067f92ccd3e092cc721a06fa
ba86ba2b42cd85e8faca5d323f499005e7340f2b
/include/goofit/Registry.hpp
b09050ea4dbf38ea354443c1af08720e9b269dec
[]
no_license
henryiii/GooFitX
db3c0a9440ce62e1e3d03ac0c4aa40c895d48a12
ac28739f0f17a1529afe5a6faf32c7bce3a3bf5a
refs/heads/master
2021-03-27T10:08:11.113420
2018-05-16T14:40:06
2018-05-16T14:40:06
103,797,489
0
0
null
null
null
null
UTF-8
C++
false
false
949
hpp
#pragma once #include "RegistryNoInl.hpp" #include "PDFs/PDF.hpp" #include "Variable.hpp" namespace GooFit { namespace experimental { inline Registry::Registry(PDF* source) : source(source), values(std::make_shared<std::vector<fptype>>(source->size())) {} inline void Registry::calculate() { if(source != nul...
[ "henry.fredrick.schreiner@cern.ch" ]
henry.fredrick.schreiner@cern.ch
dbd009c1f6828caac6276e6a7d7ad05e69444d52
9ee1a4445e7efc786d0206959f6c97f8caa66154
/LOJ-1149.cpp
b51bd35d13166621505a504e93d9356c4df9f8ce
[]
no_license
Jackal1586/LightOJ
d6877adf4af82e32f96aa869b63bb8699259d3b7
6c008e8fe1c02f3d97171324ba4eca3e94d24133
refs/heads/master
2021-01-12T00:49:19.482962
2017-01-28T16:09:53
2017-01-28T16:09:53
80,295,122
2
2
null
null
null
null
UTF-8
C++
false
false
1,866
cpp
#include<bits/stdc++.h> using namespace std; vector<int>g[250]; int cap[250][250],source=230,sink=231,pr[250]; inline int cn(int a) { return (a+102); } bool bfs(){ memset(pr,-1,sizeof(pr)); pr[source]=-2; queue<int>q; q.push(source); while(!q.empty()){ int src=q.front(); q.pop();...
[ "Zarzis Khan" ]
Zarzis Khan
eb4066ada86e28ab717bb4920a80fd90874cab11
a06a9ae73af6690fabb1f7ec99298018dd549bb7
/_Library/_Include/boost/graph/exterior_property.hpp
27d4ceb4694506af0b15e91502856e691657d432
[]
no_license
longstl/mus12
f76de65cca55e675392eac162dcc961531980f9f
9e1be111f505ac23695f7675fb9cefbd6fa876e9
refs/heads/master
2021-05-18T08:20:40.821655
2020-03-29T17:38:13
2020-03-29T17:38:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,656
hpp
//////////////////////////////////////////////////////////////////////////////// // exterior_property.hpp // (C) Copyright 2007-2009 Andrew Sutton // // Use, modification and distribution are subject to the // Boost Software License, Version 1.0 (See accompanying file // LICENSE_1_0.txt or http://www.boost.org/LICENSE_...
[ "adm.fael.hs@gmail.com" ]
adm.fael.hs@gmail.com
6ed3d92c313083028334fce6ca745c8c731c6d8f
4b98867fa02f72c3c7c76f2f54c18d0dd03ff59a
/Deck.h
741970417b54164666ec91b977b0769d69a60627
[]
no_license
TylerMayxonesing/Uno
45c1dc626cce1eb32b4e752e33b11b2e69e592cb
f96916b2e9a56680bd88d00b2058c72fe5dc1cf1
refs/heads/master
2022-03-07T23:06:07.787045
2019-11-05T00:58:04
2019-11-05T00:58:04
219,626,398
0
0
null
null
null
null
UTF-8
C++
false
false
180
h
// // Created by T Alpha 1 on 11/2/2019. // #ifndef UNO__DECK_H_ #define UNO__DECK_H_ #include "Card.h" class Deck{ private: //std::vector <Card*> ; }; #endif //UNO__DECK_H_
[ "theofficial.vibe.studios@gmail.com" ]
theofficial.vibe.studios@gmail.com
ffffb0f37073f119f76cf26e44998da502b8fcfe
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/c++/libtorrent/2016/12/random.cpp
cd4cc28e3d763803461947e143b2501b609bed3f
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
C++
false
false
3,824
cpp
/* Copyright (c) 2011-2016, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
0bde9607e6bff2a9a6fb086e8c868dc06af65dc7
2e60fb76c3fa2f208babe7f18a95e3b01e5ce631
/GameConsole.h
92550892d749f9b9161011e7f25fce32124a1bde
[]
no_license
Ddimk/battleships
56492866871dbc0b6c9283af3df85fb9253f3f78
ab2d289ee202c52fcf8822e000a290ca2d35f306
refs/heads/main
2023-05-25T05:49:44.105125
2021-06-09T16:07:40
2021-06-09T16:07:40
359,141,457
0
0
null
null
null
null
UTF-8
C++
false
false
256
h
#pragma once #include "Player.h" class GameConsole : public Player { public: void on_win(); void on_loose(); void start_place_ships(ship_def ships[10]); void on_step(const bf_tile my[20][20], const bf_tile enemy[20][20], pos2d *result); };
[ "ddimysek@yandex.ru" ]
ddimysek@yandex.ru
a2d4bc1debbce7b7f7290859d9b85f4c434d6a3f
cff366a360ad7d0e17ad0ab13831fa7203ed1b2d
/.fail/challenge_encoder/main.cpp
4330228414e85df5775e97d74cd763289bd08210
[]
no_license
tcstrength/projects
c2bf6c4dfc5023483eff939a9860bf3f66833205
995fae7d94e8e2ec3e3cf40d04d43121f3cbaa02
refs/heads/master
2021-10-25T11:43:03.781429
2019-04-03T23:39:10
2019-04-03T23:39:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
#include <iostream> std::string encode(std::string str) { std::string buf; int len = str.length(); buf.push_back(len + 42); for (int i = 0; i < len; ++i) buf.push_back(str[len - i - 1] + i + 1); return buf; } std::string decode(std::string str) { std::string buf; int len = str[0...
[ "thai.cuong1404@gmail.com" ]
thai.cuong1404@gmail.com
516e2c2f793551b8201283c8651e0f98923b1631
de7e771699065ec21a340ada1060a3cf0bec3091
/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateVerticalLine.h
18c4f600e92030c61d944b2d2584245b0ffc2a0f
[]
no_license
sraihan73/Lucene-
0d7290bacba05c33b8d5762e0a2a30c1ec8cf110
1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3
refs/heads/master
2020-03-31T07:23:46.505891
2018-12-08T14:57:54
2018-12-08T14:57:54
152,020,180
7
0
null
null
null
null
UTF-8
C++
false
false
4,794
h
#pragma once #include "stringhelper.h" #define _USE_MATH_DEFINES #include <any> #include <cmath> #include <memory> #include <stdexcept> #include <string> #include <deque> // C++ NOTE: Forward class declarations: #include "core/src/java/org/apache/lucene/spatial3d/geom/GeoPoint.h" #include "core/src/java/org/apache/...
[ "smamunr@fedora.localdomain" ]
smamunr@fedora.localdomain
fdeb2787dc7688cb88e92c8d49a72814da1c6068
e9e6ce520a2abae5e13363b47fbd6e9ebfc6c73f
/simulations/robocop_racetrack/src/robocop_racetrack_node.cpp
cafdaed58705e3762ecea92ec7462b4800938188
[]
no_license
Lizzylizard/ReinforcementLearningByElisabeth
755b5fff13f06f3f452e12a7eb6b48722e3bf3c2
10d612d454864028462e85d5349d4440833a3797
refs/heads/main
2022-12-29T07:52:47.828097
2020-10-16T13:04:07
2020-10-16T13:04:07
304,057,676
0
0
null
null
null
null
UTF-8
C++
false
false
221
cpp
#include <ros/ros.h> #include <robocop_racetrack/RobocopRacetrack.hpp> int main(int argc, char **argv) { ros::init(argc, argv, "robocop_racetrack"); ros::NodeHandle nh("~"); RobocopRacetrack robocopRacetrack(nh); }
[ "elisabeth.milde@informatik.hs-fulda.de" ]
elisabeth.milde@informatik.hs-fulda.de
a8ade01db9e308d7c263f3097ba3e4984dd96ad9
4883f47cbce6b5930df81948c38c6a3668109d4a
/SDL/sudoku/test/test_set_permutation.cpp
fc6fe3b82a2421f0b7a4c9bd78cbbae8e0561955
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
hildeth/free
247eb80bb1517b539e133aea3ea0319ddab4c81a
97f21b2e2088849119e129c0a5d58da70a18f1f0
refs/heads/master
2023-07-07T19:29:15.161888
2023-06-28T23:54:38
2023-06-28T23:54:38
23,742,544
0
0
null
null
null
null
UTF-8
C++
false
false
173
cpp
#include "Set.h" int main() { for (Set bit_perm = Set::perm_begin(3); bit_perm.perm_more(); bit_perm.perm_next()) std::cout << bit_perm << std::endl; return 0; }
[ "t.hilebrandt@comcast.net" ]
t.hilebrandt@comcast.net
7fe12539cb1dbf4b21dd18004e24f00ac7875f69
3f4cebcffe9d5beb7d288600ceed2b8448f6afea
/packages/CefSharp.Common.63.0.3/src/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.cpp
3233f390ed6665f44d752636445536c20789852e
[ "MIT" ]
permissive
kevinlau2015/CEFSharp.wpf.H.264
7276cbd2bb21533bbed44ed0c536ccd67ac34ca6
dc05d6960f644b331be56dedeb081c02395b55fe
refs/heads/master
2022-09-15T00:44:28.479862
2020-06-04T01:11:44
2020-06-04T01:11:44
269,229,294
0
0
MIT
2020-06-04T01:10:04
2020-06-04T01:10:04
null
UTF-8
C++
false
false
1,247
cpp
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once #include "Stdafx.h" #include "JavascriptPropertyWrapper.h" #include "JavascriptObjectWrapper.h" using namespace System; namespace ...
[ "renhanlinbsl@163.com" ]
renhanlinbsl@163.com
366c64fa152bb635ebab7ddd8678a0179c1c644e
48b0e84c810154e02ee494e43b643678fc425e05
/intro.cpp
467536b29cb7d4a929a74edc0e0c6e5cba1de34f
[]
no_license
sudip10028/auv_summer_2k19
b5459a64a8129e589f8d87a40b95372b3559d99a
539cdb4baffb96f1b969349a27501332cadc7a49
refs/heads/master
2022-03-28T00:53:06.138140
2019-12-05T16:20:01
2019-12-05T16:20:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,745
cpp
#include<bits/stdc++.h> using namespace std; #define fast ios_base::sync_with_stdio(0);cin.tie(NULL) #define fm_t int t;cin>>t;while(t--) #define fr(i,a,b) for( int i=a;i<b;i++) #define fr1(i,n,a) for( int i=n-1;i>=a;i--) #define fri(itr,flag) for( auto itr = flag.begin();itr!=flag.end();it...
[ "sudipchak4@gmail.com" ]
sudipchak4@gmail.com
dc7fa7ba0731a1f2af4a2685a8bccd4de28117f4
18a3f93e4b94f4f24ff17280c2820497e019b3db
/BOSS/TrkExtAlg/ExtBesCrystalParameterisation.h
83109d382970ada7ccaa2714b538e27f420c0611
[]
no_license
jjzhang166/BOSS_ExternalLibs
0e381d8420cea17e549d5cae5b04a216fc8a01d7
9b3b30f7874ed00a582aa9526c23ca89678bf796
refs/heads/master
2023-03-15T22:24:21.249109
2020-11-22T15:11:45
2020-11-22T15:11:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,661
h
//---------------------------------------------------------------------------// // BOOST --- BESIII Object_Oreiented Simulation Tool // //---------------------------------------------------------------------------// //Descpirtion: EMC detector //Author: Fu Chengdong //Created: Sep 4, 2003 //Com...
[ "r.e.deboer@students.uu.nl" ]
r.e.deboer@students.uu.nl
85648aee6fa5be4c1d3a6c072d6eaa2cb8d64309
7cffa9b29f855c68ec5efcf049f596dc7be6bff6
/src/color/yiq/make/salmon.hpp
076aaa8f31d9a4c15022cb18e3957e7298af3314
[ "Apache-2.0" ]
permissive
lzs4073/color
c4e12e26cfe96022e0a5e6736a7abaadf9912c14
290c2c1550c499465f814ba89a214cbec19a72df
refs/heads/master
2020-04-03T07:16:33.120894
2016-02-02T16:18:25
2016-02-02T16:18:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,914
hpp
#ifndef color_yiq_make_salmon #define color_yiq_make_salmon // ::color::make::salmon( c ) namespace color { namespace make { //RGB equivalents: std::array<double,3>( { 0.726247, 0.0656535, 0.125012 } ) - rgb(221,160,221) - #dda0dd inline void salmon( ::color::_internal::model< ::color::category...
[ "dmilos@gmail.com" ]
dmilos@gmail.com
a33a1366ab9ad23291f947e2b437d00c42b005dd
d7f5938376fc232b3066a8a51005b9c7c6ab3dc5
/Online Judge/UVa/10591 - Happy Number.cpp
3375c9f52e525f706199914af727ecaee1d8ae96
[]
no_license
NurenDurdanaAbha/Nuren
a0384e167256a051c224298444f6f75d58a709b6
a2680693c8ccfc32268c05f816030098d16865c6
refs/heads/master
2021-01-09T16:19:45.805936
2020-02-22T15:55:19
2020-02-22T15:55:19
242,368,663
0
0
null
null
null
null
UTF-8
C++
false
false
932
cpp
#include<bits/stdc++.h> using namespace std; int main() { freopen("output.txt","w",stdout); long long int r,n,i,j,a[100000],p,m,test,t,k,flag,f,check[100000]; scanf("%lld",&test); for(t=1; t<=test; t++) { scanf("%lld",&n); m=n; while(1) { // cout<<"m: "<<m<<endl; i=1; r...
[ "48055810+NurenDurdanaAbha@users.noreply.github.com" ]
48055810+NurenDurdanaAbha@users.noreply.github.com
2e8bf7e52f20c104cff1083256d38bcd26760629
63a27c3b09cec84533cd4300be96eb625bbd566f
/knapsack/Code/main.cpp
6a40912035feff7969850367555f826b62c0a13d
[ "Apache-2.0" ]
permissive
derekmpeterson/knapsack
0db751d1378df3c3041d323540ddbc55da55356f
bc96ba50e4a44c8649f9f52376991e3f05b4968e
refs/heads/master
2020-05-18T11:19:49.043797
2015-07-21T05:22:03
2015-07-21T05:22:03
39,353,326
0
0
null
null
null
null
UTF-8
C++
false
false
4,924
cpp
// // main.cpp // knapsack // // Created by Derek Peterson on 5/6/15. // Copyright (c) 2015 Derek Peterson. All rights reserved. // #include "SDL2/SDL.h" #include "SDL2_Image/SDL_Image.h" #include "SDL2_ttf/SDL_ttf.h" #include <stdio.h> #include "Systems/ActorSystem.h" #include "Systems/CollisionSystem.h" #include...
[ "derek@derekp.com" ]
derek@derekp.com
c545e3dcf2aa75206d5d5acaf7feaf5a5f4240b0
b9091c9bc70ec93d461de20351c1baf2c7a47939
/add-binary/main.cpp
1e64b3ebe364eebe0474bd6575b2fa50258ac3b4
[]
no_license
Amit1150/LeetCode
355df25aaf387ed8722a1a847d4088e554a22748
f46a58047df6abc4ef6294e39ace4db85121e3c5
refs/heads/master
2022-12-01T19:18:29.147251
2020-08-18T03:41:50
2020-08-18T03:41:50
284,210,918
0
0
null
null
null
null
UTF-8
C++
false
false
1,200
cpp
#include <iostream> #include <string> #include <vector> using namespace std; string addBinary(string a, string b) { int lenA = a.length() - 1; int lenB = b.length() - 1; bool carry = false; string output = ""; while(lenA >= 0 || lenB >=0){ char firstChar = '0'; char secondChar =...
[ "amit.kumar12@nagarro.com" ]
amit.kumar12@nagarro.com
bef610cc405f173b7fe263b67c4ed750fabb330b
c4cfdbd5ea943125e2ece2efc55ae60d326bed4c
/acBitmapFont.h
645601162ef4a9cea76e20d28575c4bca2deba8b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
blackaller/acu
fe2fde82ee3d9ff6545bfb422c160fa421a4f399
c6f6b4007f83c1d9ea1f60ed79a11a8d43bae3b1
refs/heads/master
2020-04-06T04:39:46.603150
2001-11-02T20:19:28
2001-11-02T20:19:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,010
h
#ifndef _AC_BITMAP_FONT_H_ #define _AC_BITMAP_FONT_H_ #include "acu.h" #include "acFont.h" class acBitmapFont : public acFont { public: acBitmapFont() { } // for subclasses.. grr. acBitmapFont(const char *filename); float getDescent(); float getHeight(); float charWidth(unsigned char c); float charHeig...
[ "ben@media.mit.edu" ]
ben@media.mit.edu
91b0e551b1ecf834ca995cc6e991856814cd567f
637fa6d1057e3906bc7fc788d63ac49458587f13
/example.cpp
47c89f82b9473c4eefe416cfb51e5329fa7d4a62
[]
no_license
yuzhangbit/utils
41f354d462e91028d2cc12a79f241f2781bd1b19
0be82e0cb726bafda50fe48981738bcae866297b
refs/heads/master
2020-04-29T06:39:47.045839
2019-03-16T07:45:59
2019-03-16T07:45:59
175,924,495
1
0
null
null
null
null
UTF-8
C++
false
false
316
cpp
#include "time.hpp" #include <iostream> int main() { auto start = utils::now(); for (std::size_t i = 0; i < 100000; i++) { std::cout << "."; } std::cout << std::endl; auto end = utils::now(); std::cout << "duration:" << utils::getDurationInSecs(start, end) << " seconds" << std::endl; return 0; }
[ "yu2.zhang@uisee.com" ]
yu2.zhang@uisee.com
19095a151422846410d031a13c92d58b19ec5287
5456502f97627278cbd6e16d002d50f1de3da7bb
/chrome/browser/media/router/media_router_dialog_controller.cc
2b2279055acd0200ef240c184b27b2a1ba61fa16
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,156
cc
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/router/media_router_dialog_controller.h" #include <utility> #include "chrome/browser/media/router/media_router_me...
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
b9c6ee0f9cced28268418611e6102dfbff4b5fca
0494c9caa519b27f3ed6390046fde03a313d2868
/src/ui/app_list/views/app_list_view.cc
863e25e55df8ed22c06c2754746e4cb85b65f187
[ "BSD-3-Clause" ]
permissive
mhcchang/chromium30
9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c
516718f9b7b95c4280257b2d319638d4728a90e1
refs/heads/master
2023-03-17T00:33:40.437560
2017-08-01T01:13:12
2017-08-01T01:13:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,309
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/app_list/views/app_list_view.h" #include "base/command_line.h" #include "base/strings/string_util.h" #include "ui/app_list/app_list_cons...
[ "1990zhaoshuang@163.com" ]
1990zhaoshuang@163.com
96673b3bd728d23b9f90bdd9cb92b90a2a6f120a
d6dbac2e16d2b3ea0e0dd8354723abe78c4e2345
/include/jnipp/marshaling/NativeTypeTraits.ToJava.inl
a3994c1b01b99bd8a45465885769af3c8809ca4a
[ "Apache-2.0" ]
permissive
liuxuanhai/jnipp
5377a88012ce7a669046071c27ab54fb8ea9ec86
99f0f73f4a8aeb6cc614cfb82051c14ba7ab73e4
refs/heads/master
2021-06-20T08:54:08.082753
2017-07-25T12:36:51
2017-07-25T12:36:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,243
inl
// Copyright since 2016 : Evgenii Shatunov (github.com/FrankStain/jnipp) // Apache 2.0 License #pragma once namespace Jni { namespace Marshaling { inline void NativeTypeTraits<bool>::ToJava( const NativeType& source, JavaType& destination ) { destination = ( source )? JNI_TRUE : JNI_FALSE; } inli...
[ "dr.frank.stain@gmail.com" ]
dr.frank.stain@gmail.com
408a4a5c8c059034c6785237b5c13b7ce036137a
3b32bbad87674bda1be504f9de3ad3024fcfe0a2
/CharacterAttributesSubject.cpp
a6216dac743a5867ea93ca5ccab26bb943aa0ea3
[]
no_license
dkeohane/Drow-Engine
e6c5ace77ab677e3ad010d59a60cfc38ee0bf43f
18512157de00c86b33bb5911e95be32db67a6bb0
refs/heads/master
2021-05-01T10:25:31.790730
2014-03-16T11:37:50
2014-03-16T11:37:50
15,901,287
0
0
null
null
null
null
UTF-8
C++
false
false
471
cpp
#include "CharacterAttributesSubject.h" void CharacterAttributesSubject::attach(CharacterAttributesObserver* o) { this->observers.push_back(o); } void CharacterAttributesSubject::detach(CharacterAttributesObserver* o) { observers.erase(std::remove(observers.begin(), observers.end(), o), observers.end()); } void C...
[ "danielkeohane4823@gmail.com" ]
danielkeohane4823@gmail.com
ae41e6468c42b571395827b21e565a6c31ac9fb9
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_patch_hunk_2302.cpp
bd8ad46025ca57f046b4576d5dfe96f71ddcae91
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
535
cpp
subcache->idx_used -= loop; subcache->idx_pos = new_idx_pos; /* Adjust the data area */ subcache->data_used -= diff; subcache->data_pos = idx->data_pos; } - header->stat_expiries += loop; + header->stat_expiries += expired; ap_log_error(APLOG_MARK, APLOG_DEBU...
[ "993273596@qq.com" ]
993273596@qq.com
3683360d884f7229722916d60f6aa323f6e8eb3b
bee8758799e64d4d759ffd3e9bd757a69678e878
/src/StupidClockFilter.cpp
21a2748cf5d8121f45f8066b5519c2ef6cf8c150
[]
no_license
soenkelange/imp-clock-detection
41fe2297d75f5c7f2d38f3bc5787afc748b7176e
2bb044b4a90a5ff00cc9cdfb7c9c331add4cfd86
refs/heads/master
2021-01-17T10:58:15.342457
2016-01-22T09:13:41
2016-01-22T09:13:41
48,763,783
0
0
null
null
null
null
UTF-8
C++
false
false
557
cpp
#include "StupidClockFilter.hpp" #include <opencv/highgui.h> StupidClockFilter::~StupidClockFilter() { } void StupidClockFilter::process(const cv::Mat& input) { cv::imshow("Debug", input); } cv::Point StupidClockFilter::getBigHandPosition() const { return cv::Point(4,0); } cv::Point StupidClockFilter::getSm...
[ "s.lange@mytaxi.com" ]
s.lange@mytaxi.com
c8a9d4e2c670ee64790724a4b716abe4650cd5b7
ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd
/third_party/blink/renderer/core/layout/ng/inline/ng_fragment_item.cc
82c8462c40de9e88af37bbf194b455fcec74ec01
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0" ]
permissive
laien529/chromium
c9eb243957faabf1b477939e3b681df77f083a9a
3f767cdd5c82e9c78b910b022ffacddcb04d775a
refs/heads/master
2022-11-28T00:28:58.669067
2020-08-20T08:37:31
2020-08-20T08:37:31
288,961,699
1
0
BSD-3-Clause
2020-08-20T09:21:57
2020-08-20T09:21:56
null
UTF-8
C++
false
false
24,129
cc
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/ng/inline/ng_fragment_item.h" #include "third_party/blink/renderer/core/editing/inline_box_traversal.h" ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
06dd0750fbba1beb40af1a1fdfdacca4449ac61b
34f2081361c2cdb28649db5c311b23ae45729867
/Codeforces/456b.cpp
a39ccfd2b5e6d7e59924b095b93e763e27a4ac61
[]
no_license
shashank21j/CompetitiveProgramming
bd7d1516bda0047162293f62e78a8f3134021454
5e905ad7f59f36541baaa669391eba667f291a45
refs/heads/master
2022-02-14T08:12:05.656586
2022-01-30T02:56:15
2022-01-30T02:56:15
14,283,517
4
1
null
null
null
null
UTF-8
C++
false
false
324
cpp
#include<bits/stdc++.h> using namespace std; int main() { string s; cin >> s; if (s.length() == 1) { int n = s[0] - 48; if (n%4 == 0) cout<<"4\n"; else cout<<"0\n"; } else { int a = s[s.length()-1] - 48; int b = s[s.length()-2] - 48; if ((b*10 + a)%4 == 0) cout<<"4\n"; else cout<<"0\n"; } return ...
[ "shashank@hackerrank.com" ]
shashank@hackerrank.com
804fce7a8816f4385f5db9ab1177c0ec82905228
b2c271bb090655cfd2859fd1992d4992ccc4b0f7
/halley/src/plugins/asio/src/asio_tcp_network_service.cpp
eaa4e364f2b5c0ce2b3cb8171a59d034d1015236
[ "Apache-2.0" ]
permissive
AWhitehouseDeveloper/HalleyEngine
acaf3fe2263935c7db05da648bb848923e6ed711
bf22d1ce1fc5df84e3426b3c423b87874bb49e65
refs/heads/main
2023-07-15T02:07:13.063836
2021-08-25T04:39:34
2021-08-25T04:39:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,233
cpp
#include "asio_tcp_network_service.h" #include "halley/support/logger.h" #include "halley/text/string_converter.h" using namespace Halley; AsioTCPNetworkService::AsioTCPNetworkService(int port, IPVersion version) : work(service) , localEndpoint(version == IPVersion::IPv4 ? asio::ip::tcp::v4() : asio::ip::tcp::v6(), ...
[ "AWhitehouse@student.neumont.edu" ]
AWhitehouse@student.neumont.edu
229a8d352725ef54519cbf20fc90db72b02a2fc4
c7468aedc176931b46f5b97e1d2ec4c372bf50dd
/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp
f410fc63e5de97572014d6e686f1b017d5ef5ada
[]
no_license
planee/new
68069f16dcb49714a16c2077d22e0f563c600e59
d6afe0cd87c5e8423855b909682271ad075d6479
refs/heads/master
2021-05-10T13:54:52.148537
2016-07-07T12:51:07
2016-07-07T12:51:07
null
0
0
null
null
null
null
ISO-8859-10
C++
false
false
13,028
cpp
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2010-2015 QuantumCore <http://vk.com/quantumcore> * * Copyright (C) 2010-2012 MaNGOS project <http://getmangos.com> * */ #include "ScriptMgr.h" #include "QuantumCreature.h" #include "Player.h" #include "SpellInfo.h" #includ...
[ "87046964@qq.com" ]
87046964@qq.com
5f496808a2248aa4d82847303eeb7acfcc29bc84
8947812c9c0be1f0bb6c30d1bb225d4d6aafb488
/02_Library/Include/XMCocos2D/support/CCProfiling.h
cc3770ab84bd34274d7b09cf6f69624d5275e4dc
[ "MIT" ]
permissive
alissastanderwick/OpenKODE-Framework
cbb298974e7464d736a21b760c22721281b9c7ec
d4382d781da7f488a0e7667362a89e8e389468dd
refs/heads/master
2021-10-25T01:33:37.821493
2016-07-12T01:29:35
2016-07-12T01:29:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,919
h
/* ----------------------------------------------------------------------------------- * * File CCProfiling.h * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * ----------------------------------------------------------------------------------- * * Copy...
[ "mcodegeeks@gmail.com" ]
mcodegeeks@gmail.com
b4a65172c643117499b6e5b1ce757572c2b69d54
3aa0b032cb20638fd9df28b7c15ddb5f5e876f25
/src/cc/chunk/ChunkServer.h
9ca9eeefd38898e3b92167b855c7396bcff2e5d0
[ "Apache-2.0" ]
permissive
nzinfo/my-kfs-022
41eeceee3adc640bcaa16bae4870d6217e9f325d
739a92f9bfce3bb94b41853608a693eb224fa16c
refs/heads/master
2021-01-10T19:20:06.276474
2010-07-15T09:38:19
2010-07-15T09:38:19
35,748,843
0
0
null
null
null
null
UTF-8
C++
false
false
2,692
h
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: ChunkServer.h 92 2008-07-21 21:20:48Z sriramsrao $ // // Created 2006/03/16 // Author: Sriram Rao // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Lic...
[ "fifywang@c3a0cf16-f052-ac97-a8a5-60cda90d0a3d" ]
fifywang@c3a0cf16-f052-ac97-a8a5-60cda90d0a3d
946d52c4d9dc287a4b30bf67c7f7fe4ff25ca561
f6b678499969cf807fad25ebcd098c0cce272d66
/src/ui/painters/painteritem.h
997e1d44ce2a721e0b58dfb9f00d9d2d8a80ce8b
[]
no_license
Louis-Simon22/random-map-generation
c1fc6bb12a8f9d14c858c42a2b53e6d83518cd48
523cf5fc171f485dc42328656b2463eb2b021fd6
refs/heads/master
2022-11-25T20:16:53.189403
2020-08-04T20:38:33
2020-08-04T20:38:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
357
h
#ifndef GRAPHENTITYPAINTER_H #define GRAPHENTITYPAINTER_H #include <QQuickItem> namespace how { namespace ui { class PainterItem : public QQuickItem { Q_OBJECT public: PainterItem(QQuickItem *parent); virtual ~PainterItem() override = 0; signals: void updateOnGuiThread(); }; } // namespace ui } // namespace...
[ "louissimonmcnicoll@gmail.com" ]
louissimonmcnicoll@gmail.com
0223d98117efdaff8132e64ab0cd5c794ab37ce5
7b79b6f0a96554ac41aba7b739b9bd93b3f57c45
/A1091.cpp
774e7a74a7db71f9fcf442d2c2e7263d9786082b
[]
no_license
lrscy/PAT
f80ff57995821b493e8b98c72de56cdf13ab8994
831bb1f462aad5a6d4ab622bc04c4393832df868
refs/heads/master
2021-01-10T07:38:08.739617
2016-02-24T15:23:21
2016-02-24T15:23:21
52,203,012
0
0
null
null
null
null
UTF-8
C++
false
false
1,342
cpp
#include <bits/stdc++.h> using namespace std; const int MAXN = 1e6 + 10; struct Node { int x, y, z; Node() {} Node( int _x, int _y, int _z ) : x( _x ), y( _y ), z( _z ) {} }que[MAXN]; int dx[10] = { 0, 0, 0, 0, -1, 1 }; int dy[10] = { -1, 0, 1, 0, 0, 0 }; int dz[10] = { 0, 1, 0, -1, 0, 0 }; int a[80][1300][150]; in...
[ "ruosenlee@gmail.com" ]
ruosenlee@gmail.com
f1a52cb7e13da866406250388b62d5256eb970cb
cfad81d6574be873c35038b272d60ee66ffa292a
/pathfinding/board/board.h
45867562625b15e79bece948c7e6228cf44be34d
[]
no_license
dundeegames/pathfinding-coursework-demo
f3d6035f29bf025ab1c5001c6e61ef0c6742a58c
1aefb1f64d995fdb5ae914ab67cb4c91052b2176
refs/heads/master
2020-06-11T23:21:15.763132
2014-12-12T14:59:46
2014-12-12T14:59:46
75,613,010
0
0
null
null
null
null
UTF-8
C++
false
false
1,190
h
#ifndef BOARD_H #define BOARD_H #include "../ui/gui.h" #include "node.h" #include <iostream> #include <fstream> using namespace std; #define BOARD_X 20 #define BOARD_Y 20 #define B_EMPTY 1000 #define B_WALL 999 #define B_START 0 #define B_END 1001 enum MapType {MAP_A, MAP_L}; class Board { public: Board(); ...
[ "jiri.klic@dundeegames.com" ]
jiri.klic@dundeegames.com
91805f3405e63cf5399c310e03863893392fb94c
5b9bfdec4cec3a8e774b0aa0579f74df86eda824
/arduino/Board/CarController/CarController.ino
a55db0e44ea7366a0e02681dfe5555ca16eeb1ca
[]
no_license
joancafom/carrot
88b4edf36f1fa4640d11361444a86d60d7aaf393
c10b5f018972e892af3937bde7c67c271f5f6f8e
refs/heads/master
2023-04-10T09:41:03.012896
2019-09-02T11:17:07
2019-09-02T11:17:07
157,711,369
0
1
null
2023-03-24T22:48:03
2018-11-15T12:56:28
Java
UTF-8
C++
false
false
4,336
ino
/* * Program to be executed on the Arduino Board. * * Constantly listens to the Serial Port, where * instructions coming from the computer are * sent. When an action is received, * the program first validates it and proceeds * to activate the corresponding pins attatched * to the RC Car remote controller. ...
[ "joscarfom@alum.us.es" ]
joscarfom@alum.us.es
93b39cb9daeeef9cdd3b8f3d9c9fe04f6988c56a
cb4fd9762920fe2ad80c516cc203dcd634419b7b
/include/PHO_PathTracer.h
4d0130d5c39396eae0991252d60183a487fd590f
[]
no_license
Burnung/TestOpenGL
fb79e451c605dee1078c344d6f8a2e9e494d294d
0d844761eacadaea2d51f4391f141e94e2f2fdda
refs/heads/master
2020-03-28T06:37:10.523171
2018-09-07T16:36:37
2018-09-07T16:36:37
147,847,756
0
0
null
null
null
null
GB18030
C++
false
false
970
h
#ifndef PHO_PATHTRACER_H #define PHO_PATHTRACER_H #include"gl_util.h" #include<glm\vec3.hpp> #include"GL_BaseType.h" #include"PHO_Random.h" //#define PATHTRACER_USE_GPU //是否使用GPU加速 class PHO_ViewPort; class PHO_PahtTracer{ GL_DECLARE_SINGLETON(PHO_PahtTracer); public: ~PHO_PahtTracer(); void Init(PHO_ViewPort*...
[ "zhangboning234@126.com" ]
zhangboning234@126.com
1a2b6d987ce3ae4b8981dbdc7337ed25090deaa2
97fde28997b618180cfa5dd979b142fd54dd2105
/core/dep/acelite/ace/IO_SAP.h
aaff9f6901ea058e143d5c71d01050a6e2e298d9
[]
no_license
Refuge89/sunwell-2
5897f4e78c693e791e368761904e79d2b7af20da
f01a89300394065f33eaec799c8779c2cac5c320
refs/heads/master
2020-12-31T05:55:43.496145
2016-02-16T20:46:50
2016-02-16T20:46:50
80,622,543
1
0
null
2017-02-01T13:30:06
2017-02-01T13:30:06
null
UTF-8
C++
false
false
2,064
h
// -*- C++ -*- //============================================================================= /** * @file IO_SAP.h * * @author Doug Schmidt */ //============================================================================= #ifndef ACE_IO_SAP_H #define ACE_IO_SAP_H #include /**/ "ace/pre.h" ...
[ "root@wow.playstar.se" ]
root@wow.playstar.se
a6a66c27a64807c9ccffed53c06e58921b8ecb84
d33268b98151cd2899d338a2b7da362fe9ac32e8
/ParProg/ParProg/main.cpp
8cf5136f2c06de17ea5e33459c3152a3d1af1730
[]
no_license
Edvard-Hagerup-Grieg/UNN-ParallelProg
0f34fb56f4c2eb7fd6a56924f9bfa2ff87a78405
4737874442e7cf60cad4f98fa53ade2ce05552fb
refs/heads/master
2020-05-19T11:52:51.461773
2019-05-05T10:12:15
2019-05-05T10:12:15
185,001,708
0
0
null
null
null
null
UTF-8
C++
false
false
3,878
cpp
#include <iostream> #include "omp.h" #include "tbb/task_scheduler_init.h" #include "tbb/parallel_for.h" #include "tbb/blocked_range.h" using namespace std; using namespace tbb; class CannonAlgorithm { const double *AM, *BM; double *const CM; int const N; int const B; public: CannonAlgorithm(double *AM, double...
[ "mari.louis.von.franz@gmail.com" ]
mari.louis.von.franz@gmail.com
3b643e6bd3f1801434367c7ede84bfe698f6c467
77a08ec51aa16191986a739267fd9d4379bbb208
/hdu/5585.cpp
c3eecf604497a986546ea8d591c17662974b0b2c
[]
no_license
cenariusxz/ACM-Coding
8f698203db802f79578921b311b38346950ef0ca
dc09ac9adfb4b80d463bdc93f52b479a957154e6
refs/heads/master
2023-06-24T13:12:13.279255
2021-07-26T01:24:36
2021-07-26T01:24:36
185,567,471
0
0
null
null
null
null
UTF-8
C++
false
false
388
cpp
#include<stdio.h> #include<string.h> #include<algorithm> #include<math.h> using namespace std; char s[35]; int main(){ while(scanf("%s",s)!=EOF){ int len=strlen(s); if(!((s[len-1]-'0')%2)||s[len-1]=='5'){ printf("YES\n"); continue; } int sum=0; for(int i=0;i<len;++i)sum+=s[i]-'0'; if(!(sum%3)){ ...
[ "810988849@qq.com" ]
810988849@qq.com
543336c00b6d49b7afd2f2be5e22f10197111e0f
5e68dd1c7e455c9ed3b101741c1d95f2ab7a2e9c
/src/plugins/Sobel_V/controller.h
379826e323854f7924ef68f4b0bbd7de4426c388
[]
no_license
Dariasteam/CV
d927235a76cf2a567507504a224b836b65e6a602
00afc1eeb38920fe99daaf17fc87b9cdcc1f6f17
refs/heads/master
2021-09-04T02:36:22.883772
2018-01-14T18:49:40
2018-01-14T18:49:40
105,511,783
0
0
null
null
null
null
UTF-8
C++
false
false
1,095
h
#ifndef CONTROLLER_H #define CONTROLLER_H #include <QObject> #include "menu.h" #include "model.h" #include "../../controller/plugin_interface.h" #include "../../model/lut.h" #include "../../view/canvas_image_label.h" class plugin_controller : public QObject { Q_OBJECT protected: QWidget* view; PluginModel* mdl...
[ "dariasteam94@gmail.com" ]
dariasteam94@gmail.com
003860b9b15aa61986a7b43bd75f4b677371e7f0
711e5c8b643dd2a93fbcbada982d7ad489fb0169
/XPSP1/NT/shell/shlwapi/security.cpp
491b3f65d4c3c134d236f034615352e230ae8027
[]
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
23,584
cpp
#include "priv.h" #include <shlobj.h> #include <shellp.h> #include <shdguid.h> #include "ids.h" #include <objbase.h> #include <wininet.h> // INTERNET_MAX_URL_LENGTH #include <shellp.h> #include <commctrl.h> #include <mluisupp.h> #include <inetcpl.h> #include <crypto\md5.h> #ifdef UNIX #include...
[ "112426112@qq.com" ]
112426112@qq.com
be389acdb11c22b31d60dac9821a46bc1b8075b6
ca20c31c2d5e36497a3bf4d67b7c3d4260518f44
/src/qt/askpassphrasedialog.cpp
75c6a7fcffefc7822f3533f758909647111233b5
[ "MIT" ]
permissive
SamaelDNM/Checoin
17cdab27490f0b88668655f7a2aa33d15c42ac1f
1eae885384476f410c4291a243edef82a60932b9
refs/heads/master
2020-04-07T15:58:01.636636
2018-11-21T08:27:39
2018-11-21T08:27:39
158,509,366
1
0
null
null
null
null
UTF-8
C++
false
false
9,717
cpp
#include "askpassphrasedialog.h" #include "ui_askpassphrasedialog.h" #include "guiconstants.h" #include "walletmodel.h" #include <QMessageBox> #include <QPushButton> #include <QKeyEvent> AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::AskPassphraseDialog), ...
[ "samaelnottaro@gmail.com" ]
samaelnottaro@gmail.com
a405e839dbb2a4d2476bca7c124e42c1a32cf14d
341d4c24f6f2e24d5178124d250953485ff65470
/include/IGVCSimulator.h
59325d62cce304a95915ff53fc41ffb7666bb3f7
[]
no_license
John-Brooks/IGVC-Gem-Simulator
7e98baee7a27b80e164fc6723288adb2a3213392
6143ef7617d82350ac2b541626e4a9f10bd4dc13
refs/heads/master
2020-07-18T08:11:10.567127
2020-04-18T19:24:20
2020-04-18T19:24:20
206,211,482
0
0
null
null
null
null
UTF-8
C++
false
false
930
h
#pragma once #include <stdio.h> #include "Graphics.h" #include "Environment.h" #include "ActionSpace.h" #include "StateSpace.h" #include <chrono> #include <thread> #include "Scenario.h" extern "C" void HelloWorld() { printf("Hello World!\n"); } void run() { Environment env; ActionSpace action; StateSpace state; a...
[ "johnbrooks@oakland.edu" ]
johnbrooks@oakland.edu
91236283fca8d80ed4d464ae7053812caddc2d47
b8bd16268d0d49005d2a5a50aaafb4501ff5c279
/src/mainwindow.cpp
dd5d332f12efc6abef8b3ee1668d394ae68acdf8
[ "MIT" ]
permissive
jonpas/SymRec
b0c07314d78350c1eeffe8de7b013ed4e2481153
2432cdfe253582134593baade274cf47c5f6539e
refs/heads/master
2022-01-15T07:50:07.581076
2019-06-03T17:36:30
2019-06-03T17:36:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,143
cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QInputDialog> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->graphicsView->installEventFilter(this); scene = ui->graphicsView->scene(); updateUi(); } MainWindow::~MainWindow(...
[ "jonpas33@gmail.com" ]
jonpas33@gmail.com
f9619eee0778a251e4de098be1f3f25780578211
aa6468f47e790c91e45e0b98ccde711c37efe4e1
/84.柱状图中最大的矩形.cpp
73aa0ab92ad3c578e2971884bcfde208a25f6678
[]
no_license
qixuanxuan/leetcode
208562ac528a78243d5b2cb882cfb4912c817206
95578b9282b022df951176422f31781ac3b8e390
refs/heads/master
2022-12-19T04:02:38.812831
2020-09-29T15:25:27
2020-09-29T15:25:27
265,843,684
0
0
null
null
null
null
UTF-8
C++
false
false
764
cpp
class Solution { public: int largestRectangleArea(vector<int>& heights) { vector<int> Left(heights.size()); vector<int> Right(heights.size()); stack<int> Temp; int result = 0; for(int i=0;i<heights.size();++i){ while(!Temp.empty() && heights[i]<=heights[Temp.top()]){ Temp.pop(); } Left[...
[ "hfut_qxx@163.com" ]
hfut_qxx@163.com
00f95da21b97f52878cae47edd87bbf791cf3bf7
83cb2749b582294916c9c700c81749e2ea125e39
/ffs/source/wearleveling/rtos/mqx/simple_mutex.cpp
a224b59874b82808ae1347dad116726a0f519ca1
[]
no_license
jiaoah97/MQX411
446d41cdb70327dad9598fb6e847b7efff5579b4
78cf20856d7f49b09370ef066c1f9c83aaada0ec
refs/heads/master
2021-05-29T10:06:15.845663
2015-05-06T14:00:32
2015-05-06T14:00:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,694
cpp
/*HEADER********************************************************************** * * Copyright 2012 Freescale Semiconductor, Inc. * * This software is owned or controlled by Freescale Semiconductor. * Use of this software is governed by the Freescale MQX RTOS License * distributed with this Material. * See the MQX_RTOS_L...
[ "kunyi_chen@(NB)" ]
kunyi_chen@(NB)
8794faa304437a565c4c090f3f4230f5755de806
5ff9f5737d26c7dd2f3e383c1bc95d854fd64475
/DinamickoStablo/DinamickoStablo/Red.h
524d420c144b140e54584705614e1a540a323012
[]
no_license
NinaLazarevic/C-plus-plus-projects
ca5007c2e45b9b7385f983040a3138e3cd1d35b2
15889e202296b151a4fdd2722e2e61b00710fd47
refs/heads/master
2020-09-08T06:37:53.518499
2019-11-11T20:18:13
2019-11-11T20:18:13
221,047,467
0
0
null
null
null
null
UTF-8
C++
false
false
293
h
#pragma once #include "Node.h" #include <iostream> using namespace std; class QueueAsArray { protected: int n; Node **a; int head; int tail; int brel; public: QueueAsArray(int t); ~QueueAsArray(void); void enqueue(Node* el); Node* dequeue(); bool isEmpty() { return brel == 0; } };
[ "ninalazarevic@users.noreply.github.com" ]
ninalazarevic@users.noreply.github.com
c477cd3e67b7824264939cace6480ddb125e7cb4
c91ba4e746dc5b8f2dface963b4096dd721070fd
/rds/src/model/DescribeResourceUsageRequest.cc
0a7c93635e311ce1daf2a8f952394f91a1c86915
[ "Apache-2.0" ]
permissive
IthacaDream/aliyun-openapi-cpp-sdk
fa9120604ca3af4fc48a5f9bf70ff10542103c3a
31a064d1568f59e0731485a1b0452cfd5d767e42
refs/heads/master
2021-09-05T09:44:19.244166
2018-01-26T07:00:14
2018-01-26T07:00:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,770
cc
/* * 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...
[ "wb-flc318515@alibaba-inc.com" ]
wb-flc318515@alibaba-inc.com
b6eb7c6b9828bb5820acc570e454f064b56d6485
bf8e96b9e15bf862e05a5f9cd0f36b5e790bfe78
/CPE553-2020s/553assignment05/Feng_Liu_hwpointers.cpp
4462d91533042955d36bd33681b1e03abd7133cd
[]
no_license
fengliu1227/Cpp-code
6503f7357ee5a13bdeedf37f1cdd5f833fe5e668
c7498fcd93f92ffff686e411164a4447ad62fb89
refs/heads/master
2023-03-09T06:09:00.450318
2021-02-22T07:59:49
2021-02-22T07:59:49
259,941,648
0
0
null
null
null
null
UTF-8
C++
false
false
994
cpp
#include <iostream> using namespace std; // fill the array x with zeros (using pointer) void fill(int x[], int size) { // x[i] = 0; // NO, use pointer!!! *p++ = 0 int* p = x; for(int i = 0; i < size; ++p, ++i){ p = &x[i]; } } // add 1 to every element of x void increment(int x[], int size) { ...
[ "fengliu1227@outlook.com" ]
fengliu1227@outlook.com
7e0c2089be1c5e199464d86f2b790e984965376c
e77f8c0500790bbf5059b1e2dcfce1957a34dc2f
/CodeView/GridCtrl_src/GridCtrl.cpp
37bc13ea4005adc14e3d1709537fb8389a3eb0f2
[]
no_license
pmosoft/CodeView
f5b7b69729501a6c3b8627a43b6d61084d0757a3
3944e29ae6c5960fb1eb9e06ec22ea2953b822ad
refs/heads/master
2021-01-17T18:10:53.559409
2017-01-23T14:52:00
2017-01-23T14:52:00
71,216,217
0
0
null
null
null
null
UTF-8
C++
false
false
225,305
cpp
// GridCtrl.cpp : implementation file // // MFC Grid Control v2.26 // // Written by Chris Maunder <chris@codeproject.com> // Copyright (c) 1998-2005. All Rights Reserved. / // The code contained in this file was based on the original // WorldCom Grid control written by Joe Willcoxson, // mailto:chinajoe@aol.com ...
[ "pmosoft@gmail.com" ]
pmosoft@gmail.com
56e78b388ce06cd0acde0a1caa580025ec93c101
eb3d5a6ac04c715b2ac3e7f6190da3217c40b331
/softwareDesingProject/savemanager.h
49e1c02f943b48ecfb8798d88673b5c9bd1ab58e
[]
no_license
kosonen/SW_design_project
7e75265e8ef0a69a64f49d36923e48cc8a76283a
11839c7509d27bf1a78d1eb7d471c6e1e27ba176
refs/heads/master
2023-08-23T08:45:35.595480
2021-04-18T19:31:07
2021-04-18T19:31:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,250
h
#ifndef SAVEMANAGER_H #define SAVEMANAGER_H #include "isaveobject.h" #include <QObject> #include <unordered_map> /** * @brief The SaveManager class is responsible for saving and loadig savable * objects. Objects are saved and loaded froom a text file. */ class SaveManager : public QObject { Q_OBJECT public: ...
[ "markus.jamback@tuni.fi" ]
markus.jamback@tuni.fi
96c84e32fc5dfb93077f04bbcca5b5532dd2a533
04b1803adb6653ecb7cb827c4f4aa616afacf629
/content/browser/media/cdm_file_impl.cc
242e248dbf525c999584e14e736dbc4a44bf5f8a
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
13,735
cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/media/cdm_file_impl.h" #include <set> #include <utility> #include "base/bind.h" #include "base/callback.h" #include "base/logg...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
d6546c32fd50e45f1d15c33d91512fd832c0b377
6a06b78872090333760204f93b1b2d99aa67624a
/Contest/INDIV CC Sept. 2016/A.cpp
a1ea9486cc7c79d5ea7d65a688be04d9578fd350
[]
no_license
SixSiebenUno/ACM-ICPC
ccbc6127290f62a87f654c842c78cd0806a4929c
b3932fcec0a912aa1e610a2a4541f1f0a21a0da1
refs/heads/master
2020-07-19T13:02:58.674238
2016-09-19T13:56:50
2016-09-19T13:56:50
67,402,220
0
0
null
null
null
null
UTF-8
C++
false
false
436
cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <algorithm> using namespace std; const int MaxL = 100007; int T; char str[MaxL]; int main() { int i,l,a,b; scanf("%d",&T); while(T--) { scanf("%s",str+1); l = strlen(str+1); a = b = 0; for(i=1;i<=l;i+...
[ "SixSiebenUno@gmail.com" ]
SixSiebenUno@gmail.com
9d46600fb49693951056d84750a1667a9ba7412d
265a865a1d4420a76abdf739034c8e96b1038de1
/LuckyLeprechauns/Game/MushroomView.h
c59181c7d5ac7740c7e40e2c48eb2b3030909751
[]
no_license
steinbergerbernd/Lucky-Leprechauns
c6ab6ec3f2636b39f6a53323de9f3d19d318e356
935c4e72dfef7815766ec3af64a5cb1b0f3fd3cc
refs/heads/master
2021-01-25T12:01:20.819357
2013-09-24T18:02:33
2013-09-24T18:02:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
449
h
#pragma once #include "LLControlledGraphicsComponent.h" #include "MushroomController.h" #include "StoneView.h" class MushroomView : public LLControlledGraphicsComponent<MushroomController> { public: MushroomView(LLGraphicsManager* manager, const MushroomController* controller); void init(); void draw(const GameT...
[ "bernd.steinberger@hotmail.com" ]
bernd.steinberger@hotmail.com
290e4b7a7bd3faaa9c60f3ece7719c609bf20e76
df59b0571730619d5d3f72bdf3d9427393fcf8cc
/ld21/glesgae/Events/X11/X11EventSystem.h
9616abfa4eaebc113764a9ce8340c48af46d7668
[]
no_license
stuckie/ludumdare
69642be40da72e64bd0c1a17d4c4d6937fd278a9
b61d30e97a63b56376defaf06a8eaebe3322811c
refs/heads/master
2021-01-21T10:13:02.901439
2019-01-02T14:48:56
2019-01-02T14:48:56
4,536,120
1
0
null
null
null
null
UTF-8
C++
false
false
523
h
#ifndef _X11_EVENT_SYSTEM_H_ #define _X11_EVENT_SYSTEM_H_ namespace GLESGAE { class RenderWindow; class X11RenderWindow; class EventSystem : public CommonEventSystem { public: EventSystem(); ~EventSystem(); /// Update the Event System void update(); /// Bind to the Window void bindToWindow(Re...
[ "stuckie@stuckiegamez.co.uk" ]
stuckie@stuckiegamez.co.uk
de7b91faa9c971efceff6274085b587bd510e3cf
051840dd4538845119dae6f1b3abf9a7f03496a7
/devel/include/action_primitive_variation/AddTwoIntsRequest.h
fd526fd4369b0cd6cb328322c67106d2b106334c
[]
no_license
mateoguaman/action_primitive_variation
fded53a649235f7e510f725da39f962b0d01d9df
bde8ae0c6efbb4e3ea926ec1c5e6cbfa76277863
refs/heads/master
2020-03-22T18:04:40.137119
2018-07-21T23:30:06
2018-07-21T23:30:06
140,435,583
0
0
null
2018-07-10T13:22:44
2018-07-10T13:22:44
null
UTF-8
C++
false
false
5,655
h
// Generated by gencpp from file action_primitive_variation/AddTwoIntsRequest.msg // DO NOT EDIT! #ifndef ACTION_PRIMITIVE_VARIATION_MESSAGE_ADDTWOINTSREQUEST_H #define ACTION_PRIMITIVE_VARIATION_MESSAGE_ADDTWOINTSREQUEST_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/ser...
[ "Evana13G@gmail.com" ]
Evana13G@gmail.com
951fbc373003c4775dc6f812469facd7e78025f9
a130745e3a6aba0f636b7a138506b7a5eca3578e
/Texture_Class.h
f103f83a47fd4f12d38dc542ff8c74a1c3eb54a0
[]
no_license
deesaa/come-engine-2013
70d12abd4fbb22fc911e41c5e1e7d8094ac2a685
176dc8066cf1b7954f21ca086be22c4a9b6d001d
refs/heads/master
2020-08-09T08:03:08.426270
2019-10-09T23:55:14
2019-10-09T23:55:14
214,043,480
0
0
null
null
null
null
UTF-8
C++
false
false
2,132
h
class texture_class { private: IDirect3DDevice9* device; IDirect3DTexture9* texture; bool initialized; public: void initBaseForTexture(IDirect3DDevice9* bDevice) { initialized = FALSE; device = bDevice; } void loadTexture4Verts(DWORD vertsID[], vertex* vertices, sphere_struct* vertsSpheres[]) { initi...
[ "deemsaer@gmail.com" ]
deemsaer@gmail.com
a9ad8b5e4db046d56c699f8bfdab11d2f22662a6
c99cdc49376de34f73543ddf21a5730ca45888fe
/8111.cpp
30d76671109827b3b33beba86646cfdec0844718
[]
no_license
ParkSale/Boj
6dda75b47bc5b0938f1756a56e2432f3a05f0ca6
5d98f8024a2bf84e3aa86c50de8cdd55466e51e1
refs/heads/master
2020-09-18T18:24:46.408515
2020-07-29T06:01:56
2020-07-29T06:01:56
224,163,776
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
#include <bits/stdc++.h> using namespace std; bool visit[20005]; struct info { int n; string s; }; queue<info> q; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int N; cin >> N; while (N--) { int a; cin >> a; for (int i = 0; i <= 20000; ++i) visit[i] = 0; while (!q.empty()) q.pop(); q.p...
[ "psi0613@naver.com" ]
psi0613@naver.com
4b3496d9ec734dc3fae8c4287ce4b44ad93b65e8
431d823cff60949e83b6babf79c87bc7f1be00ad
/Controller/RowHistoryLogController.h
a88114fc544604000e8a33a79f15c0947d8983c6
[]
no_license
hieutrtr/CMDBv2
645fc41bdeb3d71685bfd409cf9029a70c266a92
a1c54d33eda350a35939d207e07b29ce18238f83
refs/heads/master
2016-09-15T23:04:28.212321
2014-06-20T09:54:48
2014-06-20T09:54:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
195
h
#pragma once #include "CIHistoryLogController.h" class CRowHistoryLogController : public CCIHistoryLogController { public: CRowHistoryLogController(void); ~CRowHistoryLogController(void); };
[ "hieutrantrung.it@gmail.com" ]
hieutrantrung.it@gmail.com
51f328ecbe67f82999e900ebca604edefc5302cf
1867d31e1840341a8f73e20368484f37329c5f52
/src/qt/askpassphrasedialog.h
abd45feb07368bd4e290a0a4789d5996eaf8fdb6
[ "MIT" ]
permissive
avshyk/cashhand
614f8b8394ffcc9de29452d02c78c102b2ff9d26
890c739c4b81325d9645de96a6cbaf5469579b74
refs/heads/master
2023-04-03T14:31:47.229221
2021-04-08T13:07:44
2021-04-08T13:07:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,883
h
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_ASKPASSPHRASEDIALOG_H #define BITCOIN_QT_ASKPASSPHRASEDIALOG...
[ "cashhandcrypto@gmail.com" ]
cashhandcrypto@gmail.com
9ed550dd27d63437f23e433770ee1c931d942612
e5937bed3ac457e4572b3fe64e735bec9e7d947c
/elfModel.cpp
f6c91bb33e7dcbf973545e1c0e7fdc7b97304be3
[ "BSD-2-Clause" ]
permissive
nikkej/elfix
be4b725172bb19b8ae8d4270f895618baa533f76
f1990577a69a702ba21d7e2d6adcfe7d081d9293
refs/heads/master
2021-01-11T01:31:29.823868
2018-02-05T13:26:19
2018-02-05T13:26:19
70,695,919
4
0
null
null
null
null
UTF-8
C++
false
false
54,489
cpp
//******************************************************************************** // // elfModel.cpp // // Copyright (c) 2016, Juha T Nikkanen <nikkej@gmail.com> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the follow...
[ "nikkej@gmail.com" ]
nikkej@gmail.com
45d0bc6e34eb722e70f2c82e28444cbfa5154c7f
579f6399b3f8238eee552b8a70b5940db894a3eb
/pashin.fedor/A1/triangle.cpp
ebed4eeea60da14559f85e35c8671eeff1dce9ba
[]
no_license
a-kashirin-official/spbspu-labs-2018
9ac7b7abaa626d07497104f20f7ed7feb6359ecf
aac2bb38fe61c12114975f034b498a116e7075c3
refs/heads/master
2020-03-19T04:18:15.774227
2018-12-02T22:21:38
2018-12-02T22:21:38
135,814,536
0
0
null
null
null
null
UTF-8
C++
false
false
2,292
cpp
#include "triangle.hpp" #include <sstream> #include <math.h> using namespace std; Triangle::Triangle(point_t vertices[3]) { for (int i = 0; i < 3; i++) { vertices_[i] = vertices[i]; } } string Triangle::getInfo() const { stringstream info; const point_t center = getCenter(); info << "Type: Triangle" <<...
[ "a.kashirin.official@gmail.com" ]
a.kashirin.official@gmail.com
e904720265c4563b779ad085ae7ff40ab533f4cf
86648ccbd1cce95a95894f694fa01ea9c81509cc
/Object Oriented Programming Lab/9_SingleInheritance.cpp
7350598d44e62395591e245f66948a1ee84739ef
[]
no_license
crpytoscooby/College-Assignment
df4f380d61eaa855dc1b415bf96261ee053aacfa
e6adb36a58218e225b26726646659374d1d103b4
refs/heads/main
2023-08-07T12:46:43.543599
2021-10-08T11:45:22
2021-10-08T11:45:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
420
cpp
#include<iostream> using namespace std; class Vehicle // Vehicle is a Base Class or a Parent Class { public: Vehicle() { cout<<"Vehicle Class is Called\n"; } }; class Car:public Vehicle // Car is a Derived Class or a Child Class { public: Car() { cout<<"Car Class is Ca...
[ "denzil.s.samuel@gmail.com" ]
denzil.s.samuel@gmail.com
54da6d82a407d509ee0fdb390804771f1efeb931
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5751500831719424_0/C++/nsv/A.cpp
ff686a5d236181109ddb0e61215e56640f2cd0ba
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
3,428
cpp
#if 1 #include <functional> #include <algorithm> #include <iostream> #include <iterator> #include <iomanip> #include <sstream> #include <numeric> #include <string> #include <vector> #include <bitset> #include <queue> #include <stack> #include <map> #include <set> #include <cstdlib> #include <cassert> #...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
6f28463ca8700575027cf1e365fd6e2d90e24efd
4111b4943472b96bf4aaa04c5d61f35ec0b9011b
/gecode/set/rel/common.hpp
746e090e9d85d664a10e929f66566a9c2d71fe10
[ "MIT" ]
permissive
jahewson/gecode
3862ed7ac48124bbb5d16ddd39aa2803aacaf145
91f3bbeafe96ec7172aeb5417f624109143415bb
refs/heads/master
2020-05-17T01:51:26.270717
2013-02-11T19:40:23
2013-02-11T19:40:23
6,619,246
0
1
null
null
null
null
UTF-8
C++
false
false
4,337
hpp
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <tack@gecode.org> * Christian Schulte <schulte@gecode.org> * * Contributing authors: * Gabor Szokoli <szokoli@gecode.org> * * Copyright: * Guido Tack, 2004 * Christian Schulte, 2004 * ...
[ "john@jahewson.com" ]
john@jahewson.com
a9dcf6997190eb430baae50be29b571a0b7ead20
aaff0a475ba8195d622b6989c089ba057f180d54
/backup/2/leetcode/c++/balance-a-binary-search-tree.cpp
81f7d52eea43d9be3e56f15537253aa25f91a54c
[ "Apache-2.0" ]
permissive
DandelionLU/code-camp
328b2660391f1b529f1187a87c41e15a3eefb3ee
0fd18432d0d2c4123b30a660bae156283a74b930
refs/heads/master
2023-08-24T00:01:48.900746
2021-10-30T06:37:42
2021-10-30T06:37:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,728
cpp
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
[ "yangyanzhan@gmail.com" ]
yangyanzhan@gmail.com
e43b58d4475c8f47f798586939e18b0df36869e8
21d95c8e302242eb03e334d97ff51b9fee8fff90
/server/src/_jMetalCpp/main/CMAES_main.cpp
4900848c0d2e8d870f872e41b35ddd90d1f35057
[]
no_license
nszknao/master
8e909336476efba112e27bd5c4478373a191db12
ef7fd255209e7ef3d63a483ae03a55b54727a194
refs/heads/master
2023-04-30T16:23:17.485757
2023-04-26T07:26:17
2023-04-26T07:26:17
45,908,367
1
0
null
null
null
null
UTF-8
C++
false
false
2,384
cpp
// CMAES_main.cpp // // Author: // Esteban López-Camacho <esteban@lcc.uma.es> // // Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Softw...
[ "iloilo_has@yahoo.co.jp" ]
iloilo_has@yahoo.co.jp
8cced78d563f739a1097ca3a175a34901b2707cf
1fdbb7e551cf8b52b43359cf406bedd969b5f59f
/include/common/gettimeofday.h
0ad6aa085e1f6fc7830bd5f656d710d3adbdca10
[]
no_license
trigrass2/eview-server
1292958416ebe772ff4ce0b1f1639c65ca13ce92
a5e452016a730af79a1d402a3d918403eb6073aa
refs/heads/master
2023-06-17T09:38:25.004889
2021-07-15T09:45:56
2021-07-15T09:45:56
null
0
0
null
null
null
null
GB18030
C++
false
false
935
h
#ifndef _GETTIMEOFDAY_TCNT_H_ #define _GETTIMEOFDAY_TCNT_H_ #include <ace/OS_NS_sys_time.h> #include <ace/High_Res_Timer.h> namespace CVLibHead { //#ifdef _WIN32 static ACE_Time_Value gettimeofday_tickcnt() { return ACE_High_Res_Timer::gettimeofday_hr(); // 避免修改系统时间造成不良影响 } /* static ACE_UINT32 nLastTickCount = 0; ...
[ "746257224@qq.com" ]
746257224@qq.com
06208f7c47c82dc84a909f0d17457bab4b3090a0
f9aac22297568f3be224b2623c982acc6f78ecdb
/bjfu_oj/249_Ackermann.cpp
54de95272f74bc9c28b8c4cffa080064fa8d8889
[]
no_license
CuriousLei/cppcode
b0ab0d4200735b8db3f6bcb5572b2c107219314f
b26160772a82a8b5a60752b4191eef29f8e17818
refs/heads/master
2020-04-16T12:58:31.545127
2019-08-12T07:34:03
2019-08-12T07:34:03
165,604,528
0
0
null
null
null
null
IBM852
C++
false
false
380
cpp
//Ackermann║»╩řÁ─ÁŢ╣ÚăˇÍÁ #include"iostream" using namespace std; int ackermann(int m,int n){ if(m==0){ cout<<n+1<<endl; return n+1; }else if(n==0){ return ackermann(m-1,1); }else{ return ackermann(m-1,ackermann(m,n-1)); } } int main (){ int m,n; while(1){ cin>>m>>n; if(m==0&&n==0){ break; } co...
[ "bjfuleida@126.com" ]
bjfuleida@126.com
c1ab080527cbfd9fcf7d1f835b6247f84dad7816
f3c2cc5754c47aac12db087995ee7bdccc09588f
/logger.cpp
0bf0ae3bbbd37e9d656a87dd63da808e5f087b02
[]
no_license
friverosy/Fiordo-Austral
64f76f37bb21f7620a8456770f3e8aeeb1e498e8
1a5c6b28e4a48a06e2b812a932e2e95553a6028a
refs/heads/master
2021-08-28T16:25:45.835571
2016-08-17T18:07:27
2016-08-17T18:07:27
114,008,886
0
0
null
null
null
null
UTF-8
C++
false
false
1,145
cpp
#include "logger.h" #include "ui_logger.h" #include "connection.h" #include <QFile> #include <QTextStream> #include <QMessageBox> #include <QDateTime> Logger::Logger(QWidget *parent) : QDialog(parent), ui(new Ui::Logger) { ui->setupUi(this); QFile file("./comboscan.log"); if(file.open(QFile::Read...
[ "pala_jdrums69tsd@hotmail.com" ]
pala_jdrums69tsd@hotmail.com
aa9926c398312a9ca28e11964fda2bd4a99e8928
e62ee12fded9e3022010edc3bad99d5913a9cad6
/Classes/vgc/GameControllerDpad.h
108ff124b60a5b3abfb65f031fccf25e60da3567
[]
no_license
thibetabc/gloudhelper
309698c5018363cb479f1e47f8b4354c582e22fb
16776e0651e3323eac30579d1a22f71ce49c7f4f
refs/heads/HuangFeng
2021-01-15T15:42:55.937723
2016-08-18T08:41:24
2016-08-18T08:41:24
52,324,439
0
0
null
2016-04-17T15:21:32
2016-02-23T02:48:48
C++
UTF-8
C++
false
false
2,001
h
#ifndef __GAMECONTROLLERDPAD_H__ #define __GAMECONTROLLERDPAD_H__ #include "GameControllerDef.h" NS_CC_BEGIN namespace ui { class GameControllerDpad : public ImageView { public: virtual ~GameControllerDpad(); CREATE_FUNC(GameControllerDpad); void setObject(GameControllerDef::OBJ...
[ "panyumiao@panyumiaodeMacBook-Pro.local" ]
panyumiao@panyumiaodeMacBook-Pro.local
99f595e9ae837f0b7e2c4dd0d534b4e13f9c9fe4
746bf62ae3599f0d2dcd620ae37cd11370733cc3
/network/SimpleSniffer/SimpleSniffer/StdAfx.cpp
e6e78f96ad07a87d130382dc579808cea4d5f3f6
[]
no_license
wanglinjie/coding
ec0e614343b39dc02191455165eb1a5c9e6747ce
350f28cad5ec384df476f6403cb7a7db419de329
refs/heads/master
2021-04-22T14:00:48.825959
2017-05-02T12:49:05
2017-05-02T12:49:05
48,011,510
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
// stdafx.cpp : source file that includes just the standard includes // SimpleSniffer.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h"
[ "hitwhwlj@163.com" ]
hitwhwlj@163.com
d50d90a680cc9baf201b59697ad0caf7a59b3934
9945fe4e4556c630e991d6783082ad233b811972
/src/qt/sagbitgui.cpp
e03f9e7a3851e5a8a0955d4086139f53db94a457
[ "MIT" ]
permissive
mirzaei-ce/linux-sagbit
17e77a538683fc2a8f9112bedb7e825dda9722d1
3671bc665897d3ff7856d634344654ea2865cee0
refs/heads/master
2021-08-23T09:06:40.952584
2017-12-04T12:24:59
2017-12-04T12:24:59
113,039,244
0
0
null
null
null
null
UTF-8
C++
false
false
40,629
cpp
// Copyright (c) 2011-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sagbitgui.h" #include "sagbitunits.h" #include "clientmodel.h" #include "guiconstants.h" #include "guiutil.h" #inc...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
ee3cf5c040bc2e9e554b6fe93e24f70c96b8a19b
13f78c34e80a52442d72e0aa609666163233e7e0
/AtCoder/ARC 119/C.cpp
3146b708e359e0adc95f941e534c32fa29c209c0
[]
no_license
Giantpizzahead/comp-programming
0d16babe49064aee525d78a70641ca154927af20
232a19fdd06ecef7be845c92db38772240a33e41
refs/heads/master
2023-08-17T20:23:28.693280
2023-08-11T22:18:26
2023-08-11T22:18:26
252,904,746
2
0
null
null
null
null
UTF-8
C++
false
false
606
cpp
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = (a); i < (b); i++) #define sz(x) ((int) x.size()) #define all(x) x.begin(), x.end() #define debug if (true) cerr using ll = long long; const int MAXN = 3e5+5; int N; ll A[MAXN]; map<ll, int> cnt; void solve() { cin >> N; rep(i, 0...
[ "43867185+Giantpizzahead@users.noreply.github.com" ]
43867185+Giantpizzahead@users.noreply.github.com
693a3e8bc3f19c223b781fc106821b6643910fe6
3b9a242f2d7df732f5f7dc29027f73bd8773e71d
/sandboxes/cb/sharel00/share00.cpp
55fdf85ddbe24a5dfd149e23d227cf61abb94fbf
[]
no_license
skubliy/scratches
8d0c15b30d7f60cf7f82382148d6a18f658609b4
813be4487bb82e76c4e26b85f357e6d1b0910a34
refs/heads/master
2021-01-16T23:21:33.071813
2016-07-13T19:31:58
2016-07-13T19:31:58
59,788,158
0
0
null
null
null
null
UTF-8
C++
false
false
844
cpp
// The functions contained in this file are pretty dummy // and are included only as a placeholder. Nevertheless, // they *will* get included in the shared library if you // don't remove them :) // // Obviously, you 'll have to write yourself the super-duper // functions to include in the resulting library... // Also, ...
[ "skubliy@gmail.com" ]
skubliy@gmail.com
73016ce2baacbaf2172db42ec4f7166eee64b05c
7a046978779f0496d41e5bae4c4218abd0d06f57
/HIDMapper/MapperJoystickToKeyboard.cpp
d197767a68f5e34cd33368731d845c60f974529e
[ "MIT" ]
permissive
stewienj/DxHIDLoggerMapper
943e54361532c09f96421731f2731ccfb13350a1
a66606706e6f441385b73a199d4b1323bf765e55
refs/heads/master
2023-05-24T17:21:22.167078
2023-05-13T07:30:18
2023-05-13T08:55:27
124,023,064
3
0
null
null
null
null
UTF-8
C++
false
false
4,281
cpp
#include "MapperJoystickToKeyboard.h" #include "MapperJoystickToKeyboardConfig.h" #include "HIDMapperInterface.h" #include <tchar.h> #include <strsafe.h> #include <Windows.h> MapperJoystickToKeyboard::MapperJoystickToKeyboard(GUID deviceGuid, HIDMapperDLL::HIDMapperInterface^ loggerInterface) : MapperJoystick(devic...
[ "stewienj@users.noreply.github.com" ]
stewienj@users.noreply.github.com
f3be72c9d6c135dabb92f595b27427fb8a887c04
5a2563f4cd1fd50c3945478def86254ce0a93e1d
/components/rf_bridge_cc1101/remote_transmitter_esp8266.cpp
6b7cb79286a449d0f7b612755c58a11474127e52
[]
no_license
x64life/esphome-custom-components
dd8344a53947f719dcac56e30ed98c59d9c5ae9c
127dd1a363be1dba465b985c83eb9f45bd966dfc
refs/heads/main
2023-08-01T09:36:28.119558
2021-09-21T09:28:41
2021-09-21T09:28:41
408,473,870
0
0
null
2021-09-21T09:28:42
2021-09-20T14:23:12
null
UTF-8
C++
false
false
2,679
cpp
#include "remote_transmitter.h" #include "esphome/core/log.h" #include "esphome/core/application.h" #ifdef ARDUINO_ARCH_ESP8266 namespace esphome { namespace rf_bridge_cc1101 { static const char *const TAG = "rf_bridge_cc1101.transmitter.esp8266"; void RemoteTransmitter::setup() { this->pin_->setup(); this->pin...
[ "ryanh7@163.com|" ]
ryanh7@163.com|
56b4ae933be53f8e6a6549f08a67e032520461cc
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/libs/gil/io/test/tiff_tiled_palette_write_test_1-8.cpp
58eb148b849b6533ee1ab450903b25bfef3fee9c
[ "BSL-1.0" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
669
cpp
// // Copyright 2013 Christian Henning // // 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 // //#define BOOST_TEST_MODULE tiff_tiled_palette_write_test_1_8_module #include <sstd/boost/test/unit_test.hpp> #include "...
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
6c544d6228156e4406fd394c0f126706dbbfb1c5
de5cec21781c5f89f13845d15a32782162290a76
/Two Substrings.cpp
8ccaddd49d161689eca8bd75df0f3451ed89f737
[]
no_license
thongngo3301/Codeforces
819e232577c4b2b1b5b9fb7d2ebfc518e0c2daa9
f4647cf44e9c8715ec86d23b99ead7fafdc66e4d
refs/heads/master
2021-05-06T15:44:27.361559
2017-12-09T05:59:37
2017-12-09T05:59:37
113,646,165
0
0
null
null
null
null
UTF-8
C++
false
false
1,309
cpp
#include <bits/stdc++.h> using namespace std; int main() { string input; cin>>input; size_t found = input.find("AB"); size_t foundReverse = input.find("BA"); while(found!=string::npos){ foundReverse = input.find("BA"); if(foundReverse != string::npos){ if(foundReverse == ...
[ "thongngo3301@gmail.com" ]
thongngo3301@gmail.com
f950cbfaf0c0e45ba5f99e60bc1587686f64a188
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/blink/renderer/core/paint/rounded_inner_rect_clipper.h
25fd36bbe06d6b3949eb1d5dc37a027b15468716
[ "LGPL-2.0-only", "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
1,271
h
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_ROUNDED_INNER_RECT_CLIPPER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_ROUNDED_INNER_RECT_CLIPPER_H_ #...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
7dd48f51be120deccc71cf79b26a159c9406a48a
02a249c0c48ad11f8b5476626e42a7a2af889637
/solutions/POJ/2251/17354936_AC_16ms_844kB.cpp
310b6a94c95c25652eb10d991f66bad485dcc2b2
[]
no_license
Kanaricc/MyICPC
3a3351fc02d7f36e7438eb1c92a87c9263028c8f
73e80b2263ae8e2fe87009743defb59ff36e38ca
refs/heads/master
2023-07-06T14:38:39.495821
2023-07-06T09:18:58
2023-07-06T09:18:58
186,849,167
0
0
null
null
null
null
UTF-8
C++
false
false
1,681
cpp
#include <iostream> #include <queue> #include <cstring> using namespace std; const int MAXN=40; int L,R,C; struct v4q{ int x,y,z; int waste; v4q(){} v4q(int x,int y,int z,int waste):x(x),y(y),z(z),waste(waste){} }; char game[MAXN][MAXN][MAXN]; bool vis[MAXN][MAXN][MAXN]; int bfs(int x,int y,int z){ ...
[ "iovo7c@gmail.com" ]
iovo7c@gmail.com
4e0ab4f7b0595120523a326caf5fd3cd8b0ae829
1880ae99db197e976c87ba26eb23a20248e8ee51
/cvm/include/tencentcloud/cvm/v20170312/model/DescribeAccountQuotaResponse.h
2d8833c8fc0c08860a3b17cabd105a8c378f6276
[ "Apache-2.0" ]
permissive
caogenwang/tencentcloud-sdk-cpp
84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d
6e18ee6622697a1c60a20a509415b0ddb8bdeb75
refs/heads/master
2023-08-23T12:37:30.305972
2021-11-08T01:18:30
2021-11-08T01:18:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,973
h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
0d75bd829bb343f940344241edd1988a0462f668
06eb60c98f4d106fc3bb3d0b7e990828b87d714d
/Source/WebCore/html/PasswordInputType.h
9ff12f31df1d04f25dfd0cf93ea05fd60ca2a059
[]
no_license
snyh/dui
9486a81d97ec1173b161b6aef8fcea21066aebff
c4464629f1efdecae792ed3abc2a7fc9ce9b88db
refs/heads/master
2021-01-25T08:28:55.224303
2013-10-23T00:42:02
2013-10-23T00:42:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,514
h
/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
[ "snyh@snyh.org" ]
snyh@snyh.org
4f59baaf75911ebd4e067a9f03894b271d27fb4e
1c30108db5cc94ef91edf858a922c6867c38479e
/src/gz_piter/sketch/PiTeR/Pid.h
8790a86f2b9689a170a124f0af68285602bd1cb0
[]
no_license
penguinman543/Pi
0d483b000503aae044ee92f6749fd83c920fefaa
97e5eed8f2c81ee62b5a14a0ab467c1bb3d7ceb6
refs/heads/master
2020-06-13T08:12:45.126042
2017-02-04T07:53:17
2017-02-04T07:53:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,474
h
#ifndef _pid_h_ #define _pid_h_ /* * Pid.h * * Pi Terrestrial Robot - Proportional Integral Derivative algorithm * * Copyright 2014 guzunty * * 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 Foun...
[ "guzunty@gmail.com" ]
guzunty@gmail.com
dd488cc74d1a4a35d2c4fec7c2a1a82334838611
b1af8bb863a6730e6e4e93129efbad89d33cf509
/SDK/SCUM_Cal_9mm_functions.cpp
8cb75a73550f136b55e9d3fb26c8e4f6f2a62425
[]
no_license
frankie-11/SCUM_SDK7.13.2020
b3bbd8fb9b6c03120b865a6254eca6a2389ea654
7b48bcf9e8088aa8917c07dd6756eac90e3f693a
refs/heads/master
2022-11-16T05:48:55.729087
2020-07-13T23:48:50
2020-07-13T23:48:50
279,433,512
0
1
null
null
null
null
UTF-8
C++
false
false
2,702
cpp
// SCUM (4.24) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function ConZ.AmmunitionItem.SetAmmoCoun...
[ "60810131+frankie-11@users.noreply.github.com" ]
60810131+frankie-11@users.noreply.github.com
c0f033648e44b465084fee9839d767da8fe3a20f
3de461274828f91e7997298c496ffd5d49a15e51
/Beam/Include/Beam/Queues/Queues.hpp
349e2b9e73b23c3f9bc4f55b97073d48e865715e
[]
no_license
lineCode/beam
aaceffb36510d0e4551c81d67e9b5326bd3c0c94
8cd3d175118a9c9f17feb5ab272472de6ddc0327
refs/heads/master
2022-04-18T22:21:21.483345
2020-04-16T21:57:53
2020-04-16T21:57:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,717
hpp
#ifndef BEAM_QUEUES_HPP #define BEAM_QUEUES_HPP namespace Beam { template<typename T> class AbstractQueue; template<typename PublisherType> class AggregatePublisher; template<typename T> class AggregateQueue; template<typename T> class AliasQueue; class BaseCallbackWriterQueue; class BasePublisher; class...
[ "kamal@eidolonsystems.com" ]
kamal@eidolonsystems.com
be7073a8bf68935d130eb85202b1287c1707bbea
5437328fa32923b6c13615c82a45d3657647d1fd
/cpid/estrainer.cpp
606a48f748e0445a2d3d807564b9fb8d19bae908
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ShawnshanksGui/TorchCraftAI
d6a2bf93ace07832a33d65dcd0eb3d19c3b6a82c
65f345b70662e8236fcb40201040c3c99f401df6
refs/heads/master
2020-06-05T16:39:09.146369
2019-04-17T18:25:47
2019-04-17T18:25:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,822
cpp
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "estrainer.h" #include "batcher.h" #include "common/rand.h" #include "evaluator.h" #include "policygradienttrainer.h" #include "...
[ "danthe3rd@users.noreply.github.com" ]
danthe3rd@users.noreply.github.com
ba8c25a2ea596ec2317f239e1b0d6c66f4039cd4
297d263d30ee4ce8ee66b5a581c687a129af7de6
/src/utils/Defer.cpp
be240719ba4875e2867bf546cc77acf414225624
[]
no_license
LUMAIS/artemis
bd0fdce7d2b56e3e9f6ba29e28ce1b4fb65b264e
7c4c4e3f83233525903a5981f75996169146a1f2
refs/heads/master
2023-08-03T12:59:11.189128
2023-06-28T08:46:23
2023-06-28T09:26:59
279,585,178
1
1
null
null
null
null
UTF-8
C++
false
false
136
cpp
#include "Defer.hpp" Defer::Defer(const std::function<void()> & toDefer) : d_toDefer(toDefer) {} Defer::~Defer() { d_toDefer(); }
[ "alexandre.tuleu.2005@polytechnique.org" ]
alexandre.tuleu.2005@polytechnique.org
d8c673d3393c67c6cf4833df19b46e3b5568af4a
536a80a503da4371ece77ac8602e00a399d33d44
/folly/experimental/io/test/IoUringBackendTest.cpp
f6ae03f6f2e1b2b068102cc6808f63ba1bd70cf3
[ "MIT", "Apache-2.0" ]
permissive
asklar/folly
122a32fc610c36ce9ca4e89d658c26c4608b8920
a24e4441f972cc9ab8a8cb350d701e9d87826a48
refs/heads/master
2023-04-29T09:29:38.499814
2020-09-18T22:04:00
2020-09-18T22:04:00
295,598,687
0
0
Apache-2.0
2020-09-15T02:59:31
2020-09-15T02:59:31
null
UTF-8
C++
false
false
26,474
cpp
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com