hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
31dbffd6b5779c68ec93537e13f905efda9a14ec
1,757
cpp
C++
src/cppLinqUnitTest/emptyTest.cpp
paolosev/cpplinq
9d631e852ebb8f3a0f134524fb82abccd799a361
[ "Apache-2.0" ]
null
null
null
src/cppLinqUnitTest/emptyTest.cpp
paolosev/cpplinq
9d631e852ebb8f3a0f134524fb82abccd799a361
[ "Apache-2.0" ]
null
null
null
src/cppLinqUnitTest/emptyTest.cpp
paolosev/cpplinq
9d631e852ebb8f3a0f134524fb82abccd799a361
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 Paolo Severini // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
33.788462
112
0.627775
paolosev
31dd567dedb65314795c4b49818e6c1d792f0827
18,443
cpp
C++
library/src/Json.cpp
StratifyLabs/JsonAPI
82283d2571452d75468d508db19c328f052ecac7
[ "MIT" ]
null
null
null
library/src/Json.cpp
StratifyLabs/JsonAPI
82283d2571452d75468d508db19c328f052ecac7
[ "MIT" ]
null
null
null
library/src/Json.cpp
StratifyLabs/JsonAPI
82283d2571452d75468d508db19c328f052ecac7
[ "MIT" ]
null
null
null
// Copyright 2016-2021 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md #include <type_traits> #if USE_PRINTER #include "sys/Printer.hpp" #endif //#include "sys/Sys.hpp" #include <printer/Printer.hpp> #include <var/StackString.hpp> #include <var/StringView.hpp> #include <var/Tokenizer.hpp> #include "json/Json.h...
24.922973
80
0.643659
StratifyLabs
31e121c416604cb2efd53cadd02509ac3d3c8f17
1,531
cpp
C++
test/test/data_dictionary_test.cpp
rnburn/satyr
07f336dfd75a73d63d0573245847f03b7700304c
[ "MIT" ]
8
2017-07-03T09:24:36.000Z
2021-07-21T07:36:58.000Z
test/test/data_dictionary_test.cpp
rnburn/satyr
07f336dfd75a73d63d0573245847f03b7700304c
[ "MIT" ]
4
2020-01-10T21:06:07.000Z
2020-09-26T13:24:58.000Z
test/test/data_dictionary_test.cpp
rnburn/satyr
07f336dfd75a73d63d0573245847f03b7700304c
[ "MIT" ]
3
2018-12-08T17:31:37.000Z
2021-04-28T15:22:06.000Z
#include <satyr/test/data_dictionary.h> #include <sstream> #include <cassert> using namespace satyr::testing; int main() { { std::istringstream iss; auto data_dictionaries = read_data_dictionaries(iss); assert(data_dictionaries.empty()); } { std::istringstream iss{R"( double x = 1.0; double ...
27.339286
77
0.611365
rnburn
31e293a3b1575e0b4889caef9ddfba87b7e9e515
2,349
cpp
C++
board/fpga/net_reliable/tx_arbiter/tb.cpp
WukLab/Clio
7908c3a022fd356cd54616630fcddf59f7f3fd95
[ "MIT" ]
46
2021-12-02T04:45:23.000Z
2022-03-21T08:19:07.000Z
board/fpga/net_reliable/tx_arbiter/tb.cpp
WukLab/Clio
7908c3a022fd356cd54616630fcddf59f7f3fd95
[ "MIT" ]
null
null
null
board/fpga/net_reliable/tx_arbiter/tb.cpp
WukLab/Clio
7908c3a022fd356cd54616630fcddf59f7f3fd95
[ "MIT" ]
2
2022-03-17T04:00:53.000Z
2022-03-20T14:06:25.000Z
/* * Copyright (c) 2020,Wuklab, UCSD. */ #include "arbiter_64.hpp" #include <uapi/gbn.h> #define MAX_CYCLE 50 struct net_axis_64 build_gbn_header(ap_uint<8> type, ap_uint<SEQ_WIDTH> seqnum, ap_uint<1> last) { struct net_axis_64 pkt; pkt.data(7, 0) = type; pkt.data(8 + SEQ_WIDTH - 1, 8) = seqnum; pkt.da...
27
79
0.689229
WukLab
31e36365fa9475874f775caf70baa488eacc3cc0
588
hpp
C++
include/MCL/Screenshot.hpp
mattoverby/mclapp
e17cdf5ce1fb22f3061d46c26978ea9c60371841
[ "MIT" ]
null
null
null
include/MCL/Screenshot.hpp
mattoverby/mclapp
e17cdf5ce1fb22f3061d46c26978ea9c60371841
[ "MIT" ]
null
null
null
include/MCL/Screenshot.hpp
mattoverby/mclapp
e17cdf5ce1fb22f3061d46c26978ea9c60371841
[ "MIT" ]
null
null
null
// Copyright Matt Overby 2021. // Distributed under the MIT License. #ifndef MCL_SCREENSHOT_HPP #define MCL_SCREENSHOT_HPP 1 #include <igl/opengl/glfw/Viewer.h> namespace mcl { class Screenshot { public: int frame_counter; bool render_background; bool rendered_init; Screenshot() : frame_counter(0), render_b...
18.375
71
0.738095
mattoverby
31e4de8ace3e37b2951c4690b3af0bb105b0c50a
966
cpp
C++
src/Root.cpp
syoch/wiiu-libgu
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
1
2021-02-26T15:49:54.000Z
2021-02-26T15:49:54.000Z
src/Root.cpp
syoch/wiiu-libgui
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
null
null
null
src/Root.cpp
syoch/wiiu-libgui
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
null
null
null
#include <Root.hpp> #include <DrawWrapper.hpp> #include <mc/internal/std/string.hpp> void GUI::Root::draw_line(DrawPoint start, DrawPoint end) { GUI::draw_line(start, end); } void GUI::Root::draw_rect(DrawPoint start, DrawPoint end) { GUI::draw_rect(start, end); } void GUI::Root::draw_rect(DrawPoint A, DrawPo...
23.560976
85
0.682195
syoch
31e4fc1d129b7959afb1ac46924c6898167485fb
1,970
hpp
C++
cpp/timeSerie/sources/sparseTimeSerie.hpp
jxtopher/quick-codes
577711394f3f338c061f1e53df875d958c645071
[ "Apache-2.0" ]
null
null
null
cpp/timeSerie/sources/sparseTimeSerie.hpp
jxtopher/quick-codes
577711394f3f338c061f1e53df875d958c645071
[ "Apache-2.0" ]
null
null
null
cpp/timeSerie/sources/sparseTimeSerie.hpp
jxtopher/quick-codes
577711394f3f338c061f1e53df875d958c645071
[ "Apache-2.0" ]
null
null
null
/// /// @file sparseTimeSerie.hpp /// @author Jxtopher /// @brief /// @version 0.1 /// @date 2019-11-09 /// /// @copyright Copyright (c) 2019 /// /// #include <iostream> #include <map> #include "timeSerie.hpp" template <typename TYPE_VALUES> class SparseTimeSerie : public TimeSerie { public: SparseTimeSerie(...
28.142857
155
0.560406
jxtopher
31e5025a55c63a58bf1b541ae3d273de4688f56e
5,706
cc
C++
media/webrtc/webrtcmediaengine.cc
bemasc/libjingle-hack
91a2af519ac2111eaf691ca33752800356f3e7d3
[ "BSL-1.0", "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
media/webrtc/webrtcmediaengine.cc
bemasc/libjingle-hack
91a2af519ac2111eaf691ca33752800356f3e7d3
[ "BSL-1.0", "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
media/webrtc/webrtcmediaengine.cc
bemasc/libjingle-hack
91a2af519ac2111eaf691ca33752800356f3e7d3
[ "BSL-1.0", "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
/* * libjingle * Copyright 2014 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fo...
36.576923
80
0.716088
bemasc
31e54d8e5561952e08a33f4e57e87e915b0154dd
540
hpp
C++
flare/include/flare/exceptions/missing_file_exception.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare/include/flare/exceptions/missing_file_exception.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare/include/flare/exceptions/missing_file_exception.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#ifndef _FLARE_MISSINGFILEEXCEPTION_HPP_ #define _FLARE_MISSINGFILEEXCEPTION_HPP_ #include <exception> #include <string> namespace flare { class MissingFileException : public std::exception { std::string m_Message; std::string m_Filename; public: MissingFileException(const std::string& msg, const std::stri...
18
115
0.709259
taehyub
31e5ee3abf51f0f9a819a5a9406f79dee4d4a305
728
cpp
C++
src/test/test_sensors.cpp
sj0897/my-ARIAC-competition-2021
fbaa26430d5c37444464a3c04d44d80cf11c5ef1
[ "BSD-3-Clause" ]
null
null
null
src/test/test_sensors.cpp
sj0897/my-ARIAC-competition-2021
fbaa26430d5c37444464a3c04d44d80cf11c5ef1
[ "BSD-3-Clause" ]
null
null
null
src/test/test_sensors.cpp
sj0897/my-ARIAC-competition-2021
fbaa26430d5c37444464a3c04d44d80cf11c5ef1
[ "BSD-3-Clause" ]
null
null
null
#include<memory> #include <ros/ros.h> #include "sensors.h" int main(int argc, char **argv){ ros::init(argc, argv, "test_sensors"); ros::NodeHandle nh; auto logical_camera_bins0 = std::make_unique<LogicalCamera>(&nh, "logical_camera_bins0"); auto logical_camera_station2 = std::make_unique<LogicalCame...
30.333333
99
0.722527
sj0897
31e7642123040eebbedfc0a0edd6c08e2a8ff9cc
362
cpp
C++
Online-Judges/HackerEarth/Mangoes.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Online-Judges/HackerEarth/Mangoes.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Online-Judges/HackerEarth/Mangoes.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int lli; typedef long double ld; #define endn "\n" int main(void) { int num; cin >> num; if (num <= 2 || num % 2) cout << "NO" << endn; else cout << "YES" << endn; return 0; } // By Shihab Mahamud // Date: ...
15.73913
50
0.535912
shihab4t
31e908f8e2a8d465e13f0d98c8897a667c535dcb
11,182
cc
C++
syzygy/zap_timestamp/zap_timestamp_unittest.cc
nzeh/syzygy
3573e3d458dbb4285753c28a7cb42ced739f9f55
[ "Apache-2.0" ]
343
2015-01-07T05:58:44.000Z
2022-03-15T14:55:21.000Z
syzygy/zap_timestamp/zap_timestamp_unittest.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
61
2015-03-19T18:20:21.000Z
2019-10-23T12:58:23.000Z
syzygy/zap_timestamp/zap_timestamp_unittest.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
66
2015-01-20T15:35:05.000Z
2021-11-25T16:49:41.000Z
// Copyright 2012 Google Inc. 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 by applicable...
33.08284
79
0.746825
nzeh
31eaed72f7e10018a0e4cfabc9f0d5ebed075fa8
81
cxx
C++
test/itkEmptyTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
4
2016-01-09T19:02:28.000Z
2017-07-31T19:41:32.000Z
test/itkEmptyTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
null
null
null
test/itkEmptyTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
2
2016-08-06T00:58:26.000Z
2019-02-18T01:03:13.000Z
#include <cstdlib> int itkEmptyTest( int , char ** ) { return EXIT_SUCCESS; }
11.571429
33
0.666667
bloyl
31ed0285804421ecfccd2f47ebbd06ff33261f25
1,086
cpp
C++
LinkedList/C++/main.cpp
mairacanal/data_structures
e35e4473ceb743dd51012f1ada07390ae3ac11ea
[ "MIT" ]
1
2021-12-14T14:36:06.000Z
2021-12-14T14:36:06.000Z
LinkedList/C++/main.cpp
mairacanal/data_structures
e35e4473ceb743dd51012f1ada07390ae3ac11ea
[ "MIT" ]
null
null
null
LinkedList/C++/main.cpp
mairacanal/data_structures
e35e4473ceb743dd51012f1ada07390ae3ac11ea
[ "MIT" ]
null
null
null
#include <iostream> #include "LinkedList.hpp" #include "LinkedList.cpp" void print(const List<int> &list) { for (auto &element : list) { std::cout << element << " "; } std::cout << std::endl; } int main() { List<int> list; std::cout << list.is_empty() << std::endl; for (int i =...
14.876712
46
0.480663
mairacanal
31ef33265c56b7126138f4d0838d0ebae8ea6d53
6,025
cpp
C++
ui/renderer/yas_ui_renderer_dependency.cpp
objective-audio/ui
cabf854b290c8df8c7e2f22f0f026b32c4173208
[ "MIT" ]
2
2017-06-07T18:30:29.000Z
2019-04-29T07:18:53.000Z
ui/renderer/yas_ui_renderer_dependency.cpp
objective-audio/ui
cabf854b290c8df8c7e2f22f0f026b32c4173208
[ "MIT" ]
null
null
null
ui/renderer/yas_ui_renderer_dependency.cpp
objective-audio/ui
cabf854b290c8df8c7e2f22f0f026b32c4173208
[ "MIT" ]
null
null
null
// // yas_ui_renderer_dependency.cpp // #include "yas_ui_renderer_dependency.h" #include <cpp_utils/yas_fast_each.h> #include <cpp_utils/yas_stl_utils.h> using namespace yas; using namespace yas::ui; bool tree_updates::is_any_updated() const { return this->node_updates.flags.any() || this->mesh_updates.flags.a...
35.02907
119
0.657095
objective-audio
31f09ecfd0c802bfee60f9e5235832550f96f8ce
1,841
hpp
C++
multiview/multiview_cpp/src/im-gui/imgui-utils/single-window-sdl-app.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/im-gui/imgui-utils/single-window-sdl-app.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/im-gui/imgui-utils/single-window-sdl-app.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#pragma once #include <SDL.h> #include "json/json.h" namespace perceive::gui { /// /// Serializable object that store window positioning /// struct WindowPositionData { Point2 position = {SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED}; Point2 size = {1280, 720}; // width/height Json::Value to_json() ...
27.893939
76
0.705052
prcvlabs
31f25ebc84f723d81883b742fb6a4ae198d3e15e
849
cpp
C++
Love-Babbar-450-In-CPPTest/10_stack_and_queues/06_check_expression_has_balanced_paranthesis_or_not.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/10_stack_and_queues/06_check_expression_has_balanced_paranthesis_or_not.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/10_stack_and_queues/06_check_expression_has_balanced_paranthesis_or_not.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
///* // link: https://practice.geeksforgeeks.org/problems/parenthesis-checker2744/1 // // ref: 3_string/16_balanced_paranthesis.cpp //*/ // // //// ----------------------------------------------------------------------------------------------------------------------- // //bool ispar(string x) //{ // stack<ch...
29.275862
127
0.294464
harshanu11
31f66688d06acebc6976b2a4f2dbef9d2fb53d05
18,115
inl
C++
src/ripple/json/impl/json_internalmap.inl
Ziftr/rippled
0829ee9234338c1f7facc304a3f27eefa1c27daa
[ "BSL-1.0" ]
58
2015-01-07T09:10:59.000Z
2019-07-15T14:34:01.000Z
src/ripple/json/impl/json_internalmap.inl
Ziftr/rippled
0829ee9234338c1f7facc304a3f27eefa1c27daa
[ "BSL-1.0" ]
12
2015-01-02T00:01:45.000Z
2018-04-25T12:35:02.000Z
src/ripple/json/impl/json_internalmap.inl
Ziftr/rippled
0829ee9234338c1f7facc304a3f27eefa1c27daa
[ "BSL-1.0" ]
23
2015-01-04T00:13:27.000Z
2019-02-15T18:01:17.000Z
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
26.956845
121
0.608612
Ziftr
31f7762c913e8f4c3d96fdecc04b499d7810fd4d
690
cpp
C++
src/csapex_core/src/model/connectable_vector.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
21
2016-09-02T15:33:25.000Z
2021-06-10T06:34:39.000Z
src/csapex_core/src/model/connectable_vector.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
null
null
null
src/csapex_core/src/model/connectable_vector.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
10
2016-10-12T00:55:17.000Z
2020-04-24T19:59:02.000Z
/// HEADER #include <csapex/model/connectable_vector.h> /// PROJECT #include <csapex/msg/input.h> #include <csapex/msg/output.h> #include <csapex/signal/event.h> #include <csapex/signal/slot.h> using namespace csapex; template <typename T> std::vector<ConnectorDescription> ConnectableVector<T>::getDescription() cons...
23.793103
78
0.742029
ICRA-2018
31fa920c4e936e21b2a65498e4fe02eaebabea0b
180
hpp
C++
Contract/EOS/payout/backup/dawn/config.hpp
flyq/dapp-rosetta
0b66f1798c68cd23211105cca363ae1e8eca6876
[ "MIT" ]
21
2019-01-24T12:43:33.000Z
2021-12-20T02:03:22.000Z
Contract/EOS/payout/backup/dawn/config.hpp
flyq/dapp-rosetta
0b66f1798c68cd23211105cca363ae1e8eca6876
[ "MIT" ]
1
2021-12-19T18:15:15.000Z
2022-02-09T04:50:32.000Z
Contract/EOS/payout/backup/dawn/config.hpp
flyq/dapp-rosetta
0b66f1798c68cd23211105cca363ae1e8eca6876
[ "MIT" ]
13
2019-02-14T01:56:26.000Z
2020-09-25T02:52:18.000Z
#pragma once #define EOS_SYMBOL S(4, EOS) #define CTN_SYMBOL S(4, CTN) #define TOKEN_SYMBOL CTN_SYMBOL #define TOKEN_CONTRACT N(dacincubator) const uint128_t MAGNITUDE = 1ll<<32;
25.714286
38
0.783333
flyq
31fc2b6f8b6de5b495c159665d76f617211ff59f
525
cpp
C++
src/main/cpp/commands/IntakePneumaticCommand.cpp
GHawk1124/apex-rapid-react-2022
c5b0c6be47e577dbda91046cd0e6713a82100dc6
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/IntakePneumaticCommand.cpp
GHawk1124/apex-rapid-react-2022
c5b0c6be47e577dbda91046cd0e6713a82100dc6
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/IntakePneumaticCommand.cpp
GHawk1124/apex-rapid-react-2022
c5b0c6be47e577dbda91046cd0e6713a82100dc6
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "commands/IntakePneumaticCommand.h" IntakePneumaticCommand::IntakePneumaticCommand(IntakeSubsystem* subsystem)...
27.631579
74
0.773333
GHawk1124
ee02766ed6384328bfdae557ed0707e100be17e3
1,677
cpp
C++
src/api/systeminfo.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
src/api/systeminfo.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
src/api/systeminfo.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
#include "systeminfo.h" #include "apihost.h" #include <api/exception.h> #include <QScriptValue> #include <QScriptValueList> #include <QProcessEnvironment> namespace api { SystemInfo::SystemInfo(ApiHost* parent) : QObject(parent) {} SystemInfo::~SystemInfo() {} void SystemInfo::setupScriptObject(QScriptValue& o) { ...
24.661765
87
0.717352
CommitteeOfZero
ee0399eb1bd7dd79a2afbc07d33d6c4e41bcf5d8
9,631
cpp
C++
QueryEngine/QueryPhysicalInputsCollector.cpp
intel-go/omniscidb
86068a229beddf7b117febcacdbd6b60a0279282
[ "Apache-2.0" ]
2
2020-03-04T12:01:10.000Z
2020-07-24T15:12:55.000Z
QueryEngine/QueryPhysicalInputsCollector.cpp
intel-go/omniscidb
86068a229beddf7b117febcacdbd6b60a0279282
[ "Apache-2.0" ]
18
2019-11-20T11:11:19.000Z
2020-08-27T13:21:12.000Z
QueryEngine/QueryPhysicalInputsCollector.cpp
intel-go/omniscidb
86068a229beddf7b117febcacdbd6b60a0279282
[ "Apache-2.0" ]
1
2020-04-04T06:25:32.000Z
2020-04-04T06:25:32.000Z
/* * Copyright 2017 MapD Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
33.210345
90
0.702108
intel-go
ee07604693912d01e39210b9cd403747b98e8ec8
546
cpp
C++
problems/cf_1453_b.cpp
datasakura/informatika
71272271931b610f89eaf85ab89c199758d4a032
[ "MIT" ]
null
null
null
problems/cf_1453_b.cpp
datasakura/informatika
71272271931b610f89eaf85ab89c199758d4a032
[ "MIT" ]
null
null
null
problems/cf_1453_b.cpp
datasakura/informatika
71272271931b610f89eaf85ab89c199758d4a032
[ "MIT" ]
1
2020-10-01T06:23:52.000Z
2020-10-01T06:23:52.000Z
#include <iostream> #include <vector> using namespace std; int main() { int tests; cin >> tests; while (tests--) { int n; cin >> n; vector<int> a(n); for (int& i : a) cin >> i; long long ans0 = 0; for (int i = 1; i < n; i++) ans0 += abs(a[i] - a[i - 1]); long long ans = ans0 - max(abs(a[1] - a[...
18.827586
73
0.454212
datasakura
ee0c62cf6e3dc93ec85c02d35a6db9ea93175f5f
370
cpp
C++
codes/HDU/hdu4969.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4969.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4969.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int main () { int cas; double v1, v2, r, d; scanf("%d", &cas); while (cas--) { scanf("%lf%lf%lf%lf", &v1, &v2, &r, &d); double t = r / v1 * asin(v1 / v2); double l = t * v2; printf("%s\n", l > d ? "Why give up...
17.619048
70
0.562162
JeraKrs
ee0d9539675497b50af4d0b64a5cc3e2cff70c52
32,910
cxx
C++
utils/examples/sequences/Sequences.cxx
eProsima/Non-Intrusive-DDS-Recorder
94ef1dba8cca868c173e3d92ba383f9833d15389
[ "Apache-2.0" ]
7
2019-06-04T12:45:01.000Z
2021-09-27T16:20:35.000Z
utils/examples/sequences/Sequences.cxx
eProsima/Non-Intrusive-DDS-Recorder
94ef1dba8cca868c173e3d92ba383f9833d15389
[ "Apache-2.0" ]
5
2020-12-09T16:40:47.000Z
2021-11-22T15:37:59.000Z
utils/examples/sequences/Sequences.cxx
eProsima/Non-Intrusive-DDS-Recorder
94ef1dba8cca868c173e3d92ba383f9833d15389
[ "Apache-2.0" ]
5
2019-04-04T06:13:36.000Z
2021-10-18T07:47:23.000Z
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from Sequences.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Data Distribution Service distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Data Distribution Service man...
32.076023
109
0.527803
eProsima
ee153f9c0c41b83f72f69abc8d043bd57c568509
6,206
hpp
C++
packages/monte_carlo/core/src/MonteCarlo_SimulationPhotonProperties.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/core/src/MonteCarlo_SimulationPhotonProperties.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/core/src/MonteCarlo_SimulationPhotonProperties.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_SimulationPhotonProperties.hpp //! \author Alex Robinson, Luke Kersting //! \brief Simulation photon properties class decl. //! //---------------------------------------------------------------------------// #if...
32.15544
82
0.753626
lkersting
ee16e13195ca2c8b41142afcf549e62fc88c8c89
1,184
cpp
C++
mr/iza810/raspi_utility/src/pigpiod.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
5
2020-01-24T08:05:01.000Z
2020-08-03T04:51:52.000Z
mr/iza810/raspi_utility/src/pigpiod.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
null
null
null
mr/iza810/raspi_utility/src/pigpiod.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
1
2020-07-15T05:43:48.000Z
2020-07-15T05:43:48.000Z
#include "../include/pigpiod.hpp" #include <pigpiod_if2.h> using namespace arrc_raspi; Pigpiod::Pigpiod() { gpio_handle_ = pigpio_start(const_cast<char *>(PIGPIOD_HOST), const_cast<char *>(PIGPIOD_PORT)); } void Pigpiod::write(int pin, int level) { gpio_write(gpio_handle_, pin, leve...
25.73913
74
0.658784
Kitasola
ee1720e3abc174fbafa147712c6922cb2fc017fc
258
cpp
C++
cpac/codeforces/600/cards.cpp
abhinavsri360/Allcodes
0dfc3367ecc1df58f502f20ff3d732c49c62f140
[ "MIT" ]
5
2020-07-17T04:52:09.000Z
2022-02-15T19:53:09.000Z
cpac/codeforces/600/cards.cpp
abhinavsri360/Allcodes
0dfc3367ecc1df58f502f20ff3d732c49c62f140
[ "MIT" ]
null
null
null
cpac/codeforces/600/cards.cpp
abhinavsri360/Allcodes
0dfc3367ecc1df58f502f20ff3d732c49c62f140
[ "MIT" ]
1
2022-02-15T19:53:16.000Z
2022-02-15T19:53:16.000Z
#include<iostream> using namespace std; int main() { int num,z=0,n=0; string s; cin>>num; cin>>s; for(int i=0;i<num;i++) { if(s[i]=='z') z++; if(s[i]=='n') n++; } while(n--) cout<<"1 "; while(z--) cout<<"0 "; cout<<endl; return 0; }
11.217391
23
0.496124
abhinavsri360
ee177fb15c59539378488a0a5845cefac26bb674
870
cpp
C++
octree/tools/octree_samples.cpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
299
2019-05-27T02:18:56.000Z
2022-03-31T15:29:20.000Z
octree/tools/octree_samples.cpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
100
2019-05-07T03:17:01.000Z
2022-03-30T09:02:04.000Z
octree/tools/octree_samples.cpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
84
2019-05-17T17:44:06.000Z
2022-02-14T04:32:02.000Z
#include <iostream> #include <fstream> #include "octree_samples.h" #include "filenames.h" #include "cmd_flags.h" DEFINE_string(output_path, kRequired, ".", "The output path"); using std::cout; int main(int argc, char* argv[]) { bool succ = cflags::ParseCmd(argc, argv); if (!succ) { cflags::PrintHelpInfo("...
22.894737
83
0.636782
pauldinh
ee1994105c0e9e1d3518b9991e8e425f342516be
1,313
cpp
C++
designpattern/AbstractFactory.cpp
armsword/CppSkills
162a83f78d3d2c8607559e03d683c90d3198cab1
[ "MIT" ]
1
2015-04-29T14:32:38.000Z
2015-04-29T14:32:38.000Z
designpattern/AbstractFactory.cpp
armsword/CppSkills
162a83f78d3d2c8607559e03d683c90d3198cab1
[ "MIT" ]
null
null
null
designpattern/AbstractFactory.cpp
armsword/CppSkills
162a83f78d3d2c8607559e03d683c90d3198cab1
[ "MIT" ]
null
null
null
/* 工厂方法模式也有缺点,每增加一种产品,就需要增加一个对象的工厂。如果这家公司发展迅速,推出了很多新的处理器核,那么就要新开设相应的新工厂。在C++实现中,就是要定义一个个的工厂类。显然,相比简单工厂模式,工厂方法模式需要更多的类定义。 */ /* 既然有了简单工厂模式和工厂方法模式,为什么还要有抽象工厂模式呢?它到底有什么作用呢?还是举例子,这家公司的技术不断进步,不仅可以生产单核处理器,也能生产多喝处理器。现在简单工厂模式和工厂方法模式都鞭长莫及。抽象工厂模式登场了。它的定义为提供一个创建一系列相关或相互依赖对象的接口,而无需指定它们具体的类。 */ // 单核 class SingleCore { pub...
19.308824
156
0.722011
armsword
ee1b41e2b6c7a61390118b514e29f7220f8dade9
4,301
hpp
C++
src/vlGraphics/DistanceLODEvaluator.hpp
pasenau/VisualizationLibrary
2fcf1808475aebd4862f40377754be62a7f77a52
[ "BSD-2-Clause" ]
1
2017-06-29T18:25:11.000Z
2017-06-29T18:25:11.000Z
src/vlGraphics/DistanceLODEvaluator.hpp
pasenau/VisualizationLibrary
2fcf1808475aebd4862f40377754be62a7f77a52
[ "BSD-2-Clause" ]
null
null
null
src/vlGraphics/DistanceLODEvaluator.hpp
pasenau/VisualizationLibrary
2fcf1808475aebd4862f40377754be62a7f77a52
[ "BSD-2-Clause" ]
1
2021-01-01T10:43:33.000Z
2021-01-01T10:43:33.000Z
/**************************************************************************************/ /* */ /* Visualization Library */ /* http://visualizationlibrary.org ...
48.875
156
0.468961
pasenau
ee20b682b8f25b046392f2c9b9af85d4dc7e456b
2,915
cpp
C++
get.cpp
badabum007/FTPdog
67248a106b2a5abaf3ca8d147cb5db2745edcffe
[ "MIT" ]
null
null
null
get.cpp
badabum007/FTPdog
67248a106b2a5abaf3ca8d147cb5db2745edcffe
[ "MIT" ]
null
null
null
get.cpp
badabum007/FTPdog
67248a106b2a5abaf3ca8d147cb5db2745edcffe
[ "MIT" ]
null
null
null
#include "get.hpp" #include <curl/curl.h> #include <fstream> #include <unistd.h> #include <cstdlib> #include <vector> using namespace std; get::get(string t_url, string t_name, string t_pass, CURL* t_curl, string startdir) { curl = t_curl; ftpurl = t_url; login = t_name; password = t_pass; path = ...
28.578431
83
0.587993
badabum007
ee287f5ae3ab742040624493674c679caad52664
170
cpp
C++
yingying_delphi/Delphicpp_v8.4.2_Linux/src/solver/solver_fastSOR_validateInput.cpp
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
null
null
null
yingying_delphi/Delphicpp_v8.4.2_Linux/src/solver/solver_fastSOR_validateInput.cpp
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
36
2019-06-03T20:30:45.000Z
2020-04-17T19:17:26.000Z
yingying_delphi/Delphicpp_v8.4.2_Linux/src/solver/solver_fastSOR_validateInput.cpp
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
6
2019-06-03T16:56:43.000Z
2020-01-09T03:32:31.000Z
/* * solver_fastSOR_validateInput.cpp * * Created on: Feb 16, 2014 * Author: chuan */ #include "solver_fastSOR.h" void CDelphiFastSOR::validateInput() { }
12.142857
37
0.664706
caixiuhong
ee2c4a08c044cded2c9bd8d6a0a2fadb397e35ba
9,547
cpp
C++
src/frontends/lean/operator_info.cpp
codyroux/lean0.1
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
[ "Apache-2.0" ]
1
2019-06-08T15:02:03.000Z
2019-06-08T15:02:03.000Z
src/frontends/lean/operator_info.cpp
codyroux/lean0.1
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
[ "Apache-2.0" ]
null
null
null
src/frontends/lean/operator_info.cpp
codyroux/lean0.1
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "util/rc.h" #include "library/io_state_stream.h" #include "frontends/lean/operator_info.h" #include "frontends/lean/frontend.h" namespace lean { /...
41.150862
124
0.658531
codyroux
0c51d2a1d63b908814608fbc235f72dc6ee76ca5
19,081
cpp
C++
controller-gui/src/main.cpp
abathur8bit/chessbox
6166dd9887d89c70289e3965af58aa8bbf8e23a8
[ "Apache-2.0" ]
2
2021-01-02T07:07:26.000Z
2021-01-13T00:18:18.000Z
controller-gui/src/main.cpp
abathur8bit/chessbox
6166dd9887d89c70289e3965af58aa8bbf8e23a8
[ "Apache-2.0" ]
null
null
null
controller-gui/src/main.cpp
abathur8bit/chessbox
6166dd9887d89c70289e3965af58aa8bbf8e23a8
[ "Apache-2.0" ]
1
2021-01-13T00:18:25.000Z
2021-01-13T00:18:25.000Z
/* ***************************************************************************** * Created by Lee Patterson 12/19/2020 * * Copyright 2019 Lee Patterson <https://github.com/abathur8bit> * * You may use and modify at will. Please credit me in the source. * * Licensed under the Apache License, Version 2.0 (the "Lic...
31.026016
221
0.543997
abathur8bit
0c524a156ce45e1050bf490928af9185b4a1197a
1,096
hpp
C++
SDK/ARKSurvivalEvolved_FeedingTrough_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_FeedingTrough_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_FeedingTrough_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_FeedingTrough_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------------------------------...
26.095238
179
0.603102
2bite
0c5579e83da9607ae2c95691f28f89ca1f057427
5,490
cpp
C++
src/qt/qtbase/examples/qpa/windows/window.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/examples/qpa/windows/window.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/examples/qpa/windows/window.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as follow...
27.178218
113
0.645902
power-electro
0c5657582846cb797ddcaa56ac88e7b01bed3456
5,256
cpp
C++
src/propagation.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
src/propagation.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
src/propagation.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
#include "propagation.h" #include <algorithm> namespace ot = opentracing; namespace datadog { namespace opentracing { namespace { // Header names for trace data. const std::string trace_id_header = "x-datadog-trace-id"; const std::string parent_id_header = "x-datadog-parent-id"; // Header name prefix for OpenTraci...
33.692308
98
0.671994
cgilmour
0c574bb7a0f52371cf40a35c5e8bba3f85c880ab
1,426
cpp
C++
Documentation/Examples/Matrices/SparseMatrix/SparseMatrixViewExample_wrapCSR.cpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
Documentation/Examples/Matrices/SparseMatrix/SparseMatrixViewExample_wrapCSR.cpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
Documentation/Examples/Matrices/SparseMatrix/SparseMatrixViewExample_wrapCSR.cpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
#include <iostream> #include <TNL/Algorithms/ParallelFor.h> #include <TNL/Matrices/DenseMatrix.h> #include <TNL/Matrices/MatrixWrapping.h> #include <TNL/Devices/Host.h> #include <TNL/Devices/Cuda.h> template< typename Device > void wrapMatrixView() { /*** * Encode the following matrix to CSR format... * ...
31
109
0.62763
grinisrit
0c5b8a12c288cd2d0fd22368b928cebf0c476b3a
4,213
cpp
C++
owGameWMO/WMO_PortalsController.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameWMO/WMO_PortalsController.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameWMO/WMO_PortalsController.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // Include #include "WMO.h" #include "WMO_Base_Instance.h" // General #include "WMO_PortalsController.h" // Additional #include "WMO_Group_Instance.h" CWMO_PortalsController::CWMO_PortalsController(const WMO* _parentWMO) : m_ParentWMO(_parentWMO) { for (auto& it : m_ParentWMO->m_PortalReferenc...
22.173684
168
0.682886
adan830
0c5f006f2cf1a2fcfc16d43162a30ba4c5900f13
694
cpp
C++
PATA1050.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1050.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1050.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
/* * @Descripttion: https://blog.csdn.net/DayDream_x/article/details/104362662/ * @version: 1.0 * @Author: Geeks_Z * @Date: 2021-05-31 17:07:22 * @LastEditors: Geeks_Z * @LastEditTime: 2021-05-31 17:07:44 */ //⽤cha[256]数组变量标记str1出现过的字符为true,str2出现过的字符为false, //输出str1的时候根据cha[str1[i]]是否为true,如果是true就输出 #include <...
19.828571
77
0.592219
Geeks-Z
0c609bf3cdcfbe883fa7763c385768483d140a50
570
cpp
C++
codes/cpp/cplusplus-codesnippet/src/templates/example_template_valarray.cpp
zhoujiagen/learning-system-programming
2a18e9f8558433708837ba4bd0fae5d7c11bf110
[ "MIT" ]
null
null
null
codes/cpp/cplusplus-codesnippet/src/templates/example_template_valarray.cpp
zhoujiagen/learning-system-programming
2a18e9f8558433708837ba4bd0fae5d7c11bf110
[ "MIT" ]
null
null
null
codes/cpp/cplusplus-codesnippet/src/templates/example_template_valarray.cpp
zhoujiagen/learning-system-programming
2a18e9f8558433708837ba4bd0fae5d7c11bf110
[ "MIT" ]
null
null
null
#include <iostream> #include <valarray> int main (int argc, char **argv) { using namespace std; // 数值数组 double gpa[5] = { 3.1, 3.5, 3.8, 2.9, 3.3 }; valarray<double> v1; // size: 0 cout << v1.size () << endl; valarray<int> v2 (8); // size: 8 cout << v2.size () << endl; valarray<int> v3 (10, 8);...
18.387097
70
0.529825
zhoujiagen
0c63454c8fd021902141ae6784d729ff5dd384cc
2,123
hh
C++
include/NeuTrackingAction.hh
kwierman/Argon40Conversion
3c94209cd8036f846f7e3903bb41d35bcd85c2c0
[ "MIT" ]
null
null
null
include/NeuTrackingAction.hh
kwierman/Argon40Conversion
3c94209cd8036f846f7e3903bb41d35bcd85c2c0
[ "MIT" ]
null
null
null
include/NeuTrackingAction.hh
kwierman/Argon40Conversion
3c94209cd8036f846f7e3903bb41d35bcd85c2c0
[ "MIT" ]
null
null
null
#ifndef NeuTrackingAction_hh_ #define NeuTrackingAction_hh_ #include "NeuRootOutput.hh" #include "G4UserTrackingAction.hh" #include "globals.hh" namespace NeuFlux { /*! \class NeuTrackingAction \ingroup NeuFlux \brief Header file for defining the actions to take at the beginning and end of a tr...
23.32967
92
0.661799
kwierman
0c635191d64cfa0639fea9185cb642a34789d1f3
808
cpp
C++
Zerojudge/d618.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
Zerojudge/d618.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
Zerojudge/d618.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
#include <iostream> #include <cstdio> #include <string> using namespace std; int main() { string s; int t,state; cin>>t; for(int i=1;i<=t;++i) { cin>>s; state=s[0]-'0'; for(int j=1;j<s.size();++j) { if(state==2) { ...
22.444444
60
0.355198
w181496
0c63a30c7121cfde2b7c785c0d2d4c46942fbd53
10,150
hpp
C++
src/core/interfaces/common_include/qrc_loader.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/interfaces/common_include/qrc_loader.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/interfaces/common_include/qrc_loader.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#ifndef QRC_LOADER_HPP #define QRC_LOADER_HPP #include "qrc_loader_helper.hpp" #include "env_pointer.hpp" #include "core_common/assert.hpp" // Macro provide qrc resources loading for other plugins in WGTF, and a plugin which use this macro needs to link to // QtCore // and this plugin need to be loaded before other pl...
74.632353
118
0.238621
wgsyd
0c66869100aab4eff2cd244d1ee5a5da6802ed71
8,892
hpp
C++
relacy/stdlib/pthread.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
1
2020-05-30T13:06:12.000Z
2020-05-30T13:06:12.000Z
relacy/stdlib/pthread.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
null
null
null
relacy/stdlib/pthread.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
null
null
null
/* Relacy Race Detector * Copyright (c) 2008-2013, Dmitry S. Vyukov * All rights reserved. * This software is provided AS-IS with no warranty, either express or implied. * This software is distributed under a license and may not be copied, * modified or distributed except as expressly authorized under the *...
24.977528
125
0.752024
pereckerdal
0c6ba9bf5a78c36b40a2bc1c771ea0c842ae02f8
4,192
cpp
C++
sakura_core/util/format.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
1
2019-03-15T16:55:33.000Z
2019-03-15T16:55:33.000Z
sakura_core/util/format.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
null
null
null
sakura_core/util/format.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
null
null
null
/*! @file */ /* Copyright (C) 2007, kobake This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial ap...
22.297872
99
0.595181
zlatantan
0c6ceb1940734cd71aefbb108f367a8cafd1abb3
3,423
cpp
C++
src/lib/init.cpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
52
2020-05-23T21:34:33.000Z
2022-02-23T03:06:50.000Z
src/lib/init.cpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
null
null
null
src/lib/init.cpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
2
2021-05-06T18:41:25.000Z
2021-07-24T03:50:42.000Z
#include "concore/init.hpp" #include "concore/low_level/spin_mutex.hpp" #include "concore/detail/platform.hpp" #include "concore/detail/likely.hpp" #include "concore/detail/library_data.hpp" #include "concore/detail/exec_context.hpp" #include <mutex> #define __IMPL__CONCORE_USE_CXX_ABI CONCORE_CPP_COMPILER(gcc) || CO...
26.952756
95
0.715746
lucteo
0c6eb2e404923c73a81c117c51c8c746243191d2
491
cpp
C++
chapter-12/12.17.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.17.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.17.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// int ix = 1024, *pi = &ix. *pi2 = new int(2048); // typedef unique_ptr<int> IntP; // a: IntP p0(ix); illegal, unique_ptr must be binded to a ptr which is the return value of operator 'new'. // b: IntP p1(pi); illegal, same reason as a. // c: IntP p2(pi2); legal, but pi2 may become a dangling pointer. // d: IntP p3(&...
49.1
107
0.659878
zero4drift
0c7118e140840ec289a924ba09e009b60764842f
1,146
cpp
C++
Source/TacticalVRCore/Private/Weapon/Component/TVRAttachPoint_Muzzle.cpp
Tomura/TacticalVRCorePlugin
8c8ade8a33b68751cd73a51ddfdd098823197503
[ "MIT" ]
8
2021-12-20T01:04:23.000Z
2022-03-28T02:55:34.000Z
Source/TacticalVRCore/Private/Weapon/Component/TVRAttachPoint_Muzzle.cpp
Tomura/TacticalVRCorePlugin
8c8ade8a33b68751cd73a51ddfdd098823197503
[ "MIT" ]
null
null
null
Source/TacticalVRCore/Private/Weapon/Component/TVRAttachPoint_Muzzle.cpp
Tomura/TacticalVRCorePlugin
8c8ade8a33b68751cd73a51ddfdd098823197503
[ "MIT" ]
null
null
null
// This file is covered by the LICENSE file in the root of this plugin. #include "Weapon/Component/TVRAttachPoint_Muzzle.h" #include "Weapon/Attachments/WPNA_Muzzle.h" UTVRAttachPoint_Muzzle::UTVRAttachPoint_Muzzle(const FObjectInitializer& OI) : Super(OI) { CurrentAttachmentClass = nullptr; } bool UTVRAttachPoint_...
24.913043
100
0.787958
Tomura
0c722dabcdd943c2f0f17b01d76a282850bc0e58
3,031
cpp
C++
src/internal/text_formatter.cpp
stefano-pogliani/promclient-cpp
d31b06de41f8e111ae8c463ad396e3e7f8078af9
[ "MIT" ]
null
null
null
src/internal/text_formatter.cpp
stefano-pogliani/promclient-cpp
d31b06de41f8e111ae8c463ad396e3e7f8078af9
[ "MIT" ]
null
null
null
src/internal/text_formatter.cpp
stefano-pogliani/promclient-cpp
d31b06de41f8e111ae8c463ad396e3e7f8078af9
[ "MIT" ]
null
null
null
// Copyright 2017 Stefano Pogliani <stefano@spogliani.net> #include "promclient/internal/text_formatter.h" #include <iomanip> #include <regex> #include <sstream> #include "promclient/collector_registry.h" #include "promclient/metric.h" using promclient::CollectorRegistry; using promclient::DescriptorRef; using prom...
25.905983
68
0.61036
stefano-pogliani
0c77941a30e177d2c59dfb86f6cc39ee86d9b2d5
770
cpp
C++
urionlinejudge/1040.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2019-11-06T15:17:48.000Z
2019-11-06T15:17:48.000Z
urionlinejudge/1040.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
null
null
null
urionlinejudge/1040.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2018-11-13T08:43:26.000Z
2018-11-13T08:43:26.000Z
#include <iostream> #include <iomanip> float a, b, c, d, e, average; int main(){ std::cin>>a>>b>>c>>d; average = (a*2+b*3+c*4+d)/10; std::cout<<std::fixed<<std::setprecision(1); std::cout<<"Media: "<<average<<std::endl; if(average >= 7.0){ std::cout<<"Aluno aprovado."<<std::endl; }else...
28.518519
61
0.507792
andraantariksa
0c789ba1d9c67d5169288ddcb2fe8f56d8af7a6c
1,377
cpp
C++
codeforces/185/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
2
2020-05-30T17:11:47.000Z
2021-09-25T08:16:48.000Z
codeforces/185/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
null
null
null
codeforces/185/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
1
2021-09-24T11:14:27.000Z
2021-09-24T11:14:27.000Z
#include <cstdio> #include <algorithm> #include <fstream> #include <iostream> #include <vector> #include <queue> #include <map> #include <cstring> #include <string> #include <set> #define pb push_back #define mp make_pair #define f first #define s second #define ll long long const int MAXN = 200; using namespace std...
19.671429
113
0.406681
rdragos
0c7cb62dee58e3b14e7e73475c57baa87bbccc92
5,565
cpp
C++
imageprocessing.cpp
MrFinchh/Receipt-OCR
887afa12d90b153548fc59d72acb7ba30123cf89
[ "MIT" ]
1
2021-04-22T01:53:55.000Z
2021-04-22T01:53:55.000Z
imageprocessing.cpp
MrFinchh/Receipt-OCR
887afa12d90b153548fc59d72acb7ba30123cf89
[ "MIT" ]
null
null
null
imageprocessing.cpp
MrFinchh/Receipt-OCR
887afa12d90b153548fc59d72acb7ba30123cf89
[ "MIT" ]
null
null
null
#include "imageprocessing.h" using namespace cv ; using namespace std; using namespace tesseract; ImageProcessing::ImageProcessing() { } QString ImageProcessing::readImage(Mat gray) { imshow("gelen",gray); waitKey(0); destroyAllWindows(); cout << "the output : "<< endl; // Pass it to Tesseract A...
26.25
95
0.616712
MrFinchh
0c7e449d9a76d4de261d1021b25def40d323d6fd
843
cpp
C++
PAT1040.cpp
Geeks-Z/PAT
c02f08f11c4a628203f8d2dccbd7fecfc0943b34
[ "MIT" ]
null
null
null
PAT1040.cpp
Geeks-Z/PAT
c02f08f11c4a628203f8d2dccbd7fecfc0943b34
[ "MIT" ]
null
null
null
PAT1040.cpp
Geeks-Z/PAT
c02f08f11c4a628203f8d2dccbd7fecfc0943b34
[ "MIT" ]
null
null
null
/* * @Descripttion: 有几个PAT * @version: 1.0 * @Author: Geeks_Z * @Date: 2021-04-30 14:40:53 * @LastEditors: Geeks_Z * @LastEditTime: 2021-05-08 11:30:38 */ #include <cstdio> #include <iostream> #include <string> using namespace std; const int mod = 1000000007; const int maxn = 100010; int main() { // freopen("i...
16.529412
45
0.476868
Geeks-Z
0c7f99cf703b44ea3817338b95a06c3aee761336
6,285
cpp
C++
connectors/dds4ccm/tests/CoherentWriter/Sender/CoherentWrite_Test_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
connectors/dds4ccm/tests/CoherentWriter/Sender/CoherentWrite_Test_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
connectors/dds4ccm/tests/CoherentWriter/Sender/CoherentWrite_Test_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- /** * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * USA * http://www.cs.wustl.edu/~schmidt/doc-center.html * and ...
23.62782
89
0.606046
qinwang13
0c81e9c6cdd0c7ffa40ae96cb31e06601cd9a962
3,374
hpp
C++
saga/saga/adaptors/utils/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/saga/adaptors/utils/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/saga/adaptors/utils/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // Copyright (c) 2009 João Abecasis // // Use, modification and distribution is subject to 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 _SAGA_INI_H_ #define...
31.240741
85
0.496147
saga-project
0c84a0e6e65d8b30939677ac795d81a0ca6776c2
386
hpp
C++
src/include/Window.hpp
sglyons2/edu-chat
0520c76903a84c1034ec6b83c51f162e195fe74f
[ "MIT" ]
null
null
null
src/include/Window.hpp
sglyons2/edu-chat
0520c76903a84c1034ec6b83c51f162e195fe74f
[ "MIT" ]
null
null
null
src/include/Window.hpp
sglyons2/edu-chat
0520c76903a84c1034ec6b83c51f162e195fe74f
[ "MIT" ]
null
null
null
#ifndef WINDOW_HPP #define WINDOW_HPP #include <ncurses.h> #include <vector> #include <string> struct Window { WINDOW *window; int height; int width; int begin_y; int begin_x; Window(int height, int width, int begin_y, int begin_x); ~Window(); void print(std::vector<std::string>& lines, bool boxed); void re...
17.545455
62
0.715026
sglyons2
0c8a7d9784c2b2b3f68921b1a452c4081c5ce82a
3,888
cpp
C++
util.cpp
tpruvot/skminer
2dd652461ed8dcce2137547b58376dc2107f6103
[ "Apache-2.0" ]
3
2015-10-22T03:11:03.000Z
2021-05-26T07:47:48.000Z
util.cpp
tpruvot/skminer
2dd652461ed8dcce2137547b58376dc2107f6103
[ "Apache-2.0" ]
null
null
null
util.cpp
tpruvot/skminer
2dd652461ed8dcce2137547b58376dc2107f6103
[ "Apache-2.0" ]
2
2017-07-14T19:21:17.000Z
2017-12-22T08:05:25.000Z
/* * Copyright 2010 Jeff Garzik * Copyright 2012-2014 pooler * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. S...
20.145078
77
0.635288
tpruvot
0c8c43c713088275106d5fbb860304d038893db2
12,668
cpp
C++
coreneuron/mpi/lib/mpispike.cpp
phoenixdong/CoreNeuron
ff80819b04d5cbe41d9dfc35608b55df961c5646
[ "BSD-3-Clause" ]
null
null
null
coreneuron/mpi/lib/mpispike.cpp
phoenixdong/CoreNeuron
ff80819b04d5cbe41d9dfc35608b55df961c5646
[ "BSD-3-Clause" ]
null
null
null
coreneuron/mpi/lib/mpispike.cpp
phoenixdong/CoreNeuron
ff80819b04d5cbe41d9dfc35608b55df961c5646
[ "BSD-3-Clause" ]
null
null
null
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/nrnconf.h" /* do not want the redef...
30.673123
100
0.570019
phoenixdong
0c8cffd5adea2a57dd600d70f915d4de39410f54
4,060
cpp
C++
DT3Core/Types/Memory/MemoryAllocatorTrace_cmd.cpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Types/Memory/MemoryAllocatorTrace_cmd.cpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
1
2016-01-28T14:39:49.000Z
2016-01-28T22:12:07.000Z
DT3Core/Types/Memory/MemoryAllocatorTrace_cmd.cpp
adderly/DT3
e2605be091ec903d3582e182313837cbaf790857
[ "MIT" ]
3
2016-01-25T16:44:51.000Z
2021-01-29T19:59:45.000Z
//============================================================================== /// /// File: MemoryAllocatorTrace_cmd.cpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE.txt', which ...
40.6
121
0.49064
9heart
0c8d96aae7fbd43d7a47a981380ec77c14b8fd2b
819
cpp
C++
src/code-examples/chapter-03/older-than-generic/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-03/older-than-generic/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-03/older-than-generic/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include "../../common/person.h" // Implements a generic function object that compares an object's age // against a predefined integer limit (section 3.1.4) class older_than { public: older_than(int limit) : m_limit(limit) { } // Defi...
19.97561
69
0.654457
nhatvu148
0c905f8209cd7f77de147527063813523e9fe606
4,602
cc
C++
src/libcsg/modules/io/gmxtrajectoryreader.cc
vaidyanathanms/votca.csg
7af91bfecd620b820968956cd96ce7b3bce28a59
[ "Apache-2.0" ]
null
null
null
src/libcsg/modules/io/gmxtrajectoryreader.cc
vaidyanathanms/votca.csg
7af91bfecd620b820968956cd96ce7b3bce28a59
[ "Apache-2.0" ]
null
null
null
src/libcsg/modules/io/gmxtrajectoryreader.cc
vaidyanathanms/votca.csg
7af91bfecd620b820968956cd96ce7b3bce28a59
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org) * * 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 * * Unl...
29.312102
119
0.621034
vaidyanathanms
0c90e44a1b102be19e5d567dc399cda681777307
13,031
cc
C++
chrome/browser/apps/app_window_interactive_uitest.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
chrome/browser/apps/app_window_interactive_uitest.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/apps/app_window_interactive_uitest.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-03-15T13:21:38.000Z
2017-03-15T13:21:38.000Z
// Copyright 2013 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 "apps/ui/native_app_window.h" #include "chrome/browser/apps/app_browsertest_util.h" #include "chrome/browser/extensions/extension_test_message_li...
36.810734
80
0.748216
shaochangbin
0c928b303e37355e440d17473b650eb8e5eed183
728
cpp
C++
394. Decode String.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
394. Decode String.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
394. Decode String.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
class Solution { public: string decodeString(string s) { int i = 0; return decode(s, i); } string decode(string &s, int &i) { string res = ""; while(i < s.size() && s[i] != ']') { if(!isdigit(s[i])) { res += s[i]; i++; ...
22.75
44
0.259615
dipta007
0c9393362bdc1167bcb1477e53f488fbeb0a6185
1,228
hpp
C++
ql/experimental/templatemodels/qgaussian/quasigaussianmodels.hpp
sschlenkrich/quantlib
ff39ad2cd03d06d185044976b2e26ce34dca470c
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/templatemodels/qgaussian/quasigaussianmodels.hpp
sschlenkrich/quantlib
ff39ad2cd03d06d185044976b2e26ce34dca470c
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/templatemodels/qgaussian/quasigaussianmodels.hpp
sschlenkrich/quantlib
ff39ad2cd03d06d185044976b2e26ce34dca470c
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2015 Sebastian Schlenkrich */ /*! \file quasigaussianmodels.hpp \brief bindings of templatised quasi Gaussian models */ #ifndef quantlib_templatequasigaussianmodels_hpp #define quantlib_templatequasigaussianmodels...
32.315789
109
0.799674
sschlenkrich
0c9521897262d9164e59b3b4f96b28ec67f3f7b2
640
cpp
C++
JAL/PAT/Advanced/1001.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
JAL/PAT/Advanced/1001.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
JAL/PAT/Advanced/1001.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <bits/stdc++.h> using namespace std; int main() { for (int a, b; cin >> a >> b;) { int c = a + b; if (c == 0) { cout << 0 << endl; continue; } if (c < 0) { cout << "-"; c *= -1; } vector<int> d; for (;...
21.333333
56
0.315625
webturing
0c974dee941b748e38c15e52c5fc5a2e1a0767e4
736
hpp
C++
Boss/Msg/InternetOnline.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Boss/Msg/InternetOnline.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Boss/Msg/InternetOnline.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#ifndef BOSS_MSG_INTERNETONLINE_HPP #define BOSS_MSG_INTERNETONLINE_HPP namespace Boss { namespace Msg { /** struct Boss::Msg::InternetOnline * * @brief signals to everyone whether we are * online or not. * * @desc Broadcast whenever online-ness changes. * * At startup, we are considered offline, so the * fir...
24.533333
50
0.72962
3nprob
0c9db9d12b014c7979509253de89fe62165bbc01
5,998
cc
C++
libartpalette/system/palette_android.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
libartpalette/system/palette_android.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
libartpalette/system/palette_android.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
34.471264
95
0.726409
Paschalis
0ca00372f5a663200d4107b7b4c6e27988da7808
4,735
cpp
C++
src/engine/ui/box.cpp
FoxySeta/unibo-00819-programmazione-project
4475a3a64b78222cbbdeda908f18cf93e4a210be
[ "MIT" ]
3
2021-09-06T15:51:11.000Z
2021-09-08T12:30:35.000Z
src/engine/ui/box.cpp
lucat1/unibo_00819_progetto
4475a3a64b78222cbbdeda908f18cf93e4a210be
[ "MIT" ]
null
null
null
src/engine/ui/box.cpp
lucat1/unibo_00819_progetto
4475a3a64b78222cbbdeda908f18cf93e4a210be
[ "MIT" ]
2
2021-09-07T00:40:37.000Z
2021-09-08T17:34:45.000Z
/* University of Bologna First cicle degree in Computer Science 00819 - Programmazione Luca Tagliavini #971133 03/13/2021 box.cpp: Implements the Engine::UI::Box class. We mainly take care of childern placement, color assignment when drawing and focus on providing a solid base upon which other compone...
28.017751
80
0.644139
FoxySeta
0ca2705b802f37d31871757c064c9bf7c0034271
1,104
cpp
C++
source/main_win64gl.cpp
Basez/Agnostik-Engine
10171bbeb73c590e75e9db5adf0135e0235f2884
[ "MIT" ]
7
2015-06-29T09:45:09.000Z
2017-06-06T08:14:09.000Z
source/main_win64gl.cpp
Basez/Agnostik-Engine
10171bbeb73c590e75e9db5adf0135e0235f2884
[ "MIT" ]
null
null
null
source/main_win64gl.cpp
Basez/Agnostik-Engine
10171bbeb73c590e75e9db5adf0135e0235f2884
[ "MIT" ]
null
null
null
#include "shared.hpp" #include "application.hpp" #include "render_api_gl.hpp" #include "config_manager.hpp" #include "os_utils.hpp" #define WIN32_LEAN_AND_MEAN #include <Windows.h> using namespace AGN; int WINAPI WinMain(HINSTANCE a_hInstance, HINSTANCE a_hPrevInstance, LPSTR a_lpCmdLine, int a_nShowCmd) { UNREFERE...
26.926829
118
0.788043
Basez
0ca616bef9af611edc84b8db2fe0f0bc671b81e0
146
cpp
C++
CWStore/CW_1/Task_3/HWTemple/HWTemple/initialization.cpp
Agesyne/HW
df9229c7f639f41ed85bae14b666bdaaf2e387b3
[ "MIT" ]
null
null
null
CWStore/CW_1/Task_3/HWTemple/HWTemple/initialization.cpp
Agesyne/HW
df9229c7f639f41ed85bae14b666bdaaf2e387b3
[ "MIT" ]
null
null
null
CWStore/CW_1/Task_3/HWTemple/HWTemple/initialization.cpp
Agesyne/HW
df9229c7f639f41ed85bae14b666bdaaf2e387b3
[ "MIT" ]
null
null
null
#include "pch.h" #include <iostream> int initNumber(char text[]) { int number = 0; printf("%s", text); scanf("%d", &number); return number; }
14.6
27
0.630137
Agesyne
0cab511c4195433c83ee5f153225ccf564c6fdcb
20,030
cpp
C++
GMan Map Maker/Unit2.cpp
JustoSenka/GMan-RPG-Game
d54f10093814fef7908e63f8419bd3fe59694d5d
[ "MIT" ]
null
null
null
GMan Map Maker/Unit2.cpp
JustoSenka/GMan-RPG-Game
d54f10093814fef7908e63f8419bd3fe59694d5d
[ "MIT" ]
null
null
null
GMan Map Maker/Unit2.cpp
JustoSenka/GMan-RPG-Game
d54f10093814fef7908e63f8419bd3fe59694d5d
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include <SysUtils.hpp> // If exist command here #include "Unit2.h" #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma res...
36.752294
127
0.522466
JustoSenka
0cafd91af3f1d372d401af345bc4533839eab7ab
10,259
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterialLayerSet.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterialLayerSet.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterialLayerSet.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
28.497222
127
0.615167
EnEff-BIM
0cb357f43d5613478f4a975d5b5d8ec61c4b4c4c
3,256
cpp
C++
test/test02.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
3
2021-10-05T08:13:56.000Z
2022-02-07T22:41:03.000Z
test/test02.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
null
null
null
test/test02.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
1
2022-02-07T22:41:05.000Z
2022-02-07T22:41:05.000Z
/* * SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2021, Stefan Seitz * */ #include <common/common.hpp> #include <dpdk/dpdk_common.hpp> #include <flow_executor.hpp> class executor_test { public: executor_test() : executor(*this) {} void run_test(const std::vector< lcore_info >& available_lcore...
30.148148
119
0.610258
subject721
0cb706c5b94022177ade165039b90ff253dd2ca7
675
cpp
C++
Codeforces/459D.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/459D.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/459D.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; constexpr int MAXN = 1e6 + 10; map <int, int> f1, f2, cnt; int n, a[MAXN], fw[MAXN]; long long ans = 0; void update (int i){ for (; i <= n; i += i&(-i)) ++fw[i]; } int query (int i) { int x = 0; for (--i; ~i+1; i -= i&(-i)) x += fw[i]; re...
17.763158
46
0.441481
Alipashaimani
0cbba2ebea73847428df973d267e6c5cd468e698
611
cpp
C++
test/common/timeType/date/TestDate.cpp
liupengzhouyi/MyNotion
6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85
[ "Apache-2.0" ]
null
null
null
test/common/timeType/date/TestDate.cpp
liupengzhouyi/MyNotion
6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85
[ "Apache-2.0" ]
null
null
null
test/common/timeType/date/TestDate.cpp
liupengzhouyi/MyNotion
6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85
[ "Apache-2.0" ]
null
null
null
#include "TestDate.h" #include <iostream> #include <string> #include "../../../../src/common/timeType/date/date.h" #include "gtest/gtest.h" int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } using Test::TestCommon::TestTimeType::TestDate; using Common::TimeType::Da...
19.709677
54
0.667758
liupengzhouyi
0cbfb4a61188286604772331ea7b281a262932e4
314
cpp
C++
Source/Async/Utils.cpp
loudedtwist/cpp-task-loop
71795ad6916bf35ddca5dc04fd291d2affb2ffff
[ "MIT" ]
null
null
null
Source/Async/Utils.cpp
loudedtwist/cpp-task-loop
71795ad6916bf35ddca5dc04fd291d2affb2ffff
[ "MIT" ]
null
null
null
Source/Async/Utils.cpp
loudedtwist/cpp-task-loop
71795ad6916bf35ddca5dc04fd291d2affb2ffff
[ "MIT" ]
null
null
null
#include <Async/Utils.hpp> #include <chrono> namespace utils { unique_id GenerateTimestampID() { return (unique_id) std::chrono::duration_cast<std::chrono::nanoseconds>( std::chrono::system_clock::now().time_since_epoch() + std::chrono::high_resolution_clock::now().time_since_epoch()) .count(); } }
22.428571
119
0.719745
loudedtwist
0cc076f8a92c4a68c1353295b8ed1a3953f66df2
2,085
cpp
C++
luogu/3804/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/3804/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/3804/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
/* the vast starry sky, bright for those who chase the light. */ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; #define mk make_pair const int inf=(int)1e9; const ll INF=(ll)5e18; const int MOD=998244353; int add(int x,int y){x+=y; return x>=MOD ? x-MOD : x;} int sub(int x...
28.175676
98
0.506475
jinzhengyu1212
0cc084f33ed98c9f36480c7082e9cff7a5c937a7
2,347
cpp
C++
policy.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
3
2020-09-14T19:39:53.000Z
2021-01-19T11:58:27.000Z
policy.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
policy.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
// Copyright 2020 VMware, Inc. // SPDX-License-Identifier: MIT #include "policy.h" #include "ui_policy.h" Policy::Policy(QWidget *parent) : QWidget(parent), ui(new Ui::Policy) { ui->setupUi(this); } Policy::~Policy() { delete ui; } void Policy::setName(const QString n) { name = n; ui->label_...
24.705263
113
0.633575
slist
0cc669d3fe485bedc8e1dbc9d9c4d2f1afaa24b7
2,333
cpp
C++
Problems/36_Valide_Sudoku/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
3
2019-09-21T16:25:44.000Z
2021-08-29T20:43:57.000Z
Problems/36_Valide_Sudoku/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
Problems/36_Valide_Sudoku/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: bool isValidSudoku(vector<vector<char>>& board) { vector<bool> base(27*9, false); for (int i = 0; i < 9; ++i) { for (int j = 0; j < 9; ++j) { int tar = board[i][j] - ...
30.697368
86
0.328333
camelboat
0cc7cd6722f67bb702ca9abb75124bd8fa896670
2,236
hpp
C++
android-31/java/time/chrono/JapaneseDate.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/time/chrono/JapaneseDate.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/time/chrono/JapaneseDate.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once namespace java::io { class ObjectInputStream; } class JObject; class JString; namespace java::time { class Clock; } namespace java::time { class LocalDate; } namespace java::time { class LocalTime; } namespace java::time { class ZoneId; } namespace java::time::chrono { class JapaneseChronology; } n...
27.268293
153
0.731664
YJBeetle
0cc9b82e0977cea065880c24f5b5c2df3ba8bce7
2,503
cpp
C++
src_smartcontract_vm/instance/instance_exception/NullPointerExceptionClassDeclare.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_vm/instance/instance_exception/NullPointerExceptionClassDeclare.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_vm/instance/instance_exception/NullPointerExceptionClassDeclare.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * NullPointerExceptionClassDeclare.cpp * * Created on: 2020/04/17 * Author: iizuka */ #include "instance/instance_exception/NullPointerExceptionClassDeclare.h" #include "base/UnicodeString.h" #include "engine/sc_analyze/AnalyzedClass.h" #include "engine/sc_analyze/AnalyzedType.h" #include "engine/sc_an...
29.104651
112
0.80863
alinous-core
0cca2dcee75d53b3683ba341da2839bea77c76b2
534
hh
C++
dimensionanalysis/print.hh
dearoneesama/ctut
1a0fe75f435bc7b50dbeefa0ecb5eeed62a89f55
[ "BSL-1.0" ]
null
null
null
dimensionanalysis/print.hh
dearoneesama/ctut
1a0fe75f435bc7b50dbeefa0ecb5eeed62a89f55
[ "BSL-1.0" ]
null
null
null
dimensionanalysis/print.hh
dearoneesama/ctut
1a0fe75f435bc7b50dbeefa0ecb5eeed62a89f55
[ "BSL-1.0" ]
null
null
null
#pragma once #include <ostream> #include "dim.hh" namespace dim { template<unitpw_t s, unitpw_t m, unitpw_t kg, unitpw_t A, unitpw_t K, unitpw_t mol, unitpw_t cd, class T> std::ostream &operator<<(std::ostream &out, const quantity<dimVec<s, m, kg, A, K, mol, cd>, T> &q) { out << q.value ...
24.272727
104
0.434457
dearoneesama
0ccc3aeae323159016b55441cbbda4c7a228b511
15,978
tcc
C++
flens/lapack/la/laexc.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
98
2015-01-26T20:31:37.000Z
2021-09-09T15:51:37.000Z
flens/lapack/la/laexc.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
16
2015-01-21T07:43:45.000Z
2021-12-06T12:08:36.000Z
flens/lapack/la/laexc.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
31
2015-01-05T08:06:45.000Z
2022-01-26T20:12:00.000Z
/* * Copyright (c) 2011, Michael Lehn * * 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,...
30.318786
80
0.493992
stip
0ccf10af95ca2ca06d8dfa73140636014ff6a649
5,939
cpp
C++
particlepm/target.cpp
particletk/particlepm
f30d5d96a045ef65dd8a60ce91ee1fe17b0d54a7
[ "MIT" ]
null
null
null
particlepm/target.cpp
particletk/particlepm
f30d5d96a045ef65dd8a60ce91ee1fe17b0d54a7
[ "MIT" ]
1
2018-09-22T15:16:28.000Z
2018-09-22T15:16:28.000Z
particlepm/target.cpp
particletk/particlepm
f30d5d96a045ef65dd8a60ce91ee1fe17b0d54a7
[ "MIT" ]
null
null
null
#include "libincludes.hpp" #include "target.hpp" #include <functional> #include <mutex> #include <queue> #include <thread> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/regex.hpp> PPM::Target::Target(const std::string& name, const std::string& dir, PPM::Target::Type type) : marked(false) , ...
26.632287
205
0.550261
particletk
7b4aed605773f6a95e61f1f67b61d569a69c1b4a
805
hpp
C++
data/train/cpp/7b4aed605773f6a95e61f1f67b61d569a69c1b4aMyQmlWrapper.hpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/7b4aed605773f6a95e61f1f67b61d569a69c1b4aMyQmlWrapper.hpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/7b4aed605773f6a95e61f1f67b61d569a69c1b4aMyQmlWrapper.hpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#ifndef _TWEEDY_MYQMLWRAPPER_HPP_ #define _TWEEDY_MYQMLWRAPPER_HPP_ #include "Animal.hpp" #include "model.h" #include <QtCore/QObject> #include <boost/lexical_cast.hpp> class MyQmlWrapper : public QObject { Q_OBJECT public: Q_PROPERTY( AnimalModel* animalModel READ getAnimalModel NOTIFY animalModelChanged ) ...
18.72093
92
0.700621
harshp8l
7b4fc4f888c5991277a407c54dbe6a23c1547725
1,388
cpp
C++
073-set-matrix-zeroes/set-matrix-zeroes.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
null
null
null
073-set-matrix-zeroes/set-matrix-zeroes.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
2
2021-03-31T19:10:41.000Z
2021-12-13T19:58:15.000Z
073-set-matrix-zeroes/set-matrix-zeroes.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
null
null
null
// Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. // // Example 1: // // // Input: // [ //   [1,1,1], //   [1,0,1], //   [1,1,1] // ] // Output: // [ //   [1,0,1], //   [0,0,0], //   [1,0,1] // ] // // // Example 2: // // // Input: // [ //   [0,1,2,0], //   [3,4,5,2], /...
19.013699
96
0.43732
TJUSsr
7b50271e902e2ee0a20d71fbc50f29f862bdf926
2,197
cpp
C++
Algorithms/126.Word-Ladder-II/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/126.Word-Ladder-II/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/126.Word-Ladder-II/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
class Solution { public: vector<vector<string>> findLadders(string start, string end, unordered_set<string> &dict) { vector<vector<string> >ans; if(start == end) return ans; unordered_set<string>current , next; unordered_set<string> flag; unordere...
28.532468
94
0.359126
moranzcw
7b5188433ee2cd8f6515d1dae2da47d8dce1c51d
5,120
cpp
C++
src/console.cpp
hammelm/mempeek
8e9d0de7a6a2313abfbe7e512b5048993a0a2e61
[ "BSD-2-Clause" ]
null
null
null
src/console.cpp
hammelm/mempeek
8e9d0de7a6a2313abfbe7e512b5048993a0a2e61
[ "BSD-2-Clause" ]
18
2015-10-13T04:31:19.000Z
2016-08-18T09:20:21.000Z
src/console.cpp
hammelm/mempeek
8e9d0de7a6a2313abfbe7e512b5048993a0a2e61
[ "BSD-2-Clause" ]
3
2017-03-04T14:14:13.000Z
2020-01-13T08:42:25.000Z
/* Copyright (c) 2015-2018, Martin Hammel 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 con...
24.7343
89
0.666992
hammelm
7b5289576635ef21eaf18cef85647c333164cf88
916
cpp
C++
samples/demo/src/source.cpp
ninjaoflight/appcenter-sdk-cpp
1e14459e3161694da6b8f313ee1cdd088cc21954
[ "BSD-3-Clause" ]
null
null
null
samples/demo/src/source.cpp
ninjaoflight/appcenter-sdk-cpp
1e14459e3161694da6b8f313ee1cdd088cc21954
[ "BSD-3-Clause" ]
null
null
null
samples/demo/src/source.cpp
ninjaoflight/appcenter-sdk-cpp
1e14459e3161694da6b8f313ee1cdd088cc21954
[ "BSD-3-Clause" ]
null
null
null
#include <appcenter/analytics/analytics.hpp> #include <appcenter/appcenter.hpp> #include <string_view> int main(int, char **) { // get the enviroment variable #ifdef APPCENTER_SAMPLE_APP_SECRET const std::string_view appSecret = APPCENTER_SAMPLE_APP_SECRET; #else // if not using meson, you can setup your own app sec...
36.64
93
0.768559
ninjaoflight
7b53a23a7e78b0b580267532415bd627f5a6e84a
469
cpp
C++
problems/T/T1011/std.cpp
Tiphereth-A/problems
78724d2f559bf18b4999c89ef3bf9b8523fc6d49
[ "MIT" ]
1
2022-01-23T09:26:35.000Z
2022-01-23T09:26:35.000Z
problems/T/T1011/std.cpp
Tiphereth-A/problems
78724d2f559bf18b4999c89ef3bf9b8523fc6d49
[ "MIT" ]
null
null
null
problems/T/T1011/std.cpp
Tiphereth-A/problems
78724d2f559bf18b4999c89ef3bf9b8523fc6d49
[ "MIT" ]
1
2022-03-08T07:21:04.000Z
2022-03-08T07:21:04.000Z
#include <iostream> #include <cstring> using namespace std; const int maxn = 1e4+5; const int maxw = 1e7+5; typedef long long ll; ll m[maxn], w[maxn], v[maxn]; ll dp[maxw]; int main() { int n, W; cin>>n>>W; for(int i=1;i<=n;i++) cin>>m[i]>>w[i]>>v[i]; for(int i=1;i<=n;i++) for(int j=W;j>...
22.333333
54
0.492537
Tiphereth-A
7b54174cd2b5839bb7543172835d95979e8a1aaf
2,817
cpp
C++
keyzz/runners/runner.cpp
DmitryDzz/keyzz
85e63ea465116e0b7f37aa8633a6d6beeabd6779
[ "MIT" ]
null
null
null
keyzz/runners/runner.cpp
DmitryDzz/keyzz
85e63ea465116e0b7f37aa8633a6d6beeabd6779
[ "MIT" ]
6
2021-05-05T18:08:55.000Z
2021-05-15T16:01:00.000Z
keyzz/runners/runner.cpp
DmitryDzz/keyzz
85e63ea465116e0b7f37aa8633a6d6beeabd6779
[ "MIT" ]
null
null
null
// Copyright 2021 DmitryDzz #include "runner.hpp" #include <logger/easylogging++.h> #include <algorithm> #include <minunity/engine.hpp> #include "../tracks/race.hpp" #include "../tracks/track.hpp" using minunity::Engine; using minunity::Layer; using minunity::Sprite; using keyzz::BaseRunner; using keyzz::Race; u...
30.290323
98
0.617678
DmitryDzz
7b5632ae2858a2ab540edf2ed8a5590e9828aafa
1,013
cpp
C++
test/Graphics/ConvexShape.cpp
jlmartinnc/SFML
709530d062ac9c452f50b06d37cdd800c2f9ba68
[ "Zlib" ]
1
2020-09-11T06:28:37.000Z
2020-09-11T06:28:37.000Z
test/Graphics/ConvexShape.cpp
jlmartinnc/SFML
709530d062ac9c452f50b06d37cdd800c2f9ba68
[ "Zlib" ]
1
2022-02-04T01:20:06.000Z
2022-02-04T01:20:06.000Z
test/Graphics/ConvexShape.cpp
ChrisThrasher/SFML
757cb36d30cb3090945657580f9b43d511535bc2
[ "Zlib" ]
null
null
null
#include <SFML/Graphics/ConvexShape.hpp> #include "SystemUtil.hpp" #include <doctest.h> TEST_CASE("sf::ConvexShape class - [graphics]") { SUBCASE("Default constructor") { const sf::ConvexShape convex; CHECK(convex.getPointCount() == 0); } SUBCASE("Point count constructor") { ...
25.974359
64
0.572557
jlmartinnc
7b6105212e21fdca1626caf6de745b0b2266f941
767
hpp
C++
multiview/multiview_cpp/src/cuda/perceive/graphics/rgb-to-lab.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/cuda/perceive/graphics/rgb-to-lab.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/cuda/perceive/graphics/rgb-to-lab.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#pragma once #include "perceive/graphics/image-container.hpp" #include <opencv2/opencv.hpp> #include <type_traits> namespace perceive::cuda { #ifdef WITH_CUDA class ARGBToLABConversion { // Regions of zero copy memory for input and output data. mutable cv::cuda::HostMem input_buffer{cv::cuda::HostMem::AllocTy...
18.707317
80
0.709257
prcvlabs
7b63c64671e7ccccef941ef5e3ec90c99898f461
2,190
cpp
C++
HTTPSYS/HttpQueryRequestQueueProperty.cpp
zYg-sys/Marlin
eeabb4d324c5f8d253a50c106208bb833cb824e8
[ "MIT" ]
23
2016-09-16T11:25:54.000Z
2022-03-03T07:18:57.000Z
HTTPSYS/HttpQueryRequestQueueProperty.cpp
edwig/HTTPSYS
885f94149e7db9fb8c7dad2c42c916d31b80a862
[ "MIT" ]
26
2016-10-21T11:07:54.000Z
2022-03-05T18:27:03.000Z
HTTPSYS/HttpQueryRequestQueueProperty.cpp
zYg-sys/Marlin
eeabb4d324c5f8d253a50c106208bb833cb824e8
[ "MIT" ]
7
2018-09-11T12:17:46.000Z
2021-07-08T09:10:04.000Z
////////////////////////////////////////////////////////////////////////// // // USER-SPACE IMPLEMENTTION OF HTTP.SYS // // 2018 (c) ir. W.E. Huisman // License: MIT // ////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "http_private.h" #include "RequestQueue.h" #i...
28.441558
123
0.605479
zYg-sys
7b65ab7af31fb70217575f1e1d3ac1277e15408c
2,213
hpp
C++
compendium/ServiceComponent/include/cppmicroservices/servicecomponent/runtime/dto/ServiceReferenceDTO.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
588
2015-10-07T15:55:08.000Z
2022-03-29T00:35:44.000Z
compendium/ServiceComponent/include/cppmicroservices/servicecomponent/runtime/dto/ServiceReferenceDTO.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
459
2015-10-05T23:29:59.000Z
2022-03-29T14:13:37.000Z
compendium/ServiceComponent/include/cppmicroservices/servicecomponent/runtime/dto/ServiceReferenceDTO.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
218
2015-11-04T08:19:48.000Z
2022-03-24T02:17:08.000Z
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
26.035294
81
0.685495
fmilano
7b68b58045d5fb23c0274ac39917788df9d13bac
1,499
cc
C++
src/ui/a11y/lib/gesture_manager/tests/mocks/mock_gesture_listener.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/ui/a11y/lib/gesture_manager/tests/mocks/mock_gesture_listener.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/ui/a11y/lib/gesture_manager/tests/mocks/mock_gesture_listener.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ui/a11y/lib/gesture_manager/tests/mocks/mock_gesture_listener.h" namespace accessibility_test { MockGestureListener::MockGestureListener() ...
30.591837
100
0.776518
allansrc
7b69f349009cebdea5bc92cc227cefe110f64c60
1,214
cpp
C++
data/dailyCodingProblem672.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem672.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem672.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* You are given an array of arrays of integers, where each array corresponds to a row in a triangle of numbers. For example, [[1], [2, 3], [1, 5, 1]] represents the triangle: 1 2 3 1 5 1 We define a path in the triangle to start at the top and go down one row at a ti...
25.829787
113
0.666392
vidit1999