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
6dbc9d8dd22509ff4db27d2772ea5578edde8380
218,510
cpp
C++
Extern/include/DirectXMath/SHMath/DirectXSH.cpp
waruqi/SakuraEngine
443c5c2dcd25e83bf2e69756530754f41a277a40
[ "MIT" ]
null
null
null
Extern/include/DirectXMath/SHMath/DirectXSH.cpp
waruqi/SakuraEngine
443c5c2dcd25e83bf2e69756530754f41a277a40
[ "MIT" ]
null
null
null
Extern/include/DirectXMath/SHMath/DirectXSH.cpp
waruqi/SakuraEngine
443c5c2dcd25e83bf2e69756530754f41a277a40
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------------- // DirectXSH.cpp -- C++ Spherical Harmonics Math Library // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/p/?LinkId=262885 //---------------...
44.53934
223
0.569928
waruqi
6dbd63f2020c5d3f1ca6df93d304ce083b4ee496
56,288
cpp
C++
test_common/harness/kernelHelpers.cpp
grey-eminence/OpenCL-CTS
a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b
[ "Apache-2.0" ]
null
null
null
test_common/harness/kernelHelpers.cpp
grey-eminence/OpenCL-CTS
a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b
[ "Apache-2.0" ]
null
null
null
test_common/harness/kernelHelpers.cpp
grey-eminence/OpenCL-CTS
a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 The Khronos Group Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
37.276821
170
0.568274
grey-eminence
6dbf6c5ee937acbe14cf2df5cab10e8cdf80ce58
16,728
cpp
C++
PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
null
null
null
PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
null
null
null
PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
3
2017-01-04T19:48:57.000Z
2020-03-24T03:05:27.000Z
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
29.712256
197
0.768472
emlowry
6dc1a8199499ee8c92a8148cb62899af2b4c3cbc
12,963
cpp
C++
src/alns/PALNS-CVRP/Route.cpp
alberto-santini/cvrp-decomposition
854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88
[ "MIT" ]
null
null
null
src/alns/PALNS-CVRP/Route.cpp
alberto-santini/cvrp-decomposition
854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88
[ "MIT" ]
null
null
null
src/alns/PALNS-CVRP/Route.cpp
alberto-santini/cvrp-decomposition
854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88
[ "MIT" ]
null
null
null
// @@@ Notice! the savings algorithm assumes symmetric costs! #include "Route.h" // From SRP-Utils #include "Utils.h" #include "VectorUtils.h" Route::Route(const CVRPInstance& instance) : m_pInstance(&instance), m_pMatDists(&(instance.getDists())) { int iN = instance.getN(); m_vecRoute.push_back(0)...
41.816129
161
0.615598
alberto-santini
6dc3373eeb34c612a0dee9fdc4fdfaba467f453a
15,190
cpp
C++
level_zero/tools/test/unit_tests/sources/sysman/frequency/linux/test_zes_frequency.cpp
Acidburn0zzz/compute-runtime
79ba0ff1f963c80aec47384728d3733995a0e09c
[ "MIT" ]
1
2020-09-03T17:10:38.000Z
2020-09-03T17:10:38.000Z
level_zero/tools/test/unit_tests/sources/sysman/frequency/linux/test_zes_frequency.cpp
Acidburn0zzz/compute-runtime
79ba0ff1f963c80aec47384728d3733995a0e09c
[ "MIT" ]
null
null
null
level_zero/tools/test/unit_tests/sources/sysman/frequency/linux/test_zes_frequency.cpp
Acidburn0zzz/compute-runtime
79ba0ff1f963c80aec47384728d3733995a0e09c
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/test/unit_tests/sources/sysman/linux/mock_sysman_fixture.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "mock_sysfs_frequency.h" #include <cmath> using ::testing::Invoke; namespace L0 { na...
44.80826
158
0.751876
Acidburn0zzz
6dc4aef7f7b2ee6ba5efc22d2683853ade1ebc0b
3,411
hpp
C++
include/utils/for_each.hpp
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
65
2020-12-07T01:15:41.000Z
2022-03-28T01:17:33.000Z
include/utils/for_each.hpp
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
1
2021-04-08T13:20:39.000Z
2021-04-09T00:37:02.000Z
include/utils/for_each.hpp
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
7
2021-01-07T08:52:39.000Z
2022-03-08T13:04:37.000Z
#ifndef FOR_EACH_HPP_INCLUDED_DSPOJSADLK111111111111111111111983UY4KAJSLFLKJFDIF #define FOR_EACH_HPP_INCLUDED_DSPOJSADLK111111111111111111111983UY4KAJSLFLKJFDIF #include "../includes.hpp" #include "./range.hpp" #include "./parallel.hpp" namespace ceras { namespace// anonymous namespace { template < ...
36.677419
143
0.61243
fengwang
6dc5b8583cf7a282574ac4c5797c9933b8ca818d
261
hpp
C++
core/Exception.hpp
longzuo/SimpleKeyValueDb
ac5ba1184f3ce273ba9a0b1160c091de9902c0f6
[ "MIT" ]
1
2019-05-25T11:17:21.000Z
2019-05-25T11:17:21.000Z
core/Exception.hpp
longzuo/SimpleKeyValueDb
ac5ba1184f3ce273ba9a0b1160c091de9902c0f6
[ "MIT" ]
null
null
null
core/Exception.hpp
longzuo/SimpleKeyValueDb
ac5ba1184f3ce273ba9a0b1160c091de9902c0f6
[ "MIT" ]
null
null
null
#ifndef SDB_EXCEPTIONS_HPP #define SDB_EXCEPTIONS_HPP #include <stdexcept> namespace SDB { class SdbException : public std::runtime_error { public: explicit SdbException(const std::string& msg) : std::runtime_error(msg) {} }; } // namespace SDB #endif
21.75
78
0.743295
longzuo
6dc7afd1a16cfe3173f8d3880eb3ebec649c7b69
246
hpp
C++
openbmc_modules/phosphor-pid-control/notimpl/writeonly.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
notimpl/writeonly.hpp
quanta-bmc/phosphor-pid-control
bc5a76b7bcf578e0a7718635279a97d28e39d434
[ "Apache-2.0" ]
null
null
null
notimpl/writeonly.hpp
quanta-bmc/phosphor-pid-control
bc5a76b7bcf578e0a7718635279a97d28e39d434
[ "Apache-2.0" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
/* Interface that implements an exception throwing write method. */ #pragma once #include "interfaces.hpp" class WriteOnly : public ReadInterface { public: WriteOnly() : ReadInterface() { } ReadReturn read(void) override; };
16.4
67
0.691057
Eyerunmyden
6dcb24e72c474a1f85ff67f1563500db6cb00701
2,225
cpp
C++
core/warp_solver/RigidSolver.cpp
mihaibujanca/surfelwarp
3b424f912b2a90412ad781940b071520825c3030
[ "BSD-3-Clause" ]
null
null
null
core/warp_solver/RigidSolver.cpp
mihaibujanca/surfelwarp
3b424f912b2a90412ad781940b071520825c3030
[ "BSD-3-Clause" ]
null
null
null
core/warp_solver/RigidSolver.cpp
mihaibujanca/surfelwarp
3b424f912b2a90412ad781940b071520825c3030
[ "BSD-3-Clause" ]
1
2020-07-15T05:54:31.000Z
2020-07-15T05:54:31.000Z
// // Created by wei on 5/22/18. // #include "common/ConfigParser.h" #include "core/warp_solver/RigidSolver.h" #include <Eigen/Eigen> surfelwarp::RigidSolver::RigidSolver() { //Init the intrisic for projection const auto& config = ConfigParser::Instance(); m_project_intrinsic = config.rgb_intrinsic_clip(); m_ima...
26.807229
86
0.733483
mihaibujanca
6dccb0d7047c5a5772619ebf60854152024447fc
5,499
cpp
C++
jni/RTKLIB/app/winapp/strsvr/svroptdlg.cpp
wjw164833/RtkGpsForPad
c9fb10c0bc56cfa473582088dbc673c6da2d31be
[ "BSD-2-Clause" ]
2
2021-11-06T07:23:27.000Z
2021-11-07T14:29:21.000Z
jni/RTKLIB/app/winapp/strsvr/svroptdlg.cpp
wjw164833/RtkGpsForPad
c9fb10c0bc56cfa473582088dbc673c6da2d31be
[ "BSD-2-Clause" ]
null
null
null
jni/RTKLIB/app/winapp/strsvr/svroptdlg.cpp
wjw164833/RtkGpsForPad
c9fb10c0bc56cfa473582088dbc673c6da2d31be
[ "BSD-2-Clause" ]
2
2021-11-06T01:11:33.000Z
2021-11-06T07:23:31.000Z
//--------------------------------------------------------------------------- #include <vcl.h> #include <FileCtrl.hpp> #pragma hdrstop #include "rtklib.h" #include "refdlg.h" #include "svroptdlg.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resourc...
33.530488
77
0.595017
wjw164833
6dcd27fd6d1d7b27d44446d5a470885605270609
1,561
cc
C++
chrome/browser/android/signin/signin_bridge.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
chrome/browser/android/signin/signin_bridge.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
chrome/browser/android/signin/signin_bridge.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 "chrome/browser/android/signin/signin_bridge.h" #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "base/androi...
35.477273
80
0.704676
zealoussnow
6dcf9957d8485f31f9bdd11b7d3b47c283043e7d
1,574
hpp
C++
include/pique/data/grid.hpp
daboyuka/PIQUE
d0e2ba4cc47aaeaf364b3c76339306e1795adb5e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/pique/data/grid.hpp
daboyuka/PIQUE
d0e2ba4cc47aaeaf364b3c76339306e1795adb5e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/pique/data/grid.hpp
daboyuka/PIQUE
d0e2ba4cc47aaeaf364b3c76339306e1795adb5e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2015 David A. Boyuka II * * 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 ...
29.698113
135
0.691868
daboyuka
6dd12f37c7e32ea04ee35dd4e712e20a5e481085
3,554
hpp
C++
src/Generator/Polar/Generator_polar.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
8
2018-03-14T22:17:16.000Z
2021-05-31T23:29:03.000Z
src/Generator/Polar/Generator_polar.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
1
2017-09-30T01:02:23.000Z
2018-03-16T09:01:33.000Z
src/Generator/Polar/Generator_polar.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
2
2019-09-16T08:30:13.000Z
2019-12-17T02:15:34.000Z
#ifndef GENERATOR_POLAR_SYS_ #define GENERATOR_POLAR_SYS_ #include <map> #include <vector> #include <mipp.h> #include <aff3ct.hpp> #include "../Generator.hpp" namespace aff3ct { namespace generator { class Generator_polar : public Generator { protected: const int K; // k bits input const int N; // n bits input co...
35.188119
134
0.655318
aff3ct
6dd25a7eb3167e6380786d56bfe0fe1389550fa3
33,982
cpp
C++
cuda/cudamd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
cuda/cudamd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
cuda/cudamd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
/// /// Host Implementation /// /// Molecular Dynamics Simulation on GPU /// /// Written by Vadim Kuras. 2009-2010. /// #include "Host.h" /// /// Simulation main host function /// int hostMain(CUdevice device, char * module_path, configuration * config) { real4 * posArray; //positions (host) real3 ...
39.194925
275
0.731122
vakuras
6dd279a35cd5586705bac9ecb509f1606d9aba00
2,351
cpp
C++
examples/st7920_12864_8080_example.cpp
lin2010304125/rt-u8g2
bca73e4406193e5986e0fffadc0aba2daa68bca1
[ "CC-BY-3.0" ]
null
null
null
examples/st7920_12864_8080_example.cpp
lin2010304125/rt-u8g2
bca73e4406193e5986e0fffadc0aba2daa68bca1
[ "CC-BY-3.0" ]
null
null
null
examples/st7920_12864_8080_example.cpp
lin2010304125/rt-u8g2
bca73e4406193e5986e0fffadc0aba2daa68bca1
[ "CC-BY-3.0" ]
null
null
null
#include <rthw.h> #include <rtthread.h> #include <rtdevice.h> #include <U8g2lib.h> // You may reference Drivers/drv_gpio.c for pinout // In u8x8.h #define U8X8_USE_PINS #define ST7920_8080_PIN_D0 36 // PB15 #define ST7920_8080_PIN_D1 35 // PB14 #define ST7920_8080_PIN_D2 ...
47.979592
90
0.522756
lin2010304125
6dd458e028538a93c0cbacb01c2acce34df18e3a
653
cpp
C++
leetcode/cpp/qt_find_peak_element.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
5
2016-10-29T09:28:11.000Z
2019-10-19T23:02:48.000Z
leetcode/cpp/qt_find_peak_element.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
leetcode/cpp/qt_find_peak_element.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
// 4ms, beat 94% class Solution { private: int helper(const vector<int> &num, int low, int high) { if(low == high) return low; int mid = (low + high)/2; int nxt = mid + 1; if(num[mid] > num[nxt]) { return helper(num, low, mid); } else { ...
24.185185
63
0.54977
qiaotian
6dd56544fcecaecfd25b6a183cc3753589d6bcc0
3,474
inl
C++
test/bincore.inl
PredatorCZ/PreCore
98f5896e35371d034e6477dd0ce9edeb4fd8d814
[ "Apache-2.0" ]
5
2019-10-17T15:52:38.000Z
2021-08-10T18:57:32.000Z
test/bincore.inl
PredatorCZ/PreCore
98f5896e35371d034e6477dd0ce9edeb4fd8d814
[ "Apache-2.0" ]
null
null
null
test/bincore.inl
PredatorCZ/PreCore
98f5896e35371d034e6477dd0ce9edeb4fd8d814
[ "Apache-2.0" ]
1
2021-01-31T20:37:42.000Z
2021-01-31T20:37:42.000Z
#include "../datas/binwritter.hpp" #include "../datas/binreader.hpp" #include <sstream> struct BinStr00 { int8 v0; bool v1; int16 v2; uint32 v3; }; struct BinStr00_Fc : BinStr00 { void Read(BinReaderRef rd) { rd.Read(v0); rd.Read(v3); } void Write(BinWritterRef wr) const { wr.Write(v0); ...
16.782609
43
0.629246
PredatorCZ
6dd61215a03808129af6ffdebc0b22c3935b2318
3,694
cc
C++
biod/biod_metrics_test.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
biod/biod_metrics_test.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
biod/biod_metrics_test.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 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 <base/macros.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <metrics/metrics_library_mock.h> #include "biod/biod_metrics.h" u...
33.581818
74
0.700596
emersion
6dd835d8b2e4ceaab87e1ac475894dc2c3cead8a
12,243
cpp
C++
Blech/test.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
3
2021-06-25T00:03:25.000Z
2021-11-30T19:45:27.000Z
Blech/test.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
null
null
null
Blech/test.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
3
2021-09-21T23:33:31.000Z
2022-02-18T08:13:20.000Z
#include "Blech.h" #define CheckOne(ID) \ if (nevent != 1) { \ printf("bad event count %d != 1\n", nevent); \ exit(1); \ } \ if (eventarray[0].id != ID) { \ printf("bad event %d != " #ID "\n", eventarray[0].id); \ exit(1); \ } struct { int id, nvalues; char name...
38.140187
92
0.561545
Natedog2012
6dd949923b519bb644499f87f79e451863782278
10,904
cpp
C++
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/DistributedSPOSet.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
55
2015-07-28T01:32:58.000Z
2022-02-27T16:27:46.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/DistributedSPOSet.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
66
2015-06-15T20:38:19.000Z
2020-08-26T00:11:43.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/DistributedSPOSet.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
26
2015-10-26T22:11:51.000Z
2021-03-02T22:09:15.000Z
////////////////////////////////////////////////////////////////// // (c) Copyright 2007- by Jeongnim Kim ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // National Center for Supercomputing Applications & // Materials Computati...
36.225914
133
0.665994
JKChenFZ
6dd974d999d6486106b97a0b6126262f0e5add38
72,627
cc
C++
RecoLocalCalo/CaloTowersCreator/src/CaloTowersCreationAlgo.cc
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/CaloTowersCreator/src/CaloTowersCreationAlgo.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/CaloTowersCreator/src/CaloTowersCreationAlgo.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "CaloTowersCreationAlgo.h" #include "Geometry/CaloTopology/interface/HcalTopology.h" #include "Geometry/CaloTopology/interface/CaloTowerTopology.h" #include "Geometry/CaloTopology/interface/CaloTowerConstituentsMap.h" #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h" #include "Geometry/CaloGeometr...
38.610845
204
0.60779
malbouis
6dd9babda4a11fbe0588758e8ccd994a30672af8
3,770
cpp
C++
src/appleseed/foundation/platform/defaulttimers.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
1
2021-04-02T10:51:57.000Z
2021-04-02T10:51:57.000Z
src/appleseed/foundation/platform/defaulttimers.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
null
null
null
src/appleseed/foundation/platform/defaulttimers.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // ...
21.666667
86
0.711936
istemi-bahceci
6dda92928b28a08d4fd15c022d7a19a66dcf49c6
1,482
cc
C++
components/invalidation/fake_invalidation_state_tracker.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
components/invalidation/fake_invalidation_state_tracker.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
components/invalidation/fake_invalidation_state_tracker.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.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 "components/invalidation/fake_invalidation_state_tracker.h" #include "base/bind.h" #include "base/callback.h" #include "base/location.h" #includ...
26.464286
74
0.798246
kjthegod
6ddad5089bd8dc2a531736c0f047965a4d65b5ba
4,080
hpp
C++
include/site.hpp
SavAct/SavWeb
0c57ddb94df2a27d5a197cc23c481742cd85962b
[ "MIT" ]
null
null
null
include/site.hpp
SavAct/SavWeb
0c57ddb94df2a27d5a197cc23c481742cd85962b
[ "MIT" ]
null
null
null
include/site.hpp
SavAct/SavWeb
0c57ddb94df2a27d5a197cc23c481742cd85962b
[ "MIT" ]
null
null
null
#include "tables.hpp" using namespace std; using namespace eosio; CONTRACT site : public contract { public: using contract::contract; #define errorTableKey "There is no entry with this key." #define errorOldNotMatch "Old reffered transaction doesn't match the last reffered transaction." #define er...
44.835165
194
0.698775
SavAct
6ddc8b5b8ab78d0b2cf778fd67ad25399042660f
1,716
cpp
C++
src/medCore/medJobManager.cpp
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
1
2020-11-16T13:55:45.000Z
2020-11-16T13:55:45.000Z
src/medCore/medJobManager.cpp
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
null
null
null
src/medCore/medJobManager.cpp
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2014. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE...
22.285714
84
0.617133
lcatanes
6ddd9bd83114b46592b1024577193156d431cea1
11,413
cpp
C++
Code/toolboxes/BSR/ucm/ucm_mean_pb.cpp
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
Code/toolboxes/BSR/ucm/ucm_mean_pb.cpp
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
Code/toolboxes/BSR/ucm/ucm_mean_pb.cpp
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
/* Source code for computing ultrametric contour maps based on average boundary strength, as described in : P. Arbelaez, M. Maire, C. Fowlkes, and J. Malik. From contours to regions: An empirical evaluation. In CVPR, 2009. Pablo Arbelaez <arbelaez@eecs.berkeley.edu> March 2009. */ #include <stdio.h> #include <stdlib...
28.748111
210
0.537194
corganhejijun
6ddf3a01464ec973ad0b344f6a9759d7635a399a
6,099
inl
C++
include/bit/math/detail/point/point2.inl
bitwizeshift/bit-math
e29d6dfe3cefecd08c3215bc4578b5903b269d86
[ "MIT" ]
3
2020-04-05T01:14:21.000Z
2021-10-03T09:34:48.000Z
include/bit/math/detail/point/point2.inl
bitwizeshift/bit-math
e29d6dfe3cefecd08c3215bc4578b5903b269d86
[ "MIT" ]
1
2017-10-15T20:41:30.000Z
2017-10-15T20:41:30.000Z
include/bit/math/detail/point/point2.inl
bitwizeshift/bit-math
e29d6dfe3cefecd08c3215bc4578b5903b269d86
[ "MIT" ]
null
null
null
#ifndef BIT_MATH_DETAIL_GEOMETRY_POINT_POINT2_INL #define BIT_MATH_DETAIL_GEOMETRY_POINT_POINT2_INL //---------------------------------------------------------------------------- // Constructors //---------------------------------------------------------------------------- inline constexpr bit::math::point2::point2()...
26.517391
87
0.454173
bitwizeshift
6ddf5189196626421b8e6d6b3cddaae2fd0c7626
3,822
cpp
C++
src/_OOP/Shader.cpp
haxpor/lgl
d87628f2a4653c0ebc80bca24bbd244993c63d77
[ "MIT" ]
3
2020-10-29T06:22:30.000Z
2021-05-01T14:27:31.000Z
src/_OOP/Shader.cpp
haxpor/lgl
d87628f2a4653c0ebc80bca24bbd244993c63d77
[ "MIT" ]
null
null
null
src/_OOP/Shader.cpp
haxpor/lgl
d87628f2a4653c0ebc80bca24bbd244993c63d77
[ "MIT" ]
null
null
null
/* ==================== Uniforms ==================== */ #include "lgl/Base.h" #include <cmath> float vertices[] = { 0.5f, 0.5f, 0.0f, // top right 0.5f, -0.5f, 0.0f, // bottom right -0.5f, -0.5f, 0.0f, // bottom left -0.5f, 0.5f, 0.0f // top left }; unsigned int indices[] = {...
29.175573
114
0.615646
haxpor
6de17176a7b9b2b179496ef2503903bc576cc5d9
1,214
cpp
C++
src/col.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/col.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/col.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
// // Copyright (c) 2015, J2 Innovations // Copyright (c) 2012 Brian Frank // Licensed under the Academic Free License version 3.0 // History: // 28 Aug 2014 Radu Racariu<radur@2inn.com> Ported to C++ // 06 Jun 2011 Brian Frank Creation // #include "col.hpp" #include "str.hpp" #include "dict.hpp" //////////////...
25.829787
74
0.522241
kushaldalsania
6de17c3b0548814a4cfa34ad7a64798f4126af32
2,511
hpp
C++
src/tablestore/core/plainbuffer/consts.hpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
2
2020-02-24T06:51:55.000Z
2020-04-24T14:40:10.000Z
src/tablestore/core/plainbuffer/consts.hpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
null
null
null
src/tablestore/core/plainbuffer/consts.hpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
1
2020-02-24T06:51:57.000Z
2020-02-24T06:51:57.000Z
#pragma once /* BSD 3-Clause License Copyright (c) 2017, Alibaba Cloud 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 li...
31
78
0.766627
TimeExceed
6de21abe33dd6600cebe17f5747a1ceb68bd0e4b
9,581
cpp
C++
src/main.cpp
cultur98/ESP32_Vorrat
0dba638677c32ccb46069403a71cefa2460974ad
[ "MIT" ]
null
null
null
src/main.cpp
cultur98/ESP32_Vorrat
0dba638677c32ccb46069403a71cefa2460974ad
[ "MIT" ]
null
null
null
src/main.cpp
cultur98/ESP32_Vorrat
0dba638677c32ccb46069403a71cefa2460974ad
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <ArduinoJson.h> #include <Wire.h> #include <Ticker.h> #include <Button2.h> #include "Config.h" #include "vorratConfig.h" #include "myTimer.h" #include "wifiman.h" #include "Logger.h" #include "hch_stuff.h" #include "ePaperBWR.h" #include "lilygo.h" #include "ota.h" #include "deep_sleep_he...
26.249315
108
0.650663
cultur98
6deae22ab238d88fa54b9680aacc077195ff80a5
633
cpp
C++
others/HANGOVER.cpp
stepan-krivanek/spoj
3a91d7e666fd6af5cb2a7978dc20318077e62850
[ "MIT" ]
null
null
null
others/HANGOVER.cpp
stepan-krivanek/spoj
3a91d7e666fd6af5cb2a7978dc20318077e62850
[ "MIT" ]
null
null
null
others/HANGOVER.cpp
stepan-krivanek/spoj
3a91d7e666fd6af5cb2a7978dc20318077e62850
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ double input; cin >> input; double table[275]; table[0] = 0.5; int index = 0; while (input != 0){ int i = 0; while (1){ //while condition not working? if (input < table[i]){ //i++ not working? ...
21.1
70
0.406003
stepan-krivanek
6df0490a8e778e10fcbe5546581fa0021e1d97bc
1,448
cc
C++
caffe2/operators/given_tensor_fill_op.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
null
null
null
caffe2/operators/given_tensor_fill_op.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
null
null
null
caffe2/operators/given_tensor_fill_op.cc
gautamkmr/caffe2
cde7f21d1e34ec714bc08dbfab945a1ad30e92ff
[ "MIT" ]
1
2019-11-11T03:30:00.000Z
2019-11-11T03:30:00.000Z
#include "caffe2/operators/given_tensor_fill_op.h" namespace caffe2 { REGISTER_CPU_OPERATOR(GivenTensorFill, GivenTensorFillOp<float, CPUContext>); REGISTER_CPU_OPERATOR(GivenTensorBoolFill, GivenTensorFillOp<bool, CPUContext>); REGISTER_CPU_OPERATOR(GivenTensorIntFill, GivenTensorFillOp<int, CPUContext>); REGISTER_C...
30.808511
80
0.772099
gautamkmr
6df1223aac31e1ad651fd2ceea8ed9c7c6707acd
7,058
cpp
C++
test/src/distance_test.cpp
ericwa/vecmath
b1db3cedac39d380b4d65efc894c933c9f413030
[ "MIT" ]
1
2021-07-13T02:56:28.000Z
2021-07-13T02:56:28.000Z
test/src/distance_test.cpp
ericwa/vecmath
b1db3cedac39d380b4d65efc894c933c9f413030
[ "MIT" ]
null
null
null
test/src/distance_test.cpp
ericwa/vecmath
b1db3cedac39d380b4d65efc894c933c9f413030
[ "MIT" ]
null
null
null
/* Copyright 2010-2019 Kristian Duske Copyright 2015-2019 Eric Wasylishen 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, ...
48.675862
130
0.685463
ericwa
6df41b02c4b178a772645eac31c372d79c57d7a1
1,421
cpp
C++
Google Code Jam/2018/Round 1C/A Whole New Word.cpp
pratyaydeep/Competitive-Programming
c6ee9a492915e39b7b4c54d167a3c027a64b48b1
[ "MIT" ]
null
null
null
Google Code Jam/2018/Round 1C/A Whole New Word.cpp
pratyaydeep/Competitive-Programming
c6ee9a492915e39b7b4c54d167a3c027a64b48b1
[ "MIT" ]
null
null
null
Google Code Jam/2018/Round 1C/A Whole New Word.cpp
pratyaydeep/Competitive-Programming
c6ee9a492915e39b7b4c54d167a3c027a64b48b1
[ "MIT" ]
1
2021-07-19T08:39:38.000Z
2021-07-19T08:39:38.000Z
// Problem 1: A Whole New Word // Idea: Brute Force (just generating all strings of given characters, return the first generated string that is not found in the dictionary) #include <bits/stdc++.h> using namespace std; const int MAX_N = 1e5 + 5; const int MAX_L = 20; // ~ Log N const long long MOD = 1e9 + 7; const l...
22.555556
141
0.532723
pratyaydeep
6df8b3d9ad306a18bc5943553fe6eed3a1c29df2
5,021
cpp
C++
test/parse_tree.cpp
cmargiotta/ratl
84d76f23bbc52d3e581cfbb5e5a3dd04993e74c2
[ "MIT" ]
null
null
null
test/parse_tree.cpp
cmargiotta/ratl
84d76f23bbc52d3e581cfbb5e5a3dd04993e74c2
[ "MIT" ]
null
null
null
test/parse_tree.cpp
cmargiotta/ratl
84d76f23bbc52d3e581cfbb5e5a3dd04993e74c2
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_ENABLE_BENCHMARKING #include <catch2/catch.hpp> #include <fstream> #include <iostream> #include <math/fraction.hpp> #include <parser/dice.hpp> #include <parser/math.hpp> #include <parser/math_function.hpp> #include <parser/regex.hpp> SCENARIO("Regex parse tree") { GIVEN("A regex parser and ...
28.856322
93
0.49293
cmargiotta
6df8e55ef6356d1bd6e87c4f7b67cd5cec20118e
1,788
cpp
C++
test/snippet/alignment/matrix/debug_matrix_trace.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/snippet/alignment/matrix/debug_matrix_trace.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/snippet/alignment/matrix/debug_matrix_trace.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
#include <iostream> #include <seqan3/alphabet/nucleotide/dna4.hpp> #include <seqan3/alignment/matrix/debug_matrix.hpp> #include <seqan3/core/debug_stream.hpp> #include <seqan3/range/views/to_char.hpp> int main() { // using namespace seqan3; using seqan3::detail::debug_matrix; using seqan3::operator""_dna4...
35.76
110
0.615213
marehr
6df953f7de78c5d844b7a240b350f8253e81d074
21,876
cpp
C++
catboost/cuda/cuda_util/sort.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
catboost/cuda/cuda_util/sort.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
catboost/cuda/cuda_util/sort.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#include "sort.h" #include "reorder_bins.h" #include <catboost/cuda/cuda_lib/cuda_buffer.h> #include <catboost/cuda/cuda_lib/cuda_kernel_buffer.h> #include <catboost/cuda/cuda_lib/kernel.h> #include <catboost/cuda/cuda_util/kernel/sort.cuh> #include <catboost/cuda/cuda_util/kernel/transform.cuh> #include <catboost/lib...
37.140917
172
0.598236
HeyLey
6dfdf0104e6d8f0e56afba47b2b7c59c43c9e52e
2,266
cpp
C++
src/ui/ControlsWidget.cpp
MatPoliquin/retro
c70c174a9818d1e97bc36e61abb4694d28fc68e1
[ "MIT-0", "MIT" ]
2,706
2018-04-05T18:28:50.000Z
2022-03-29T16:56:59.000Z
src/ui/ControlsWidget.cpp
MatPoliquin/retro
c70c174a9818d1e97bc36e61abb4694d28fc68e1
[ "MIT-0", "MIT" ]
242
2018-04-05T22:30:42.000Z
2022-03-19T01:55:11.000Z
src/ui/ControlsWidget.cpp
MatPoliquin/retro
c70c174a9818d1e97bc36e61abb4694d28fc68e1
[ "MIT-0", "MIT" ]
464
2018-04-05T19:10:34.000Z
2022-03-28T13:33:32.000Z
#include "ControlsWidget.h" #include "ui_ControlsWidget.h" #include <QGroupBox> #include <QKeySequenceEdit> #include <QLabel> ControlsWidget::ControlsWidget(const QString& platform, QWidget* parent) : QDialog(parent) , m_ui(new Ui::ControlsWidget) { m_ui->setupUi(this); m_ui->platform->setTitle(platform); m_sect...
27.301205
102
0.698147
MatPoliquin
a300c0ce65eb4fcf7b6443f06c01650df6ce9b8f
21,074
cpp
C++
source/code/providers/MySQL_Server_Class_Provider.cpp
Bhaskers-Blu-Org2/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-06-18T14:41:36.000Z
2019-01-10T09:46:20.000Z
source/code/providers/MySQL_Server_Class_Provider.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-04-12T23:00:45.000Z
2019-03-28T23:04:57.000Z
source/code/providers/MySQL_Server_Class_Provider.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
6
2019-09-18T00:11:36.000Z
2021-11-10T10:07:03.000Z
/* @migen@ */ /* * --------------------------------- START OF LICENSE ---------------------------- * * MySQL cimprov ver. 1.0 * * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software...
33.990323
124
0.624988
Bhaskers-Blu-Org2
a30172f20b7ffc51b3953b50b8337ba4888b5840
4,479
cpp
C++
example/multi-surfaces/src/minko/geometry/CubeGeometryDown.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
example/multi-surfaces/src/minko/geometry/CubeGeometryDown.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
example/multi-surfaces/src/minko/geometry/CubeGeometryDown.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014 Aerys 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, merge, publish, distribute, sublicens...
47.147368
97
0.485823
undeadinu
a301d0bf6bf24f228b6516bb9883443158fc5dc7
4,897
hpp
C++
include/RED4ext/Map.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Map.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Map.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cstdint> #include <functional> #include <RED4ext/Common.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/REDfunc.hpp> namespace RED4ext { struct IMemoryAllocator; template<typename K, typename T, class Compare = std::less<K>> struct Map { enum class Flags : int3...
25.638743
105
0.550541
Cyberpunk-Extended-Development-Team
a3023474f92dcc869cfa07d44bca6f0ade4ebe44
788
hpp
C++
inc/Game.hpp
fklemme/DungeonsAndDoenekes
ce57b3f445ba3cf3e6f82922abd08dd58894c33c
[ "MIT" ]
null
null
null
inc/Game.hpp
fklemme/DungeonsAndDoenekes
ce57b3f445ba3cf3e6f82922abd08dd58894c33c
[ "MIT" ]
null
null
null
inc/Game.hpp
fklemme/DungeonsAndDoenekes
ce57b3f445ba3cf3e6f82922abd08dd58894c33c
[ "MIT" ]
1
2020-06-24T16:08:05.000Z
2020-06-24T16:08:05.000Z
#pragma once #include <SFML/Graphics/Font.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <memory> #include <vector> #include "Layers/Layer.hpp" #include "Player.hpp" class Game { public: Game(); ~Game(); void run(); void push_layer(std::unique_ptr<Layer> layer); template <typename La...
21.888889
77
0.666244
fklemme
a30433d17263c1f965bdcde4b49b22ad926000df
7,548
cpp
C++
source/core/common/PropertyTermInfo.cpp
izenecloud/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
77
2015-02-12T20:59:20.000Z
2022-03-05T18:40:49.000Z
source/core/common/PropertyTermInfo.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
1
2017-04-28T08:55:47.000Z
2017-07-10T10:10:53.000Z
source/core/common/PropertyTermInfo.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
33
2015-01-05T03:03:05.000Z
2022-02-06T04:22:46.000Z
/// /// @file PropertyExpr.h /// @brief header file of PropertyExpr /// @author Dohyun YUn /// @date 2008-12-10 /// #include "PropertyTermInfo.h" #include <glog/logging.h> using namespace std; namespace sf1r { PropertyTermInfo::PropertyTermInfo(void) : isWildCardQuery_(false) { } // end - PropertyTermIn...
36.288462
121
0.564918
izenecloud
a30496fde2ace9a9a4e85b8e631f083e94e6ed2a
1,929
inl
C++
source/Locks_Win32.inl
CodeChex/ConcurrentLock
42d8e140c4352c425cf59a7e73493edc7d74d9d4
[ "MIT" ]
null
null
null
source/Locks_Win32.inl
CodeChex/ConcurrentLock
42d8e140c4352c425cf59a7e73493edc7d74d9d4
[ "MIT" ]
null
null
null
source/Locks_Win32.inl
CodeChex/ConcurrentLock
42d8e140c4352c425cf59a7e73493edc7d74d9d4
[ "MIT" ]
null
null
null
#pragma once #ifdef IMPL_USING_MFC typedef class CSyncObject cclSyncObject; typedef class CSingleLock cclSingleLock; typedef class CMutex cclMutex; typedef class CCriticalSection cclCriticalSection; typedef class CEvent cclEvent; #else class _CCL_API cclMutex : public cclSyncObject { public: c...
17.536364
77
0.66563
CodeChex
a3053f70ec5b4b24801fc1b36e908bf2462bde63
811
cpp
C++
src/network/scope_runner.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
src/network/scope_runner.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
src/network/scope_runner.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
#include <server_lib/network/scope_runner.h> #include <server_lib/asserts.h> namespace server_lib { namespace network { std::unique_ptr<scope_runner::shared_lock> scope_runner::continue_lock() { long expected = count; while (expected >= 0 && !count.compare_exchange_weak(expected, expected + 1...
23.852941
85
0.583231
Andrei-Masilevich
a305587ca91f04c9498f5b84ebcb7c3d9b74a335
698
cpp
C++
libcxx/test/std/containers/sequences/list/list.cons/assign_move.addressof.compile.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
libcxx/test/std/containers/sequences/list/list.cons/assign_move.addressof.compile.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
libcxx/test/std/containers/sequences/list/list.cons/assign_move.addressof.compile.pass.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.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 // //===---------------------------...
25.851852
81
0.545845
LaudateCorpus1
a306029088ea13bc75f5ea6a091d0a886c784f89
8,586
inl
C++
include/util/Quaternion.inl
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
include/util/Quaternion.inl
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
include/util/Quaternion.inl
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #include <math.h> #include "util/Vectorisation.hpp" namespace utils { template< typename T > QuaternionT< T >::QuaternionT( NoInit const & )noexcept { } template< typename T > constexpr QuaternionT< T >::QuaternionT()noexcept : x{} , y{} ,...
23.718232
95
0.555439
DragonJoker
a30829060bc8c519ef8adb29efe198508ef8b566
993
hh
C++
include/ATLHECTBPrimaryGeneratorAction.hh
lopezzot/ATLHECTB
1d45179e70aaa6b7dd6eb08c3d13063f440cfc9f
[ "MIT" ]
5
2021-05-20T15:54:33.000Z
2022-03-14T14:08:42.000Z
include/ATLHECTBPrimaryGeneratorAction.hh
lopezzot/ATLHECTB
1d45179e70aaa6b7dd6eb08c3d13063f440cfc9f
[ "MIT" ]
8
2021-09-14T15:06:04.000Z
2021-10-17T15:35:03.000Z
include/ATLHECTBPrimaryGeneratorAction.hh
lopezzot/ATLHECTB
1d45179e70aaa6b7dd6eb08c3d13063f440cfc9f
[ "MIT" ]
null
null
null
//************************************************** // \file ATLHECTBPrimaryGeneratorAction.hh // \brief: Definition of ATLHECTBPrimaryGeneratorAction class // \author: Lorenzo Pezzotti (CERN EP-SFT-sim) @lopezzot // \start date: 11 May 2021 //************************************************** //Prevent including hea...
25.461538
77
0.633434
lopezzot
a30b8628cb77e07b0bf402769735aa28a0e2f30d
2,609
cpp
C++
code/ch_3-CREATIONAL_PATTERNS/00-project_skeleton/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
code/ch_3-CREATIONAL_PATTERNS/00-project_skeleton/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
code/ch_3-CREATIONAL_PATTERNS/00-project_skeleton/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_map> enum Direction { North, South, East, West }; class MapSite { public: virtual void Enter() = 0; }; class Room : public MapSite { public: Room(unsigned int number) : _number(number) { } MapSite* GetSide(Direction direction) const { ...
19.470149
63
0.536987
ordinary-developer
a3134f0ddf77dd8ab6ea8aab99f7033f4c6e4618
1,209
cpp
C++
source/mango/filesystem/path.cpp
aniketanvit/mango
659a6836354ae881c6860f5b961d65ac1f1e85c6
[ "Zlib" ]
1
2021-08-06T09:27:45.000Z
2021-08-06T09:27:45.000Z
source/mango/filesystem/path.cpp
galek/mango
975b438ac9a22ed3a849da6187e1fdf3d547c926
[ "Zlib" ]
null
null
null
source/mango/filesystem/path.cpp
galek/mango
975b438ac9a22ed3a849da6187e1fdf3d547c926
[ "Zlib" ]
1
2021-07-10T11:41:01.000Z
2021-07-10T11:41:01.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2016 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <algorithm> #include <mango/filesystem/path.hpp> namespace mango { // ----------------------------------------------------------------- // Path // -------------------------...
23.705882
90
0.548387
aniketanvit
a314039585b82df9ad2ef923cf0f75ed7b4d8ec3
329
hh
C++
Resources/Sources/Includes/Timer/Timer.hh
hunyadix/dcolscan_tools
df5fb7a01d43dec358f24808b9bbf1c7baf75c7d
[ "MIT" ]
null
null
null
Resources/Sources/Includes/Timer/Timer.hh
hunyadix/dcolscan_tools
df5fb7a01d43dec358f24808b9bbf1c7baf75c7d
[ "MIT" ]
null
null
null
Resources/Sources/Includes/Timer/Timer.hh
hunyadix/dcolscan_tools
df5fb7a01d43dec358f24808b9bbf1c7baf75c7d
[ "MIT" ]
null
null
null
#ifndef TIMER_H #define TIMER_H #include <string> #include <iostream> class Timer { protected: time_t start_t; time_t current_t; double seconds_elapsed; public: Timer(); ~Timer(); virtual void restart(std::string text_p); virtual void print_seconds(std::string pretext_p, std::string post_text_p); };...
15.666667
77
0.723404
hunyadix
a314f906e51cbfbcb7d7bb92ba8c975db7a82c02
7,687
cpp
C++
src/sim/displays/testmfd.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/sim/displays/testmfd.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/sim/displays/testmfd.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
#include "stdhdr.h" #include "camplib.h" #include "mfd.h" #include "Graphics/Include/render2d.h" #include "dispcfg.h" #include "simdrive.h" #include "camp2sim.h" #include "hud.h" #include "aircrft.h" #include "fack.h" #include "otwdrive.h" //MI #include "cpmanager.h" //MI #include "icp.h" //MI #include "aircrft.h" //MI...
27.651079
99
0.540263
Terebinth
a315330d149eb40f0f5fb7f4446f6495d8738149
32,773
cpp
C++
lammps-master/src/fix_box_relax.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/fix_box_relax.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/fix_box_relax.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
33.578893
98
0.548775
rajkubp020
a315cdc1064f02ffa24047319bab9fe841bf95bb
404
cpp
C++
General/Learning/C++/2/main.cpp
123456789x/usaco-guide-solutions
fa3ea5c7c8160aec29f48187e39b0301a4d633fd
[ "MIT" ]
null
null
null
General/Learning/C++/2/main.cpp
123456789x/usaco-guide-solutions
fa3ea5c7c8160aec29f48187e39b0301a4d633fd
[ "MIT" ]
null
null
null
General/Learning/C++/2/main.cpp
123456789x/usaco-guide-solutions
fa3ea5c7c8160aec29f48187e39b0301a4d633fd
[ "MIT" ]
null
null
null
#include "ops.h" #include <iostream> using std::cin; using std::cout; int main() { int a; cout << "Enter first integer: "; cin >> a; int b; cout << "Enter second integer: "; cin >> b; cout << "Sum: " << add(a, b) << "\n"; cout << "Difference: " << subtract(a, b) << "\n"; cout << "Product: " << mul...
16.833333
51
0.502475
123456789x
a315db2068e255ba201668903a5a9b702359df53
642
cc
C++
ash/wm/window_mirror_view_pip.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
ash/wm/window_mirror_view_pip.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
ash/wm/window_mirror_view_pip.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 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/wm/window_mirror_view_pip.h" namespace ash { WindowMirrorViewPip::WindowMirrorViewPip(aura::Window* source, ...
26.75
74
0.716511
zealoussnow
a317e995715beea086b7baf60a338651bebc03a4
2,274
cpp
C++
src/3rdparty/khtml/src/svg/SVGStopElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/SVGStopElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/SVGStopElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> This file is part of the KDE project This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Publi...
28.78481
116
0.700528
afarcat
a319e16bef55bf8bb3add0f3ffc26bf2662edd74
1,318
cpp
C++
BashuOJ-Code/3137.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/3137.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/3137.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int #define ll long long using namespace std; const int MAXN=1005; const int INF=0x7fffffff/2; struct point{int x,y;}; int map[MAXN][MAXN]; boo...
18.828571
95
0.592564
magicgh
a31bef877c09c15ad0837dc6e8ef96790c93786a
3,990
cpp
C++
code/tools/popart-current1/moc_ColourDialog.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
1
2021-01-01T05:57:08.000Z
2021-01-01T05:57:08.000Z
code/tools/popart-current1/moc_ColourDialog.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
null
null
null
code/tools/popart-current1/moc_ColourDialog.cpp
kibet-gilbert/co1_metaanalysis
1089cc03bc4dbabab543a8dadf49130d8e399665
[ "CC-BY-3.0" ]
1
2021-01-01T06:15:56.000Z
2021-01-01T06:15:56.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'ColourDialog.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.7) ** ** WARNING! All changes made in this file will be lost! ********************************************************...
31.92
96
0.624561
kibet-gilbert
a31c7917c40f652b2f9ef88a3bd093593060846b
9,091
cpp
C++
emulation/hel/lib/athena/HAL.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
emulation/hel/lib/athena/HAL.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
emulation/hel/lib/athena/HAL.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2016-2017. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
31.456747
124
0.738093
NWalker1208
a31dd59641a3825257069c7c0bfcaf7d3dd7b398
4,577
cpp
C++
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/xrc/derivdlg.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
471
2019-06-26T09:59:09.000Z
2022-03-30T04:59:42.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/xrc/derivdlg.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/xrc/derivdlg.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
//----------------------------------------------------------------------------- // Name: derivdlg.cpp // Purpose: XML resources sample: A derived dialog // Author: Robert O'Connor (rob@medicalmnemonics.com), Vaclav Slavik // Copyright: (c) Robert O'Connor and Vaclav Slavik // Licence: wxWindows li...
41.609091
92
0.531134
madanagopaltcomcast
a31e176d85994ea627a676eb124c63c4048eb030
6,103
hpp
C++
include/System/Net/SimpleAsyncResult_--c__DisplayClass11_0.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/System/Net/SimpleAsyncResult_--c__DisplayClass11_0.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/System/Net/SimpleAsyncResult_--c__DisplayClass11_0.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/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Net.SimpleAsyncResult...
52.162393
247
0.720957
RedBrumbler
a31fd9b3c3314742f183f1cff978de2151256284
2,178
cpp
C++
icp/BlockEditor/port.cpp
vmarcin/FIT-projects
69e3e0f1f271aefd3135f92a681738a4f1a24395
[ "MIT" ]
null
null
null
icp/BlockEditor/port.cpp
vmarcin/FIT-projects
69e3e0f1f271aefd3135f92a681738a4f1a24395
[ "MIT" ]
null
null
null
icp/BlockEditor/port.cpp
vmarcin/FIT-projects
69e3e0f1f271aefd3135f92a681738a4f1a24395
[ "MIT" ]
null
null
null
/** * @file port.cpp * @brief Port implementation * @author Matúš Liščinský xlisci02, Marcin Vladimír xmarci10 */ #include "port.h" /** * @brief Port constructor */ Port::Port() { this->connected_to=NULL; } /** * @brief Instert complex number to map * @param real real part of complex number ...
25.034483
66
0.605142
vmarcin
a31ff1002e10a9fc2080d1d0259ded8a332b8518
39,397
cpp
C++
Data/Juliet-C/Juliet-C-v102/testcases/CWE666_Operation_on_Resource_in_Wrong_Phase_of_Lifetime/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
Data/Juliet-C/Juliet-C-v102/testcases/CWE666_Operation_on_Resource_in_Wrong_Phase_of_Lifetime/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
Data/Juliet-C/Juliet-C-v102/testcases/CWE666_Operation_on_Resource_in_Wrong_Phase_of_Lifetime/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
/* NOTE - eventually this file will be automatically updated using a Perl script that understand * the naming of test case files, functions, and namespaces. */ #include <time.h> /* for time() */ #include <stdlib.h> /* for srand() */ #include "std_testcase.h" #include "testcases.h" int main(int argc, ch...
62.238547
110
0.892657
b19e93n
a3209886efc315f89493c2ee1a487458965182fa
2,196
hpp
C++
geo/po.hpp
ExploreWilder/libgeo
118ba7f527cbfb5fc6b600495208c1c7d4178414
[ "BSD-2-Clause" ]
1
2019-11-17T11:47:27.000Z
2019-11-17T11:47:27.000Z
externals/browser/externals/browser/externals/libgeo/geo/po.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
1
2021-01-07T03:37:34.000Z
2021-01-08T03:33:51.000Z
externals/browser/externals/browser/externals/libgeo/geo/po.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
2
2019-09-25T05:22:02.000Z
2021-02-14T14:10:03.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
35.419355
79
0.729964
ExploreWilder
a320b15e86086b1e0bb832f591301d234fe314d6
523
cpp
C++
source/ItemRocket.cpp
fgrehm/pucrs-doom2d
edea7d5d762f427a5a8c944d36819009eb514429
[ "MIT" ]
1
2016-08-15T16:11:40.000Z
2016-08-15T16:11:40.000Z
source/ItemRocket.cpp
fgrehm/pucrs-doom2d
edea7d5d762f427a5a8c944d36819009eb514429
[ "MIT" ]
null
null
null
source/ItemRocket.cpp
fgrehm/pucrs-doom2d
edea7d5d762f427a5a8c944d36819009eb514429
[ "MIT" ]
null
null
null
#include "ItemRocket.h" ItemRocket::ItemRocket(int _x, int _y): x(_x), y(_y) { sprite = new cgf::Sprite(); sprite->load("data/img/rocket.png"); sprite->scale(1.2, 1.2); sf::Vector2f vpos = sf::Vector2f(); vpos.x = x; vpos.y = y; sprite->setPosition(vpos); } ItemRocket::~ItemRocket(){ ...
16.34375
40
0.602294
fgrehm
a321d9f446d98819bfdb96a0c0f06b204ad73d0b
767
cpp
C++
HackerEarth/Number Theory/Basics/expmodulo.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
1
2022-03-25T10:20:25.000Z
2022-03-25T10:20:25.000Z
HackerEarth/Number Theory/Basics/expmodulo.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
null
null
null
HackerEarth/Number Theory/Basics/expmodulo.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
null
null
null
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <limits> #include <string.h> using namespace std; typedef long long int ll ; ll expmodulo(ll a, ll b, ll mod) { if(a == 0 || b == 0 || a < 0 || b < 0) return 0; else if(b == 0) return 1; else if(b == 1) return a % mod; else if(b&1) retu...
25.566667
80
0.529335
hendry19901990
a324b0a39da5ae987baf61cc4429f2866caecd8e
9,059
cpp
C++
ouzel/graphics/opengl/ShaderOGL.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
ouzel/graphics/opengl/ShaderOGL.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
ouzel/graphics/opengl/ShaderOGL.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
// Copyright (C) 2016 Elviss Strazdins // This file is part of the Ouzel engine. #include "ShaderOGL.h" #include "core/Engine.h" #include "RendererOGL.h" #include "files/FileSystem.h" #include "utils/Log.h" namespace ouzel { namespace graphics { ShaderOGL::ShaderOGL() { } Shad...
34.842308
123
0.48725
keima97
a325a79cfcd6b9e8bf4d890f77532e9828eb62cd
1,446
cpp
C++
src/GL.cpp
neo-bolea/procedurally
449d583dc09f3779617490b26d4af469b31ec414
[ "MIT" ]
4
2019-11-19T17:05:44.000Z
2020-03-30T20:09:53.000Z
src/GL.cpp
neo-bolea/procedurally
449d583dc09f3779617490b26d4af469b31ec414
[ "MIT" ]
5
2019-12-07T18:07:30.000Z
2020-03-23T10:47:41.000Z
src/GL.cpp
neo-bolea/procedurally
449d583dc09f3779617490b26d4af469b31ec414
[ "MIT" ]
null
null
null
#include "Graphics/GL.h" #include "Common/Debug.h" #include "Graphics/MathGL.h" #include "Graphics/Shader.h" #include <GL/glew.h> #define NOMINMAX #include <fstream> #include <Shlwapi.h> #pragma comment(lib,"shlwapi.lib") namespace GL { void GLAPIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id,...
22.59375
68
0.670816
neo-bolea
a326f975e214f4cd3eef9d9b481d2e5a85c75595
381
hpp
C++
include/unicy/has_insertion_operator.hpp
quantumsheep/unicy
7109b2e99e3853b802e1952ac4bf07dcbcd43978
[ "MIT" ]
1
2020-07-16T18:42:30.000Z
2020-07-16T18:42:30.000Z
include/unicy/has_insertion_operator.hpp
quantumsheep/unicy
7109b2e99e3853b802e1952ac4bf07dcbcd43978
[ "MIT" ]
null
null
null
include/unicy/has_insertion_operator.hpp
quantumsheep/unicy
7109b2e99e3853b802e1952ac4bf07dcbcd43978
[ "MIT" ]
1
2020-07-16T18:46:49.000Z
2020-07-16T18:46:49.000Z
#pragma once #include <iostream> #include <type_traits> #include <utility> namespace Unicy { template <typename Ty, typename = void> struct has_insertion_operator : std::false_type { }; template <typename Ty> struct has_insertion_operator< Ty, std::void_t<decltype(std::declval<std::ostream &>() << std::decl...
15.875
80
0.695538
quantumsheep
a327bcae9393442faf5bfdab23a9f538f30cfab3
718
cpp
C++
Data-Structures/Queue/tests/tests.cpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
1
2020-10-10T10:26:16.000Z
2020-10-10T10:26:16.000Z
Data-Structures/Queue/tests/tests.cpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
null
null
null
Data-Structures/Queue/tests/tests.cpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
null
null
null
#if defined(_WIN32) || defined(_WIN64) || (defined(__CYGWIN__) && !defined(_WIN32)) // Windows uses a different system for path names. #include "..\includer.hpp" #else #include "../includer.hpp" #endif int main() { // Without fixed size. Queue<int, false> qu; for (int i = 0; i < 5; i++) { ...
21.757576
135
0.530641
HetDaftary
a32846cdfeefc5f63c158d789962d8646e0f2b3f
5,461
cpp
C++
2course/Programming/examples/2018_2019/lecture_9_10_1903_01to15_1st.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
9
2017-04-03T08:52:58.000Z
2020-06-05T18:25:02.000Z
2course/Programming/examples/2018_2019/lecture_9_10_1903_01to15_1st.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
6
2018-02-07T18:26:27.000Z
2021-09-02T04:46:06.000Z
2course/Programming/examples/2018_2019/lecture_9_10_1903_01to15_1st.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
10
2018-11-12T18:18:47.000Z
2020-06-06T06:17:01.000Z
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <algorithm> #include <random> #include <ctime> using namespace std; double rand_a_b(double a, double b) { static mt19937_64 gnr{ time(nullptr) }; static const size_t max_gnr = gnr.max(); return a + (b - a) * ( double(gnr()...
23.640693
101
0.609412
posgen
cd142dd2813a41ecc952d1b0b8c6f299d6ec04b9
278
cc
C++
OnlineDB/CSCCondDB/test/stubs/CSCChamberMapPopConAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
OnlineDB/CSCCondDB/test/stubs/CSCChamberMapPopConAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
OnlineDB/CSCCondDB/test/stubs/CSCChamberMapPopConAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "CondCore/PopCon/interface/PopConAnalyzer.h" #include "CSCChamberMapHandler.h" #include "FWCore/Framework/interface/MakerMacros.h" typedef popcon::PopConAnalyzer<popcon::CSCChamberMapImpl> CSCChamberMapPopConAnalyzer; DEFINE_FWK_MODULE(CSCChamberMapPopConAnalyzer);
30.888889
86
0.852518
nistefan
cd165cb5ba7a1c9856c9d5e9fe5a555d9f5cf20b
14,800
cpp
C++
Client/userlist.cpp
alice-create/O-Chat
fea0ebe0f19cfeaca068468b87684e2421ad5700
[ "Apache-2.0" ]
null
null
null
Client/userlist.cpp
alice-create/O-Chat
fea0ebe0f19cfeaca068468b87684e2421ad5700
[ "Apache-2.0" ]
null
null
null
Client/userlist.cpp
alice-create/O-Chat
fea0ebe0f19cfeaca068468b87684e2421ad5700
[ "Apache-2.0" ]
null
null
null
#include "userlist.h" #include "ui_userlist.h" #include "info.h" #include "addfriend.h" userlist::userlist(QWidget *parent) : QWidget(parent), ui(new Ui::userlist) { ui->setupUi(this); // sock = new QTcpSocket(this); // lists = ui -> listWidget; // person = new user(); // QListWidgetItem *itemN...
33.408578
160
0.45223
alice-create
cd169ab7115e1d4809405332afa37bb4d2241d55
1,176
cpp
C++
Plugins/org.blueberry.ui.qt/src/berrySelectionChangedEvent.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/berrySelectionChangedEvent.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/berrySelectionChangedEvent.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
23.52
80
0.664966
liu3xing3long
cd1781c14ed9473225ed64a08227af44da19bd24
449
hpp
C++
lib/libCFG/include/CapstoneHelper.hpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
lib/libCFG/include/CapstoneHelper.hpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
lib/libCFG/include/CapstoneHelper.hpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <tuple> #include <vector> #include "capstone/capstone.h" std::tuple<cs_arch, cs_mode> map_triple_cs(uint32_t triple); std::vector<uint64_t> get_imm_vals(const cs_insn &insn, cs_arch arch, uint32_t base_reg, uint64_t reg_val); bool is_nop(cs_arch arch, cs_insn *insn); boo...
21.380952
107
0.781737
cyber-itl
cd1b8cc2ff02d9f9df983c15e2b9063567054ce4
4,999
cc
C++
chrome/browser/chromeos/extensions/document_scan/document_scan_api.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/chromeos/extensions/document_scan/document_scan_api.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/chromeos/extensions/document_scan/document_scan_api.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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 "chrome/browser/chromeos/extensions/document_scan/document_scan_api.h" #include <utility> #include <vector> #include "base/base64.h" #include "...
35.707143
80
0.744549
iridium-browser
cd1ba70d97f48201fb4cad0a3bcfb145b041d3cb
647
cpp
C++
SRCS/Sound.cpp
Dreinale/Bomberman_project
ed98d44f54906b1e3f7941b58d8e1493711f355b
[ "MIT" ]
1
2021-07-12T21:59:28.000Z
2021-07-12T21:59:28.000Z
SRCS/Sound.cpp
Dreinale/Bomberman_project
ed98d44f54906b1e3f7941b58d8e1493711f355b
[ "MIT" ]
null
null
null
SRCS/Sound.cpp
Dreinale/Bomberman_project
ed98d44f54906b1e3f7941b58d8e1493711f355b
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** sound ** File description: ** soudn */ #include "Sound.hpp" Zic::Zic(float *volume, int play_time, std::string path) { _play_time = play_time; music = LoadMusicStream(path.c_str()); _volume = volume; } void Zic::play_music() { PlayMusicStream(music); SetMusicVolume(...
15.780488
77
0.669243
Dreinale
cd1d14a8b2a9f623c969a7ac83bc5af4c5a425d4
732
cpp
C++
src/battery.cpp
Fanteria/bar-indicators
cdc19c80a0d6917be9ed2cdabe09e8a5c8e7b624
[ "MIT" ]
null
null
null
src/battery.cpp
Fanteria/bar-indicators
cdc19c80a0d6917be9ed2cdabe09e8a5c8e7b624
[ "MIT" ]
null
null
null
src/battery.cpp
Fanteria/bar-indicators
cdc19c80a0d6917be9ed2cdabe09e8a5c8e7b624
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> #include<string> std::string batteryStatus[] = {"", "", "", "", ""}; int main (int argc, char ** argv) { if (argc != 3) exit(1); // Load percentage. std::string line; std::ifstream f(*(argv + 1)); std::getline(f, line); f.close(); std::c...
22.181818
61
0.538251
Fanteria
cd1d1bb00f17e4b5cccd14584692d6c8100f57f1
13,350
cpp
C++
lgc/patch/PatchInitializeWorkgroupMemory.cpp
flygod1159/llpc
58664d422f062ce29680f7ca40407cdf70944209
[ "MIT" ]
1
2022-01-13T16:44:16.000Z
2022-01-13T16:44:16.000Z
lgc/patch/PatchInitializeWorkgroupMemory.cpp
flygod1159/llpc
58664d422f062ce29680f7ca40407cdf70944209
[ "MIT" ]
null
null
null
lgc/patch/PatchInitializeWorkgroupMemory.cpp
flygod1159/llpc
58664d422f062ce29680f7ca40407cdf70944209
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2021-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
48.021583
120
0.65161
flygod1159
cd1dd4cfa212c487e4f213d8ac9c0eb63a3ef0e9
1,593
cpp
C++
01_sensor/06_grey_MPU9250/src/main.cpp
satoruosawa/samples-for-m5stack
ccc003bda296f769c8e20bfed757bed0d6419ce7
[ "MIT" ]
null
null
null
01_sensor/06_grey_MPU9250/src/main.cpp
satoruosawa/samples-for-m5stack
ccc003bda296f769c8e20bfed757bed0d6419ce7
[ "MIT" ]
null
null
null
01_sensor/06_grey_MPU9250/src/main.cpp
satoruosawa/samples-for-m5stack
ccc003bda296f769c8e20bfed757bed0d6419ce7
[ "MIT" ]
null
null
null
// define must ahead #include <M5Stack.h> // #define M5STACK_MPU6886 #define M5STACK_MPU9250 // #define M5STACK_MPU6050 // #define M5STACK_200Q #include <M5Stack.h> float accX = 0.0F; float accY = 0.0F; float accZ = 0.0F; float gyroX = 0.0F; float gyroY = 0.0F; float gyroZ = 0.0F; float pitch = 0.0F; float roll = 0...
24.507692
66
0.64909
satoruosawa
cd1e2c99ce4f8a6aa2e2beb9c0800cc5e481246e
2,456
cc
C++
src/connectivity/overnet/deprecated/lib/packet_protocol/aead_codec_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/connectivity/overnet/deprecated/lib/packet_protocol/aead_codec_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/connectivity/overnet/deprecated/lib/packet_protocol/aead_codec_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/connectivity/overnet/deprecated/lib/packet_protocol/aead_codec.h" #include <random> #include "gtest/gtest.h" namespace overnet { namespace...
30.7
97
0.626221
OpenTrustGroup
cd1fbb632f3b5d2c4c1cfc7fda4abefe73307c2b
3,813
cpp
C++
3rdparty/spirv-tools/source/opt/strip_nonsemantic_info_pass.cpp
amrezzd/bgfx
560669f6c0e19daf8f29e1f085599f0765e4ee35
[ "BSD-2-Clause" ]
188
2021-08-11T07:42:41.000Z
2022-03-31T09:58:09.000Z
3rdparty/spirv-tools/source/opt/strip_nonsemantic_info_pass.cpp
amrezzd/bgfx
560669f6c0e19daf8f29e1f085599f0765e4ee35
[ "BSD-2-Clause" ]
2
2021-09-25T16:51:34.000Z
2021-11-21T15:59:11.000Z
3rdparty/spirv-tools/source/opt/strip_nonsemantic_info_pass.cpp
amrezzd/bgfx
560669f6c0e19daf8f29e1f085599f0765e4ee35
[ "BSD-2-Clause" ]
16
2021-09-02T08:37:25.000Z
2022-03-30T16:53:26.000Z
// Copyright (c) 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 ...
32.87069
80
0.664044
amrezzd
cd1fe66e1137d11b16d38839645d99ff6077284a
12,962
cc
C++
tensorflow/compiler/mlir/xla/transforms/lhlo_legalize_to_linalg.cc
Samsomyajit/tensorflow
c7adb780108f100e5181128745e3917b8fce6887
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/xla/transforms/lhlo_legalize_to_linalg.cc
Samsomyajit/tensorflow
c7adb780108f100e5181128745e3917b8fce6887
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/xla/transforms/lhlo_legalize_to_linalg.cc
Samsomyajit/tensorflow
c7adb780108f100e5181128745e3917b8fce6887
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
38.924925
80
0.632464
Samsomyajit
cd1ffc92ab570432a5a298c529e1c74373753446
874
cpp
C++
PhantomEngine/PhantomAction.cpp
DexianZhao/PhantomGameEngine
cf8e341d21e3973856d9f23ad0b1af9db831bac7
[ "MIT" ]
4
2019-11-08T00:15:13.000Z
2021-03-26T13:34:50.000Z
src/PhantomEngine/PhantomAction.cpp
DexianZhao/PhantomEngineV2
cc3bf02ca1d442713d471ca8835ca026bb32e841
[ "MIT" ]
4
2021-03-13T10:26:09.000Z
2021-03-13T10:45:35.000Z
src/PhantomEngine/PhantomAction.cpp
DexianZhao/PhantomEngineV2
cc3bf02ca1d442713d471ca8835ca026bb32e841
[ "MIT" ]
3
2020-06-01T01:53:05.000Z
2021-03-21T03:51:33.000Z
////////////////////////////////////////////////////////////////////////////////////////////////////// /* 文件 : PhantomAction.cpp 幻影游戏引擎, 2009-2016, Phantom Game Engine, http://www.aixspace.com Design Writer : 赵德贤 Dexian Zhao Email: yuzhou_995@hotmail.com Copyright 2009-2016 Zhao Dexian -------------------...
23.621622
103
0.372998
DexianZhao
cd210fd1cec964065fd0ac3ed6ddbc1e90a98691
2,782
cpp
C++
src/ai/la/WordSetChecker.cpp
name212/GrammarEngine
1912809d6a19977c9d2fff88279b76a6152b659d
[ "MIT" ]
55
2015-04-11T17:39:27.000Z
2022-01-07T17:52:22.000Z
src/ai/la/WordSetChecker.cpp
name212/GrammarEngine
1912809d6a19977c9d2fff88279b76a6152b659d
[ "MIT" ]
17
2017-11-22T13:31:11.000Z
2021-06-06T08:30:43.000Z
src/ai/la/WordSetChecker.cpp
qwazer/GrammarEngine
08e1eb7bdfd77f29a51a7063848d74b9171291c4
[ "MIT" ]
28
2015-05-21T08:27:31.000Z
2022-02-24T21:42:36.000Z
#include <lem/solarix/LA_WordEntrySet.h> #include <lem/solarix/word_form.h> #include <lem/solarix/WordSetChecker.h> using namespace Solarix; WordSetChecker::WordSetChecker() : set_type(UNKNOWN), positive(false) {} WordSetChecker::WordSetChecker(int type, const lem::UCString &Setname, bool Positiv...
27.009709
151
0.675054
name212
cd229ade02b635fa8b562ca56a06c88e6bf80d38
1,772
hpp
C++
src/common/StringFormer.hpp
zhaldak/signature
f4c8eafd2d2af6b60f0b1380d5d4b01d33f35b74
[ "MIT" ]
null
null
null
src/common/StringFormer.hpp
zhaldak/signature
f4c8eafd2d2af6b60f0b1380d5d4b01d33f35b74
[ "MIT" ]
null
null
null
src/common/StringFormer.hpp
zhaldak/signature
f4c8eafd2d2af6b60f0b1380d5d4b01d33f35b74
[ "MIT" ]
1
2020-02-01T11:41:39.000Z
2020-02-01T11:41:39.000Z
#pragma once #include <algorithm> #include <string_view> #include <cstdio> #include <cstdint> #include <cstdarg> class StringFormer { public: StringFormer(StringFormer&&) = delete; StringFormer(StringFormer const&) = delete; StringFormer& operator=(StringFormer&&) = delete; Strin...
24.273973
88
0.61851
zhaldak
cd232a6bc8d430afe3bf2d8375c894eff92b5662
34,676
cpp
C++
TerrainApps/CManager/frame.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainApps/CManager/frame.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/CManager/frame.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// // Name: frame.cpp // Purpose: The frame class for the Content Manager. // // Copyright (c) 2001-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #...
25.385066
91
0.701061
nakijun
cd24d16e13fdef4060d3fde1f6b9d7b22eaba84f
1,521
cpp
C++
Sources/WebApp/AppFramework/SDL2Caches.cpp
kovacsv/VisualScriptEngineWeb
e7eb8089018969d691a4e47a92eea43e75bfb017
[ "MIT" ]
19
2020-08-01T14:52:21.000Z
2022-03-27T01:09:59.000Z
Sources/WebApp/AppFramework/SDL2Caches.cpp
kovacsv/VisualScriptEngineWeb
e7eb8089018969d691a4e47a92eea43e75bfb017
[ "MIT" ]
17
2020-08-14T15:03:07.000Z
2020-09-24T17:08:52.000Z
Sources/WebApp/AppFramework/SDL2Caches.cpp
kovacsv/VisualScriptEngineWeb
e7eb8089018969d691a4e47a92eea43e75bfb017
[ "MIT" ]
null
null
null
#include "SDL2Caches.hpp" #include "NE_StringUtils.hpp" FontTextureCacheKey::FontTextureCacheKey (const std::wstring& text, const NUIE::ColorCacheKey& color, int size) : text (text), color (color), size (size) { } bool FontTextureCacheKey::operator== (const FontTextureCacheKey& rhs) const { return text == rhs.te...
24.532258
113
0.748849
kovacsv
cd26e8480f16b32070d2ad7407364896f7a40aa1
2,308
cpp
C++
src/AdventOfCode2020/Day23-CrabCups/Day23-CrabCups.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day23-CrabCups/Day23-CrabCups.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day23-CrabCups/Day23-CrabCups.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "Day23-CrabCups.h" #include "CupMixer.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS #include <vector> #include <algorithm> #include <numeric> __END_LIBRARIES_DISABLE_WARNINGS namespace { size_t MANY_CUPS_NUMBER = 1'000'000; } namespace AdventOfCode { ...
27.807229
120
0.727903
dbartok
cd27753b2c2eb1db41ed81d13b6cccb941eaa480
52,967
cpp
C++
src/OpenGL/common/Image.cpp
aswimmingfish/swiftshader
dc7759ccc3151a1aefefa9f86610e66f6fe9311c
[ "Apache-2.0" ]
1
2020-09-29T03:14:19.000Z
2020-09-29T03:14:19.000Z
src/OpenGL/common/Image.cpp
longde123/SwiftShader
2ddef8858e5015140f374d5c06d1a68b7c78af10
[ "Apache-2.0" ]
null
null
null
src/OpenGL/common/Image.cpp
longde123/SwiftShader
2ddef8858e5015140f374d5c06d1a68b7c78af10
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 The SwiftShader Authors. 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 b...
31.565554
211
0.693621
aswimmingfish
cd2fa4921c143259a4adcecca86c08b4d31061f4
337
cpp
C++
cEpiabm/src/dataclasses/household.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
null
null
null
cEpiabm/src/dataclasses/household.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
null
null
null
cEpiabm/src/dataclasses/household.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
1
2022-03-14T06:00:30.000Z
2022-03-14T06:00:30.000Z
#include "household.hpp" namespace epiabm { Household::Household(size_t mcellPos) : MembersInterface(mcellPos), m_params(), m_mcellPos(mcellPos) {} size_t Household::microcellPos() const { return m_mcellPos; } HouseholdParams& Household::params() { return m_params; } } // ...
17.736842
65
0.661721
Saketkr21
cd308f4a93d6b788f5e0759b238cc90487b2c8b1
3,686
cpp
C++
src/lib/Unidraw/ulabel.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
src/lib/Unidraw/ulabel.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
src/lib/Unidraw/ulabel.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
#ifdef HAVE_CONFIG_H #include <../../config.h> #endif /* * Copyright (c) 1990, 1991 Stanford University * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided * that the above copyright notice appear in all copies and ...
27.303704
79
0.627509
emer
cd312e2187caf0c3593f1946fe944c2acd8e20ad
3,745
cc
C++
lite/tests/kernels/sequence_pad_test.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
6
2020-07-01T02:52:16.000Z
2021-06-22T12:15:59.000Z
lite/tests/kernels/sequence_pad_test.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
null
null
null
lite/tests/kernels/sequence_pad_test.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
1
2021-07-24T15:30:46.000Z
2021-07-24T15:30:46.000Z
// Copyright (c) 2021 PaddlePaddle Authors. 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...
32.008547
75
0.658745
winter-wang
cd332b0704436ea6dd1415cc10a86ee6c4d4c083
43,948
hpp
C++
include/jsoncons/json_container.hpp
snatesh/NEMoSys_fork
5c1d8244c274a8e9e2a66c23baa91329dcdaf0eb
[ "NCSA" ]
4
2019-10-25T00:37:17.000Z
2020-06-02T22:23:02.000Z
include/jsoncons/json_container.hpp
snatesh/NEMoSys_fork
5c1d8244c274a8e9e2a66c23baa91329dcdaf0eb
[ "NCSA" ]
null
null
null
include/jsoncons/json_container.hpp
snatesh/NEMoSys_fork
5c1d8244c274a8e9e2a66c23baa91329dcdaf0eb
[ "NCSA" ]
null
null
null
// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_JSON_CONTAINER_HPP #define JSONCONS_JSON_CONTAINER_HPP #...
30.647141
127
0.554132
snatesh
cd34af2faa7cdce1a63b00f7b07ac9f51bf477fe
7,113
hpp
C++
src/layer/common/reshape_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/layer/common/reshape_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/layer/common/reshape_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#ifndef TEXTNET_LAYER_RESHAPE_LAYER_INL_HPP_ #define TEXTNET_LAYER_RESHAPE_LAYER_INL_HPP_ #include <iostream> #include <fstream> #include <sstream> #include <set> #include <mshadow/tensor.h> #include "../layer.h" #include "../op.h" namespace textnet { namespace layer { template<typename xpu> class ReshapeLayer : pu...
31.754464
91
0.556446
pl8787
cd38e1ef9672b455e3ad9810398c6a0a5c68fe75
3,312
cpp
C++
C++/tictactoe.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
C++/tictactoe.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
51
2021-10-01T08:16:42.000Z
2021-10-31T13:51:51.000Z
C++/tictactoe.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
#include <stdio.h> #include <stdlib.h> #include <bits/stdc++.h> using namespace std; char square[10] = { 'o', '1', '2', '3', '4', '5', '6', '7', '8', '9' }; int choice, player; int checkForWin(); void displayBoard(); void markBoard(char mark); int main() { int gameStatus; char mark; player = 1; d...
21.506494
83
0.462862
OluSure
cd3c3bcfed4b9ef19161bdc8e38477bd8c604bb7
224
cpp
C++
113.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
113.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
113.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cmath> using namespace std; int main() { double m,n,p,k; while(scanf("%lf %lf",&n,&p)!=EOF) { k=pow(p,1/n); printf("%0.lf\n",k); } return 0; }
14.933333
38
0.526786
abdullah1107
cd3d78ff7f43762aeff7c21c690982d576577192
5,277
cxx
C++
test/test_shm.cxx
yushansuger/nwcp
8c2e6a31af59f3d209c962438b8b123b415b4fa4
[ "MIT" ]
null
null
null
test/test_shm.cxx
yushansuger/nwcp
8c2e6a31af59f3d209c962438b8b123b415b4fa4
[ "MIT" ]
null
null
null
test/test_shm.cxx
yushansuger/nwcp
8c2e6a31af59f3d209c962438b8b123b415b4fa4
[ "MIT" ]
1
2020-09-14T09:06:25.000Z
2020-09-14T09:06:25.000Z
#include "cpshm.h" #include <stdio.h> #include "cpstring.h" const char* shm_id = "test_nwdl_shm"; struct TEST_SHM_DATA { char str[128]; int len; }; void print_data(TEST_SHM_DATA* data) { printf("TEST_SHM_DATA::str: %s \nTEST_SHM_DATA::len: %d\n\n", data->str, data->len); } ...
19.838346
67
0.492515
yushansuger
cd3da9cdf1f7eae7625770ccb27a08b05ae42506
5,722
cpp
C++
SDK/EnchantedCompass_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
3
2021-03-27T08:30:37.000Z
2021-04-18T19:32:53.000Z
SDK/EnchantedCompass_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
null
null
null
SDK/EnchantedCompass_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
1
2021-06-01T03:05:50.000Z
2021-06-01T03:05:50.000Z
// Name: SeaOfThieves, Version: 2.0.23 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //--------------------------------------------...
23.841667
171
0.773855
alxalx14