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
dca4a1757c98b6a03295d2ae7698c595e290363c
427
cpp
C++
AtCoder/AtCoder_Beginner_Contest_176/C_Step/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-07-08T23:16:19.000Z
2020-07-08T23:16:19.000Z
AtCoder/AtCoder_Beginner_Contest_176/C_Step/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-05-16T03:12:24.000Z
2020-05-16T03:14:42.000Z
AtCoder/AtCoder_Beginner_Contest_176/C_Step/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
2
2020-05-16T03:25:16.000Z
2021-02-10T16:51:25.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr); int n;cin>>n; int before; long long sum = 0; for (int i = 0; i < n; i++) { int a; cin >> a; if(i==0) { before = a; } else { ...
22.473684
72
0.456674
sungmen
dca84e1837382a5d915962c1f8f563619001e9b6
393
hpp
C++
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_PREREQUISITESDIRECT3D_373FDC61_HPP #define POMDOG_PREREQUISITESDIRECT3D_373FDC61_HPP #if defined(_XBOX_ONE) && defined(_TITLE) #include <d3dcompiler_x.h> #else #include <d3dcompiler.h> #include <...
26.2
70
0.80916
bis83
dcaeb731ec2a112ef61adb5b892de419a3edd2b6
11,227
cpp
C++
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
890
2017-12-15T17:55:42.000Z
2022-03-27T07:46:49.000Z
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
29
2017-12-16T21:49:08.000Z
2021-09-08T23:04:10.000Z
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
88
2017-12-15T19:29:49.000Z
2022-03-21T00:59:29.000Z
/* * MIT License * * Copyright (c) 2017 Twitter * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
43.34749
258
0.703394
shahzadlone
dcaff48a13a08466dd426f5713284ae52db97bd7
62,756
cpp
C++
SOURCES/sim/fcc/fccmain.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/fcc/fccmain.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/fcc/fccmain.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "Graphics\Include\Render2D.h" #include "Graphics\Include\DrawBsp.h" #include "stdhdr.h" #include "entity.h" #include "PilotInputs.h" #include "simveh.h" #include "sms.h" #include "airframe.h" #include "object.h" #include "fsound.h" #include "soundfx.h" #include "simdrive.h" #include "mfd.h" #include "radar.h" ...
24.072114
192
0.656846
IsraelyFlightSimulator
dcb191f58b8f8965632d152292210f1c119e9587
847
cpp
C++
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: void subsets(vector<int> nums, set<vector<int>> &s, int i, vector<int> r) { if(i == nums.size()) { sort(r.begin(), r.end()); s.insert(r); return; } else { subsets(nums, s, i+1, r); r.push...
26.46875
77
0.475797
Tiger-Team-01
dcb1bd3f76d5ed4ec7788822aef7f5dbf4380dd7
530
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_eem.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_eem.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_eem.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XE_eem.hpp" using namespace ydk; namespace cisco_ios_xe { namespace Cisco_IOS_XE_eem { const Enum::YLeaf OperatorType::eq {0, "eq"}; const Enum::YLeaf OperatorT...
21.2
45
0.720755
CiscoDevNet
dcb2961b51cfe8469920dfbeb1b1c061f228c712
3,198
cc
C++
main.cc
purpl3F0x/MQA_identifier
3f9ece1cf6ca407ee4c251ab9f1e3d98013d75eb
[ "Apache-2.0" ]
57
2020-01-04T22:45:55.000Z
2022-03-28T07:01:53.000Z
main.cc
purpl3F0x/MQA_identifier
3f9ece1cf6ca407ee4c251ab9f1e3d98013d75eb
[ "Apache-2.0" ]
15
2019-12-11T17:01:26.000Z
2022-03-17T15:04:40.000Z
main.cc
purpl3F0x/MQA_identifier
3f9ece1cf6ca407ee4c251ab9f1e3d98013d75eb
[ "Apache-2.0" ]
8
2020-02-28T18:01:12.000Z
2022-01-26T15:57:27.000Z
/** * @file main.cc * @author Stavros Avramidis (@purpl3F0x) * @date 16/12/2019 * @copyright 2019 Stavros Avramidis under Apache 2.0 License */ #include <filesystem> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <vector> #include "mqa_identifier.h" nam...
30.75
103
0.518449
purpl3F0x
dcb2dc65f5d0c224f199ea103597941bc05e14bf
11,359
cpp
C++
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
94
2015-03-12T14:49:43.000Z
2021-08-05T00:43:50.000Z
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
3
2017-06-05T20:36:09.000Z
2021-05-08T21:39:48.000Z
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
24
2015-04-22T20:35:28.000Z
2022-01-10T13:08:40.000Z
/* * BLueIOMPU9250.h * * Created on: Jul 25, 2018 * Author: hoan */ #include "app_util_platform.h" #include "app_scheduler.h" #include "istddef.h" #include "ble_app.h" #include "ble_service.h" #include "device_intrf.h" #include "coredev/spi.h" #include "coredev/timer.h" #include "sensors/agm_mpu9250.h" #inc...
24.58658
123
0.640725
tmaltesen
dcb6598eb2eb0d9e87bffeb93e34dd6533eadcf1
3,881
hpp
C++
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young 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 agreed to in ...
25.532895
79
0.644164
tp-ntouran
dcb688dac9c295fec11fe28b1e4585d74298aa9e
366
cpp
C++
Engine/Plugins/Editor/PluginBrowser/Templates/ThirdPartyLibrary/Source/ThirdParty/PLUGIN_NAMELibrary/ExampleLibrary.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Editor/PluginBrowser/Templates/ThirdPartyLibrary/Source/ThirdParty/PLUGIN_NAMELibrary/ExampleLibrary.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Editor/PluginBrowser/Templates/ThirdPartyLibrary/Source/ThirdParty/PLUGIN_NAMELibrary/ExampleLibrary.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
#if defined _WIN32 || defined _WIN64 #include <Windows.h> #define DLLEXPORT __declspec(dllexport) #else #include <stdio.h> #endif #ifndef DLLEXPORT #define DLLEXPORT #endif DLLEXPORT void ExampleLibraryFunction() { #if defined _WIN32 || defined _WIN64 MessageBox(NULL, TEXT("Hello world!"), NULL, MB_...
18.3
53
0.70765
windystrife
dcb6a1644cf3c3baa909cf163721d1324f193a37
369
cpp
C++
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
2
2020-10-27T11:56:10.000Z
2020-10-27T12:42:32.000Z
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
null
null
null
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
null
null
null
#include <iostream> int main() { float x; int n; std::cout << "Podaj x i n: "; std::cin >> x >> n; switch (n) { case 1: std::cout << "y = " << sqrt(2 * x); break; case 2: std::cout << "y = " << (x * x) - 5; break; case 3: std::cout << "y = " << cos(x) + 1; break; default:...
13.178571
39
0.414634
AdamSiekierski
dcb7c38bae57b96d1ec8c378f65844df77ba0800
4,355
cc
C++
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:10.000Z
2017-10-12T13:49:10.000Z
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
null
null
null
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:38.000Z
2017-10-12T13:49:38.000Z
/* * libreoj2245 * * LCT 维护最大值。 * 首先把边按 a 权值排序,从小到大加入,那么所需的 a 就是当前边的 a 。 * 然后用 LCT 维护从 1 到 n 的路径的 b 权值的最大值。 * 由于维护的是边权,我们要给边特别地开点,然后把本来应该相连的点连到两边。 * 动态维护一棵最小生成树,每次加入一条从 u 到 v 的路径的时候就把原来的 * u, v 之间的路径拉出来查询一下路径上的最大值,如果比当前的边要大, * 就把代表这条边的点从路径里拿出来,再把新边放进去。 * */ #include <cstdio> #include <algorithm> #incl...
20.162037
79
0.439265
DesZou
dcb7d026a3fa1e6f2ee4d10da9242592af650434
3,224
cpp
C++
EVENTS/GeoClawOpenFOAM/swsolvers/geoclaw/geoclaw.cpp
claudioperez/HydroUQ
89447d50524057f7e30d9d31e04f074a94095aad
[ "BSD-2-Clause" ]
2
2021-03-03T06:37:21.000Z
2021-03-29T20:46:37.000Z
EVENTS/GeoClawOpenFOAM/swsolvers/geoclaw/geoclaw.cpp
claudioperez/HydroUQ
89447d50524057f7e30d9d31e04f074a94095aad
[ "BSD-2-Clause" ]
10
2021-07-22T04:22:28.000Z
2021-07-29T02:16:52.000Z
EVENTS/GeoClawOpenFOAM/swsolvers/geoclaw/geoclaw.cpp
claudioperez/HydroUQ
89447d50524057f7e30d9d31e04f074a94095aad
[ "BSD-2-Clause" ]
9
2020-05-18T18:37:44.000Z
2021-08-02T18:12:49.000Z
#include "geoclaw.h" #include "H20utilities/h20utilities.h" //********************************************************************************* // GeoClaw starts here //********************************************************************************* geoclaw::geoclaw(int flag, QStringList data) { // If needed to r...
34.297872
112
0.476117
claudioperez
dcbd88bbf7b50be1b27c9846ddd29f0b192622d4
15,217
cpp
C++
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2016, Knut Reinert, FU Berlin // Copyright (c) 2013 NVIDIA Corporation // All rig...
41.576503
112
0.51495
kneubert
dcbf3b49f6c2ef697fad900d545cb2f9e209f432
3,176
hpp
C++
src/app/Events.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
1
2022-03-27T02:32:01.000Z
2022-03-27T02:32:01.000Z
src/app/Events.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
null
null
null
src/app/Events.hpp
uwmisl/purpledrop-stm32
7e40314f244e27fed04379774f00b4659ece3381
[ "MIT" ]
null
null
null
#pragma once #include "AppConfig.hpp" #include "EventEx.hpp" #include "ScanGroups.hpp" using namespace EventEx; /** Defines all of the events in the application */ namespace events { struct CapActive : public Event { CapActive() : CapActive(0, 0, 0) {} CapActive(uint16_t _baseline, uint16_t _measurement,...
25.408
95
0.683879
uwmisl
dcc193ade7d89d5a84e99778ad5bfa2cd061f1d7
164,690
cpp
C++
CWE-119/source_files/CVE-2006-1739/Firefox_1.5b2_CVE_2006_1739_layout_base_nsCSSRendering.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
185
2017-12-14T08:18:15.000Z
2022-03-30T02:58:36.000Z
CWE-119/source_files/CVE-2006-1739/Firefox_1.5b2_CVE_2006_1739_layout_base_nsCSSRendering.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
11
2018-01-30T23:31:20.000Z
2022-01-17T05:03:56.000Z
CWE-119/source_files/CVE-2006-1739/Firefox_1.5b2_CVE_2006_1739_layout_base_nsCSSRendering.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
87
2018-01-10T08:12:32.000Z
2022-02-19T10:29:31.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // vim:cindent:ts=2:et:sw=2: /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except ...
37.583295
162
0.613571
CGCL-codes
dcc19d9965d66836aaf2949a938de1a5a15c19ca
215,503
cpp
C++
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
275
2017-07-31T16:42:07.000Z
2022-01-27T09:27:45.000Z
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
114
2017-08-01T07:37:35.000Z
2020-01-12T20:27:56.000Z
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
87
2017-08-02T03:00:43.000Z
2021-09-13T02:09:19.000Z
// // Copyright 2017 Animal Logic // // 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 agreed ...
32.766155
151
0.55667
garvitverma
dcc228844073de0aa75390a5ac731493b40ee6f3
8,072
cc
C++
UX/src/Application.cc
frankencode/cc
2923d4e807659d73b91ff05142b33dc251332bea
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
UX/src/Application.cc
frankencode/cc
2923d4e807659d73b91ff05142b33dc251332bea
[ "Zlib" ]
null
null
null
UX/src/Application.cc
frankencode/cc
2923d4e807659d73b91ff05142b33dc251332bea
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2020 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/Application> #include <cc/TimeMaster> #include <cc/PlatformPlugin> #include <cc/PosGuard> #include <cc/InputControl> #include <cc/Process> #include <cc/Bmp> #i...
24.24024
103
0.594896
frankencode
dcc2f73627d9404a4d8a10bb990a50a1ba28b96b
374
hpp
C++
include/common/cpu_affinity.hpp
JYLeeLYJ/libcoio
2046e3376b9db3e0a8bf19ca5e58c4456b3cd1c2
[ "MIT" ]
null
null
null
include/common/cpu_affinity.hpp
JYLeeLYJ/libcoio
2046e3376b9db3e0a8bf19ca5e58c4456b3cd1c2
[ "MIT" ]
null
null
null
include/common/cpu_affinity.hpp
JYLeeLYJ/libcoio
2046e3376b9db3e0a8bf19ca5e58c4456b3cd1c2
[ "MIT" ]
null
null
null
#ifndef COIO_CPU_AFFINITY #define COIO_CPU_AFFINITY #include <sched.h> #include <sys/syscall.h> #include <unistd.h> namespace coio { static inline bool reset_cpu_affinity(int cpuno) { cpu_set_t mask; CPU_ZERO(&mask); CPU_SET(cpuno, &mask); auto tid = syscall(SYS_gettid); return sched_setaffinity(tid, size...
17.809524
59
0.721925
JYLeeLYJ
dcc40eb7eb4ca5a842c1d7db4b9ed4e93b1dc0a1
4,395
cc
C++
biod/ec_command_test.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
biod/ec_command_test.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
biod/ec_command_test.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2019 The Chromium OS 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 <gmock/gmock.h> #include <gtest/gtest.h> #include "biod/ec_command.h" using testing::_; using testing::InvokeWithoutArgs; using testing::Ret...
30.10274
76
0.698521
kalyankondapally
dcc82974b04253cd0551e2a9589bcea8013daf22
3,091
hpp
C++
deps/boost/include/boost/detail/bitmask.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
deps/boost/include/boost/detail/bitmask.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
deps/boost/include/boost/detail/bitmask.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
// boost/detail/bitmask.hpp ------------------------------------------------// // Copyright Beman Dawes 2006 // Distributed under the Boost Software License, Version 1.0 // http://www.boost.org/LICENSE_1_0.txt // Usage: enum foo { a=1, b=2, c=4 }; // BOOST_BITMASK( foo ) // // void...
52.389831
81
0.371724
kindlychung
dcc869cf1d46f33d81b28dd7a3d0131fb0832472
1,857
cxx
C++
PWGPP/EvTrkSelection/AliAnalysisTaskEventCutsValidation.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
1
2021-06-11T20:36:16.000Z
2021-06-11T20:36:16.000Z
PWGPP/EvTrkSelection/AliAnalysisTaskEventCutsValidation.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
1
2017-03-14T15:11:43.000Z
2017-03-14T15:53:09.000Z
PWGPP/EvTrkSelection/AliAnalysisTaskEventCutsValidation.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
1
2018-09-22T01:09:25.000Z
2018-09-22T01:09:25.000Z
#include "AliAnalysisTaskEventCutsValidation.h" // ROOT includes #include <TChain.h> #include <TH2F.h> #include <TList.h> // ALIROOT includes #include "AliAODEvent.h" #include "AliAODHeader.h" #include "AliAODTrack.h" #include "AliESDEvent.h" #include "AliESDtrack.h" #include "AliVEvent.h" ///\cond CLASSIMP ClassImp...
24.116883
106
0.740442
AudreyFrancisco
dcc96397a4d54d55f0f0b63606e5efb0dd6dee70
27,548
cpp
C++
toonz/sources/toonz/linetestviewer.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/toonz/linetestviewer.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/toonz/linetestviewer.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
1
2019-10-07T17:12:30.000Z
2019-10-07T17:12:30.000Z
#include "linetestviewer.h" #ifdef LINETEST #include "tapp.h" #include "viewerdraw.h" #include "timagecache.h" #include "tgl.h" #include "trop.h" #include "toonz/txsheethandle.h" #include "toonz/tframehandle.h" #include "toonz/tcolumnhandle.h" #include "toonz/txshlevelhandle.h" #include "toonz/tobjecthandle.h" #inclu...
32.257611
128
0.632605
ss23
dcc9cf2a648f6f4c0768a1b376fc711fe500e9bc
1,216
cpp
C++
sources/middle_layer/src/result.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
sources/middle_layer/src/result.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
sources/middle_layer/src/result.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
1
2022-03-28T07:52:21.000Z
2022-03-28T07:52:21.000Z
/******************************************************************************* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #include <core/view.hpp> #include <dml/detail/ml/result.hpp> namespace dml::detai...
32
102
0.621711
hhb584520
dcccd221f52744da844a1137deaefcb37c2c16ef
7,220
cpp
C++
ideccmbd/CrdIdecTou/QryIdecTouRef1NFile.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
ideccmbd/CrdIdecTou/QryIdecTouRef1NFile.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
ideccmbd/CrdIdecTou/QryIdecTouRef1NFile.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
/** * \file QryIdecTouRef1NFile.cpp * job handler for job QryIdecTouRef1NFile (implementation) * \author Alexander Wirthmueller * \date created: 30 Dec 2017 * \date modified: 30 Dec 2017 */ #ifdef IDECCMBD #include <Ideccmbd.h> #else #include <Idecd.h> #endif #include "QryIdecTouRef1NFile.h" #include "...
23.75
157
0.666343
mpsitech
dccd08cdbb82e841c8aaa3b60503f9e462c21548
6,008
cpp
C++
schwarzwald/core/util/Scheduler.cpp
igd-geo/schwarzwald
e3e041f87c93985394444ee056ce8ba7ae62194b
[ "Apache-2.0" ]
10
2021-01-06T14:16:31.000Z
2022-02-13T00:15:17.000Z
schwarzwald/core/util/Scheduler.cpp
igd-geo/schwarzwald
e3e041f87c93985394444ee056ce8ba7ae62194b
[ "Apache-2.0" ]
1
2022-03-25T08:37:30.000Z
2022-03-30T06:28:06.000Z
schwarzwald/core/util/Scheduler.cpp
igd-geo/schwarzwald
e3e041f87c93985394444ee056ce8ba7ae62194b
[ "Apache-2.0" ]
3
2020-12-03T13:50:42.000Z
2022-02-08T11:45:45.000Z
#include "util/Scheduler.h" #include "util/Config.h" #include <logging/Journal.h> #include <gsl/gsl> TilingScheduler::~TilingScheduler() {} FixedThreadsScheduler::FixedThreadsScheduler(FixedThreadsSchedulerArgs args) : _read_executor(args.read_threads) , _indexing_executor(args.indexing_threads) { if (!global...
36.412121
80
0.675266
igd-geo
dcce0ed1d440d4e5c460ae7a10f3abf60b064485
2,031
cc
C++
RecoParticleFlow/PFClusterProducer/plugins/ECALPFSeedCleaner.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoParticleFlow/PFClusterProducer/plugins/ECALPFSeedCleaner.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoParticleFlow/PFClusterProducer/plugins/ECALPFSeedCleaner.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "CondFormats/DataRecord/interface/EcalPFSeedingThresholdsRcd.h" #include "CondFormats/EcalObjects/interface/EcalPFSeedingThresholds.h" #include "RecoParticleFlow/PFClusterProducer/interface/RecHitTopologicalCleanerBase.h" class ECALPFSeedCleaner : public RecHitTopologicalCleanerBase { public: ECALPFSeedClea...
40.62
114
0.743968
Purva-Chaudhari
dcceb8b3b20685b8b2bb61e847810b3470c47996
403
hpp
C++
Spike/Backend/Dummy/Synapses/Synapses.hpp
elliotelliot/Spike
a2ecda4d7e0395a6693d4a10932ad72f58b156af
[ "MIT" ]
null
null
null
Spike/Backend/Dummy/Synapses/Synapses.hpp
elliotelliot/Spike
a2ecda4d7e0395a6693d4a10932ad72f58b156af
[ "MIT" ]
1
2019-08-16T21:18:21.000Z
2019-08-16T21:18:21.000Z
Spike/Backend/Dummy/Synapses/Synapses.hpp
elliotelliot/Spike
a2ecda4d7e0395a6693d4a10932ad72f58b156af
[ "MIT" ]
4
2019-09-02T14:06:08.000Z
2020-02-20T05:36:46.000Z
#pragma once #include "Spike/Synapses/Synapses.hpp" namespace Backend { namespace Dummy { class Synapses : public virtual ::Backend::Synapses { public: ~Synapses() override = default; void prepare() override; void reset_state() override; void copy_to_frontend() override; void...
20.15
57
0.665012
elliotelliot
dcced838bfab5c139c3d430666f146f38aca72c2
3,451
cpp
C++
224BasicCalculator.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
1
2020-10-11T08:10:53.000Z
2020-10-11T08:10:53.000Z
224BasicCalculator.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
224BasicCalculator.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
#include "LeetCodeLib.h" class Solution { public: // iterative approach int calculate(string s) { int result = 0; int sign = 1; stack<int> st; for (int i = 0; i < s.size(); i++) { // get the number from string if (s[i] >= '0') { int num = 0; while (i < s.size() && s[i] >= '0') { num *= 10...
19.833333
67
0.474065
yuyangh
dcd079abf4a416110e6198d5a8b999d35bc2f049
794
cpp
C++
answers/codeforces/534B Covered Path.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/codeforces/534B Covered Path.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/codeforces/534B Covered Path.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
//@type greedy, DP //@result 12964986 2015-09-11 22:53:08 zetta217 534B - Covered Path GNU C++ Accepted 15 ms 0 KB // I don't use DP #include <iostream> using namespace std; int main() { int begin(0); int end(0); while (cin >> begin >> end) { if (begin > end) { int temp = begin; begin = end; ...
24.8125
96
0.531486
FeiZhan
dcd1f03705bda70716cfff206fff0721f0f39208
2,928
cp
C++
src/TFractalViewerWindow.cp
pfuentes69/FractalViewer
397bc2c7f1182d016ff57fbf93a5f6da302bd06e
[ "Apache-2.0" ]
null
null
null
src/TFractalViewerWindow.cp
pfuentes69/FractalViewer
397bc2c7f1182d016ff57fbf93a5f6da302bd06e
[ "Apache-2.0" ]
null
null
null
src/TFractalViewerWindow.cp
pfuentes69/FractalViewer
397bc2c7f1182d016ff57fbf93a5f6da302bd06e
[ "Apache-2.0" ]
null
null
null
/***** * TFractalViewerWindow.c * * The window methods for the application. * * TFractalViewerWindow inherits its Draw method from TWindow. * TMandelbrot, TJulia, and others override DrawShape to draw their own kind of CGI. * *****/ #include <Packages.h> // for NumToString prototype #include "TFractalView...
2,928
2,928
0.676913
pfuentes69
dcd24d5a9b94a8f29c988684fd2c44d7ab91e342
1,105
cpp
C++
test/data-tests/testcases/test-123.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,526
2015-01-01T15:31:00.000Z
2022-03-31T17:33:49.000Z
test/data-tests/testcases/test-123.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,497
2015-01-01T15:29:12.000Z
2022-03-31T19:19:35.000Z
test/data-tests/testcases/test-123.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
3,023
2015-01-01T18:40:53.000Z
2022-03-30T13:30:46.000Z
#include <cstring> #include <stdexcept> #include "common.hpp" class TestHandler123 : public osmium::handler::Handler { public: TestHandler123() : osmium::handler::Handler() { } void way(const osmium::Way& way) const { if (way.id() == 123800) { REQUIRE(way.version() == 1); ...
25.697674
99
0.637104
zhaitianduo
dcd9006f6fd4f19c1f158d2653e87a8ec15083c8
17,392
cc
C++
chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 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 "chrome/test/chromedriver/chrome/chrome_desktop_impl.h" #include <stddef.h> #include <utility> #include "base/files/file_path.h" #include "...
33.770874
80
0.683188
zipated
dcddf1ed62acf71cefecdfbb5e14b82b07b2098d
6,223
hpp
C++
Visitors/AcceptanceVisitors/DilatedVarianceDifferenceAcceptanceVisitor.hpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
39
2015-01-01T07:59:51.000Z
2021-10-01T18:11:46.000Z
Visitors/AcceptanceVisitors/DilatedVarianceDifferenceAcceptanceVisitor.hpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
1
2019-04-24T09:56:15.000Z
2019-04-24T14:45:46.000Z
Visitors/AcceptanceVisitors/DilatedVarianceDifferenceAcceptanceVisitor.hpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
18
2015-01-11T15:10:23.000Z
2022-02-24T20:02:10.000Z
/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * 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 * *...
49.388889
208
0.703198
jingtangliao
dcdf01b01665dec4690b9d0213b32be1f7039302
7,145
cpp
C++
vfd_bench/custom/src/vfd_task.cpp
milesfrain/stm32template
c7a55661c21a3ea0266b1e3950c6fb5210ccff25
[ "CC0-1.0" ]
1
2021-07-26T16:27:28.000Z
2021-07-26T16:27:28.000Z
vfd_bench/custom/src/vfd_task.cpp
milesfrain/stm32template
c7a55661c21a3ea0266b1e3950c6fb5210ccff25
[ "CC0-1.0" ]
3
2020-10-23T22:59:07.000Z
2020-10-23T23:02:35.000Z
vfd_bench/custom/src/vfd_task.cpp
milesfrain/stm32template
c7a55661c21a3ea0266b1e3950c6fb5210ccff25
[ "CC0-1.0" ]
1
2022-01-18T04:57:14.000Z
2022-01-18T04:57:14.000Z
/* * See header for notes. */ #include "vfd_task.h" #include "board_defs.h" #include "catch_errors.h" #include "packet_utils.h" #include "string.h" // memcpy #include "vfd_defs.h" VfdTask::VfdTask( // const char* name, UartTasks& uart, Writable& target, TaskUtilitiesArg& utilArg, UBaseType_t priority) :...
32.330317
131
0.613436
milesfrain
dcdf739247cfd9069822d09dcb438ea035b20678
463
cpp
C++
service/src/exo/videorw.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/exo/videorw.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/exo/videorw.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
#include <exodus/library.h> libraryinit() function main(in x, in y, in x2, in y2, in readwrite, io buffer) { //TODO implement if screen handling required //VIDEO.RW(0,0,@CRTWIDE-1,@CRTHIGH-1,'R',startBUFFER) //eg to copy a whole screen sized 80x25, use 0,0,79,24 //R=Read, W=Write //evade warning "usused" fals...
18.52
66
0.660907
BOBBYWY
dce1a9d48c363461b86d90f7c8ebc32d37e1fe13
6,887
cpp
C++
editor/src/editor.cpp
gabyrobles93/worms-game-remake
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
2
2019-04-24T18:27:29.000Z
2020-04-06T17:15:34.000Z
editor/src/editor.cpp
gabyrobles93/tp-final-taller
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
null
null
null
editor/src/editor.cpp
gabyrobles93/tp-final-taller
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <SDL2/SDL.h> #include <QApplication> #include <QMessageBox> #include <QDebug> #include "editor.h" #include "yaml.h" #include "map_game.h" #include "yaml.h" #include "inventory.h" #include "inventory_editor.h" #define EXIT_PADDING 5 #define EXIT_ICON_SIDE 20 #define SAVE_P...
34.782828
127
0.652098
gabyrobles93
dce1aa108a1408397a6280c0e66fdf626d083d24
2,589
cc
C++
src/core/wakeup_handler.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
src/core/wakeup_handler.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
src/core/wakeup_handler.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir...
28.141304
128
0.676323
nugulinux
dce1bcbcedbc4a903fa76a3767a126f677d91a66
197
cpp
C++
Basics/IfElse/decisionMaking.cpp
dibyanshushekhardey/C--Program-Codes
d84452c95dcf85c2e4e97fa644bbd4cabde7f5b4
[ "MIT" ]
null
null
null
Basics/IfElse/decisionMaking.cpp
dibyanshushekhardey/C--Program-Codes
d84452c95dcf85c2e4e97fa644bbd4cabde7f5b4
[ "MIT" ]
null
null
null
Basics/IfElse/decisionMaking.cpp
dibyanshushekhardey/C--Program-Codes
d84452c95dcf85c2e4e97fa644bbd4cabde7f5b4
[ "MIT" ]
null
null
null
// C++ program to illustrate If statement #include<iostream> using namespace std; int main() { int i = 10; if (i > 15) { cout<<"10 is less than 15"; } cout<<"I am Not in if"; }
12.3125
41
0.573604
dibyanshushekhardey
dce1dfd76f66d0749bdacb0cdf77658fefd4cc9d
3,652
cpp
C++
graph-source-code/182-A/1625475.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/182-A/1625475.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/182-A/1625475.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ //HACK ME, PLEASE! ^_^ #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> #include <string> #include <vector> #include <set> #include <utility> #include <math.h> #include <cstdlib> #include <memory.h> #include <queue> #define pb push_back #define i64 long...
26.463768
107
0.441128
AmrARaouf
dce21c1663f64fff45a035362b019a7ee5de494a
1,089
cpp
C++
Challenge-2020-05/construct_BST_from_preorder_traversal.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-05/construct_BST_from_preorder_traversal.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-05/construct_BST_from_preorder_traversal.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "binary_tree.h" using namespace std; class Solution { public: TreeNode* bstFromPreorder(vector<int>& preorder) { if (preorder.size() == 0) return nullptr; TreeNode* root = new TreeNode {preorder[0]}; for (int i = 1; i < preorder.size(); i++) ...
27.225
59
0.458219
qiufengyu
dce3f023c98881b19d854ae1beaebfa69001d3cb
17,829
cpp
C++
src/cpp/rtps/builtin/data/ReaderProxyData.cpp
ruffsl/Fast-RTPS
ae7cf4e961801956e59cba37a5c17cdc2258ec6c
[ "Apache-2.0" ]
1
2018-03-20T21:31:38.000Z
2018-03-20T21:31:38.000Z
src/cpp/rtps/builtin/data/ReaderProxyData.cpp
ruffsl/Fast-RTPS
ae7cf4e961801956e59cba37a5c17cdc2258ec6c
[ "Apache-2.0" ]
null
null
null
src/cpp/rtps/builtin/data/ReaderProxyData.cpp
ruffsl/Fast-RTPS
ae7cf4e961801956e59cba37a5c17cdc2258ec6c
[ "Apache-2.0" ]
1
2018-09-19T10:12:29.000Z
2018-09-19T10:12:29.000Z
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
37.613924
139
0.577991
ruffsl
dce4aad7a9eb59ed664ded57f1c97bd02678062b
10,180
cpp
C++
server/lsp/p4unit.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
15
2018-04-08T06:45:56.000Z
2022-01-13T12:47:19.000Z
server/lsp/p4unit.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
12
2018-12-30T11:45:38.000Z
2021-12-20T10:24:19.000Z
server/lsp/p4unit.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
4
2018-04-01T18:45:27.000Z
2020-11-06T23:28:58.000Z
#include "p4unit.h" #include <boost/log/attributes/constant.hpp> #include <boost/log/sinks/syslog_backend.hpp> #include <boost/tokenizer.hpp> #include <fstream> #include <sstream> #include "../p4l/lexer.h" namespace { boost::log::sources::severity_logger<int> _logger(boost::log::keywords::severity = boost::log::sin...
31.036585
168
0.66002
emacsmirror
dce6ee9dfeccca2323e051210f3cbdc7907fdb94
2,336
cpp
C++
WebKit/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
34.865672
147
0.733733
JavaScriptTesting
dce7bc0cd2c7defa0c032a2f8ec3efdfb7e7dfc0
2,150
cc
C++
src/remoting/host/screen_resolution_unittest.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/remoting/host/screen_resolution_unittest.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/remoting/host/screen_resolution_unittest.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 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 "remoting/host/screen_resolution.h" #include <limits> #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/...
26.54321
78
0.710233
jxjnjjn
dce7c7e21f38167ab9d28022a0e0c56bf0c96614
13,250
cpp
C++
app/rtkconv/codeopt.cpp
mws-rmain/RTKLIB
3cd1f799b04da433f29473332c250b0518aa762c
[ "BSD-2-Clause" ]
2
2021-11-06T07:23:27.000Z
2021-11-07T14:29:21.000Z
app/rtkconv/codeopt.cpp
mws-rmain/RTKLIB
3cd1f799b04da433f29473332c250b0518aa762c
[ "BSD-2-Clause" ]
null
null
null
app/rtkconv/codeopt.cpp
mws-rmain/RTKLIB
3cd1f799b04da433f29473332c250b0518aa762c
[ "BSD-2-Clause" ]
3
2020-09-28T02:42:26.000Z
2020-09-28T09:01:08.000Z
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "rtklib.h" #include "convopt.h" #include "codeopt.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TCodeOptDialog ...
35.333333
77
0.621057
mws-rmain
dce8f2d9c0b49f28c69ed3956605127dc5d9ea22
268
cpp
C++
benchmarks/lmbench/src/App/SysEnvironment/grp_ocall.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
30
2017-02-08T02:53:36.000Z
2022-03-24T14:26:17.000Z
benchmarks/lmbench/src/App/SysEnvironment/grp_ocall.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
4
2017-05-25T00:39:02.000Z
2018-04-27T10:38:47.000Z
benchmarks/lmbench/src/App/SysEnvironment/grp_ocall.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
8
2017-10-31T11:12:35.000Z
2020-06-15T04:12:51.000Z
/** * @author ${kekkaishivn} - dattl@ifi.uio.no * * ${tags} */ #include <grp.h> #include "MyEnclave_u.h" struct group *ocall_getgrgid(gid_t gid) { return getgrgid(gid); } int ocall_initgroups(const char *user, gid_t group) { return initgroups(user, group); }
14.105263
51
0.675373
shwetasshinde24
dce93554c6735c0cd9fe675aaa1c4e96a80b1b64
10,164
hpp
C++
include/openpose/producer/datumProducer.hpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
include/openpose/producer/datumProducer.hpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
include/openpose/producer/datumProducer.hpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
#ifndef OPENPOSE_PRODUCER_DATUM_PRODUCER_HPP #define OPENPOSE_PRODUCER_DATUM_PRODUCER_HPP #include <atomic> #include <limits> // std::numeric_limits #include <tuple> #include <openpose/core/common.hpp> #include <openpose/core/datum.hpp> #include <openpose/utilities/fastMath.hpp> #include <openpose/producer/producer.hp...
45.375
130
0.55854
mooktj
dceb343d5fe0af1a7e3b086a79d7797eb8378261
16,637
cpp
C++
Blocks/manager.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
Blocks/manager.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
Blocks/manager.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
#include "manager.h" namespace Blocks { Manager manager; Manager::~Manager() { // So the 0x1 placeholders are not accidentally deleted. blocks_[0] = nullptr; groups_[0] = nullptr; deleteallslotvector(connections_); deleteallslotvector(blocks_); deleteallslotvector(groups_); } // TODO: Multiple ...
29.239016
128
0.652521
dtulga
dcec710ff4c3a62228b325e1546ef90961b041af
2,076
cpp
C++
ihmc-pub-sub/cppsrc/FastRTPS/subscriberexample.cpp
loulansuiye/ihmc-pub-sub-group
c6635ac0cb3a28c18252ffc8033e76360c540e3a
[ "ECL-2.0", "Apache-2.0" ]
1
2018-11-03T02:48:20.000Z
2018-11-03T02:48:20.000Z
ihmc-pub-sub/cppsrc/FastRTPS/subscriberexample.cpp
loulansuiye/ihmc-pub-sub-group
c6635ac0cb3a28c18252ffc8033e76360c540e3a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
ihmc-pub-sub/cppsrc/FastRTPS/subscriberexample.cpp
loulansuiye/ihmc-pub-sub-group
c6635ac0cb3a28c18252ffc8033e76360c540e3a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "nativeparticipantimpl.h" #include "nativesubscriberimpl.h" #include <iostream> #include <chrono> #include <thread> using namespace us::ihmc::rtps::impl::fastRTPS; class ExampleParticipantListener : public NativeParticipantListener { void onParticipantDiscovery(int64_t infoPtr, int64_t guidHigh, int64_t...
28.833333
148
0.688343
loulansuiye
dcef3916bce8005255e1572fbfb090a643a8dbcc
6,860
cpp
C++
jshEngine/src/Engine.cpp
JoseLRM/jshEngine
589851ca3e845e407d81dc555dc76dc70c010f25
[ "Apache-2.0" ]
1
2021-11-03T08:05:57.000Z
2021-11-03T08:05:57.000Z
jshEngine/src/Engine.cpp
JoseLRM/jshEngine
589851ca3e845e407d81dc555dc76dc70c010f25
[ "Apache-2.0" ]
null
null
null
jshEngine/src/Engine.cpp
JoseLRM/jshEngine
589851ca3e845e407d81dc555dc76dc70c010f25
[ "Apache-2.0" ]
null
null
null
#include "common.h" #include "Window.h" #include "TaskSystem.h" #include "Timer.h" #include "Graphics.h" #include "Renderer.h" #include "State.h" #include "DefaultLoadState.h" #include "StateManager.h" #include "GuiSystem.h" using namespace jsh; using namespace jsh::_internal; namespace jshEngine { void BeginUpdat...
21.847134
165
0.669388
JoseLRM
dcefd235f4e7e990c1ed1fea4014b36d03e2140f
2,191
cpp
C++
src/Utils/Utils/Optimizer/LeastSquares/LevenbergMarquardt.cpp
DockBio/utilities
213ed5ac2a64886b16d0fee1fcecb34d36eea9e9
[ "BSD-3-Clause" ]
null
null
null
src/Utils/Utils/Optimizer/LeastSquares/LevenbergMarquardt.cpp
DockBio/utilities
213ed5ac2a64886b16d0fee1fcecb34d36eea9e9
[ "BSD-3-Clause" ]
null
null
null
src/Utils/Utils/Optimizer/LeastSquares/LevenbergMarquardt.cpp
DockBio/utilities
213ed5ac2a64886b16d0fee1fcecb34d36eea9e9
[ "BSD-3-Clause" ]
null
null
null
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #include "LevenbergMarquardt.h" #include <Eigen/Dense> #include <unsupported/Eigen/NonLinearOptimizati...
34.234375
114
0.748517
DockBio
fd62bfc933d9c3e56aa94762113b6f80e107d6f5
2,182
cc
C++
codejam/2016/round1B/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codejam/2016/round1B/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codejam/2016/round1B/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>; using lu = unsigned long long; using ...
24.516854
82
0.504125
metaflow
fd63b8fb642c55df7570d013d857ccc936715c9e
64,295
cpp
C++
compiler/util/clangUtil.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/util/clangUtil.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/util/clangUtil.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2004-2017 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is 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 * *...
31.766304
219
0.653052
krishnakeshav
fd63d6164e4ba01eee2a2d2cbaec4be198826867
6,403
cc
C++
chrome/browser/ui/ash/projector/projector_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/ash/projector/projector_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/ash/projector/projector_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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/ui/ash/projector/projector_client_impl.h" #include "ash/constants/ash_features.h" #include "ash/public/cpp/projector/projector_c...
36.380682
81
0.777917
chromium
fd65a275b913fb8299109047f325f9caef81e801
160
cpp
C++
src/examples/01_module/01_output/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-artgonzalezacc
fc87779a7c8aa6fde4def06ff7c2fbf3541a5cd9
[ "MIT" ]
null
null
null
src/examples/01_module/01_output/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-artgonzalezacc
fc87779a7c8aa6fde4def06ff7c2fbf3541a5cd9
[ "MIT" ]
null
null
null
src/examples/01_module/01_output/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-artgonzalezacc
fc87779a7c8aa6fde4def06ff7c2fbf3541a5cd9
[ "MIT" ]
null
null
null
#include "output.h"//use file code that I created #include<iostream>//use standard library using std::cout; int main() { cout<<"Hello World!"; return 0; }
14.545455
49
0.6875
acc-cosc-1337-spring-2020
fd6a3b4000d861cb9ec281e3622d6e5dc9163967
3,023
cpp
C++
modules/task_3/trevogin_k_hoar_tbb/Main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/trevogin_k_hoar_tbb/Main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/trevogin_k_hoar_tbb/Main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
2
2022-03-31T17:48:22.000Z
2022-03-31T18:06:07.000Z
// Copyright 2022 Trevogin Kirill #include <tbb/tbb.h> #include <algorithm> #include <cmath> #include <ctime> #include <iostream> #include <random> #include <utility> #include <vector> #include "../../../modules/task_3/trevogin_k_hoar_tbb/hoar.h" #include "gtest/gtest.h" #define N 100000 TEST(Hoare_Quick_Sort_TBB, Ca...
29.930693
96
0.607344
allnes
fd6b2581413138bd5080f874be9df0cf35e6fb1c
37,123
cc
C++
ThirdParty/webrtc/src/webrtc/modules/audio_processing/audio_processing_impl.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
8
2018-12-27T14:57:13.000Z
2021-04-07T07:03:15.000Z
ThirdParty/webrtc/src/webrtc/modules/audio_processing/audio_processing_impl.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/webrtc/modules/audio_processing/audio_processing_impl.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.000Z
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
34.373148
84
0.679309
JokeJoe8806
fd6d5010db5327ded31a87d1913a84624e0e7282
12,911
cpp
C++
lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
iotamudelta/hcc-clang-upgrade
5c47459ff44167287070644415ecc4d1bf705aa4
[ "Apache-2.0" ]
158
2015-01-01T15:56:38.000Z
2022-02-15T19:27:40.000Z
lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
iotamudelta/hcc-clang-upgrade
5c47459ff44167287070644415ecc4d1bf705aa4
[ "Apache-2.0" ]
497
2017-04-04T14:22:22.000Z
2020-03-10T14:12:27.000Z
lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
iotamudelta/hcc-clang-upgrade
5c47459ff44167287070644415ecc4d1bf705aa4
[ "Apache-2.0" ]
26
2017-04-21T12:51:33.000Z
2019-05-06T13:31:02.000Z
//===--- SarifDiagnostics.cpp - Sarif Diagnostics for Paths -----*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.888571
80
0.646193
iotamudelta
fd6f38712b3dc29d17a87f86edc8d8f16a1b4938
846
cpp
C++
src/lib/Charting.cpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
3
2021-05-13T14:05:21.000Z
2021-05-13T14:05:39.000Z
src/lib/Charting.cpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
null
null
null
src/lib/Charting.cpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
null
null
null
#include "opt-methods/util/Charting.hpp" using namespace Charting; void Charting::addToChart(QtCharts::QChart *chart, QtCharts::QAbstractSeries *s) { s->setUseOpenGL(); chart->addSeries(s); s->attachAxis(axisX(chart)); s->attachAxis(axisY(chart)); } qreal Charting::getAxisRange(QtCharts::QValueAxis *axis) { retu...
25.636364
94
0.712766
kp2pml30
fd7186dc43a9c6d64be001f6b105453320532cd5
2,200
inl
C++
TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // // $Id: EC_ProxySupplier.inl 77001 2007-02-12 07:54:49Z johnnyw $ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void TAO_EC_ProxyPushSupplier::suspend_connection_i (void) { this->suspended_ = 1; } ACE_INLINE void TAO_EC_ProxyPushSupplier::suspend_connection_locked (void) { ACE_GUARD_THROW_EX ( ...
23.404255
79
0.749091
cflowe
fd728e771c59ecfe46e03ea25061b9de7d356cc2
827
cpp
C++
sem2/sda/Laborator4/Lab4/Lab4/Lab4/TestScurt.cpp
itsbratu/bachelor
b3bcae07fc8297fb0557a4bf752b20c6104c2563
[ "MIT" ]
null
null
null
sem2/sda/Laborator4/Lab4/Lab4/Lab4/TestScurt.cpp
itsbratu/bachelor
b3bcae07fc8297fb0557a4bf752b20c6104c2563
[ "MIT" ]
null
null
null
sem2/sda/Laborator4/Lab4/Lab4/Lab4/TestScurt.cpp
itsbratu/bachelor
b3bcae07fc8297fb0557a4bf752b20c6104c2563
[ "MIT" ]
null
null
null
#include <assert.h> #include "DO.h" #include "Iterator.h" #include <exception> using namespace std; bool relatie1(TCheie cheie1, TCheie cheie2) { if (cheie1 <= cheie2) { return true; } else { return false; } } void testAll() { DO dictOrd = DO(relatie1); assert(dictOrd.dim() =...
20.675
46
0.571947
itsbratu
fd7346af94f38b65d71e77985c6fc30d0c1a0b07
1,315
cpp
C++
src/util/game_loop.cpp
Paul-Hubert/vulkan_sdf_marcher
3905c3d41f534de6e4144ebc60c38a18bc6a1cb3
[ "MIT" ]
1
2021-11-26T05:00:32.000Z
2021-11-26T05:00:32.000Z
src/util/game_loop.cpp
Paul-Hubert/vulkan_sdf_marcher
3905c3d41f534de6e4144ebc60c38a18bc6a1cb3
[ "MIT" ]
null
null
null
src/util/game_loop.cpp
Paul-Hubert/vulkan_sdf_marcher
3905c3d41f534de6e4144ebc60c38a18bc6a1cb3
[ "MIT" ]
null
null
null
#include "game_loop.h" #include <chrono> #include <thread> #include <iostream> using namespace std::chrono_literals; // we use a fixed timestep of 1 / (60 fps) = 16 milliseconds constexpr std::chrono::nanoseconds timestep(16666666ns); void GameLoop::run(std::function<void(float)> update) { using clock = st...
25.288462
107
0.614449
Paul-Hubert
fd74d7a645e78d29cffcd3b134de025abd4490d2
1,348
cpp
C++
VSProject/LeetCodeSol/Src/MergeTwoSortedListsSolution.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/MergeTwoSortedListsSolution.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/MergeTwoSortedListsSolution.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
/******************************************************************************************* * @file MergeTwoSortedListsSolution.cpp 2015\12\7 18:00:31 $ * @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试) * @note LeetCode No.21 Merge Two Sorted Lists *****************************************...
28.680851
94
0.396884
wangxiaotao1980
fd76422330862fd1ee98feb18e6f9351912ecdac
2,194
cc
C++
asylo/platform/common/debug_strings_test.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
1
2019-01-13T21:39:32.000Z
2019-01-13T21:39:32.000Z
asylo/platform/common/debug_strings_test.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
null
null
null
asylo/platform/common/debug_strings_test.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
1
2019-01-02T22:04:21.000Z
2019-01-02T22:04:21.000Z
/* * * Copyright 2018 Asylo authors * * 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 agree...
29.253333
75
0.690064
kevin405
fd77e307f7ff4ebbe739acd4ba3d54542df12a31
3,411
cpp
C++
firmware/lib/LFO.cpp
JordanAceto/whooshy_sound
29056707c27413bac8fc56eed32da390e117dc4f
[ "CC-BY-4.0", "MIT" ]
null
null
null
firmware/lib/LFO.cpp
JordanAceto/whooshy_sound
29056707c27413bac8fc56eed32da390e117dc4f
[ "CC-BY-4.0", "MIT" ]
6
2021-07-13T22:25:55.000Z
2022-01-16T15:16:09.000Z
firmware/lib/LFO.cpp
JordanAceto/whooshy_sound
29056707c27413bac8fc56eed32da390e117dc4f
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "LFO.hpp" #include "lookup_tables.hpp" #include "PRNG.hpp" #include "wave_scanner.hpp" LFO::LFO(uint32_t sample_rate) : sample_rate(sample_rate) {} void LFO::tick(void) { phase_accumulator += tuning_word; updateWaveshapes(); } void LFO::setInput(Input_t input_type, int value) { input[input_type]...
28.90678
143
0.703313
JordanAceto
fd78343ffbeccb87480e5cc38f8119a8a2678c4e
13,674
cc
C++
be/src/util/memory-metrics.cc
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
be/src/util/memory-metrics.cc
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
be/src/util/memory-metrics.cc
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
45.128713
90
0.762835
kexianda
fd788cf6029b78c1e8987ddba8568ed05cc64ddd
353
cpp
C++
source/realtimertfilters/realtimertfilters-app/sources/renderpasses/Renderpass.cpp
Realtime-RT-Filters/Realtime-RT-Filters
aa4d44d9f2bbc795bea63358c246fb94465bdde2
[ "Zlib", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
source/realtimertfilters/realtimertfilters-app/sources/renderpasses/Renderpass.cpp
Realtime-RT-Filters/Realtime-RT-Filters
aa4d44d9f2bbc795bea63358c246fb94465bdde2
[ "Zlib", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
source/realtimertfilters/realtimertfilters-app/sources/renderpasses/Renderpass.cpp
Realtime-RT-Filters/Realtime-RT-Filters
aa4d44d9f2bbc795bea63358c246fb94465bdde2
[ "Zlib", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
#include "../../headers/renderpasses/Renderpass.hpp" #include "../../headers/RTFilterDemo.hpp" namespace rtf { void Renderpass::setRtFilterDemo(RTFilterDemo* rtFilterDemo) { m_rtFilterDemo = rtFilterDemo; m_vulkanDevice = rtFilterDemo->vulkanDevice; m_attachmentManager = rtFilterDemo->m_attachmentManager; m_...
27.153846
61
0.773371
Realtime-RT-Filters
fd79063c1974456a021f9436ca1fce5b5a36dc50
2,664
cpp
C++
src/compiler/trainingdeps.cpp
petabricks/petabricks
b498b93880b0c4ac3924ddb82cff2e6541e60bd1
[ "MIT" ]
10
2015-03-12T18:09:57.000Z
2022-03-17T03:18:36.000Z
src/compiler/trainingdeps.cpp
petabricks/petabricks
b498b93880b0c4ac3924ddb82cff2e6541e60bd1
[ "MIT" ]
2
2021-01-12T15:12:21.000Z
2022-03-22T07:47:37.000Z
src/compiler/trainingdeps.cpp
petabricks/petabricks
b498b93880b0c4ac3924ddb82cff2e6541e60bd1
[ "MIT" ]
3
2017-06-28T06:01:03.000Z
2021-01-12T15:05:34.000Z
/***************************************************************************** * Copyright (C) 2008-2011 Massachusetts Institute of Technology * * * * Permission is hereby granted, free of charge, to any person obtaining * * ...
56.680851
86
0.482357
petabricks
fd7bbf7288a28fe0bf676a99f0b27cdf30f4f90b
458
cpp
C++
Project-Euler/206 Concealed Square/206temp.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
1
2019-05-20T14:38:05.000Z
2019-05-20T14:38:05.000Z
Project-Euler/206 Concealed Square/206temp.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
Project-Euler/206 Concealed Square/206temp.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { char s[100]; long long int a=138902663,k,l,i=8; while(1) { k=(a*a)/100,i=8; while(k!=0) { if(k%10!=i--) break; k/=100; } if(k==0) break; i=8; a-=6; k=(a*a)/100; while(k!=0) { ...
13.878788
38
0.436681
kishorevarma369
fd81e819085ab0decd461d03c01c838a95c9dfe8
9,537
cpp
C++
renderers/samplerrenderer.cpp
cathook/rendering_final_proj
d0c147b563d6949839983bf38317c81367e2ed4c
[ "BSD-2-Clause" ]
null
null
null
renderers/samplerrenderer.cpp
cathook/rendering_final_proj
d0c147b563d6949839983bf38317c81367e2ed4c
[ "BSD-2-Clause" ]
null
null
null
renderers/samplerrenderer.cpp
cathook/rendering_final_proj
d0c147b563d6949839983bf38317c81367e2ed4c
[ "BSD-2-Clause" ]
null
null
null
/* pbrt source code Copyright(c) 1998-2012 Matt Pharr and Greg Humphreys. This file is part of pbrt. 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...
36.965116
88
0.59893
cathook
fd823c10c00187180754b42fdfd38d4b830d51b6
46
cpp
C++
TEST/src/TestLaunch.cpp
Morderaccman/Test
31cd84e8994646851f89df7902acc97a9bf46692
[ "Apache-2.0" ]
null
null
null
TEST/src/TestLaunch.cpp
Morderaccman/Test
31cd84e8994646851f89df7902acc97a9bf46692
[ "Apache-2.0" ]
null
null
null
TEST/src/TestLaunch.cpp
Morderaccman/Test
31cd84e8994646851f89df7902acc97a9bf46692
[ "Apache-2.0" ]
null
null
null
#include "i4pch.h" #include "WinShipLinker.h"
15.333333
26
0.73913
Morderaccman
fd82721bbcfe09dafba648adedc4e83c294ba339
1,104
cpp
C++
lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
765
2015-12-03T16:44:59.000Z
2022-03-07T12:41:10.000Z
lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
1,815
2015-12-11T23:56:05.000Z
2020-01-10T19:28:43.000Z
lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
284
2015-12-03T16:47:25.000Z
2022-03-12T05:39:48.000Z
//===-- NativeRegisterContextWindows.cpp ------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.068966
80
0.709239
dan-zheng
fd82822ceda3c10b211ff37a2f4cd7288f84a933
7,876
cpp
C++
Programs/ColladaConverter/Collada15/FCollada/FColladaTest/FCTestParameters.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ColladaConverter/Collada15/FCollada/FColladaTest/FCTestParameters.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ColladaConverter/Collada15/FCollada/FColladaTest/FCTestParameters.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FUtils/FUParameter.h" #include "FCDocument/FCDocument.h" #include "FCD...
37.865385
118
0.727908
stinvi
fd83ced9c176abbafd7511bd6a4af163693e3418
283
hpp
C++
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonWindowFactoryManager.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
257
2020-01-03T10:13:29.000Z
2022-03-26T14:55:12.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonWindowFactoryManager.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
116
2020-01-09T18:13:13.000Z
2022-03-15T18:32:02.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonWindowFactoryManager.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
58
2020-01-09T03:07:02.000Z
2022-03-22T17:21:36.000Z
// This file has been generated by Py++. #ifndef SingletonWindowFactoryManager_hpp__pyplusplus_wrapper #define SingletonWindowFactoryManager_hpp__pyplusplus_wrapper void register_SingletonWindowFactoryManager_class(); #endif//SingletonWindowFactoryManager_hpp__pyplusplus_wrapper
31.444444
61
0.890459
OpenTechEngine-Libraries
fd885f2679731563b14d5b0e66942c9569b81c0b
1,009
hpp
C++
stan/math/prim/fun/inverse.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-05-18T13:10:50.000Z
2020-05-18T13:10:50.000Z
stan/math/prim/fun/inverse.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
2
2019-07-23T12:45:30.000Z
2020-05-01T20:43:03.000Z
stan/math/prim/fun/inverse.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifndef STAN_MATH_PRIM_FUN_INVERSE_HPP #define STAN_MATH_PRIM_FUN_INVERSE_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/Eigen.hpp> namespace stan { namespace math { /** * Returns the inverse of the specified matrix. * * @tparam T type of elements in the matr...
25.871795
77
0.698712
LaudateCorpus1
fd89614e4a1f4d53cdb77144c91da2d3c147a1ec
750
cpp
C++
Testing/Arrays/ArrayCat.cpp
Psy-Rat/FPTL
f3e1f560efa0c67ce62e673a8e142bc4df837a6e
[ "MIT" ]
5
2019-11-21T23:14:00.000Z
2021-02-03T15:39:30.000Z
Testing/Arrays/ArrayCat.cpp
Psy-Rat/FPTL
f3e1f560efa0c67ce62e673a8e142bc4df837a6e
[ "MIT" ]
null
null
null
Testing/Arrays/ArrayCat.cpp
Psy-Rat/FPTL
f3e1f560efa0c67ce62e673a8e142bc4df837a6e
[ "MIT" ]
4
2020-02-23T22:38:04.000Z
2021-02-05T16:59:31.000Z
#include "../Shared.h" namespace UnitTests { namespace Arrays { TEST(ArrayCat, One) { const std::string innerCode = "@ = (((3 * 1).arrayCreate * 1 * 2).arraySet * 2 * 3).arraySet.(id * arrayCat).(print * ([-1] * 0 * 0).arraySet.print * print);"; const std::string expected = "[1, 2, 3]"; GeneralizedTes...
25.862069
162
0.6
Psy-Rat
fd89f6d824ab982c0dfb7108248aec3f088e6f18
870
cpp
C++
coast/modules/Renderer/CeilingRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/CeilingRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/Renderer/CeilingRenderer.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
28.064516
102
0.666667
zer0infinity
fd8c072a378d048aecb14aba47c62234aab215fc
12,784
cpp
C++
tf2_src/game/client/tf/vgui/select_player_dialog.cpp
d3fc0n6/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/client/tf/vgui/select_player_dialog.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/client/tf/vgui/select_player_dialog.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include <vgui/ILocalize.h> #include "vgui_controls/TextEntry.h" #include "select_player_dialog.h" #include "tf_controls.h...
28.599553
149
0.586045
d3fc0n6
fd8f62263a6b544ba6ec739cdb6ee84623310cbc
35,174
cpp
C++
Source/driver/Castro_setup.cpp
taehoryu/Castro
223c72c993343ba5df84613d058ffb0767c2a7c9
[ "BSD-3-Clause-LBNL" ]
1
2019-06-05T19:23:47.000Z
2019-06-05T19:23:47.000Z
Source/driver/Castro_setup.cpp
taehoryu/Castro
223c72c993343ba5df84613d058ffb0767c2a7c9
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/driver/Castro_setup.cpp
taehoryu/Castro
223c72c993343ba5df84613d058ffb0767c2a7c9
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <cstdio> #include "AMReX_LevelBld.H" #include <AMReX_ParmParse.H> #include "Castro.H" #include "Castro_F.H" #ifdef AMREX_DIMENSION_AGNOSTIC #include "Castro_bc_fill_nd_F.H" #include "Castro_bc_fill_nd.H" #else #include "Castro_bc_fill_F.H" #include "Castro_bc_fill.H" #endif #include "Castro_generic_fill_F.H" ...
30.218213
125
0.682948
taehoryu
fd950068b66f62a9cda8be91187ffc09d07c0317
347
cpp
C++
SDK/MISC/sprites.cpp
playday3008/hack-cs-1.6-eV0L
40bdc3ef0fbe4d14a24939417efed6df58efe856
[ "MIT" ]
5
2020-05-02T17:29:32.000Z
2021-09-20T19:19:15.000Z
SDK/MISC/sprites.cpp
playday3008/hack-cs-1.6-eV0L
40bdc3ef0fbe4d14a24939417efed6df58efe856
[ "MIT" ]
null
null
null
SDK/MISC/sprites.cpp
playday3008/hack-cs-1.6-eV0L
40bdc3ef0fbe4d14a24939417efed6df58efe856
[ "MIT" ]
3
2020-05-02T19:03:48.000Z
2021-09-22T03:44:22.000Z
#include <windows.h> #define MAX_SPRITES 500 static char * sprites[MAX_SPRITES]; void add_sprite (int id, const char * sprite) { if ( id >= 0 && id < MAX_SPRITES ) sprites[id] = _strdup(sprite); } const char * sprite_lookup (int id) { if ( id >= 0 && id < MAX_SPRITES && sprites[id] ) return sprites[id]; e...
15.086957
50
0.642651
playday3008
fd959e3560b430d01b109c088e8fdc86c2af665d
324
cpp
C++
atcoder.jp/abc171/abc171_b/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc171/abc171_b/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc171/abc171_b/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n, k; cin >> n >> k; vector<int> p(n); for (int i = 0; i < n; i++) { cin >> p.at(i); } sort(p.begin(), p.end()); int ans = 0; for (int i = 0; i < k; i++) { ans += p.at(i); } cout << ans << endl...
16.2
31
0.398148
shikij1
fd9608a96dc28699a5f4d4a75a9407d3b75524cc
1,057
cpp
C++
code/osx_clipboard.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/osx_clipboard.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/osx_clipboard.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
/* File: osx_clipboard.cpp Author: Taylor Robbins Date: 10\07\2017 Description: ** Holds the functions that handle interfacing with the OSX clipboard #included from osx_main.cpp */ // +==============================+ // | OSX_CopyToClipboard | // +==============================+ // void OSX_CopyToClip...
25.780488
76
0.645222
robbitay
fd96c243bab575938e03e880d4e9e4aed91aa768
35
cpp
C++
tests/syntax/bad/testfile-keyword1-1.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
tests/syntax/bad/testfile-keyword1-1.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
tests/syntax/bad/testfile-keyword1-1.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
void m() { fora (i = 0; 1; i++); }
17.5
34
0.371429
xuedong
fd970f34f194556769ef7690cc14f1031e52ea60
2,182
cpp
C++
input-output_example_gen/bench/stencil_tiled.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
input-output_example_gen/bench/stencil_tiled.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
input-output_example_gen/bench/stencil_tiled.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
#include "./utility/rt.h" int DIM_SIZE; int TILE_SIZE; void stencil_trace(int *a, int *b, unsigned int dim_size, unsigned int tile_size) { vector<int> idx; for (int i = 1; i < dim_size+1 ; i += tile_size) { for (int j = 1; j < dim_size+1; j += tile_size) { for (int i_til...
34.09375
260
0.502291
dongchen-coder
fd9a2aa2b476753aee013574d07f04915d3804f9
18,463
cpp
C++
lib/offline/OfflineStorageHandler.cpp
lulululululu/cpp_client_telemetry
211acc586225d3f030fbf8bee016c4ab48e1c96a
[ "Apache-2.0" ]
null
null
null
lib/offline/OfflineStorageHandler.cpp
lulululululu/cpp_client_telemetry
211acc586225d3f030fbf8bee016c4ab48e1c96a
[ "Apache-2.0" ]
1
2021-03-03T11:37:10.000Z
2021-03-03T11:37:10.000Z
lib/offline/OfflineStorageHandler.cpp
isabella232/cpp_client_telemetry
46a7d65089799c216207ae4758980158affced47
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2015-2020 Microsoft Corporation and Contributors. // SPDX-License-Identifier: Apache-2.0 // #include "OfflineStorageHandler.hpp" #include "OfflineStorageFactory.hpp" #include "offline/MemoryStorage.hpp" #include "ILogManager.hpp" #include <algorithm> #include <numeric> #include <set> namespace M...
34.51028
172
0.612901
lulululululu
fd9b63a2ff034bce7550b1d9c585059b7a485831
1,357
cpp
C++
examples/sound/metering.cpp
AlloSphere-Research-Group/al_lib
94d23fe71b79d3464a658f16ca34c2040e6d7334
[ "BSD-3-Clause" ]
26
2018-11-05T23:29:43.000Z
2022-03-17T18:16:49.000Z
examples/sound/metering.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
41
2018-01-19T18:34:41.000Z
2022-01-27T23:52:01.000Z
examples/sound/metering.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
11
2018-01-05T16:42:19.000Z
2022-01-27T22:08:01.000Z
// OutputMaster example // By Andrés Cabrera mantaraya36@gmail.com // July 2018 #include <iostream> #include "al/app/al_App.hpp" #include "al/graphics/al_Shapes.hpp" // This example shows a simple input level meter using namespace al; struct MyApp : public App { float *meterValues; void onCreate() override { ...
23
79
0.580693
AlloSphere-Research-Group
fd9bac4ea6c171531547acca5321b589e4b835f5
331
hpp
C++
include/lua_blt_debug.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
include/lua_blt_debug.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
include/lua_blt_debug.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_BLT_LUA_BLT_DEBUG_HPP_ #define BE_BLT_LUA_BLT_DEBUG_HPP_ #include <lua/lua.h> #include <lua/lauxlib.h> namespace be::belua { /////////////////////////////////////////////////////////////////////////////// int open_blt_debug(lua_State* L); extern const luaL_Reg blt_debug_module; } // be::bel...
18.388889
79
0.586103
magicmoremagic
fd9c2ba127d918e8af4c838a2055f606c87b22f5
3,133
cpp
C++
main_d1/editor/kcurve.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
22
2019-08-19T21:09:29.000Z
2022-03-25T23:19:15.000Z
main_d1/editor/kcurve.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
6
2019-11-08T22:17:03.000Z
2022-03-10T05:02:59.000Z
main_d1/editor/kcurve.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
6
2019-08-24T08:03:14.000Z
2022-02-04T15:04:52.000Z
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
23.734848
94
0.691031
ziplantil
fd9c65cff4c22e9600b1a2369c1c0ef5af326a73
2,822
cpp
C++
Components/Paging/src/OgrePageContentCollection.cpp
rjdgtn/OgreCPPBuilder
1d3fa5874e54da9c19f4fe9fd128fcda19285b5e
[ "MIT" ]
108
2015-01-23T01:43:56.000Z
2021-12-23T07:00:48.000Z
Components/Paging/src/OgrePageContentCollection.cpp
venscn/ogre
069a43c4c4fcb5264c995fca65a28acd3154b230
[ "MIT" ]
2
2016-03-05T14:40:20.000Z
2017-02-20T11:33:51.000Z
Components/Paging/src/OgrePageContentCollection.cpp
venscn/ogre
069a43c4c4fcb5264c995fca65a28acd3154b230
[ "MIT" ]
92
2015-01-13T08:57:11.000Z
2021-09-19T05:20:55.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
38.135135
89
0.600283
rjdgtn
fd9f3b0459849abb0072bd7323eb50d492d7fdee
14,122
cpp
C++
src/joystick_node.cpp
SS47816/lgsvl-utils
ec8d03b228d270c3485be0badea48f81c405c058
[ "MIT" ]
3
2022-01-13T12:39:11.000Z
2022-03-31T01:48:41.000Z
src/joystick_node.cpp
SS47816/lgsvl-utils
ec8d03b228d270c3485be0badea48f81c405c058
[ "MIT" ]
1
2021-12-07T15:29:26.000Z
2021-12-07T15:29:26.000Z
src/joystick_node.cpp
SS47816/lgsvl_utils
ec8d03b228d270c3485be0badea48f81c405c058
[ "MIT" ]
null
null
null
/* joystick_node.cpp * Copyright (C) 2021 SS47816 * ROS Node for controlling the vehicle using joysticks **/ #include <math.h> #include <ros/ros.h> #include <ros/console.h> #include <std_msgs/String.h> #include <sensor_msgs/Joy.h> #include <lgsvl_msgs/VehicleControlData.h> #include <lgsvl_msgs/VehicleStateData.h...
36.585492
145
0.714559
SS47816
fd9f677956fdd04c41a4c5bc69eebff87eeb6257
3,156
hpp
C++
includes/sigma-male-algorithm.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/sigma-male-algorithm.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/sigma-male-algorithm.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
#pragma once #include "matrix.hpp" #include "max-or-inf.hpp" #include "global-greedy.hpp" #include "edge.hpp" #include "print-info.hpp" #include "k-opt.hpp" #include <unordered_set> #include <random> #include <iostream> #include <cmath> template<typename T> class Sigma_Male { public: Sigma_Male(uint32_t seed, double ...
32.204082
113
0.66033
TheLandfill
fd9f7924ebf04332cf47b9b218a81f138e03bb0e
2,920
hpp
C++
ble-cpp/src/impl/StatusInitializerStub.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
8
2016-06-13T20:47:18.000Z
2021-12-22T17:29:32.000Z
ble-cpp/src/impl/StatusInitializerStub.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-03-14T07:00:04.000Z
2019-05-07T18:20:15.000Z
ble-cpp/src/impl/StatusInitializerStub.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-02-03T07:41:00.000Z
2019-09-11T10:03:48.000Z
/******************************************************************************* * Copyright (c) 2014, 2015 IBM Corporation and others * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software ...
37.922078
81
0.561986
harsh-agarwal
fd9fa1cb52f4650aa6bc9139634f2be98da4524b
706
cpp
C++
Music/Chou/OnKai/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Music/Chou/OnKai/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Music/Chou/OnKai/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Music/Chou/OnKai/a.cpp #include "../../Header.hpp" #include "a_Body.hpp" #include "../../../Error/FaultInCoding/a.hpp" const PitchClass& OnKai::PitchClassTable( const KaiMei& num ) const noexcept { const PitchClass* p_Table[7] = { &m_I , &m_II ...
22.774194
85
0.580737
p-adic
fda09761de2f2d8eaf5a45aad594e469001f8e07
2,320
cpp
C++
examples/timer-test/timer-test.cpp
Godzil/32blit-beta
1e829fc70fff8b83775b8f57894819b5c86cde40
[ "MIT" ]
1
2019-11-28T17:11:04.000Z
2019-11-28T17:11:04.000Z
examples/timer-test/timer-test.cpp
Godzil/32blit-beta
1e829fc70fff8b83775b8f57894819b5c86cde40
[ "MIT" ]
null
null
null
examples/timer-test/timer-test.cpp
Godzil/32blit-beta
1e829fc70fff8b83775b8f57894819b5c86cde40
[ "MIT" ]
null
null
null
#include <string> #include <string.h> #include <memory> #include <cstdlib> #include "timer-test.hpp" /* TODO: This example is really dry, how can we make it awesome? Without making it so complicated that it fails to elucidate its point. */ using namespace blit; const uint16_t screen_width = 320; cons...
29.74359
78
0.646983
Godzil
fda1d5ce2c84d7bc8d28f9369623e7ed5f1a1fd9
983
cpp
C++
C++/minimum-absolute-sum-difference.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/minimum-absolute-sum-difference.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/minimum-absolute-sum-difference.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(nlogn) // Space: O(n) class Solution { public: int minAbsoluteSumDiff(vector<int>& nums1, vector<int>& nums2) { static const int MOD = 1e9 + 7; vector<int> sorted_nums1(cbegin(nums1), cend(nums1)); sort(begin(sorted_nums1), end(sorted_nums1)); int result = 0, max_change...
33.896552
93
0.513733
Priyansh2
fda2321fad5286503ca80c58a301c01a2e4d797d
2,258
cpp
C++
src/Core/Utils/Attribs.cpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
78
2017-12-01T12:23:22.000Z
2022-03-31T05:08:09.000Z
src/Core/Utils/Attribs.cpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
527
2017-09-25T13:05:32.000Z
2022-03-31T18:47:44.000Z
src/Core/Utils/Attribs.cpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
48
2018-01-04T22:08:08.000Z
2022-03-03T08:13:41.000Z
#include <Core/Types.hpp> #include <Core/Utils/Attribs.hpp> #include <Core/Utils/Log.hpp> namespace Ra { namespace Core { namespace Utils { AttribBase::~AttribBase() { notify(); } template <> size_t Attrib<float>::getElementSize() const { return 1; } template <> size_t Attrib<double>::getElementSize() const...
27.876543
95
0.564659
Yasoo31
fda45ab8946115d46903b347808c6f73083c3ed5
521
cpp
C++
libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
27.421053
80
0.474088
medismailben
fda6887ac89caed203cb87e0564c5addc3e98af8
5,654
cpp
C++
dep/include/yse/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
8
2016-04-14T17:17:07.000Z
2021-12-06T06:49:28.000Z
dep/include/yse/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
dep/include/yse/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2019-06-13T10:01:32.000Z
2021-11-19T18:53:52.000Z
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 Details of these ...
30.562162
102
0.616732
ChrSacher
fda8bca1f11fd4555be3bb77310f663474672c39
3,155
cc
C++
polardb/src/model/DescribeDatabasesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
polardb/src/model/DescribeDatabasesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
polardb/src/model/DescribeDatabasesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * 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...
39.4375
107
0.784152
iamzken