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
ecb2f1f7e91ba6250416afd08b898fecd446b16d
976
hpp
C++
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2013 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2011 - 2013 MetaScale SAS // // Distributed under the Boost...
34.857143
80
0.589139
psiha
ecb5e50f93c23a2ac398624e7e4981e9b03cd969
870
cpp
C++
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 35 - Search Insert Position // // Created by ynfMac on 2019/6/26. // Copyright © 2019 ynfMac. All rights reserved. // 直接一趟循环根据值的大小进行比较 时间复杂度0(n),空间复杂度0(1) #include <iostream> #include <vector> using namespace std; class Solution { public: int searchInsert(vector<int> &nums, int target){ ...
22.307692
82
0.527586
xiaoswu
ecb614bb5b5b4c7eb17bc821097e521b2f269ca6
5,581
cpp
C++
masternetwork/src/CNetworkServerDispatcher.cpp
wen96/pl-man2
b861fd8adaf28b81747d09934c6437cbb259370b
[ "MIT" ]
null
null
null
masternetwork/src/CNetworkServerDispatcher.cpp
wen96/pl-man2
b861fd8adaf28b81747d09934c6437cbb259370b
[ "MIT" ]
null
null
null
masternetwork/src/CNetworkServerDispatcher.cpp
wen96/pl-man2
b861fd8adaf28b81747d09934c6437cbb259370b
[ "MIT" ]
null
null
null
#include "CNetworkServerDispatcher.h" #include "CNetworkServer.h" #include "CLog.h" #include <boost/tokenizer.hpp> #include <vector> #include <string> /////////////////////////////////////////////////////////////////////////////// /// \brief Constructs a dispatcher ////////////////////////////////////////////////////...
41.036765
101
0.513349
wen96
ecb7cdd7ad53e6af535e621ea31f62896778ada6
5,553
cpp
C++
AIR-ARR/Sterowanie Procesami Dyskretnymi/zad3/schrageP.cpp
superdyzio/PWR-Stuff
942dfd72e4fa987f80b0de185c4a3086d98b4e3f
[ "MIT" ]
null
null
null
AIR-ARR/Sterowanie Procesami Dyskretnymi/zad3/schrageP.cpp
superdyzio/PWR-Stuff
942dfd72e4fa987f80b0de185c4a3086d98b4e3f
[ "MIT" ]
null
null
null
AIR-ARR/Sterowanie Procesami Dyskretnymi/zad3/schrageP.cpp
superdyzio/PWR-Stuff
942dfd72e4fa987f80b0de185c4a3086d98b4e3f
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cstdlib> #include <algorithm> #include <queue> using namespace std; /* Dane wczytywane z pliku: n - ilosc zadan r - termin dostepnosci p - czas obslugi q - czas dostarczenia */ /* Klasa modelujaca obiekt zadania, przechowuje informa...
34.067485
138
0.684495
superdyzio
ecb9f8b871cb80450f3b630bc3e2a179131d0ab7
1,358
cpp
C++
core_cs/oops/this_pointer.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
core_cs/oops/this_pointer.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
core_cs/oops/this_pointer.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
/** * # 'This' keyword is a OBJECT POINTER present inside the INSTANCE_MEMBER FUNCTION * block of a CLASS and it stores the ADDRESS of CALLER OBJECT. * * # It's value cannot be modified. * * # USES : * -> used to refer current class instance variable / When local variable’s...
25.622642
114
0.550074
saurabhraj042
ecbc4541f6813bc33e67ac719e11c9c07ffaf3d1
26,548
hpp
C++
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
30.065685
126
0.587314
CoSoSys
ecbd15614ef0aa02f46c5999ffbfdc4c5c42b2c0
2,214
cc
C++
components/search_engines/search_engine_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/search_engines/search_engine_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/search_engines/search_engine_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "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 2020 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 "components/search_engines/search_engine_utils.h" #include "components/google/core/common/google_util.h" #include "components/search_engines/pre...
36.295082
80
0.687895
zealoussnow
ecbdfe3f0f1287fd1898c2c9ba9aabc993737a48
44,559
cpp
C++
proto/frontend/src/action_prof_mgr.cpp
mkruskal-google/PI
13ed62a036f580fc0f66691bf630d4dd8727847a
[ "Apache-2.0" ]
149
2017-02-06T00:10:06.000Z
2022-03-15T20:40:00.000Z
proto/frontend/src/action_prof_mgr.cpp
mkruskal-google/PI
13ed62a036f580fc0f66691bf630d4dd8727847a
[ "Apache-2.0" ]
286
2017-02-02T01:10:30.000Z
2022-03-26T12:19:31.000Z
proto/frontend/src/action_prof_mgr.cpp
mkruskal-google/PI
13ed62a036f580fc0f66691bf630d4dd8727847a
[ "Apache-2.0" ]
116
2017-02-13T17:42:37.000Z
2022-03-18T01:41:15.000Z
/* Copyright 2013-present Barefoot Networks, Inc. * Copyright 2021 VMware, 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 * * U...
35.03066
80
0.684418
mkruskal-google
ecbf9a007dae66655d2b6fc0fd6d6a53cca02466
1,700
hpp
C++
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
#if !defined MOUSE #define MOUSE #include "Entity.hpp" #include "Utils.hpp" #include "Text.hpp" #include "Shape.hpp" struct Mouse : public Entity{ bool must_draw = true; int must_draw_cooldown = 500; glm::vec3 color_on_left_click = {0.2f, 1.0f, 0.2f}; glm::vec3 color_on_right_click = {1.0f, 0.0f, 0.5f...
32.692308
110
0.620588
LBBassani
ecc28e407798b2a29d4e849dd71c8c8330af54d1
1,059
hpp
C++
lib/compiler/CodeGen/PassManager.hpp
bzcheeseman/tyr
66cb174452fe01d1459e7cc8f325b4878c9a868d
[ "Apache-2.0" ]
1
2019-02-18T21:04:21.000Z
2019-02-18T21:04:21.000Z
lib/compiler/CodeGen/PassManager.hpp
bzcheeseman/tyr
66cb174452fe01d1459e7cc8f325b4878c9a868d
[ "Apache-2.0" ]
null
null
null
lib/compiler/CodeGen/PassManager.hpp
bzcheeseman/tyr
66cb174452fe01d1459e7cc8f325b4878c9a868d
[ "Apache-2.0" ]
null
null
null
// // Created by Aman LaChapelle on 2019-02-13. // // tyr // Copyright (c) 2019 Aman LaChapelle // Full license at tyr/LICENSE.txt // /* 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 ...
24.068182
76
0.726157
bzcheeseman
ecc46f7bed0c0c55b147b2729576b1f90a14a828
3,920
cpp
C++
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
8
2020-11-22T15:37:30.000Z
2021-11-15T17:10:17.000Z
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
14
2020-11-22T16:24:04.000Z
2022-02-08T03:07:20.000Z
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
1
2021-05-28T14:25:30.000Z
2021-05-28T14:25:30.000Z
/* Copyright (c) 2020 Hirokazu Ishida This software is released under the MIT License, see LICENSE. tinyfk: https://github.com/HiroIshida/tinyfk */ // inefficient methods which will be used only in test #include "tinyfk.hpp" namespace tinyfk { void RobotModel::get_link_point( unsigned int link_id, urdf::Pos...
34.086957
102
0.625
HiroIshida
ecc48c623a40429df44e238a6e077e7bdb028112
1,488
cpp
C++
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
#include <ConfigManager.hpp> void ConfigManager::ReplaceInString( const std::string& replacement, std::string& textStr, std::int64_t start, std::int64_t end ) noexcept { textStr.replace(start, end - start, replacement); } std::string ConfigManager::GetLineFromString( const std::string& textS...
28.075472
83
0.625
razerx100
ecc4b1a6ad94cb9b786721e829c217728a5e6fea
73,612
hpp
C++
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#pragma once // Generated by map_print/map_print2/lane_graph_to_cpp.m // Do not edit #include <vector> /** * \defgroup lane_graph_one_lane Lane Graph With One Lane * \ingroup central_routing * TODO */ /** * \struct LaneGraph * \brief TODO * \ingroup lane_graph_one_lane */ struct LaneGraph { //! TODO c...
261.035461
568
0.687714
Durrrr95
ecca14d8bdb2cbd00f5de7a407c5dc08e73ff5f5
3,233
hpp
C++
src/optimization/solvers/LP/affine/IPM/util.hpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
473
2015-01-11T03:22:11.000Z
2022-03-31T05:28:39.000Z
src/optimization/solvers/LP/affine/IPM/util.hpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
205
2015-01-10T20:33:45.000Z
2021-07-25T14:53:25.000Z
src/optimization/solvers/LP/affine/IPM/util.hpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
109
2015-02-16T14:06:42.000Z
2022-03-23T21:34:26.000Z
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include <El.hpp> #include "../../../QP/affine/IPM/util.h...
29.126126
79
0.710795
pjt1988
ecce2b591bb3292aa6526327f58ae6d28fef08dd
5,627
cpp
C++
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 1997,1998,1999 Kenji Hiranabe, Eiwa System Management, Inc. This program is free software. Implemented by Kenji Hiranabe(hiranabe@esm.co.jp), conforming to the Java(TM) 3D API specification by Sun Microsystems. Permission to use, copy, modify, distribute and sell this software an...
25.811927
78
0.514484
nocnokneo
eccf9559e8abb79ab6561481d5594cdea7ac91bb
500
cpp
C++
CodeForces/Complete/400-499/471A-MUHAndSticks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/400-499/471A-MUHAndSticks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/400-499/471A-MUHAndSticks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> #include <algorithm> int main(){ const int N = 10; const int S = 6; std::vector<int> counts(N,0); for(int p = 0; p < S; p++){int temp; scanf("%d", &temp); ++counts[temp];} std::sort(counts.begin(), counts.end()); if(counts[N - 1] < 4){puts("Alien");} ...
22.727273
77
0.526
Ashwanigupta9125
eccf98c4b906f30bd6d8b9fffa09bea0746e3411
796
cpp
C++
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/valid-perfect-square class Solution { public: bool isPerfectSquare(int num) { if (num <= 1) return true; int lo = 0, hi = num, mid; while (lo <= hi) { mid = lo + (hi - lo) / 2; if (mid == num / mid) { return nu...
25.677419
80
0.400754
nave7693
ecd0d0ddf6f8721bf85d13e43ec8597ca6d7e09f
2,113
cpp
C++
svntrunk/src/BlueMatter/analysis/src/rmsd.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/BlueMatter/analysis/src/rmsd.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/BlueMatter/analysis/src/rmsd.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * 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 * following d...
44.957447
118
0.67203
Bhaskers-Blu-Org1
ecd167dd1a10e156556670a46752492f5cad1834
2,199
cpp
C++
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
531
2016-01-28T21:51:28.000Z
2020-06-23T10:59:52.000Z
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
243
2016-02-11T14:28:01.000Z
2020-06-22T08:53:13.000Z
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
86
2016-02-01T21:49:15.000Z
2020-06-17T14:38:53.000Z
// // Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "boost/di/core/dependency.hpp" #include <type_traits> #include "boost/di/concepts/bou...
31.414286
94
0.694407
szigetics
ecd81106d621631ba3761125eef1e673f913c0b6
1,710
cpp
C++
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
7
2020-09-26T11:18:25.000Z
2021-07-02T15:22:46.000Z
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
#include "retro_collider_component.h" #include "retro_transform_component.h" #include "../retro_entity.h" namespace retro3d { retro_register_component(ColliderComponent) } void retro3d::ColliderComponent::OnSpawn( void ) { m_collider->AttachTransform(GetObject()->AddComponent<retro3d::TransformComponent>()->GetTrans...
23.424658
141
0.759064
SirJonthe
ecd991b42bd8b5ad0933d785b68f171d16ca7c8a
48
cpp
C++
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
#include <iostream> class TCPServerThread { };
9.6
23
0.729167
ulyanyunakh
ece456f097b8e9fa2909b9feeb32882d2683787a
2,031
cpp
C++
test/dump/swdbgbk_src/chap19/verifiee/Bugs.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
39
2015-12-09T09:28:46.000Z
2021-11-16T12:57:25.000Z
test/dump/swdbgbk_src/chap19/verifiee/Bugs.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
1
2020-10-17T02:23:42.000Z
2020-10-17T02:23:42.000Z
test/dump/swdbgbk_src/chap19/verifiee/Bugs.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
8
2018-05-29T12:48:13.000Z
2022-02-27T01:45:57.000Z
// Bugs.cpp: implementation of the CBugs class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "verifiee.h" #include "Bugs.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif typedef void (*PBUG_STOP_ROUTINE)( LP...
23.894118
70
0.618415
oudream
ece7e06c308a4b3c7d799213a8ea4571924a8865
352
cpp
C++
third_party/eigen-eigen-50812b426b7c/build_dir/doc/snippets/compile_Tutorial_AdvancedInitialization_Block.cpp
shishaochen/TensorFlow-0.8-Win
63221dfc4f1a1d064308e632ba12e6a54afe1fd8
[ "Apache-2.0" ]
1
2017-09-14T23:59:05.000Z
2017-09-14T23:59:05.000Z
third_party/eigen-eigen-50812b426b7c/build_dir/doc/snippets/compile_Tutorial_AdvancedInitialization_Block.cpp
shishaochen/TensorFlow-0.8-Win
63221dfc4f1a1d064308e632ba12e6a54afe1fd8
[ "Apache-2.0" ]
1
2016-10-19T02:43:04.000Z
2016-10-31T14:53:06.000Z
third_party/eigen-eigen-50812b426b7c/build_dir/doc/snippets/compile_Tutorial_AdvancedInitialization_Block.cpp
shishaochen/TensorFlow-0.8-Win
63221dfc4f1a1d064308e632ba12e6a54afe1fd8
[ "Apache-2.0" ]
8
2016-10-23T00:50:02.000Z
2019-04-21T11:11:57.000Z
#include <Eigen/Eigen> #include <iostream> #ifndef M_PI #define M_PI 3.1415926535897932384626433832795 #endif using namespace Eigen; using namespace std; int main(int, char**) { cout.precision(3); MatrixXf matA(2, 2); matA << 1, 2, 3, 4; MatrixXf matB(4, 4); matB << matA, matA/10, matA/10, matA; std::cout << ma...
15.304348
46
0.676136
shishaochen
ece7f4a7e5cb99752e68904425f0082d058e531e
11,565
hpp
C++
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
3
2020-05-07T14:38:52.000Z
2021-05-30T09:43:18.000Z
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
1
2021-05-02T13:50:52.000Z
2021-05-03T03:49:51.000Z
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
3
2020-05-07T14:39:07.000Z
2021-05-08T12:15:26.000Z
#ifndef VIENNASHE_SIMULATOR_QUANTITY_HPP #define VIENNASHE_SIMULATOR_QUANTITY_HPP /* ============================================================================ Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
43.477444
187
0.613921
viennashe
ece85c79584b94746d009ef9a4923fa34c7d9fdc
359
hpp
C++
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "soc/efuse_reg.h" #include <esp_spi_flash.h> #include <esp_system.h> #include <rom/rtc.h> class ChipInfo { public: ChipInfo(); uint8_t reason; const char *sdkVersion; uint8_t chipVersion; uint8_t coreCount; uint8_t featureBT; uint8_t featureBLE; uint8_t featureWiFi; bool...
17.95
26
0.738162
mvadu
eceb383e4b2be2f3f61df9f991a1c6f9afc0fcf1
12,610
cc
C++
drivers/bluetooth/lib/hci/low_energy_connector_unittest.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
drivers/bluetooth/lib/hci/low_energy_connector_unittest.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
drivers/bluetooth/lib/hci/low_energy_connector_unittest.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "garnet/drivers/bluetooth/lib/hci/low_energy_connector.h" #include <vector> #include <lib/async/cpp/task.h> #include "garnet/drivers/bluetooth/...
32.005076
80
0.730135
PowerOlive
ecec6e1d1f04529ee1678ea0313eb189403b76e8
86,956
cc
C++
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2009-2017 Centreon ** ** 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 t...
39.651619
98
0.640508
sdelafond
eced2b41a1fadb98a344890f291fe05a679ac219
328
cc
C++
src/listmerger/ondiskmergersimple.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
4
2018-08-23T08:05:33.000Z
2019-06-13T09:23:27.000Z
src/listmerger/ondiskmergersimple.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
src/listmerger/ondiskmergersimple.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
/* $Id: ondiskmergersimple.cc 5149 2010-03-24 23:37:18Z abehm $ Copyright (C) 2010 by The Regents of the University of California Redistribution of this file is permitted under the terms of the BSD license. Date: 09/06/2008 Author: Alexander Behm <abehm (at) ics.uci.edu> */ #include "ondiskmergersi...
23.428571
67
0.716463
mahmoudimus
ecee43b476e6b4bee764fc0bf1a302ca0d3fe4fe
1,224
cpp
C++
test/Feature/LongDouble.cpp
dslab-epfl/state-merging
abe500674ab3013f266836315e9c4ef18d0fb55c
[ "BSD-3-Clause" ]
null
null
null
test/Feature/LongDouble.cpp
dslab-epfl/state-merging
abe500674ab3013f266836315e9c4ef18d0fb55c
[ "BSD-3-Clause" ]
null
null
null
test/Feature/LongDouble.cpp
dslab-epfl/state-merging
abe500674ab3013f266836315e9c4ef18d0fb55c
[ "BSD-3-Clause" ]
null
null
null
// RUN: %llvmgxx -I../../../include -g -fno-exceptions -emit-llvm -O0 -c -o %t.bc %s // RUN: %klee --libc=klee --no-output --exit-on-error %t.bc > %t.log // RUN: grep -q {powl\(-11\\.0,0\)=1\\.0\\+} %t.log // RUN: grep -q {powl\(-11\\.0,1\)=-11\\.0\\+} %t.log // RUN: grep -q {powl\(-11\\.0,2\)=121\\.0\\+} %t.log // RUN...
21.473684
84
0.556373
dslab-epfl
eceed4c584f8276a15e8ef0f6967172637b12367
2,126
cpp
C++
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
#include "tools/logger.hpp" namespace Tool { namespace Logger { Logger::Logger(const char *name) { this->_level = Level::info; this->_logger = spdlog::stdout_color_mt(name); } Level Logger::GetLevel() { return this->_level; } void Log...
27.61039
70
0.465193
dorosch
ecf038ff9286ceb6f810728f1dcebe5989a6b57d
349
cpp
C++
lib/DisplayHandler/Clock.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
lib/DisplayHandler/Clock.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
lib/DisplayHandler/Clock.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
#include "DisplayHandler.hpp" void DisplayHandler::showClock(struct tm timeinfo, int x, int y) { display.setFont(&DejaVuSans_Bold8pt8b); display.setCursor(x, y); display.print("Aktualisierung"); display.setFont(&DejaVuSansMono_Bold24pt8b); display.setCursor(x, y + 45); display.printf("%02d:%02d", timeinfo....
29.083333
65
0.744986
thorsten-l
ecf04da09cd9b98bea8294912bbb7f1190069f21
26,382
cpp
C++
CPU/hybrid_solver.cpp
pc2/n-body-ring-solver
aa871851cd5c22511e4ade98aef67dff4584a980
[ "MIT" ]
null
null
null
CPU/hybrid_solver.cpp
pc2/n-body-ring-solver
aa871851cd5c22511e4ade98aef67dff4584a980
[ "MIT" ]
null
null
null
CPU/hybrid_solver.cpp
pc2/n-body-ring-solver
aa871851cd5c22511e4ade98aef67dff4584a980
[ "MIT" ]
null
null
null
#include "hybrid_solver.h" #include "omp_solver.h" #include "force_calculation.h" #include <stdio.h> #include <string.h> #include <cmath> #include <mpi.h> #include <omp.h> #include <immintrin.h> #include <algorithm> #include <unistd.h> void hybrid_ring_solver(NBody_system& nb_sys, size_t rank, size_t comm_sz, size_t ...
39.494012
209
0.561633
pc2
ecf08cf4a9fd5aa0965edadd8141854102f08c30
278
cpp
C++
fboss/agent/platforms/sai/oss/SaiBcmWedge40PlatformPort.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
834
2015-03-10T18:12:28.000Z
2022-03-31T20:16:17.000Z
fboss/agent/platforms/sai/oss/SaiBcmWedge40PlatformPort.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
82
2015-04-07T08:48:29.000Z
2022-03-11T21:56:58.000Z
fboss/agent/platforms/sai/oss/SaiBcmWedge40PlatformPort.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
296
2015-03-11T03:45:37.000Z
2022-03-14T22:54:22.000Z
// Copyright 2004-present Facebook. All Rights Reserved. #include "fboss/agent/platforms/sai/SaiBcmWedge40PlatformPort.h" namespace facebook::fboss { void SaiBcmWedge40PlatformPort::linkStatusChanged( bool /*up*/, bool /*adminUp*/) {} } // namespace facebook::fboss
23.166667
64
0.744604
nathanawmk
ecf18262ab134ce60c136cd0daa9b44e535fda82
1,925
cpp
C++
gtest/gtest_typed_value_holder.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2019-05-07T15:01:23.000Z
2019-05-07T15:01:23.000Z
gtest/gtest_typed_value_holder.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
gtest/gtest_typed_value_holder.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 Plenluno All rights reserved. #include <gtest/gtest.h> #include <libj/array_list.h> #include <libj/typed_value_holder.h> namespace libj { TEST(GTestTypedValueHolder, TestCreate) { TypedValueHolder<Int>::Ptr h = TypedValueHolder<Int>::create(1); ASSERT_TRUE(!!h); TypedValueHolder<St...
27.112676
70
0.669091
bygreencn
ecf290e7b18cbcea28f6b64fb32d6483a0ece5fb
39,398
cpp
C++
src/third_party/mozjs-38/extract/js/src/builtin/AtomicsObject.cpp
LightBitsLabs/mongo
9480ef00a8df2464457ab0f31c7a336f882e8ec1
[ "Apache-2.0" ]
25
2016-12-07T09:39:51.000Z
2021-12-16T11:17:37.000Z
src/third_party/mozjs-38/extract/js/src/builtin/AtomicsObject.cpp
Man1029/CMONGO
c40380caa14e05509f46993aa8b8da966b09b0b5
[ "ECL-2.0", "Apache-2.0" ]
1
2015-05-29T16:12:10.000Z
2015-05-29T16:12:10.000Z
src/third_party/mozjs-38/extract/js/src/builtin/AtomicsObject.cpp
Man1029/CMONGO
c40380caa14e05509f46993aa8b8da966b09b0b5
[ "ECL-2.0", "Apache-2.0" ]
23
2017-01-22T03:35:26.000Z
2021-12-16T11:17:39.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
30.924647
108
0.615742
LightBitsLabs
ecf36f656d433f8a208c4ffdfb419da1db128921
1,895
cpp
C++
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
27
2015-01-08T08:26:29.000Z
2019-02-10T03:18:05.000Z
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
1
2017-04-05T02:02:14.000Z
2017-04-05T02:02:14.000Z
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
17
2015-01-18T02:50:01.000Z
2019-02-08T21:00:53.000Z
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #include "DialogBuilderSystem.h" #include <ImGuiWidgets/include/Dialog.h> #include "Modules.h" #include "GraphicEngineModule.h" #include ...
31.065574
124
0.709763
RamilGauss
ecf7e1032869cf40ecba51fdd0efa142b9ceded0
801
cpp
C++
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
#include "../../TensorShaderAvxBackend.h" using namespace System; void quaternion_purek(unsigned int length, float* srck_ptr, float* dst_ptr) { for (unsigned int i = 0, j = 0; i < length; i += 4, j++) { dst_ptr[i + 3] = srck_ptr[j]; dst_ptr[i + 0] = dst_ptr[i + 1] = dst_ptr[i + 2] = 0; } } vo...
29.666667
115
0.632959
tk-yoshimura
ecfb696972169ea210b985a5d6e8c01a0241b62e
22,278
hpp
C++
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/async/consumer.hpp" #include "caf/async/producer.hpp" #include...
31.027855
80
0.665589
seewpx
a6043bb22bd8a9000356a8292538a3e938df606c
2,230
cpp
C++
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
1
2020-09-08T00:41:27.000Z
2020-09-08T00:41:27.000Z
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 London Trust Media Incorporated // // This file is part of the Private Internet Access Desktop Client. // // The Private Internet Access Desktop Client 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 Softwa...
30.135135
144
0.687444
realrasengan
a60656126010290ba54d6e86f35a8bb5a4879b24
1,232
cpp
C++
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
#include "Math.h" ////////////////////////////////////////////////// float Distance(point2 a, point2 b) { const float x = b.x - a.x; const float y = b.y - a.y; const float result = sqrtf(x * x + y * y); return result; } void SimpleCompress(float3 &outColor) { outColor.x /= (1.0f + outColor.x); outColor....
21.241379
94
0.54789
Trofimm
a608d597caa2cbf3206638f9f7b64b39b0ea2b5b
126,756
cpp
C++
qt-creator-opensource-src-4.6.1/src/shared/qbs/tests/auto/api/tst_api.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
Src/shared/qbs/tests/auto/api/tst_api.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
null
null
null
Src/shared/qbs/tests/auto/api/tst_api.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use th...
44.25838
106
0.671795
kevinlq
a60d2a708e7227a1088de2ff8435f19075e8f448
3,091
cc
C++
ortools/algorithms/samples/knapsack.cc
sreesubbash/or-tools
701496e45d54fa9938afeedec43089314d93ec11
[ "Apache-2.0" ]
1
2021-03-30T21:10:27.000Z
2021-03-30T21:10:27.000Z
ortools/algorithms/samples/knapsack.cc
sreesubbash/or-tools
701496e45d54fa9938afeedec43089314d93ec11
[ "Apache-2.0" ]
null
null
null
ortools/algorithms/samples/knapsack.cc
sreesubbash/or-tools
701496e45d54fa9938afeedec43089314d93ec11
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2018 Google LLC // 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...
34.730337
78
0.652216
sreesubbash
a60faa62e07e234267904dff854f6d73b2b94088
1,986
cpp
C++
MomentumGame/src/overlays/main/PromptBox.cpp
SimNine/MomentumGame
7e5bc74d5ac8ceae4a20973eaec96f25f6e2b277
[ "MIT" ]
null
null
null
MomentumGame/src/overlays/main/PromptBox.cpp
SimNine/MomentumGame
7e5bc74d5ac8ceae4a20973eaec96f25f6e2b277
[ "MIT" ]
null
null
null
MomentumGame/src/overlays/main/PromptBox.cpp
SimNine/MomentumGame
7e5bc74d5ac8ceae4a20973eaec96f25f6e2b277
[ "MIT" ]
null
null
null
#include "Standard.h" #include "PromptBox.h" #include "Global.h" #include "Resources.h" #include "ResourceLoader.h" #include "GUIButton.h" #include "GUITextbox.h" #include "GUIButtonParamaterized.h" PromptBox::PromptBox(ANCHOR anchor, Coord disp, Coord dims, GUIContainer* parent, std::string prompt, void(*onOk) (Prom...
27.971831
173
0.714502
SimNine
a61091db62aa79303921bd55d2a07e6b1c5078db
3,367
cpp
C++
cpp-pthread/exer06b02-blocking-queue.cpp
thanhit95/multi-threading
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
15
2021-06-15T09:27:35.000Z
2022-03-25T02:01:45.000Z
cpp-pthread/exer06b02-blocking-queue.cpp
thanhit95/multi-threads
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
null
null
null
cpp-pthread/exer06b02-blocking-queue.cpp
thanhit95/multi-threads
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
5
2021-07-15T14:31:33.000Z
2022-03-29T06:19:34.000Z
/* BLOCKING QUEUE IMPLEMENTATION Version B02: General blocking queues Underlying mechanism: Condition variables */ #include <iostream> #include <queue> #include <string> #include <stdexcept> #include <unistd.h> #include <pthread.h> using namespace std; template <typename T> class BlockingQueue { priv...
21.44586
79
0.609742
thanhit95
a6113f8c47cc94222530789c4b5b74d7a913842f
2,963
cpp
C++
unit-tests/algo/thermal-loop/test-table-parsing.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
6,457
2016-01-21T03:56:07.000Z
2022-03-31T11:57:15.000Z
unit-tests/algo/thermal-loop/test-table-parsing.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
8,393
2016-01-21T09:47:28.000Z
2022-03-31T22:21:42.000Z
unit-tests/algo/thermal-loop/test-table-parsing.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
4,874
2016-01-21T09:20:08.000Z
2022-03-31T15:18:00.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. //#cmake:add-file ../../../src/algo/thermal-loop/*.cpp #include "../algo-common.h" #include "create-synthetic-l500-thermal-table.h" #include <src/algo/thermal-loop/l500-thermal-loop.h> using names...
31.860215
80
0.628417
ksvbka
a6114330f56635c56c78b1e16a4dc96bcd5d5c1e
2,436
cc
C++
chromeos/services/assistant/platform/system_provider_impl.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/services/assistant/platform/system_provider_impl.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/services/assistant/platform/system_provider_impl.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2018 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 "chromeos/services/assistant/platform/system_provider_impl.h" #include <utility> #include "base/bind.h" #include "base/strings/string_util.h" #...
33.369863
78
0.767652
mghgroup
a619762b9d75c219320ef47e604702d07c1bab2f
1,584
cpp
C++
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
3
2022-03-28T07:40:37.000Z
2022-03-30T06:48:35.000Z
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
2
2022-03-28T10:37:30.000Z
2022-03-31T10:47:40.000Z
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
null
null
null
#include "ar/ar.hpp" using namespace AsyncRuntime; void async_io(CoroutineHandler* handler, YieldVoid & yield) { //make input stream auto in_stream = MakeStream(); int res = 0; int fd = 0; yield(); //async open file if( (res = Await(AsyncFsOpen("../../examples/io.cpp"), handler)) < 0 )...
23.294118
104
0.572601
fdimushka
a61c497aa31071e7d4a31b89ffa845dfc93555f6
1,222
cpp
C++
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
5
2021-12-09T07:41:41.000Z
2021-12-09T20:39:38.000Z
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
null
null
null
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
null
null
null
#include "../node.cpp" void insertAtHead(Node **head, int data) { Node *newNode = new Node(data); if (*head == NULL) { *head = newNode; return; } newNode->next = *head; *head = newNode; } void insertNode(Node **head, int data) { Node *newNode = new Node(data); if (*head...
18.238806
53
0.531097
PriyanshuSaxena2612
a61c9fff38fba560a7cb88e284bc2f646cd7cfd3
1,055
cpp
C++
algorithms/0670_maximum_swap/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
algorithms/0670_maximum_swap/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
algorithms/0670_maximum_swap/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
class Solution { public: int maximumSwap(int num) { string n = to_string(num); int l = n.length(); vector<pair<int,int>> right_max(l); right_max[l-1] = make_pair(n[l-1]-'0',l-1); for (int i = l-2; i >= 0; i--) { int curr = n[i]-'0'; int next =...
24.534884
101
0.482464
GambuzX
a61ec94141459eaee74fc75111adcc2fddc6a6bd
1,369
cpp
C++
Effective STL/estl-examples/12-2.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2021-03-12T19:29:33.000Z
2021-03-12T19:29:33.000Z
Effective STL/estl-examples/12-2.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2019-03-13T01:36:12.000Z
2019-03-13T01:36:12.000Z
Effective STL/estl-examples/12-2.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
null
null
null
// // Example from Item 12, Lock class version // #include <iostream> #include <vector> #include "ESTLUtil.h" #include "Widget.h" int data[] = { -30, 102, 5, -19, 0, 5, -3000, 4000, 5, -2 }; const int numValues = sizeof data / sizeof(int); // Dummy Mutex library: template<typename T> inline void getMutexFor(const T...
23.603448
72
0.641344
goodspeed24e
a61f35144eaa523f093fd633eb2aac717eaebe1a
2,297
hpp
C++
pwiz/analysis/frequency/TruncatedLorentzianEstimator.hpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/frequency/TruncatedLorentzianEstimator.hpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/frequency/TruncatedLorentzianEstimator.hpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
// // $Id$ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2006 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
33.779412
124
0.718328
austinkeller
a61f7faa633d56942d20c3584a6699c32407f8b2
5,042
cpp
C++
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
20
2017-04-10T18:41:58.000Z
2017-04-10T19:01:12.000Z
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/** @file Image1.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2007-01-31 @edited 2007-01-31 */ #include "G3D/Image1.h" #include "G3D/Image1uint8.h" #include "G3D/GImage.h" #include "G3D/Color4.h" #include "G3D/Color4uint8.h" #include "G3D/Color1.h" #include "G3D/Color1uint8.h" #...
22.408889
94
0.598374
ZON3DEV
a621261f1c66ceafc64c96a4684ba870eae74337
46,870
hpp
C++
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
37
2018-08-12T11:25:57.000Z
2020-11-30T16:09:41.000Z
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
9
2019-05-31T19:59:00.000Z
2020-10-25T01:49:42.000Z
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
5
2019-01-10T19:38:54.000Z
2020-06-09T11:38:08.000Z
/* LSOracle: A learning based Oracle for Logic Synthesis * Copyright 2021 Laboratory for Nano Integrated Systems (LNIS) * * 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 * restr...
34.847584
174
0.564199
LNIS-Projects
a6235cc70450e6b264935f90fbcd909a4ca7dde4
166
hpp
C++
src/SceneHandler.hpp
pPanda-beta/HollywoodHunt
2d64a1c759994a2ab7f7a97d8161c9c454a915c3
[ "Apache-2.0" ]
null
null
null
src/SceneHandler.hpp
pPanda-beta/HollywoodHunt
2d64a1c759994a2ab7f7a97d8161c9c454a915c3
[ "Apache-2.0" ]
null
null
null
src/SceneHandler.hpp
pPanda-beta/HollywoodHunt
2d64a1c759994a2ab7f7a97d8161c9c454a915c3
[ "Apache-2.0" ]
null
null
null
#include "TGUIscene.hpp" int setGod(sf::RenderWindow *); int setScene(Scene *); int PlayScene(Scene *); int PlayCurrentScene(); int PlayCurrentSceneFast();
9.764706
31
0.704819
pPanda-beta
a625a8582b06e40e65e7d416fab4d823d349b2a6
830
hpp
C++
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
2
2022-02-18T12:11:28.000Z
2022-03-01T19:23:26.000Z
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
1
2022-03-06T13:32:58.000Z
2022-03-06T15:38:16.000Z
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
1
2022-03-18T11:55:36.000Z
2022-03-18T11:55:36.000Z
/** * MetriSCA - A side-channel analysis library * Copyright 2021, School of Computer and Communication Sciences, EPFL. * * All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE.md file. */ #pragma once #include "metrisca/forward.hpp" #include "metris...
24.411765
76
0.662651
mirjanastojilovic
98a6de848c1aa350bf8a6c8499e799e10cb19596
52,773
cpp
C++
vbox/src/VBox/Main/src-client/VideoRec.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/Main/src-client/VideoRec.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/Main/src-client/VideoRec.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
/* $Id: VideoRec.cpp 72014 2018-04-25 13:28:31Z vboxsync $ */ /** @file * Video capturing utility routines. */ /* * Copyright (C) 2012-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redis...
31.024691
132
0.572319
Nurzamal
98a9ee190f5542cd363d5a74ead547ede52ed8ec
299
cc
C++
code/090-code-autogenerated.cc
helq/the-little-cppler-book
82bcffceac6a85cced811e5f7daf4ce69822cfd2
[ "CC0-1.0" ]
null
null
null
code/090-code-autogenerated.cc
helq/the-little-cppler-book
82bcffceac6a85cced811e5f7daf4ce69822cfd2
[ "CC0-1.0" ]
null
null
null
code/090-code-autogenerated.cc
helq/the-little-cppler-book
82bcffceac6a85cced811e5f7daf4ce69822cfd2
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <cmath> int aproxTan(int angle) { return sin(angle) / cos(angle); } int main() { double angle = 0.2; double pi = 3.14159265358979; std::cout << "The tangent of " << angle << "pi " << "is aprox. " << aproxTan(pi*angle) << std::endl; return 0; }
15.736842
42
0.578595
helq
98ad2fcbccafb548dea1053499494b41ce6b1ca6
4,651
cc
C++
network/win-net/demo1/main.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
network/win-net/demo1/main.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
network/win-net/demo1/main.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
// Copyright (c) 2016 ASMlover. 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 ofconditions and...
32.298611
88
0.683939
ASMlover
98b54c286fdc116585c460370cfcd126e9256d6a
1,396
cpp
C++
libs/optional/test/optional_test_tie.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/optional/test/optional_test_tie.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/optional/test/optional_test_tie.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Copyright (C) 2003, Fernando Luis Cacciola Carballal. // // 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) // // See http://www.boost.org/lib/optional for documentation. //...
21.476923
75
0.627507
zyiacas
98b9bee187d895e3efca00fe3cef3ec1b520b195
7,901
hpp
C++
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: LIV.SDK.Unity.SDK...
53.026846
940
0.717124
RedBrumbler
98bd94332c950a4fd85be76b84addd3b2b18e6f3
4,935
cpp
C++
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
3
2021-04-27T18:45:45.000Z
2022-01-04T07:44:28.000Z
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
1
2021-05-03T20:39:28.000Z
2021-05-03T20:39:28.000Z
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
4
2021-03-25T21:32:51.000Z
2021-12-14T04:30:05.000Z
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include "..\hooks.hpp" #include "..\..\cheats\visuals\GrenadePrediction.h" #include "..\..\cheats\misc\fakelag.h" #include "..\..\cheats\la...
29.909091
182
0.707194
PhoenixAceVFX
98bdb773ef5f869c407460705fe3ae2f92fdaa21
45,788
cc
C++
simplejson_test/srilm-1.7.2/lattice/src/LatticeExpand.cc
rahman-mahmudur/PyART
36591cd10b2b7a560bbcb47a6cf744b72466f92a
[ "Apache-2.0" ]
3
2019-10-24T07:50:29.000Z
2020-05-06T13:08:42.000Z
PyART/srilm-1.7.2/lattice/src/LatticeExpand.cc
PYART0/PyART-demo
9a889662fb2610b7be2687a8304620855e7c76de
[ "Apache-2.0" ]
null
null
null
PyART/srilm-1.7.2/lattice/src/LatticeExpand.cc
PYART0/PyART-demo
9a889662fb2610b7be2687a8304620855e7c76de
[ "Apache-2.0" ]
null
null
null
/* * LatticeExpand.cc -- * Lattice expansion and LM rescoring algorithms * */ #ifndef lint static char Copyright[] = "Copyright (c) 1997-2012 SRI International. All Rights Reserved."; static char RcsId[] = "@(#)$Header: /home/srilm/CVS/srilm/lattice/src/LatticeExpand.cc,v 1.11 2012/10/18 20:55:21 mcintyre Exp $";...
29.985593
130
0.652158
rahman-mahmudur
98be87be400dca1b5469c58e794f63729c816282
727
cpp
C++
Heap/KClosestPointsToOrigin.cpp
SahilChachra/DS-Algo-Practice
3a5cde32d6344f436cabd514b00345902694425e
[ "MIT" ]
null
null
null
Heap/KClosestPointsToOrigin.cpp
SahilChachra/DS-Algo-Practice
3a5cde32d6344f436cabd514b00345902694425e
[ "MIT" ]
null
null
null
Heap/KClosestPointsToOrigin.cpp
SahilChachra/DS-Algo-Practice
3a5cde32d6344f436cabd514b00345902694425e
[ "MIT" ]
null
null
null
#include<iostream> #include<queue> #include<math.h> using namespace std; void KNearestCord(int arr[][2], int n, int k){ priority_queue<pair<int, pair<int,int> > > pq; for(int i=0;i<n;i++){ int v = pow(arr[i][0],2) + pow(arr[i][1],2); pq.push(make_pair(v, make_pair(arr[i][0], arr[i][1]))); if(pq.size()>...
16.906977
67
0.565337
SahilChachra
98c168e817994700c6c43f79b75c13d3719b491b
577
cpp
C++
pnwtl/pypn/mod_debug.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
pnwtl/pypn/mod_debug.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
pnwtl/pypn/mod_debug.cpp
Adept-Space/pn
d722f408cf3c3b8d0b8028846c0199969b6a103c
[ "BSD-3-Clause" ]
null
null
null
/** * @file mod_debug.cpp * @brief boost::python debug module * @author Simon Steele * @note Copyright (c) 2009 Simon Steele - http://untidy.net/ * * Programmers Notepad 2 : The license file (license.[txt|html]) describes * the conditions under which this source may be modified / distributed. */ #include "stda...
24.041667
75
0.743501
Adept-Space
98c6d18e03c0d04480d532dad525fde15f6e8c24
1,019
cpp
C++
hw3/HW03D002.cpp
andy0130tw/NTU-bimeCPL2015
e0b13252a761ca657d09cd16f885e0d4a3905536
[ "MIT" ]
null
null
null
hw3/HW03D002.cpp
andy0130tw/NTU-bimeCPL2015
e0b13252a761ca657d09cd16f885e0d4a3905536
[ "MIT" ]
null
null
null
hw3/HW03D002.cpp
andy0130tw/NTU-bimeCPL2015
e0b13252a761ca657d09cd16f885e0d4a3905536
[ "MIT" ]
null
null
null
//================================================================ // PROGRAMMER : 潘廣霖 // DATE : 2015-10-22 // FILENAME : HW03D002.CPP // DESCRIPTION : GCD table of number 1 to 20 //================================================================ #include "stdafx.h" #include<iostream> #include<iomanip> ...
20.795918
66
0.403337
andy0130tw
98c72e94942284d2342db101c081c9bfecddf688
3,920
cc
C++
third_party/libaddressinput/chromium/addressinput_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/libaddressinput/chromium/addressinput_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/libaddressinput/chromium/addressinput_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "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 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/libaddressinput/chromium/addressinput_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/libaddressinput/...
34.690265
85
0.767092
zealoussnow
98c77cd91f764222e7ebbdca46cc3b8a3daf2741
3,225
cpp
C++
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
515
2015-01-13T05:42:10.000Z
2022-03-29T03:10:01.000Z
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
425
2015-01-06T05:28:38.000Z
2022-03-08T19:42:18.000Z
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
341
2015-01-08T06:18:17.000Z
2022-03-29T21:47:49.000Z
/* * ctkNetworkConnectorZeroMQTest.cpp * ctkNetworkConnectorZeroMQTest * * Created by Daniele Giunchi on 27/03/09. * Copyright 2009 B3C. All rights reserved. * * See Licence at: http://tiny.cc/QXJ4D * */ #include "ctkTestSuite.h" #include <ctkNetworkConnectorZeroMQ.h> #include <ctkEventBusManager.h> #in...
26.652893
99
0.724031
kraehlit
98c8fb9b3509b30fa60bbda6d5a094502ce89d79
2,814
cpp
C++
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
3
2019-01-05T09:54:19.000Z
2019-02-26T09:20:23.000Z
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
1
2019-01-03T10:02:01.000Z
2019-01-03T14:08:16.000Z
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
null
null
null
/* Copyright (c) 2018-2019 Oleg Linkin <maledictusdemagog@gmail.com> 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, modi...
26.055556
96
0.708955
Maledictus
98c90718ad31be5421555a16fedface158e6d1dd
1,616
cpp
C++
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_08_design_patterns/problem_071_observable_vector_container.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <sstream> // ostringstream TEST(problem_71_main, DISABLED_output) { std::ostringstream oss{}; problem_71_main(oss); EXPECT_THAT(oss.str(), ::testing::HasSubstr( ...
36.727273
104
0.5625
rturrado
98caafef16943f7eaff318b0253bdb2f739eac59
11,357
cpp
C++
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
/* * ref: https://github.com/onestraw/epoll-example */ #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <string.h> #include <unistd.h> #include <fcntl.h> //#include <sys/epoll.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <stdbool.h> #include <tim...
28.679293
168
0.633442
pshoben
98ccb274c19c2cf7090cbb07aad453c94b549b7c
2,417
cpp
C++
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
21
2015-02-28T08:42:03.000Z
2021-12-29T02:04:37.000Z
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
14
2015-02-07T10:41:13.000Z
2022-02-04T12:56:12.000Z
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
18
2015-02-09T11:15:50.000Z
2020-11-11T10:08:21.000Z
/*############################################################################## VSQLite++ - virtuosic bytes SQLite3 C++ wrapper Copyright (c) 2014 mickey mickey.mouse-1985@libero.it All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
39.622951
81
0.686388
cornerstone-solutions
98cf2e0b13eee452176baff98a53eed0272cd6cb
22,148
cpp
C++
src/cpp/src/batch.cpp
AnzeXie/marius
db2cf14fdfcae469889fb3c8b2e92c4289463ea3
[ "Apache-2.0" ]
81
2021-03-25T08:34:54.000Z
2022-03-04T15:56:05.000Z
src/cpp/src/batch.cpp
AnzeXie/marius
db2cf14fdfcae469889fb3c8b2e92c4289463ea3
[ "Apache-2.0" ]
45
2021-03-25T18:04:43.000Z
2021-12-14T18:41:47.000Z
src/cpp/src/batch.cpp
rachit173/marius
c981482af29e6038e2477e634d46fd7cc4de4961
[ "Apache-2.0" ]
20
2021-03-31T04:37:31.000Z
2022-02-25T21:36:05.000Z
// // Created by Jason Mohoney on 7/9/20. // #include "batch.h" #include "config.h" using std::get; Batch::Batch(bool train) : device_transfer_(0), host_transfer_(0), timer_(false) { status_ = BatchStatus::Waiting; train_ = train; device_id_ = -1; } void Batch::localSample() { int num_deg; if (...
48.570175
169
0.696858
AnzeXie
98d368c6efddfddb79880ad0258116ba13beb881
13,025
hxx
C++
main/comphelper/inc/comphelper/uno3.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/comphelper/inc/comphelper/uno3.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/comphelper/inc/comphelper/uno3.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
43.561873
169
0.59762
Grosskopf
98d5a7ef0974fbfb8f7a6a044d798ce9381a324b
1,601
hpp
C++
src/include/duckdb/storage/statistics/distinct_statistics.hpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
1
2022-01-06T17:44:07.000Z
2022-01-06T17:44:07.000Z
src/include/duckdb/storage/statistics/distinct_statistics.hpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
2
2022-02-16T08:36:03.000Z
2022-03-08T17:13:33.000Z
src/include/duckdb/storage/statistics/distinct_statistics.hpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/storage/statistics/distinct_statistics.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/atomic.hpp" #include "d...
29.109091
97
0.691443
lokax
98d91cd0b88b5a603c1db9da12519e3ba97b5bf8
4,181
cxx
C++
src/vw/Camera/tests/TestAdjustedCamera.cxx
dshean/visionworkbench
d5bb23f8146ceee0a05ba7c1472c95b7a8f5fcc4
[ "Apache-2.0" ]
4
2017-02-04T20:08:18.000Z
2021-01-07T05:07:13.000Z
src/vw/Camera/tests/TestAdjustedCamera.cxx
CVandML/visionworkbench
c432442b1e806961b4b7eb15d73051ebb08f1d6b
[ "Apache-2.0" ]
null
null
null
src/vw/Camera/tests/TestAdjustedCamera.cxx
CVandML/visionworkbench
c432442b1e806961b4b7eb15d73051ebb08f1d6b
[ "Apache-2.0" ]
1
2022-02-26T00:44:27.000Z
2022-02-26T00:44:27.000Z
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
40.592233
102
0.644822
dshean
98dda1693e14dd42c5203622bfd2b67a497879a8
4,188
cpp
C++
Sources/x10/xla_tensor/test.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/test.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/test.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 TensorFlow 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...
34.04878
79
0.653056
Shashi456
98dddbe2db5c4a9eb71634f1d3ba3e1e28b72bbe
2,668
cpp
C++
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
6
2017-06-14T03:57:52.000Z
2017-06-14T06:54:01.000Z
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
null
null
null
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2012-2014 The SSDB 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 <sys/types.h> #include <unistd.h> #include <errno.h> #include "io_cache.h" int WriteCache::append(const char *data, int size) { // flush cac...
16.886076
70
0.566342
taihedeveloper
98de89ddd1405b2d3557686d3b9947739cffcb83
2,405
cpp
C++
src/serialization/binary_or_text.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/serialization/binary_or_text.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/serialization/binary_or_text.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: binary_or_text.cpp 48153 2011-01-01 15:57:50Z mordante $ */ /* Copyright (C) 2003 by David White <dave@whitevine.net> Copyright (C) 2005 - 2011 by Guillaume Melquiond <guillaume.melquiond@gmail.com> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; ...
25.860215
90
0.69605
blackberry
98df469bb052f9bf20c3cac05f4cc987a6cea995
9,467
cpp
C++
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
// Leka - LekaOS // Copyright 2022 APF France handicap // SPDX-License-Identifier: Apache-2.0 #include "CoreLED.h" #include "CoreSPI.h" #include "gtest/gtest.h" #include "mocks/leka/SPI.h" using namespace leka; class CoreLedSetColorTest : public ::testing::Test { protected: CoreLedSetColorTest() = default; // v...
28.601208
111
0.745115
MMyster
98e1a3140d600d971c7c2fd6881eb4a479c25273
52
cpp
C++
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
230
2016-02-15T20:46:01.000Z
2022-03-07T11:56:12.000Z
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
79
2016-02-07T11:37:04.000Z
2021-09-29T09:14:27.000Z
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
14
2018-05-16T13:10:22.000Z
2021-09-28T10:23:31.000Z
#include <mos/io/keyboard.hpp> namespace mos::io{ }
13
30
0.711538
morganbengtsson
98e2025630b7b35f064d4139533560c56718e0d4
9,036
cpp
C++
LibCarla/source/carla/road/Lane.cpp
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
7,883
2017-11-10T16:49:23.000Z
2022-03-31T18:48:47.000Z
LibCarla/source/carla/road/Lane.cpp
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
4,558
2017-11-10T17:45:30.000Z
2022-03-31T23:30:02.000Z
LibCarla/source/carla/road/Lane.cpp
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
2,547
2017-11-13T03:22:44.000Z
2022-03-31T10:39:30.000Z
// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/road/Lane.h" #include <limits> #include "carla/Debug.h" #include "carla/geom/...
33.969925
91
0.660469
zakur0
98e4d0f16b7d118ebb317dd7d354e1fd103ead5f
851
cpp
C++
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
/************************************************************************* > File Name: test_08.cpp > Author: @Yoghourt->ilvcr, Cn,Sx,Ty > Mail: ilvcr@outlook.com || liyaoliu@foxmail.com > Created Time: 2018年06月27日 星期三 21时25分24秒 > Description: *******************************************************************...
21.275
74
0.434783
ilvcr
98e71f3c82ba79d2a67cc38a31c241fe80ef5b2a
620
hpp
C++
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
2
2022-01-10T07:53:48.000Z
2022-03-22T11:25:50.000Z
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
null
null
null
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
null
null
null
#ifndef TINYTMX_TINYTMXWANGTILE_HPP #define TINYTMX_TINYTMXWANGTILE_HPP #include <vector> namespace tinyxml2 { class XMLElement; } namespace tinytmx { class WangTile { public: WangTile(); void Parse(tinyxml2::XMLElement const *wangTileElement); /// Get the tile ID. [[no...
18.787879
87
0.646774
KaseyJenkins
98e843bc66509b206dee07b3adf900f688c03ced
2,279
cpp
C++
c++ problems asked in interview/36. Valid Sudoku.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
41
2021-10-03T16:03:52.000Z
2021-11-14T18:15:33.000Z
c++ problems asked in interview/36. Valid Sudoku.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
175
2021-10-03T10:47:31.000Z
2021-10-20T11:55:32.000Z
c++ problems asked in interview/36. Valid Sudoku.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
208
2021-10-03T11:24:04.000Z
2021-10-31T17:27:59.000Z
Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the digits 1-9 without repetition. Each column must contain the digits 1-9 without repetition. Each of the nine 3 x 3 sub-boxes of the grid must contain the digits 1-9 with...
32.098592
162
0.413778
rj011
98ee51c1b20c72bc9cf591da5dd99957cc9359ae
5,688
cpp
C++
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
174
2016-11-30T01:20:14.000Z
2022-02-22T16:23:55.000Z
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
74
2017-01-30T22:37:33.000Z
2021-05-10T17:20:33.000Z
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
126
2016-12-08T14:03:22.000Z
2022-03-31T06:01:59.000Z
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //===============================...
32.878613
90
0.640647
lucyundead
98f29d2833531849057827b6328155576a434c0c
5,128
cc
C++
apps/bundle_deploy/demo.cc
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
40
2021-06-14T23:14:46.000Z
2022-03-21T14:32:23.000Z
apps/bundle_deploy/demo.cc
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
14
2021-06-08T03:15:54.000Z
2022-02-01T23:50:24.000Z
apps/bundle_deploy/demo.cc
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
11
2021-06-14T05:56:18.000Z
2022-02-27T06:52:07.000Z
/* * 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 ...
29.136364
100
0.644696
janifer112x
98f53ab64a3582aef233a9c1939c7620e83050b5
59,714
cxx
C++
main/sc/source/ui/undo/undoblk3.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/ui/undo/undoblk3.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/ui/undo/undoblk3.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
28.140434
133
0.595539
Grosskopf
98f927e81b7cf37884b09c15578411133c8ee29b
2,503
cpp
C++
examples/lipid_name_parser.cpp
lifs-tools/cppgoslin
9624c798fd43256dcfdf1f5bff1f793fcb3b5ad6
[ "MIT" ]
1
2020-04-23T04:08:35.000Z
2020-04-23T04:08:35.000Z
src/cppgoslin/examples/lipid_name_parser.cpp
lifs-tools/rgoslin
c902744748213cda8f7e793547007f18799ac447
[ "MIT" ]
15
2020-04-23T04:43:43.000Z
2022-03-10T16:15:08.000Z
examples/lipid_name_parser.cpp
lifs-tools/cppgoslin
9624c798fd43256dcfdf1f5bff1f793fcb3b5ad6
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 Dominik Kopczynski - dominik.kopczynski {at} isas.de Nils Hoffmann - nils.hoffmann {at} isas.de 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 S...
42.423729
99
0.709948
lifs-tools
98f97725c5341d694b3a924a2113c4ded7ad2dbb
1,054
hpp
C++
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
#ifndef CLIENT_CONNECTOR_HPP #define CLIENT_CONNECTOR_HPP #include <arpa/inet.h> #include <chrono> #include <cstdint> #include <cstring> #include <iostream> #include <mutex> #include <netinet/in.h> #include <pthread.h> #include <sstream> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string> #includ...
20.269231
58
0.736243
grobbles
98fa520108bf134cd77f90aa0148f92a56ffe35e
3,719
hpp
C++
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
#pragma once #include <ecosnail/thing/entity.hpp> #include <ecosnail/thing/entity_pool.hpp> #include <ecosnail/tail.hpp> #include <any> #include <cassert> #include <map> #include <memory> #include <optional> #include <type_traits> #include <typeindex> #include <vector> namespace ecosnail::thing { class EntityManag...
27.345588
74
0.632428
ecosnail
98fbc41a5bd8bfd58a94e19c4622ea662c42b56b
978
cpp
C++
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
#include <nek/utility/move_if_noexcept.hpp> #include <gtest/gtest.h> #include <string> namespace { struct noexceptable { std::string log = ""; noexceptable() = default; noexceptable(noexceptable const&) noexcept { log += "copy ctor"; } noexcep...
17.781818
50
0.539877
nekko1119
98fc44ba5d2e06e5a3369597f60fe0716ed9ce8d
23,171
cc
C++
compiler/utils/mips/assembler_mips32r5_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
compiler/utils/mips/assembler_mips32r5_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
compiler/utils/mips/assembler_mips32r5_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2017 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...
41.450805
98
0.627465
Paschalis
98fceee03999ece2e9d9a486687ee51a5f261aad
228
cpp
C++
lab8/debugtest.cpp
brandonlee503/EECS-161-Labs
f92aee55dfb2e6a8577593d9c5d1cf4d086a06ef
[ "MIT" ]
null
null
null
lab8/debugtest.cpp
brandonlee503/EECS-161-Labs
f92aee55dfb2e6a8577593d9c5d1cf4d086a06ef
[ "MIT" ]
null
null
null
lab8/debugtest.cpp
brandonlee503/EECS-161-Labs
f92aee55dfb2e6a8577593d9c5d1cf4d086a06ef
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> using namespace std; int main(int argc, char *argv[]){ char input[50]; int i = 0; cin >> input; for(i = strlen(input); i >= 0; i--){ cout << input[i]; } cout << endl; return 0; }
9.913043
36
0.592105
brandonlee503
c7018a0b45be17c46358868adc0a6772d938fbd7
1,419
hpp
C++
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
37
2015-01-10T00:32:35.000Z
2020-07-17T14:10:41.000Z
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
52
2015-01-02T11:20:59.000Z
2018-09-04T09:08:09.000Z
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
46
2015-01-16T18:52:13.000Z
2020-07-01T09:03:14.000Z
/* * Copyright (c) 2013 BlackBerry Limited * * 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...
24.465517
89
0.764623
stefanschielke
c702fdca34e8b1ad031b360d7f47a3c7f953b909
39,527
cpp
C++
src/modules/osg/generated_code/LOD.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/LOD.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/LOD.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osg.h" #include "wrap_referenced.h" #include "lod.pypp.hpp" namespace bp = boost::python; struct LOD_wrapper : osg::LOD, bp::wrapper< osg::LOD > { LOD_wrapper( ) : osg::LOD( ) , bp::wrapper< osg::LOD >(){ // nu...
40.833678
977
0.549928
JaneliaSciComp
c703586500f37657304b4b8df2ef3147424bc2e9
4,791
cpp
C++
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
null
null
null
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
2
2022-03-27T14:58:55.000Z
2022-03-31T04:59:36.000Z
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "OpenT12.h" BluetoothSerial SerialBT; #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif OneButton RButton(BUTTON_PIN, true); U8G2_SSD1306_128X64_NONAME_F_HW_I2C Disp(U8G2_R0, /* rese...
28.349112
129
0.631392
sunduoze
c70551b2c09dd1d37d08a68ce62ca5c7082a104e
5,993
cpp
C++
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
#include <cstring> #include <chrono> #include "../Simulation/simulation.hpp" #include "../Simulation/analysis.hpp" #include "config_parser.h" // forward declaration bool file_exists (const std::string& name); void read_parameters_from_ini(Param& p, const std::string file_name); void obtain_equilibrium(simulation& Sim...
35.672619
104
0.680961
thijsjanzen
c7055cf0351ecaeb3c64e476aa7de332ca1ecb81
24,900
cxx
C++
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
// $Id$ //************************************************************************** //* This file is property of and copyright by the * //* ALICE Experiment at CERN, All rights reserved. * //* * //...
33.28877
153
0.665382
AllaMaevskaya
c708e2b93a53b622e19300cfca92e27d809255e6
444
cpp
C++
Binary Search/One Edit Distance/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
BinarySearch/One Edit Distance/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
BinarySearch/One Edit Distance/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
bool solve(string s, string t) { int n = s.size(), m = t.size(), i = 0, j = 0, cnt = 0; if (s == t) { return true; } if (abs(n - m) > 1) { return false; } while (i < n && j < m) { if (s[i] != t[j]) { if (cnt == 1) { return false; } if (n > m) { i++; } else if (n < m) { j++; } else...
13.875
55
0.358108
Code-With-Aagam
c70a9df84f1952447eed3793fae3fd481fded60d
25,913
cpp
C++
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2022-01-02T01:48:05.000Z
2022-01-02T01:48:05.000Z
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2021-11-10T10:50:08.000Z
2021-11-10T10:50:08.000Z
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2021-12-03T03:29:39.000Z
2021-12-03T03:29:39.000Z
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <list> #include <libpdb/include/Macromolecule.h> #include <libpdb/include/pdbIter.h> #include <libtools/include/timer.h> #include <libtools/include/Io.h> #include <libpdb/include/SS_DISICL.h> #include <cmdl/CmdLine.h> using namespace TCLAP; // Co...
32.801266
188
0.632231
chaconlab