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
109
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
48.5k
⌀
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
a3cca5e46a76a6bf900ca4b7eecdefcf20f4e33e
1,423
hpp
C++
modules/boost/simd/base/include/boost/simd/arithmetic/functions/simd/common/fast_rec.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/arithmetic/functions/simd/common/fast_rec.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/arithmetic/functions/simd/common/fast_rec.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 2012 - 2013 MetaScale SAS // // Distributed under the Boost Softw...
39.527778
80
0.567112
psiha
a3cddec71e127011d0cdb5c25e22e1cf7f42fc73
7,392
cpp
C++
arataga/user_list_processor/a_processor.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
14
2021-01-08T15:43:37.000Z
2021-11-06T19:30:15.000Z
arataga/user_list_processor/a_processor.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
5
2021-03-07T06:51:33.000Z
2021-07-01T09:54:30.000Z
arataga/user_list_processor/a_processor.cpp
Stiffstream/arataga
b6e1720dd2df055949847425f12bb1af56edbe83
[ "MIT", "Newsletr", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/*! * @file * @brief Agent for handling user-list. */ #include <arataga/user_list_processor/a_processor.hpp> #include <arataga/user_list_processor/notifications.hpp> #include <arataga/user_list_auth_data.hpp> #include <arataga/admin_http_entry/helpers.hpp> #include <arataga/utils/load_file_into_memory.hpp> #inc...
23.1
72
0.664637
Stiffstream
a3d64716e4ec72c34346c738d60060276ab7b760
1,411
hxx
C++
ivp/ivp_intern/ivp_i_object_vhash.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/ivp_intern/ivp_i_object_vhash.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/ivp_intern/ivp_i_object_vhash.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. #ifndef IVP_OBJECT_HASH_INCLUDED #define IVP_OBJECT_HASH_INCLUDED #ifndef WIN32 # pragma interface #endif #ifndef _IVP_VHASH_INCLUDED # include "ivu_vhash.hxx" #endif class IVP_Object_Callback_Table { public: IVP_Real_Object ...
25.654545
88
0.732105
DannyParker0001
a3d763b93fd2a08759c65e9ae04051e3db21e2df
644
cc
C++
Cpp_Primer/5rd/0314/smart_point/auto_ptr.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
Cpp_Primer/5rd/0314/smart_point/auto_ptr.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
Cpp_Primer/5rd/0314/smart_point/auto_ptr.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> int main() { double* pd = new double(77.77); std::auto_ptr<double> apd(pd); std::cout << "*apd = " << *apd << '\n'; //std::cout << "apd = " << apd << '\n'; // error std::cout << "apd.get() = " << apd.get() << '\n'; std::cout << "pd = " << pd << '\n'; int *pi = new i...
23.851852
53
0.493789
honeytavis
a3dc3621ef398fd668a3bb675efa772a36c3b9fa
4,518
cpp
C++
src/internal_lexer_builder_integration_test.cpp
mohitmv/aparse
34a6811f9a3d4f1c5dd21ed874b14e59e6725746
[ "MIT" ]
2
2021-04-15T20:02:37.000Z
2021-04-17T18:18:50.000Z
src/internal_lexer_builder_integration_test.cpp
mohitmv/aparse
34a6811f9a3d4f1c5dd21ed874b14e59e6725746
[ "MIT" ]
1
2019-10-07T10:41:52.000Z
2019-10-07T10:41:52.000Z
src/internal_lexer_builder_integration_test.cpp
mohitmv/aparse
34a6811f9a3d4f1c5dd21ed874b14e59e6725746
[ "MIT" ]
1
2020-05-05T16:52:20.000Z
2020-05-05T16:52:20.000Z
// Copyright: 2015 Mohit Saini // Author: Mohit Saini (mohitsaini1196@gmail.com) #include "src/internal_lexer_builder.hpp" #include <iostream> #include "quick/debug.hpp" #include "gtest/gtest.h" #include "quick/stl_utils.hpp" #include "src/regex_helpers.hpp" using aparse::Lexer; using aparse::Regex; using aparse::...
32.978102
78
0.583665
mohitmv
a3e01ff28ed6534c45394b2b5282110ad3895a3a
542
cpp
C++
Weep Engine/Color.cpp
WEEP-WORKS/WEEP-ENGINE
f92565689490194f0a150d6c09bb09f9080e753f
[ "MIT" ]
8
2019-10-31T14:11:37.000Z
2019-12-11T15:26:25.000Z
Weep Engine/Color.cpp
WEEP-WORKS/WEEP-ENGINE
f92565689490194f0a150d6c09bb09f9080e753f
[ "MIT" ]
null
null
null
Weep Engine/Color.cpp
WEEP-WORKS/WEEP-ENGINE
f92565689490194f0a150d6c09bb09f9080e753f
[ "MIT" ]
1
2019-11-01T08:51:56.000Z
2019-11-01T08:51:56.000Z
#include "Color.h" Color Red = Color(1.0f, 0.0f, 0.0f); Color Green = Color(0.0f, 1.0f, 0.0f); Color Blue = Color(0.0f, 0.0f, 1.0f); Color Black = Color(0.0f, 0.0f, 0.0f); Color White = Color(1.0f, 1.0f, 1.0f); Color Orange = Color(0.75f, 0.25f, 0.0f); Color Grey = Color(0.84f, 0.84f, 0.84f); Color Brown = Color(0.45...
33.875
42
0.627306
WEEP-WORKS
9cada3c56706dc840c2a8a458d21980863ea8312
10,598
cpp
C++
Projects/ZeroLauncher/ZeroLauncherSharedLibrary/LauncherComponents.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
Projects/ZeroLauncher/ZeroLauncherSharedLibrary/LauncherComponents.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
Projects/ZeroLauncher/ZeroLauncherSharedLibrary/LauncherComponents.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Josh Davis /// Copyright 2016, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" namespace Zero { // Small helper to ...
29.769663
112
0.665975
jodavis42
9cadc3caa6306392e71532c3219a902dde00a179
1,506
cpp
C++
src/Tools/ImageInstrument.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
src/Tools/ImageInstrument.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
src/Tools/ImageInstrument.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
#include "libs/SDL_draw-1.2.13/include/SDL_draw.h" #include "Model/DataModel.hpp" #include "ImageInstrument.hpp" #include "main/utils.hpp" #include <unistd.h> #include <regex> void ImageInstrument::draw(int x, int y, SDL_Rect bound) { updateCanvasScreen(&bound); pos.x = x; pos.y = y; if ( pos.x >= bound.x ...
27.381818
95
0.575033
qzerrty
9cb468b48859a6ea24165cab0bca7202e5a6a49a
7,506
cpp
C++
src/utilities/data/Test/CalibrationResult_GTest.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/utilities/data/Test/CalibrationResult_GTest.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/utilities/data/Test/CalibrationResult_GTest.cpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
56.43609
147
0.719291
muehleisen
9cb46a0c1f0ec9c522b68148b4fb62a0b26ef70b
1,296
cpp
C++
Basic Programming C++/Deret Segitiga siku-siku.cpp
adiikurr/teknikinformatikauskw
b412bdb25d8c70580e2adc4be9300323ee942e4d
[ "Apache-2.0" ]
null
null
null
Basic Programming C++/Deret Segitiga siku-siku.cpp
adiikurr/teknikinformatikauskw
b412bdb25d8c70580e2adc4be9300323ee942e4d
[ "Apache-2.0" ]
null
null
null
Basic Programming C++/Deret Segitiga siku-siku.cpp
adiikurr/teknikinformatikauskw
b412bdb25d8c70580e2adc4be9300323ee942e4d
[ "Apache-2.0" ]
null
null
null
// Nama : Adi Kurniawan // NIM : 672021172 #include <iostream> using namespace std; int main(){ int angka; cout << "Masukan angka tingginya : "; cin >> angka; for(int a = 1; a <= (angka); a++){ // Looping endline ke arah bawah sebanyak "angka" for(int y = 1; y <= (angka); y++){ ...
30.139535
109
0.359568
adiikurr
9cb88e416279a32b25e5feeb6ea3b1bd757c4bc8
1,468
cpp
C++
binding/matlab/S2M_globalJCS.cpp
fmoissenet/biorbd
3b3352bf06b9e8fbbdf4f77c852b6a115522becf
[ "MIT" ]
null
null
null
binding/matlab/S2M_globalJCS.cpp
fmoissenet/biorbd
3b3352bf06b9e8fbbdf4f77c852b6a115522becf
[ "MIT" ]
null
null
null
binding/matlab/S2M_globalJCS.cpp
fmoissenet/biorbd
3b3352bf06b9e8fbbdf4f77c852b6a115522becf
[ "MIT" ]
null
null
null
void S2M_globalJCS( int nlhs, mxArray *plhs[], int nrhs, const mxArray*prhs[] ){ // Verifier les arguments d'entrée checkNombreInputParametres(nrhs, 3, 3, "3 arguments are required where the 2nd is the handler on the model and 3rd is the Q"); // Recevoir le model s2mMusculoSkeletalModel * model =...
39.675676
130
0.619891
fmoissenet
9cb8f0e6c0052693929b4c1edb1eac5e00f2e813
3,013
cc
C++
src/batch_update_result.cc
jiri/toggldesktop
38830a3bd19318b9684b2a6cdf4c15470a220442
[ "BSD-3-Clause" ]
null
null
null
src/batch_update_result.cc
jiri/toggldesktop
38830a3bd19318b9684b2a6cdf4c15470a220442
[ "BSD-3-Clause" ]
null
null
null
src/batch_update_result.cc
jiri/toggldesktop
38830a3bd19318b9684b2a6cdf4c15470a220442
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Toggl Desktop developers. #include "batch_update_result.h" #include <sstream> #include <cstring> #include "base_model.h" namespace toggl { error BatchUpdateResult::Error() const { if (StatusCode >= 200 && StatusCode < 300) { return noError; } if ("null" != Body) { retu...
25.752137
99
0.6077
jiri
9cbea5afad327a1d899a79339488c5928297e698
192
cpp
C++
Math/Base conversion/Excel Column Title .cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
7
2019-06-29T08:57:07.000Z
2021-02-13T06:43:40.000Z
Math/Base conversion/Excel Column Title .cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
null
null
null
Math/Base conversion/Excel Column Title .cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
3
2020-06-17T04:26:26.000Z
2021-02-12T04:51:40.000Z
string Solution::convertToTitle(int A) { string s = ""; while( A > 0 ){ A--; s += A % 26 + 'A'; A /= 26; } reverse(s.begin(), s.end()); return s; }
17.454545
40
0.411458
cenation092
9cc3e5a4bfe34af0f101e3c5d28fd3ff7f04e849
9,914
cpp
C++
src/geometry/CTiglMakeLoft.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
null
null
null
src/geometry/CTiglMakeLoft.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
20
2018-08-30T16:32:09.000Z
2020-05-12T09:31:47.000Z
src/geometry/CTiglMakeLoft.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
2
2018-09-07T11:42:49.000Z
2018-09-12T10:29:59.000Z
/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2014-05-26 Martin Siggel <Martin.Siggel@dlr.de> * * 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.a...
28.90379
130
0.631027
Mk-arc
9cc422a5a87ad7f5613c9aabdc6b7e56f221d9c2
4,828
cpp
C++
clang-tidy/utils/TypeTraits.cpp
dpayne/clang-tools-extra
5c40544fa40bfb85ec888b6a03421b3905e4a4e7
[ "Apache-2.0" ]
409
2015-01-03T23:52:34.000Z
2022-03-09T11:32:18.000Z
clang-tidy/utils/TypeTraits.cpp
dpayne/clang-tools-extra
5c40544fa40bfb85ec888b6a03421b3905e4a4e7
[ "Apache-2.0" ]
15
2015-08-31T13:35:00.000Z
2018-11-23T12:34:50.000Z
clang-tidy/utils/TypeTraits.cpp
dpayne/clang-tools-extra
5c40544fa40bfb85ec888b6a03421b3905e4a4e7
[ "Apache-2.0" ]
374
2015-02-02T05:23:26.000Z
2022-03-31T10:53:25.000Z
//===--- TypeTraits.cpp - clang-tidy---------------------------------------===// // // 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 // //===---------------------------...
31.350649
80
0.677713
dpayne
9cc61121980f0bb7d0ae33789041485b43a5fe90
1,497
hpp
C++
x3daudio1_7/math/base_matrix.hpp
kosumosu/x3daudio1_7_hrtf
28cd541ee2cfee91f69b5099e202272d0710e4c8
[ "Unlicense" ]
239
2015-07-25T21:12:51.000Z
2022-02-25T23:22:43.000Z
x3daudio1_7/math/base_matrix.hpp
ThreeDeeJay/x3daudio1_7_hrtf
025db24f2f8fe37b471813ca5f14ba9fcd8f3617
[ "Unlicense" ]
28
2017-06-05T06:11:52.000Z
2022-02-21T07:09:31.000Z
x3daudio1_7/math/base_matrix.hpp
kosumosu/x3daudio1_7_hrtf
28cd541ee2cfee91f69b5099e202272d0710e4c8
[ "Unlicense" ]
25
2016-08-13T22:01:12.000Z
2021-12-01T05:40:25.000Z
#pragma once #include "vector.hpp" #include "vector_operations.hpp" #include <cstddef> namespace math { template <typename T, size_t COLS, size_t ROWS> class base_matrix { public: enum { columns = COLS, rows = ROWS }; // Constructs identity matrix base_matrix() { for (size_t j = 0; j < ROWS; j++) ...
18.949367
118
0.582498
kosumosu
9cc7eb23f02ef23dc0bd3a673d7e2b9420f98ced
8,488
hxx
C++
include/idocp/contact_complementarity/friction_cone.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
1
2021-09-04T07:43:04.000Z
2021-09-04T07:43:04.000Z
include/idocp/contact_complementarity/friction_cone.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
include/idocp/contact_complementarity/friction_cone.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
#ifndef IDOCP_FRICTION_CONE_HXX_ #define IDOCP_FRICTION_CONE_HXX_ #include "idocp/contact_complementarity/friction_cone.hpp" #include <exception> #include <iostream> #include <assert.h> namespace idocp { inline FrictionCone::FrictionCone(const Robot& robot, const double barrier, ...
31.671642
96
0.636664
KY-Lin22
9cc889476ac656eda6a20ef989f2cc7ee3d8a836
560
cc
C++
src/armadillo_backsub.cc
jonfink/GP
0015c066521b9412ebac4cda11559e44094ffdd9
[ "Unlicense" ]
41
2015-04-02T12:20:54.000Z
2022-03-25T00:59:22.000Z
src/armadillo_backsub.cc
RobustFieldAutonomyLab/GP
0015c066521b9412ebac4cda11559e44094ffdd9
[ "Unlicense" ]
1
2015-04-02T12:19:12.000Z
2015-08-05T14:31:01.000Z
src/armadillo_backsub.cc
RobustFieldAutonomyLab/GP
0015c066521b9412ebac4cda11559e44094ffdd9
[ "Unlicense" ]
25
2015-01-28T23:03:17.000Z
2022-03-15T15:01:38.000Z
#include "armadillo_backsub.h" #include <clapack.h> namespace arma { extern "C" { void arma_fortran_prefix(spotrs)(char* uplo, blas_int* n, blas_int *nrhs, float* a, blas_int* lda, float* b, blas_int* ldb, blas_int* info) { arma_fortran_noprefix(spotrs)(uplo, n, nrhs, a, lda, b, ldb, info); } ...
24.347826
145
0.653571
jonfink
9cc9561d195d9cab2302ab14fa72a38021e4e9f4
9,771
hpp
C++
boost/sync/detail/condition_variables/condition_variable_posix.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2015-01-02T14:24:56.000Z
2015-01-02T14:25:17.000Z
boost/sync/detail/condition_variables/condition_variable_posix.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2019-01-13T23:45:51.000Z
2019-02-03T08:13:26.000Z
boost/sync/detail/condition_variables/condition_variable_posix.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2018-04-04T10:55:01.000Z
2020-04-23T18:52:06.000Z
/* * 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) * * (C) Copyright 2007-2008 Anthony Williams * (C) Copyright 2011-2012 Vicente J. Botet Escriba * (C) Copyright 2013 Andrey Semashev */ /*! * \...
38.468504
166
0.697267
ballisticwhisper
9cca1f732fba30c2cfd61653910f685852c32037
316
cpp
C++
snippets/cpp/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/CPP/getbytecount-string.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/CPP/getbytecount-string.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/CPP/getbytecount-string.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> using namespace System; using namespace System::Text; int main() { String^ chars = "ASCII Encoding Example"; ASCIIEncoding^ ascii = gcnew ASCIIEncoding; int byteCount = ascii->GetByteCount( chars ); Console::WriteLine( " {0} bytes needed to encode string.", byteCount ); } // </Snippet1>
22.571429
74
0.693038
BohdanMosiyuk
9cce3c368081a193b18cdd1b8cf6c1913d49f242
9,542
cpp
C++
simoh/src/ByteTransferScenario.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
1
2016-05-09T03:34:51.000Z
2016-05-09T03:34:51.000Z
simoh/src/ByteTransferScenario.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
simoh/src/ByteTransferScenario.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
/* Sirikata * ByteTransferScenario.cpp * * Copyright (c) 2010, Daniel Reiter Horn * 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 ...
40.777778
213
0.625655
pathorn
9cce681ad4ac79119ec701907df4813d156b3d60
8,556
cc
C++
node-v5.6.0/deps/v8/src/interpreter/bytecode-generator.cc
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
null
null
null
node-v5.6.0/deps/v8/src/interpreter/bytecode-generator.cc
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
null
null
null
node-v5.6.0/deps/v8/src/interpreter/bytecode-generator.cc
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
1
2020-01-22T23:05:38.000Z
2020-01-22T23:05:38.000Z
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/interpreter/bytecode-generator.h" #include <stack> #include "src/compiler.h" #include "src/objects.h" #include "src/scopes.h" #include "...
23.061995
80
0.725105
galeniumsysdev
9cd23aab5d7f351ee3a6132af94dcb802a178e12
7,030
cpp
C++
code/Torsion/FindThread.cpp
yurembo/Torsion
a22aaf8ad6305ec568b93cf7200257aacdbefd83
[ "MIT" ]
null
null
null
code/Torsion/FindThread.cpp
yurembo/Torsion
a22aaf8ad6305ec568b93cf7200257aacdbefd83
[ "MIT" ]
null
null
null
code/Torsion/FindThread.cpp
yurembo/Torsion
a22aaf8ad6305ec568b93cf7200257aacdbefd83
[ "MIT" ]
null
null
null
// Torsion TorqueScript IDE - Copyright (C) Sickhead Games, LLC // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. #include "PreCompiled.h" #include "FindThread.h" //#include "FindResultsCtrl.h" //#include "MainFrame.h" #include <wx/tokenz...
21.900312
151
0.594879
yurembo
9cd2cebf2926e61271749ae914b1cbc39f81b070
10,370
cc
C++
sandboxed_api/examples/sum/main_sum.cc
Masud2017/sandboxed-api
753eacd3142127c8bd493bc0e81242c4d3cd2f33
[ "Apache-2.0" ]
null
null
null
sandboxed_api/examples/sum/main_sum.cc
Masud2017/sandboxed-api
753eacd3142127c8bd493bc0e81242c4d3cd2f33
[ "Apache-2.0" ]
null
null
null
sandboxed_api/examples/sum/main_sum.cc
Masud2017/sandboxed-api
753eacd3142127c8bd493bc0e81242c4d3cd2f33
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 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 w...
36.006944
80
0.635969
Masud2017
9cd41f5e9250de207a537dfd84f267ce64d92075
2,281
cpp
C++
Source/core/frame/DeviceSingleWindowEventController.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
1
2017-08-25T05:15:52.000Z
2017-08-25T05:15:52.000Z
Source/core/frame/DeviceSingleWindowEventController.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
null
null
null
Source/core/frame/DeviceSingleWindowEventController.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
null
null
null
// 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 "config.h" #include "core/frame/DeviceSingleWindowEventController.h" #include "core/dom/Document.h" #include "core/events/Event.h" #include "cor...
27.817073
120
0.746602
scheib
9cd4e26754eb774237682bbebe18cbdfc0a08d3b
6,718
cpp
C++
src/TAO/API/types/finance/stake.cpp
cyptoman/LLL-TAO
dfaad5497e280df576b6d2e7959f82874c42fe3e
[ "MIT" ]
null
null
null
src/TAO/API/types/finance/stake.cpp
cyptoman/LLL-TAO
dfaad5497e280df576b6d2e7959f82874c42fe3e
[ "MIT" ]
null
null
null
src/TAO/API/types/finance/stake.cpp
cyptoman/LLL-TAO
dfaad5497e280df576b6d2e7959f82874c42fe3e
[ "MIT" ]
null
null
null
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2019 Distributed under the MIT software license, see the accompanying ...
38.83237
127
0.56877
cyptoman
9cd5722fa3fcbece5646302d26137f288115ac24
6,298
cpp
C++
external/OpenGP/GL/TrackballCamera.cpp
sherrbss/ProceduralNoise
99162d9b00d52b50e33a64313911300406af0745
[ "MIT" ]
null
null
null
external/OpenGP/GL/TrackballCamera.cpp
sherrbss/ProceduralNoise
99162d9b00d52b50e33a64313911300406af0745
[ "MIT" ]
null
null
null
external/OpenGP/GL/TrackballCamera.cpp
sherrbss/ProceduralNoise
99162d9b00d52b50e33a64313911300406af0745
[ "MIT" ]
null
null
null
// 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/. #include "TrackballCamera.h" #include <OpenGP/GL/Eigen.h> #include <OpenGP/MLogger.h> void OpenGP::TrackballCamera:...
36.616279
220
0.691331
sherrbss
9cd87e76ca79d8c7cac950aab2b2aed00a797858
18,861
cc
C++
parser/main.cc
Hongqin-Li/compiler-tools
0aac5c1bb35c4c5b3ff82081301da35ffddbd5be
[ "MIT" ]
null
null
null
parser/main.cc
Hongqin-Li/compiler-tools
0aac5c1bb35c4c5b3ff82081301da35ffddbd5be
[ "MIT" ]
null
null
null
parser/main.cc
Hongqin-Li/compiler-tools
0aac5c1bb35c4c5b3ff82081301da35ffddbd5be
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include "../slex/debug.h" #include "../parallel_hashmap/phmap.h" using namespace std; enum { SPACE = 128, ID, CHAR, SPLIT }; int token; // A simple lexer for parsing grammar. --- : token = ':'; ; token = ';'; \| token = '|'; { token = '{'; [a-zA-Z][a-zA-Z0-9_]* token = ID; '(\\[...
26.829303
122
0.537246
Hongqin-Li
9cdbb1ce52c9af91d601e0bdea3497bc6cc5c296
3,841
hpp
C++
query_optimizer/logical/InsertSelection.hpp
yuanchenl/quickstep
cc20fed6e56b0e583ae15a0219c070c8bacf14ba
[ "Apache-2.0" ]
1
2021-08-22T19:16:59.000Z
2021-08-22T19:16:59.000Z
query_optimizer/logical/InsertSelection.hpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
null
null
null
query_optimizer/logical/InsertSelection.hpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
1
2021-11-30T13:50:59.000Z
2021-11-30T13:50:59.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...
31.227642
97
0.7459
yuanchenl
9cdc62b6749618dd1943d1bb1dc11ddf0d8d521b
20,688
cpp
C++
src/graysvr/CWebPage.cpp
midikit/Sphere
85352e49c1a05decaa290d63f15b03e8d7684f18
[ "Apache-2.0" ]
null
null
null
src/graysvr/CWebPage.cpp
midikit/Sphere
85352e49c1a05decaa290d63f15b03e8d7684f18
[ "Apache-2.0" ]
null
null
null
src/graysvr/CWebPage.cpp
midikit/Sphere
85352e49c1a05decaa290d63f15b03e8d7684f18
[ "Apache-2.0" ]
null
null
null
#include "graysvr.h" // predef header #include "../common/CFileList.h" #include "../network/send.h" enum WV_TYPE { WV_CLIENTLIST, WV_GMPAGELIST, WV_GUILDLIST, WV_TOWNLIST, WV_WEBPAGE, WV_QTY }; LPCTSTR const CWebPageDef::sm_szVerbKeys[WV_QTY+1] = { "CLIENTLIST", // make a table of all the clien...
24.111888
145
0.62645
midikit
9cdcc4fb79dca61756a5c52e4d079f2678cab9e4
3,596
cpp
C++
Game/Source/DeathScene.cpp
Montuuh/LosPanasGame
6884216355b1b6e0e1d6ac371e2e48ad25c833ec
[ "MIT" ]
null
null
null
Game/Source/DeathScene.cpp
Montuuh/LosPanasGame
6884216355b1b6e0e1d6ac371e2e48ad25c833ec
[ "MIT" ]
null
null
null
Game/Source/DeathScene.cpp
Montuuh/LosPanasGame
6884216355b1b6e0e1d6ac371e2e48ad25c833ec
[ "MIT" ]
null
null
null
#include "DeathScene.h" #include "App.h" #include "Textures.h" #include "ModuleFadeToBlack.h" #include "Input.h" #include "TitleScreen.h" #include "Window.h" #include "Render.h" #include "Audio.h" #include "ModulePlayer.h" #include "Log.h" #include "ModuleHud.h" #include "Font.h" #include "GuiManager.h" DeathScene::D...
24.972222
152
0.680478
Montuuh
9ce05a2d691dfa370217c4254e234d104be7d122
10,408
cpp
C++
common/d2d_draw1.cpp
dustpg/StepFC
53c62d3ebb0b7e0dcae54dd782c0afa2819eb054
[ "MIT" ]
311
2018-09-12T02:28:10.000Z
2022-03-30T13:21:00.000Z
common/d2d_draw1.cpp
mm1327/StepFC
19f9325ff023a0c78ff3f4e111cabb94c0186c34
[ "MIT" ]
3
2019-08-13T14:59:08.000Z
2020-12-08T04:04:16.000Z
common/d2d_draw1.cpp
mm1327/StepFC
19f9325ff023a0c78ff3f4e111cabb94c0186c34
[ "MIT" ]
88
2018-09-14T02:50:19.000Z
2022-03-18T18:58:24.000Z
#define WIN32_LEAN_AND_MEAN #define NOMINMAX #include <Windows.h> #include <d2d1_1.h> //#include <unknwn.h> #include <d3d11.h> //#include <d3dcompiler.h> //#include <DirectXMath.h> #include <cstdint> #include <cstring> #include <cmath> #include <cassert> #include <iterator> #include <algorithm> #include "d2d_interface...
31.349398
103
0.606168
dustpg
9ce2454fe91c11b1295751344a9c7d89eca9ed67
1,433
hh
C++
ope-from-cryptodb/lib/hmac.hh
xietian1/mpkix-judgement
2cca8b509d2804c85bb39abc397f34ad4f2666b1
[ "BSL-1.0" ]
null
null
null
ope-from-cryptodb/lib/hmac.hh
xietian1/mpkix-judgement
2cca8b509d2804c85bb39abc397f34ad4f2666b1
[ "BSL-1.0" ]
null
null
null
ope-from-cryptodb/lib/hmac.hh
xietian1/mpkix-judgement
2cca8b509d2804c85bb39abc397f34ad4f2666b1
[ "BSL-1.0" ]
null
null
null
#pragma once #include <string> template<class Hash> class hmac { public: hmac(const void *keydata, size_t keylen) { static_assert(Hash::blocksize >= Hash::hashsize, "Hack::blocksize should be >= Hash::hashsize"); uint8_t k[Hash::blocksize]; memset(k, 0, sizeof(k)); ...
23.112903
74
0.513608
xietian1
9ce31e473428cf9151b60c1fb3bf3907b496fde2
5,663
cc
C++
modules/optimization/lib/PiiRansac.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
modules/optimization/lib/PiiRansac.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
modules/optimization/lib/PiiRansac.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
35.173913
121
0.649832
topiolli
9ceac1fd15715e77160caa3125708fa3825ef1e7
1,698
cc
C++
src/q_651_700/q0680.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
null
null
null
src/q_651_700/q0680.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-12-15T10:51:15.000Z
2022-01-26T17:03:16.000Z
src/q_651_700/q0680.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <iostream> #include <string> using namespace std; /** * This file is generated by leetcode_add.py * * 680. * Valid Palindrome II * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given a string ‘s’ , return ‘true’ “if the ” ‘s’ “ can be pa...
20.457831
74
0.530624
vNaonLu
9cee05c2497ca2c4229785e995138fd5168b44e0
3,081
cpp
C++
ewk/unittest/utc_blink_ewk_text_style_align_left_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
ewk/unittest/utc_blink_ewk_text_style_align_left_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
ewk/unittest/utc_blink_ewk_text_style_align_left_get_func.cpp
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /* Define those macros _before_ you include the utc_blink_ewk.h header file. */ #include "utc_blink_ewk_base.h" class utc_blink_ewk_text_style_align_lef...
31.438776
120
0.725414
Jabawack
9cefb47bbffacb4d2461d3e02c34d7ddd48ed9e4
18,814
hpp
C++
mesh/pmesh.hpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
969
2015-07-10T02:28:17.000Z
2022-03-31T17:28:02.000Z
mesh/pmesh.hpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
2,604
2015-07-14T08:22:22.000Z
2022-03-31T23:51:41.000Z
mesh/pmesh.hpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
407
2015-08-26T14:14:22.000Z
2022-03-31T03:32:16.000Z
// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
38.791753
81
0.67285
ajithvallabai
9cefe007fad4482e75e4afda36208cc31a278119
2,623
cpp
C++
app/src/main/cpp/ffmpegplayer/decoder/BaseDecoder.cpp
admywork/FFmpegDemo
8f24db532eefd67bafe357dbe46f9899833eb40d
[ "MIT" ]
null
null
null
app/src/main/cpp/ffmpegplayer/decoder/BaseDecoder.cpp
admywork/FFmpegDemo
8f24db532eefd67bafe357dbe46f9899833eb40d
[ "MIT" ]
null
null
null
app/src/main/cpp/ffmpegplayer/decoder/BaseDecoder.cpp
admywork/FFmpegDemo
8f24db532eefd67bafe357dbe46f9899833eb40d
[ "MIT" ]
null
null
null
// // Created by 付安栋 on 2021/9/20. // #pragma once #include "BaseDecoder.h" #include "ALog.h" #ifdef __cplusplus extern "C" { #endif #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #ifdef __cplusplus } #endif BaseDecoder::BaseDecoder() { m_SyncQueue = new SyncQueue<AVPacket *>(50); } BaseDeco...
25.466019
89
0.675181
admywork
9cf01ce4e0349503e2c388969aac46f4c9b0fe71
1,803
cpp
C++
libraries/platform/src/platform/backend/WINPlatform.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
libraries/platform/src/platform/backend/WINPlatform.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
libraries/platform/src/platform/backend/WINPlatform.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
// // Created by Amer Cerkic 05/02/2019 // Copyright 2019 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "WINPlatform.h" #include "../PlatformKeys.h" #include <thread> #include <string...
25.394366
98
0.66944
raveenajain
9cf186d743cd5ddc7343d1db67c34af9f6ac4b99
1,180
hpp
C++
include/RAJA/pattern/kernel/internal/Statement.hpp
jonesholger/RAJA
e1f3de7f71637383665379c97802481bfce9318f
[ "BSD-3-Clause" ]
1
2020-04-28T20:35:12.000Z
2020-04-28T20:35:12.000Z
include/RAJA/pattern/kernel/internal/Statement.hpp
jonesholger/RAJA
e1f3de7f71637383665379c97802481bfce9318f
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/pattern/kernel/internal/Statement.hpp
jonesholger/RAJA
e1f3de7f71637383665379c97802481bfce9318f
[ "BSD-3-Clause" ]
1
2020-06-07T13:26:40.000Z
2020-06-07T13:26:40.000Z
/*! ****************************************************************************** * * \file * * \brief Header file for loop kernel internals. * ****************************************************************************** */ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// //...
23.137255
79
0.550847
jonesholger
9cf76b218c6255b46311987de5f395a98dced50c
1,042
hpp
C++
include/File.hpp
flagarde/YAODAQ
851df4aa32b8695c4706bb3ec9f353f4461c9cad
[ "MIT" ]
null
null
null
include/File.hpp
flagarde/YAODAQ
851df4aa32b8695c4706bb3ec9f353f4461c9cad
[ "MIT" ]
11
2021-05-14T19:50:27.000Z
2022-03-31T07:19:41.000Z
include/File.hpp
flagarde/YAODAQ
851df4aa32b8695c4706bb3ec9f353f4461c9cad
[ "MIT" ]
5
2021-05-11T13:30:30.000Z
2021-05-26T19:57:22.000Z
#pragma once #include "Message.hpp" #include <filesystem> #include <string> namespace yaodaq { class File { public: File(const std::string& name = "", const std::string& option = ""); void setName(const std::string&); void setOptions(const std::string&); std::string getDirectory(); std::s...
25.414634
116
0.589251
flagarde
9cf7ea75307e19a8b95cf7fe3ce8c5c46cce4335
4,760
cc
C++
transpiler/examples/structs/return_struct_with_inout_tfhe_testbench.cc
secteria/fully-homomorphic-encryption
e552439d612563fa1e56cdcdbbb6ffbf5253a552
[ "Apache-2.0" ]
2,661
2021-06-14T16:27:52.000Z
2022-03-31T14:19:39.000Z
transpiler/examples/structs/return_struct_with_inout_tfhe_testbench.cc
Pushparajkvp/fully-homomorphic-encryption
e552439d612563fa1e56cdcdbbb6ffbf5253a552
[ "Apache-2.0" ]
18
2021-06-14T17:39:02.000Z
2022-01-15T10:25:47.000Z
transpiler/examples/structs/return_struct_with_inout_tfhe_testbench.cc
Pushparajkvp/fully-homomorphic-encryption
e552439d612563fa1e56cdcdbbb6ffbf5253a552
[ "Apache-2.0" ]
181
2021-06-14T17:05:57.000Z
2022-03-26T19:08:35.000Z
// Copyright 2021 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 ...
40.338983
80
0.656303
secteria
9cf7f6c9dee94ab0b427a6d451add460018f1dbe
12,943
cpp
C++
ege/event/KeybindManager.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
1
2020-12-30T17:21:11.000Z
2020-12-30T17:21:11.000Z
ege/event/KeybindManager.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
20
2020-09-02T08:37:13.000Z
2021-09-02T06:47:08.000Z
ege/event/KeybindManager.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
null
null
null
/* * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * ,---- ,---- ,---- * | | | * |---- | --, |---- * | | | | * '---- '---' '---- * * Framework Library for Hexagon * * Copyright (c) Sppmacd 2020 - 2021 * * Permission is ...
32.276808
137
0.628757
sppmacd
9cf8c430f4a4e0e1debaa4c5e572830c5175bf66
6,601
cpp
C++
data_structures/skip_list.cpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
20,295
2016-07-17T06:29:04.000Z
2022-03-31T23:32:16.000Z
data_structures/skip_list.cpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
1,399
2017-06-02T05:59:45.000Z
2022-03-31T00:55:00.000Z
data_structures/skip_list.cpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
5,775
2016-10-14T08:10:18.000Z
2022-03-31T18:26:39.000Z
/** * @file skip_list.cpp * @brief Data structure for fast searching and insertion in \f$O(\log n)\f$ * time * @details * A skip list is a data structure that is used for storing a sorted list of * items with a help of hierarchy of linked lists that connect increasingly * sparse subsequences of the items * * R...
29.207965
80
0.523103
icbdubey
9cfa32d293fe70ffd3e98bdce4f004b3d69a8364
546
hpp
C++
GameEngine/Damage/Damage.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Damage/Damage.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Damage/Damage.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** B-CPP-501-STG-5-1-rtype-romuald1.soultan ** File description: ** Damage */ #ifndef DAMAGE_HPP_ #define DAMAGE_HPP_ #include <string> namespace gameEngine { class Damage { public: Damage(unsigned int damage = 1, const std::string &type = "", bool affectedByShiel...
19.5
128
0.598901
Epitech-Tek2
9cfa48f615f01338911831a6c03d38ddb58f58a5
3,669
cpp
C++
External/GLM-0.9.9.0/test/gtx/gtx_string_cast.cpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
170
2019-12-11T18:22:27.000Z
2022-02-09T08:32:35.000Z
External/GLM-0.9.9.0/test/gtx/gtx_string_cast.cpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
113
2019-12-14T04:28:04.000Z
2021-09-26T18:40:27.000Z
External/GLM-0.9.9.0/test/gtx/gtx_string_cast.cpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
41
2019-06-18T10:37:38.000Z
2022-03-28T15:22:34.000Z
#define GLM_ENABLE_EXPERIMENTAL #include <glm/glm.hpp> #include <glm/gtx/string_cast.hpp> #include <limits> int test_string_cast_vector() { int Error = 0; { glm::vec2 A1(1, 2); std::string A2 = glm::to_string(A1); Error += A2 != std::string("vec2(1.000000, 2.000000)") ? 1 : 0; glm::vec3 B1(1, 2, 3); std...
25.657343
90
0.572636
igorlev91
9cfb485001d1f298dec6bcf2c70a77c698fc803b
914
cpp
C++
src/ecs/EntityFactory.cpp
Linsexy/sexy-engine
66bc9b7302e7e42526db03514c44b60078ce1dad
[ "MIT" ]
null
null
null
src/ecs/EntityFactory.cpp
Linsexy/sexy-engine
66bc9b7302e7e42526db03514c44b60078ce1dad
[ "MIT" ]
6
2018-03-22T18:22:17.000Z
2018-05-06T16:46:39.000Z
src/ecs/EntityFactory.cpp
Linsexy/sexy-engine
66bc9b7302e7e42526db03514c44b60078ce1dad
[ "MIT" ]
null
null
null
// // Created by benito on 1/21/18. // #include <ecs/EntityFactory.hpp> std::unordered_map<utils::IndexType::meta, Af::EntityFactory::MetaObject> Af::EntityFactory::typeToHandler; std::shared_ptr<Af::GameObject> Af::EntityFactory::create(utils::IndexType::meta m) { return (typeToHandler.at(m).instantiate()); } ...
32.642857
120
0.702407
Linsexy
9cfcf50168c2eca41ea299f82623902fcafd8058
3,601
cc
C++
lib/c-api/tests/wasm-c-api/example/trap.cc
MarkMcCaskey/wasmer
126387c83c5b36c703d1917084f82f3f2cf6a347
[ "MIT" ]
3
2020-10-26T02:24:50.000Z
2020-12-04T02:14:15.000Z
lib/c-api/tests/wasm-c-api/example/trap.cc
MarkMcCaskey/wasmer
126387c83c5b36c703d1917084f82f3f2cf6a347
[ "MIT" ]
null
null
null
lib/c-api/tests/wasm-c-api/example/trap.cc
MarkMcCaskey/wasmer
126387c83c5b36c703d1917084f82f3f2cf6a347
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <cinttypes> #include "wasm.hh" // A function to be called from Wasm code. auto fail_callback( void* env, const wasm::Val args[], wasm::Val results[] ) -> wasm::own<wasm::Trap> { std::cout << "Calling back..." << std::endl; auto...
28.354331
78
0.572896
MarkMcCaskey
9cfe49ec1f70e46d70744f455e4e032b773f27f2
3,961
cpp
C++
utilities/url_crawler_fetch_task.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
utilities/url_crawler_fetch_task.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
utilities/url_crawler_fetch_task.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
#include <chrono> #include <cinttypes> #include <exception> #include <iostream> #include <memory> #include <string> #include <thread> using namespace std; #include <boost/array.hpp> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/exception/all.hpp> using namespace boost::asio::ip; #include <boost/...
25.888889
80
0.689977
WatorVapor
1405178b4083952ff73f1767df5d25c82769789b
250
cpp
C++
white_belt/week_1/5_discount/Solution/main.cpp
VladimirYugay/cpp_coursera
d4fc1322757f2ae84991266c408bca02266f1f2a
[ "Unlicense" ]
9
2018-11-22T17:33:27.000Z
2020-05-26T00:23:09.000Z
Week_1/05 Practice Programming Assignment/Example.cpp
RTTIRAI/basics-of-c-plus-plus-development-white-belt
6d9ed442b33db08f2e51386c8b0786521d4a1da4
[ "Unlicense" ]
null
null
null
Week_1/05 Practice Programming Assignment/Example.cpp
RTTIRAI/basics-of-c-plus-plus-development-white-belt
6d9ed442b33db08f2e51386c8b0786521d4a1da4
[ "Unlicense" ]
5
2018-11-22T17:33:29.000Z
2020-09-19T09:37:30.000Z
#include <iostream> using namespace std; int main() { double n, a, b, x, y; cin >> n >> a >> b >> x >> y; if (n > b) { n *= (1 - y / 100); } else if (n > a) { n *= (1 - x / 100); } cout << n; return 0; }
15.625
33
0.376
VladimirYugay
14064b0e772276ef1199da47946023f77d7f1049
21,367
cc
C++
mkFit/MkStdSeqs.cc
cerati/mkFit
ba37025247ff72c8edd2baea02b5b4ac335bdede
[ "Apache-2.0" ]
10
2019-07-25T21:15:50.000Z
2022-02-01T11:16:00.000Z
mkFit/MkStdSeqs.cc
cerati/mkFit
ba37025247ff72c8edd2baea02b5b4ac335bdede
[ "Apache-2.0" ]
120
2019-08-02T16:14:35.000Z
2022-01-24T22:15:24.000Z
mkFit/MkStdSeqs.cc
cerati/mkFit
ba37025247ff72c8edd2baea02b5b4ac335bdede
[ "Apache-2.0" ]
11
2019-07-22T12:48:48.000Z
2021-09-12T15:44:23.000Z
#include "MkStdSeqs.h" #include "Event.h" #include "HitStructures.h" #include "IterationConfig.h" #include "binnor.h" #include "tbb/parallel_for.h" namespace mkfit { namespace StdSeq { //========================================================================= // Hit processing //================================...
31.986527
205
0.57308
cerati
14072506858b8a18618efc7eed7d655301bd938a
888
cpp
C++
0039 Combination Sum/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
1
2019-12-19T04:13:15.000Z
2019-12-19T04:13:15.000Z
0039 Combination Sum/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
0039 Combination Sum/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using std::vector; class Solution { public: vector<vector<int>> res; vector<int> cur; vector<vector<int>> combinationSum(vector<int>& candidates, int target) { sort(candidates.begin(), candidates.end()); dfs(candidates, target, 0); return res; ...
21.142857
77
0.454955
Aden-Tao
140eaca22664ec1dc80aab7736d3346c477fa395
7,410
hpp
C++
src/Time/TimeSteppers/Cerk2.hpp
Shabibti/spectre
0fa0353e209ef2bc53100f7101bd05f12e812f5e
[ "MIT" ]
null
null
null
src/Time/TimeSteppers/Cerk2.hpp
Shabibti/spectre
0fa0353e209ef2bc53100f7101bd05f12e812f5e
[ "MIT" ]
null
null
null
src/Time/TimeSteppers/Cerk2.hpp
Shabibti/spectre
0fa0353e209ef2bc53100f7101bd05f12e812f5e
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include <cstdint> #include <ostream> #include <pup.h> #include "Options/Options.hpp" #include "Parallel/CharmPupable.hpp" #include "Time/Time.hpp" #include "Time/TimeSteppers/TimeStepper.hpp" #include "Utilities/Co...
32.933333
80
0.620783
Shabibti
140ecfdc30a2c453b011330982dbfc0efec4ac9f
917
cpp
C++
Source/ThirdParty/TurboBadger/tb_renderer.cpp
tyrbedarf/Urho3D-1.4-TurboBadger
ebb21037332c7c91cd72fe072cb9bd1925807974
[ "MIT" ]
12
2015-10-29T12:54:21.000Z
2021-09-07T00:42:03.000Z
Source/ThirdParty/TurboBadger/tb_renderer.cpp
tyrbedarf/Urho3D-1.4-TurboBadger
ebb21037332c7c91cd72fe072cb9bd1925807974
[ "MIT" ]
2
2016-03-21T20:35:13.000Z
2019-02-18T22:53:25.000Z
Source/ThirdParty/TurboBadger/tb_renderer.cpp
tyrbedarf/Urho3D-1.4-TurboBadger
ebb21037332c7c91cd72fe072cb9bd1925807974
[ "MIT" ]
13
2015-10-29T16:21:43.000Z
2019-08-07T16:19:14.000Z
// ================================================================================ // == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås == // == See tb_core.h for more information. == // =================================================================...
33.962963
89
0.505998
tyrbedarf
14100bb762b382b30e3d0dea1220669a9676a19a
363
hpp
C++
Metazion/Share/Utility/StringFunction.hpp
KaleoFeng/Metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
15
2018-10-30T07:49:02.000Z
2020-10-20T06:27:08.000Z
Metazion/Share/Utility/StringFunction.hpp
kaleofeng/metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
null
null
null
Metazion/Share/Utility/StringFunction.hpp
kaleofeng/metazion
5f1149d60aa87b391c2f40de7a89a5044701f2ca
[ "MIT" ]
5
2020-12-04T07:39:31.000Z
2021-11-23T03:16:39.000Z
#ifndef _MZ_SHARE_STRINGFUNCTION_HPP_ #define _MZ_SHARE_STRINGFUNCTION_HPP_ #include "Metazion/Share/ShareInclude.hpp" DECL_NAMESPACE_MZ_SHARE_BEGIN int mzstrlen(const char* str); char* mzstrcpy(char* dst, int size, const char* src); char* mzstrcat(char* dst, int size, const char* src); DECL_NAMESPACE_MZ_SHARE_EN...
21.352941
53
0.809917
KaleoFeng
14144a2ddc6bfb42411f8c7660d0e9ab81124e3f
1,952
hh
C++
astra-sim/system/BaseStream.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
35
2020-08-20T17:59:12.000Z
2022-03-03T07:14:31.000Z
astra-sim/system/BaseStream.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
24
2020-08-24T22:27:15.000Z
2022-03-05T14:19:49.000Z
astra-sim/system/BaseStream.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
24
2020-08-26T16:46:53.000Z
2022-02-28T15:29:22.000Z
/****************************************************************************** This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *******************************************************************************/ #ifndef __BASESTREAM_HH__ #define __BA...
25.684211
80
0.688012
brianwuuu
1415ab3a6069d5670b8b28f2efc048aff9d6cdcc
376
cpp
C++
dataset/test/modification/1598_rename/18/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1598_rename/18/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1598_rename/18/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int i_bkq;cin>>i_bkq; while(i_bkq--){ int v_o;cin>>v_o; long long o=0; vector<long long> rjr(v_o); for(auto& z:rjr){ cin>>z;o+=z;z*=v_o; } map<long long,int> s_udi; long long tdx_v=0; for(auto& pi_d:rjr){ tdx_v+=s_udi[o-pi_d]...
18.8
30
0.56117
Karina5005
1416b52eaba3aaeb1d3fab133b85433e52779558
22,199
cpp
C++
libs/filamat/src/shaders/CodeGenerator.cpp
ondys/filament
08af0f06bc3b3c95cdb965e0ea49bb300b1bf2a7
[ "Apache-2.0" ]
null
null
null
libs/filamat/src/shaders/CodeGenerator.cpp
ondys/filament
08af0f06bc3b3c95cdb965e0ea49bb300b1bf2a7
[ "Apache-2.0" ]
null
null
null
libs/filamat/src/shaders/CodeGenerator.cpp
ondys/filament
08af0f06bc3b3c95cdb965e0ea49bb300b1bf2a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 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...
36.875415
108
0.61728
ondys
141cbfc218524dc35a17795b668a33650523e05c
273
cpp
C++
Raven.CppClient/CompilationException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient/CompilationException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient/CompilationException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "stdafx.h" #include "CompilationException.h" namespace ravendb::client::exceptions::compilation { CompilationException::CompilationException() = default; CompilationException::CompilationException(const std::string& message) : RavenException(message) {} }
22.75
71
0.783883
mlawsonca
141cd8e587783c23e6cf7e085549971b9ad83f6f
439
hpp
C++
compiler/compilertools/statements/Drop_Database_Statement.hpp
dmdecz/DM-MiniSQL
93a56e2d1a269715e53e70e0ee112f7f37e97a88
[ "MIT" ]
null
null
null
compiler/compilertools/statements/Drop_Database_Statement.hpp
dmdecz/DM-MiniSQL
93a56e2d1a269715e53e70e0ee112f7f37e97a88
[ "MIT" ]
null
null
null
compiler/compilertools/statements/Drop_Database_Statement.hpp
dmdecz/DM-MiniSQL
93a56e2d1a269715e53e70e0ee112f7f37e97a88
[ "MIT" ]
null
null
null
#if !defined(DROP_DATABASE_STATEMENT_HPP) #define DROP_DATABASE_STATEMENT_HPP #include "../../../common/common.hpp" #include <string> class Drop_Database_Statement: public Statement { private: std::string database_name; public: Drop_Database_Statement(const std::string &); virtual StatementType type(void) const; ...
21.95
47
0.779043
dmdecz
141f9b1e48b5d2ef4f88a303a8d24e331423273b
1,416
hpp
C++
src/items/Environment.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
9
2017-05-13T12:33:46.000Z
2021-01-27T18:50:40.000Z
src/items/Environment.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
37
2016-02-11T17:34:41.000Z
2021-10-04T10:14:18.000Z
src/items/Environment.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
11
2016-07-11T14:49:34.000Z
2021-06-04T08:23:39.000Z
/**\file Environment.hpp * * This class provided common information useful for a * particular environment * * @author Javier Hidalgo Carrio et. al (see THANKS for the full Author list) * See LICENSE for the license information * */ #ifndef __ENVIRE_CORE_ENVIRONMENT__ #define __ENVIRE_CORE_ENVIRONMENT__ #inc...
25.745455
78
0.659605
maltewi
14265f84b78dd54416161d3e367051c61db729e0
168
cpp
C++
do-while.cpp
Meharab/Problem-Solutions
80e0c1188a7415424b8e888060d71cff54b1aade
[ "Apache-2.0" ]
1
2021-07-25T17:41:04.000Z
2021-07-25T17:41:04.000Z
do-while.cpp
Meharab/Problem-Solutions
80e0c1188a7415424b8e888060d71cff54b1aade
[ "Apache-2.0" ]
null
null
null
do-while.cpp
Meharab/Problem-Solutions
80e0c1188a7415424b8e888060d71cff54b1aade
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; main() { char ch=65; do { cout<<ch<<endl; ch++; }while((ch>='A')&&(ch<='Z')); }
14
34
0.416667
Meharab
142c9b379721bcf3e8c3d8db0f34cb54f30b8cf8
1,512
cpp
C++
samples/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <system.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> using namespace System; using namespace System::Windows::Forms; using namespace System::ComponentModel; public ref class Form1: public Form { protected: Button^ button1; TextBox^ textBox1; // <Snippet1> private:...
28
80
0.644841
hamarb123
142ca983721c2c9bb93a2a38aa0bf3194c8a5f8f
243
hpp
C++
include/beluga/http/http_version.hpp
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
1
2021-04-16T08:37:37.000Z
2021-04-16T08:37:37.000Z
include/beluga/http/http_version.hpp
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
null
null
null
include/beluga/http/http_version.hpp
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace beluga { enum class http_version { _1_0, _1_1, _2_0, UNKNOWN, }; http_version to_http_version(const std::string& string); std::string to_string(http_version version); }
12.789474
60
0.666667
Stazer
142da6b5540821dafb329b22a99ed121917f329b
63,494
cpp
C++
nano/core_test/active_transactions.cpp
conduitbender/vinireum
29bfa6785c5812715c93550689099ff264f1165f
[ "BSD-3-Clause" ]
1
2021-12-04T00:13:14.000Z
2021-12-04T00:13:14.000Z
nano/core_test/active_transactions.cpp
conduitbender/vinireum
29bfa6785c5812715c93550689099ff264f1165f
[ "BSD-3-Clause" ]
null
null
null
nano/core_test/active_transactions.cpp
conduitbender/vinireum
29bfa6785c5812715c93550689099ff264f1165f
[ "BSD-3-Clause" ]
null
null
null
#include <nano/lib/jsonconfig.hpp> #include <nano/node/election.hpp> #include <nano/test_common/system.hpp> #include <nano/test_common/testutil.hpp> #include <gtest/gtest.h> #include <numeric> using namespace std::chrono_literals; namespace nano { TEST (active_transactions, confirm_active) { nano::system system; ...
43.429549
202
0.710949
conduitbender
289f85703043796d64e8304663542d34df7d1e62
357
cpp
C++
src/main.cpp
Rikora/A-star
8079ed70d050c39fc9fc0e716142adb7e1de1f40
[ "MIT" ]
4
2021-05-30T02:19:29.000Z
2022-01-15T15:11:27.000Z
src/main.cpp
Rikora/A-star
8079ed70d050c39fc9fc0e716142adb7e1de1f40
[ "MIT" ]
1
2022-01-08T20:05:03.000Z
2022-01-08T20:05:03.000Z
src/main.cpp
Rikora/A-star
8079ed70d050c39fc9fc0e716142adb7e1de1f40
[ "MIT" ]
5
2021-04-20T08:21:32.000Z
2022-01-07T22:56:17.000Z
#include "AStar.hpp" #include <iostream> int main() { pf::AStar astar; astar.loadMap("maps/map01.txt"); astar.setDiagonalMovement(true); auto path = astar.findPath(pf::Vec2i(0, 0), pf::Vec2i(10, 7), pf::heuristic::euclidean, 10); for (const auto& coord : path) { std::cout << coord.x << "," << coord.y << "\n...
18.789474
93
0.621849
Rikora
28a038865200e46cc46ca31eec1dd51fa7531d74
2,595
cpp
C++
common/pipe/HWCPipe.cpp
javandcpp/MobileMediaTools
45550772a62fdeba73e1f503a2b03ebdc4f748e8
[ "Apache-2.0" ]
1
2021-11-24T04:28:21.000Z
2021-11-24T04:28:21.000Z
common/pipe/HWCPipe.cpp
javandcpp/MobileMediaTools
45550772a62fdeba73e1f503a2b03ebdc4f748e8
[ "Apache-2.0" ]
null
null
null
common/pipe/HWCPipe.cpp
javandcpp/MobileMediaTools
45550772a62fdeba73e1f503a2b03ebdc4f748e8
[ "Apache-2.0" ]
null
null
null
// // HWCPipe.cpp // Test // // Created by developer on 2021/11/9. // #include "HWCPipe.hpp" #include "Define.hpp" HWCPipe::HWCPipe(){ } HWCPipe::~HWCPipe(){ } void HWCPipe::pipeTransportData(AVFrameData* data){ std::lock_guard<std::mutex> lock(m_Mutex); if(data->stream_type==AUDIO_STREAM_TYPE){...
26.479592
84
0.590366
javandcpp
28a2fe2d9c2b8fb7c98f249c0c3d78d08c7d1218
2,283
cpp
C++
src/engine/graphics/vulkan/vk_renderer.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
13
2020-01-10T16:36:46.000Z
2021-08-09T09:24:47.000Z
src/engine/graphics/vulkan/vk_renderer.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-01-16T11:03:49.000Z
2020-01-16T11:11:15.000Z
src/engine/graphics/vulkan/vk_renderer.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-02-06T21:22:47.000Z
2020-02-06T21:22:47.000Z
#pragma once #include "vk_renderer.hpp" #ifdef BUILD_VULKAN #include "engine/graphics/vulkan/vk_window.hpp" #include "engine/graphics/vulkan/buffers/vk_command_pool.hpp" #include "engine/graphics/vulkan/buffers/vk_buffer.hpp" namespace oe::graphics { VKRenderer::VKRenderer(const VKWindow* window, co...
25.943182
112
0.667981
Overpeek
28a38b8b0a8cf56d98309c03b2a0a0a590777887
1,761
hpp
C++
engine/include/xe/core/vfs.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/core/vfs.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/core/vfs.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
// // Created by trbflxr on 3/3/2020. // #ifndef XE_VFS_HPP #define XE_VFS_HPP #include <vector> #include <string> #include <optional> #include <xe/common.hpp> namespace xe { class XE_API VFS { friend class Engine; public: struct File { void *handle = nullptr; std::string path; }; e...
21.740741
97
0.660988
trbflxr
28a6d77f9eff3ea5ce209655c99386b53fb42140
16,969
cpp
C++
openstudiocore/src/project/Record.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/Record.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/Record.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
28.908007
153
0.619718
ORNL-BTRIC
28a79ad640a006bf8c4da405aa8c2cede7ab67e1
39,332
cpp
C++
src/applicationui.cpp
SuhairZain/ConnecTapp
9f47cd52c3d242f30ce3a080cd83f591c0d9ba57
[ "MIT" ]
null
null
null
src/applicationui.cpp
SuhairZain/ConnecTapp
9f47cd52c3d242f30ce3a080cd83f591c0d9ba57
[ "MIT" ]
null
null
null
src/applicationui.cpp
SuhairZain/ConnecTapp
9f47cd52c3d242f30ce3a080cd83f591c0d9ba57
[ "MIT" ]
null
null
null
#include "applicationui.hpp" TextField *connector; QString linkToOpen; ApplicationUI::ApplicationUI(bb::cascades::Application *app) : QObject(app) { //SHARE TAB CONTENTS shareManager = new NfcShareManager; /*locationPrompt = new SystemPrompt; locationPrompt->setTitle("Please enter your location"); locationProm...
25.196669
183
0.700956
SuhairZain
28a9c39879c6b1eee30ebfff9fe4e4fde42d6a74
5,253
hpp
C++
libs/functional/include/hpx/functional/result_of.hpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
libs/functional/include/hpx/functional/result_of.hpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
libs/functional/include/hpx/functional/result_of.hpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2013-2015 Agustin Berge // // SPDX-License-Identifier: BSL-1.0 // 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) // hpxinspect:nodeprecatedinclude:boost/ref.hpp // hpxinspect:nodeprecatedname:boo...
32.83125
80
0.487341
jnvance
28aa95a7726fe6045c5d940800b5c29ff8270879
10,666
hxx
C++
libbutl/optional.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
6
2018-05-31T06:16:37.000Z
2021-03-19T10:37:11.000Z
libbutl/optional.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
3
2020-06-19T05:08:42.000Z
2021-09-29T05:23:07.000Z
libbutl/optional.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
1
2020-06-16T14:56:48.000Z
2020-06-16T14:56:48.000Z
// file : libbutl/optional.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #pragma once // Note: the Clang check must come before GCC since it also defines __GNUC__. // #if defined(ODB_COMPILER) // // Make sure we use butl::optional during ODB compilation (has to be this // way until...
31.005814
107
0.593662
build2
28b606d3dceadd8f9ef5695e53aa7381a4cda535
6,352
cpp
C++
src/tibb/src/NativeAudioPlayerObject.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
3
2015-03-07T15:41:18.000Z
2015-11-05T05:07:45.000Z
src/tibb/src/NativeAudioPlayerObject.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
1
2015-04-12T11:50:33.000Z
2015-04-12T21:13:19.000Z
src/tibb/src/NativeAudioPlayerObject.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
5
2015-01-13T17:14:41.000Z
2015-05-25T16:54:26.000Z
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #include "NativeAudioPlayerObject.h" #include <bb/cascades/SystemDefaults> #incl...
24.337165
178
0.759131
ssaracut
28be1fa1dc1ea706abc7922845178c37fecf5096
4,522
cpp
C++
vsg/src/vsg/rtx/TopLevelAccelerationStructure.cpp
robertosfield/VulkanPBRT
52c15bf87c20724ddb485c9326f0cc5c7999eba2
[ "MIT" ]
1
2021-07-09T09:38:02.000Z
2021-07-09T09:38:02.000Z
vsg/src/vsg/rtx/TopLevelAccelerationStructure.cpp
robertosfield/VulkanPBRT
52c15bf87c20724ddb485c9326f0cc5c7999eba2
[ "MIT" ]
null
null
null
vsg/src/vsg/rtx/TopLevelAccelerationStructure.cpp
robertosfield/VulkanPBRT
52c15bf87c20724ddb485c9326f0cc5c7999eba2
[ "MIT" ]
null
null
null
/* <editor-fold desc="MIT License"> Copyright(c) 2019 Thomas Hogarth 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, mod...
53.833333
460
0.807607
robertosfield
28c12cb58f083778a18d2b4c8209332b1786589c
4,184
cpp
C++
Samples/HttpClient/cppwinrt/Scenario13_RetryFilter.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2
2020-12-02T03:41:01.000Z
2022-02-11T09:30:59.000Z
Samples/HttpClient/cppwinrt/Scenario13_RetryFilter.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
null
null
null
Samples/HttpClient/cppwinrt/Scenario13_RetryFilter.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
33.741935
135
0.630258
dujianxin
28c2b0db1ec63c37d801cecb3fe11bb36d15fcc1
19,981
cpp
C++
axlib/application.cpp
choco/kwm
5f833ef02090b86b7262db0415a64a2771addb4d
[ "MIT" ]
null
null
null
axlib/application.cpp
choco/kwm
5f833ef02090b86b7262db0415a64a2771addb4d
[ "MIT" ]
null
null
null
axlib/application.cpp
choco/kwm
5f833ef02090b86b7262db0415a64a2771addb4d
[ "MIT" ]
null
null
null
#include "application.h" #include "element.h" #include "sharedworkspace.h" #include "event.h" #include "display.h" #include "axlib.h" #define internal static #define AX_APPLICATION_RETRIES 10 enum ax_application_notifications { AXApplication_Notification_WindowCreated, AXApplication_Notification_WindowFocused...
39.723658
156
0.649367
choco
28c346bd7ab4c8253b0a5dae9a58123e4f47afdc
66,730
cpp
C++
aws-cpp-sdk-logs/source/CloudWatchLogsClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-logs/source/CloudWatchLogsClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-logs/source/CloudWatchLogsClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
44.221339
260
0.777851
ploki
28c48d008cc4cc305eb9d315c6792f04c7dfbf17
19,641
cpp
C++
testity/test_session.cpp
giucamp/testity
8dbc877ca393fd18a199b9d1379662f3349fc52f
[ "BSL-1.0" ]
null
null
null
testity/test_session.cpp
giucamp/testity
8dbc877ca393fd18a199b9d1379662f3349fc52f
[ "BSL-1.0" ]
null
null
null
testity/test_session.cpp
giucamp/testity
8dbc877ca393fd18a199b9d1379662f3349fc52f
[ "BSL-1.0" ]
null
null
null
// Copyright Giuseppe Campana (giu.campana@gmail.com) 2016. // 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 "test_session.h" #include "testity_common.h" #include <fstream> #include <ctim...
32.093137
133
0.649814
giucamp
28c6612c4da68560d0b5c97543ea600f7ce89921
2,087
hpp
C++
include/RasterLine.hpp
mh0fm4/RasTL
96b072fe4080dfc13d7fd9064e5e0f9ff1c4f394
[ "MIT" ]
null
null
null
include/RasterLine.hpp
mh0fm4/RasTL
96b072fe4080dfc13d7fd9064e5e0f9ff1c4f394
[ "MIT" ]
null
null
null
include/RasterLine.hpp
mh0fm4/RasTL
96b072fe4080dfc13d7fd9064e5e0f9ff1c4f394
[ "MIT" ]
null
null
null
#ifndef RTL_RASTER_LINE_HPP #define RTL_RASTER_LINE_HPP #include <cmath> #include "Geometry.hpp" #include "RasterBase.hpp" namespace rastl { template<typename CanvasType> class RasterLineBase: RasterBase<CanvasType> { public: using Coordinate_t = typename CanvasType::Coordinate_t; using Entry_t = typename Canv...
26.75641
95
0.706277
mh0fm4
28c6e0ce35dade7ad48b469ee78b43531f625980
2,828
hpp
C++
src/parser/HydroCompiler.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
src/parser/HydroCompiler.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
src/parser/HydroCompiler.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
30.408602
79
0.641796
shockazoid
28ca0d777b2ef62009bb92413bffb4d1bb83db28
5,269
cpp
C++
virtual_clay_2/virtual_clay_2/src/d3d/d3d_sphere.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
virtual_clay_2/virtual_clay_2/src/d3d/d3d_sphere.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
virtual_clay_2/virtual_clay_2/src/d3d/d3d_sphere.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
// LCCREDIT start of LunaDX10.2 #include "d3d_sphere.h" #include "macros.h" namespace virtual_clay { D3DSphere::D3DSphere() : mRadius( 0.0f ) , mNumSlices( 0 ) , mNumStacks( 0 ) , mNumVertices( 0 ) , mNumFaces( 0 ) , md3dDevice( nullptr ) , pDevcon( nullptr ) , mVB( nullptr ) , mIB( ...
27.878307
132
0.618903
RythBlade
28cb67ba3fc73d841817a1cd30c66ebc1acefc5a
319
cpp
C++
Assignment2/Trailer.cpp
JaeSungPak/Pocu_Test
9f606e88236ef59bba1baea7a0199fd6c49fe478
[ "MIT" ]
null
null
null
Assignment2/Trailer.cpp
JaeSungPak/Pocu_Test
9f606e88236ef59bba1baea7a0199fd6c49fe478
[ "MIT" ]
null
null
null
Assignment2/Trailer.cpp
JaeSungPak/Pocu_Test
9f606e88236ef59bba1baea7a0199fd6c49fe478
[ "MIT" ]
null
null
null
#include "Trailer.h" namespace assignment2 { Trailer::Trailer(unsigned int weight) : mWeight(weight) , mPointer(this) { } Trailer::Trailer(const Trailer& other) : mWeight(other.mWeight) , mPointer(this) { } Trailer::~Trailer() { } unsigned int Trailer::GetWeight() const { return mWeight; } }
12.269231
40
0.664577
JaeSungPak
28d38b0211689c768aac09c9e239add188f423d5
3,543
cpp
C++
KDNode.cpp
MULTIDAI/MultiDAI
db4885dbdf356ef63bcd71851cc22d1d89ebca75
[ "BSD-3-Clause" ]
null
null
null
KDNode.cpp
MULTIDAI/MultiDAI
db4885dbdf356ef63bcd71851cc22d1d89ebca75
[ "BSD-3-Clause" ]
null
null
null
KDNode.cpp
MULTIDAI/MultiDAI
db4885dbdf356ef63bcd71851cc22d1d89ebca75
[ "BSD-3-Clause" ]
null
null
null
#include "KDNode.h" #define MIN_VAL -41 #define MAX_VAL 401 KDNode::KDNode(const pointIndexArr::iterator &begin_, const pointIndexArr::iterator &end_, size_t dim_, size_t dims): begin{begin_}, end{end_}, dim{dim_} { x = {}; index = 0; max_bound = {}; for (ulong i = 0; i < dims; i++){...
28.804878
98
0.593283
MULTIDAI
28d64adbfc78c60e2ffde9ee2cb3a6e64da9c143
4,099
cpp
C++
testing/CatchTests/Usage.cpp
CD3/UnitConvert
06530130a952ac67bd3d88b2b7791a147c69db64
[ "MIT" ]
1
2021-08-22T11:01:10.000Z
2021-08-22T11:01:10.000Z
testing/CatchTests/Usage.cpp
CD3/UnitConvert
06530130a952ac67bd3d88b2b7791a147c69db64
[ "MIT" ]
13
2018-10-13T15:12:32.000Z
2022-03-22T22:32:23.000Z
testing/CatchTests/Usage.cpp
CD3/UnitConvert
06530130a952ac67bd3d88b2b7791a147c69db64
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <UnitConvert.hpp> #include <boost/units/systems/si.hpp> #include <boost/units/systems/cgs.hpp> TEST_CASE("UnitRegistry Example") { using namespace UnitConvert; UnitRegistry ureg; // add base units to the registry ureg.addUnit("m = [L]"); ureg.addUnit("kg = [M]"); ureg.addUnit("s = [T]"...
29.070922
94
0.646499
CD3
28d700c2a0cb14afd0ca6f2552e1a3297979b70d
2,925
cpp
C++
src/backends/cl/workloads/ClDepthToSpaceWorkload.cpp
Srivathsav-max/armnn-clone
af2daa6526623c91ee97f7141be4d1b07de92a48
[ "MIT" ]
1
2022-03-31T18:21:59.000Z
2022-03-31T18:21:59.000Z
src/backends/cl/workloads/ClDepthToSpaceWorkload.cpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
src/backends/cl/workloads/ClDepthToSpaceWorkload.cpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
// // Copyright © 2019 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "ClDepthToSpaceWorkload.hpp" #include "ClWorkloadUtils.hpp" #include <aclCommon/ArmComputeTensorUtils.hpp> #include <armnn/utility/NumericCast.hpp> #include <armnn/utility/PolymorphicDowncast.hpp> #inc...
37.987013
101
0.654701
Srivathsav-max
28d9954040fcb7b6755ef8f70f029a09b9aa0e02
735
cpp
C++
src/goto-instrument/goto_instrument_main.cpp
quiveringlemon/pfl
615a4036ddd61b996a778a402d70148667261475
[ "BSD-4-Clause" ]
null
null
null
src/goto-instrument/goto_instrument_main.cpp
quiveringlemon/pfl
615a4036ddd61b996a778a402d70148667261475
[ "BSD-4-Clause" ]
null
null
null
src/goto-instrument/goto_instrument_main.cpp
quiveringlemon/pfl
615a4036ddd61b996a778a402d70148667261475
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Main Module Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <util/unicode.h> #include "goto_instrument_parse_options.h" /************************************...
20.416667
69
0.461224
quiveringlemon
28d9f26925970c94780a566d2fc99673a59d0c93
2,592
cpp
C++
ReClass/NtDll.cpp
KN4CK3R/Reclass-2016
ace933511eb2f0cc639101c05e9e601a4392f7f6
[ "MIT" ]
5
2017-07-24T19:52:51.000Z
2021-02-17T20:24:55.000Z
ReClass/NtDll.cpp
Brattlof/Reclass-2016
ace933511eb2f0cc639101c05e9e601a4392f7f6
[ "MIT" ]
null
null
null
ReClass/NtDll.cpp
Brattlof/Reclass-2016
ace933511eb2f0cc639101c05e9e601a4392f7f6
[ "MIT" ]
4
2016-11-18T23:04:26.000Z
2020-06-12T05:38:17.000Z
#include "stdafx.h" #include "NtDll.h" namespace ntdll { PVOID Base = nullptr; tNtQuerySystemInformation NtQuerySystemInformation = nullptr; tNtQueryInformationProcess NtQueryInformationProcess = nullptr; tNtCreateThreadEx NtCreateThreadEx = nullptr; tNtOpenProcessToken NtOpenProcessToken = nullptr; tNtAdjustPriv...
33.662338
140
0.796682
KN4CK3R
28dad295cdc4b0cee63c9b532677c850b18842e8
15,293
cpp
C++
src/thirdparty/ldahash/ldahash.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
src/thirdparty/ldahash/ldahash.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
src/thirdparty/ldahash/ldahash.cpp
ICRA-2019/srrg_bench
f71a4b9500eb25cda9204e6e37dffaa6baa03087
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (C) 2010 by Christoph Strecha * * christoph.strecha@epfl.ch * ***************************************************************************/ #include "ldahash.h" #include <bitset> using namespace std; /// a.b float sse...
29.409615
120
0.517165
ICRA-2019
28dfe9b4b3bedfba64e5b565318c7a8ffe71eaf3
8,734
cpp
C++
Source/Effects/reverbsc.cpp
chrisfromwork/DaisySP
e14ae1901a76e87d39b0ff3fee8efab89fb0e4cc
[ "MIT" ]
null
null
null
Source/Effects/reverbsc.cpp
chrisfromwork/DaisySP
e14ae1901a76e87d39b0ff3fee8efab89fb0e4cc
[ "MIT" ]
null
null
null
Source/Effects/reverbsc.cpp
chrisfromwork/DaisySP
e14ae1901a76e87d39b0ff3fee8efab89fb0e4cc
[ "MIT" ]
null
null
null
#include <math.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "reverbsc.h" #define REVSC_OK 0 #define REVSC_NOT_OK 1 #define DEFAULT_SRATE 48000.0 #define MIN_SRATE 5000.0 #define MAX_SRATE 1000000.0 #define MAX_PITCHMOD 20.0 #define DELAYPOS_SHIFT 28 #define DELAYPOS_SCALE 0x10000000 #define...
30.538462
80
0.557591
chrisfromwork
28e10c53ef15bf89a426f6a359a49e17c3105dfa
9,207
cpp
C++
nano/node/confirmation_height_processor.cpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
882
2018-02-13T22:06:38.000Z
2019-01-02T19:43:34.000Z
nano/node/confirmation_height_processor.cpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
746
2018-02-13T19:44:54.000Z
2019-01-02T15:09:36.000Z
nano/node/confirmation_height_processor.cpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
312
2018-02-14T00:25:33.000Z
2019-01-02T08:03:27.000Z
#include <nano/lib/logger_mt.hpp> #include <nano/lib/numbers.hpp> #include <nano/lib/threading.hpp> #include <nano/lib/utility.hpp> #include <nano/node/confirmation_height_processor.hpp> #include <nano/node/write_database_queue.hpp> #include <nano/secure/common.hpp> #include <nano/secure/ledger.hpp> #include <boost/th...
38.523013
350
0.761812
Sukhmai
28e1b77ed06bb6916b19424b520cd9ed82ff2d01
708
cpp
C++
src/singletons/helper/GifTimer.cpp
Zer0-h/chatterino2
0a8d50223d8b9588729c7ae01eeebccbe1c7d63b
[ "MIT" ]
7
2017-08-02T21:07:41.000Z
2021-08-30T20:50:00.000Z
src/singletons/helper/GifTimer.cpp
Zer0-h/chatterino2
0a8d50223d8b9588729c7ae01eeebccbe1c7d63b
[ "MIT" ]
null
null
null
src/singletons/helper/GifTimer.cpp
Zer0-h/chatterino2
0a8d50223d8b9588729c7ae01eeebccbe1c7d63b
[ "MIT" ]
1
2022-02-18T05:35:47.000Z
2022-02-18T05:35:47.000Z
#include "singletons/helper/GifTimer.hpp" #include "Application.hpp" #include "singletons/Settings.hpp" #include "singletons/WindowManager.hpp" namespace chatterino { void GIFTimer::initialize() { this->timer.setInterval(30); getSettings()->animateEmotes.connect([this](bool enabled, auto) { if (enab...
22.83871
69
0.615819
Zer0-h
28e42891347a28ff49a7b187482edfaf67065b32
200
cpp
C++
Udemy_MP/Source/Udemy_MP/Udemy_MP.cpp
SoloByte/Udemy_MultiplayerCourse
7a1d5698c84a9e71bb96f872fb76c5e152b0254f
[ "MIT" ]
null
null
null
Udemy_MP/Source/Udemy_MP/Udemy_MP.cpp
SoloByte/Udemy_MultiplayerCourse
7a1d5698c84a9e71bb96f872fb76c5e152b0254f
[ "MIT" ]
null
null
null
Udemy_MP/Source/Udemy_MP/Udemy_MP.cpp
SoloByte/Udemy_MultiplayerCourse
7a1d5698c84a9e71bb96f872fb76c5e152b0254f
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "Udemy_MP.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Udemy_MP, "Udemy_MP" );
28.571429
78
0.785
SoloByte
28e49f52e935bd9880e0d1177778be46d87f6370
80,895
cc
C++
test/cpp/end2end/end2end_test.cc
jsymon/grpc
135fab3cc2748b4903f73d3ab7bf6976cd6eba31
[ "Apache-2.0" ]
1
2021-09-23T10:09:39.000Z
2021-09-23T10:09:39.000Z
test/cpp/end2end/end2end_test.cc
jsymon/grpc
135fab3cc2748b4903f73d3ab7bf6976cd6eba31
[ "Apache-2.0" ]
null
null
null
test/cpp/end2end/end2end_test.cc
jsymon/grpc
135fab3cc2748b4903f73d3ab7bf6976cd6eba31
[ "Apache-2.0" ]
1
2021-10-15T19:31:46.000Z
2021-10-15T19:31:46.000Z
/* * * Copyright 2015 gRPC 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...
35.495832
81
0.710477
jsymon
28e680679c28809d8246b9d58c4fea792a6bb2c8
1,812
cpp
C++
src/PointLightNode.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
src/PointLightNode.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
src/PointLightNode.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
#include "PointLightNode.h" PointLightNode:: PointLightNode(PointLight* light, Mesh* mesh, GraphNode* parent) : GraphNode(mesh, parent), light(light) { pos = light->position; constant = light->constant; linear = light->linear; quadratic = light->quadratic; lastEnabled = true; } void PointLightNode::update(double...
27.876923
106
0.6766
Doctor-Ned
28ec0c6d99391acad1b4739a9d17714fe50c7efd
22,860
cpp
C++
logdevice/common/MetaDataLogWriter.cpp
abhishekg785/LogDevice
060da71ef84b61f3371115ed352a7ee7b07ba9e2
[ "BSD-3-Clause" ]
1
2019-01-17T18:53:25.000Z
2019-01-17T18:53:25.000Z
logdevice/common/MetaDataLogWriter.cpp
abhishekg785/LogDevice
060da71ef84b61f3371115ed352a7ee7b07ba9e2
[ "BSD-3-Clause" ]
null
null
null
logdevice/common/MetaDataLogWriter.cpp
abhishekg785/LogDevice
060da71ef84b61f3371115ed352a7ee7b07ba9e2
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/common/MetaDataLogWriter.h" #include <folly/Memory.h> #include <fo...
37.973422
80
0.668941
abhishekg785
28ee9fb9846df034393fb98b5a39d00fc7346b75
632
cpp
C++
lib/ubsan/lit_tests/Integer/incdec-overflow.cpp
t-crest/patmos-compiler-rt
b480b190714befc5a721b53177cf037531a91a5c
[ "MIT" ]
1
2021-03-04T08:34:26.000Z
2021-03-04T08:34:26.000Z
lib/ubsan/lit_tests/Integer/incdec-overflow.cpp
t-crest/patmos-compiler-rt
b480b190714befc5a721b53177cf037531a91a5c
[ "MIT" ]
null
null
null
lib/ubsan/lit_tests/Integer/incdec-overflow.cpp
t-crest/patmos-compiler-rt
b480b190714befc5a721b53177cf037531a91a5c
[ "MIT" ]
null
null
null
// RUN: %clang -DOP=n++ -fsanitize=signed-integer-overflow %s -o %t && %t 2>&1 | FileCheck %s // RUN: %clang -DOP=++n -fsanitize=signed-integer-overflow %s -o %t && %t 2>&1 | FileCheck %s // RUN: %clang -DOP=m-- -fsanitize=signed-integer-overflow %s -o %t && %t 2>&1 | FileCheck %s // RUN: %clang -DOP=--m -fsanitize=sig...
37.176471
97
0.610759
t-crest
28f7006afc73d442503b12ac52d4ef3450b661a7
689
cpp
C++
chapter_4_computation/exercise/find_prime_stupid.cpp
jamie-prog/programming_principles_and_practice
abd4fec2cd02fc0bab69c9b11e13d9fce04039f9
[ "Apache-2.0" ]
null
null
null
chapter_4_computation/exercise/find_prime_stupid.cpp
jamie-prog/programming_principles_and_practice
abd4fec2cd02fc0bab69c9b11e13d9fce04039f9
[ "Apache-2.0" ]
null
null
null
chapter_4_computation/exercise/find_prime_stupid.cpp
jamie-prog/programming_principles_and_practice
abd4fec2cd02fc0bab69c9b11e13d9fce04039f9
[ "Apache-2.0" ]
null
null
null
#include "../../std_lib_facilities.h" int main(void) { vector<int> primes {1,2}; bool isPrime {true}; size_t input{1}; cout << "Enter you number for max. primes search: "; cin >> input; for (size_t i{3}; i < input; ++i) { for (size_t j{0}; j++ < primes.size() - 1;) { ...
18.131579
56
0.397678
jamie-prog
e905402a51523248e037503726e97372c2fb538b
7,236
hpp
C++
src/DataStructures/Tensor/Expressions/TensorAsExpression.hpp
trami18/spectre
6b1f6497bf2e26d1474bfadf143b3321942c40b4
[ "MIT" ]
2
2021-04-11T04:07:42.000Z
2021-04-11T05:07:54.000Z
src/DataStructures/Tensor/Expressions/TensorAsExpression.hpp
trami18/spectre
6b1f6497bf2e26d1474bfadf143b3321942c40b4
[ "MIT" ]
null
null
null
src/DataStructures/Tensor/Expressions/TensorAsExpression.hpp
trami18/spectre
6b1f6497bf2e26d1474bfadf143b3321942c40b4
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. /// \file /// Defines expressions that represent tensors #pragma once #include <array> #include <cstddef> #include "DataStructures/Tensor/Expressions/LhsTensorSymmAndIndices.hpp" #include "DataStructures/Tensor/Expressions/TensorExpression.hpp" #...
39.758242
80
0.680348
trami18
e9063721a0d5427ee983d6a16954870c91871d75
5,850
cpp
C++
libs/fnd/ranges/test/src/concepts/unit_test_fnd_ranges_sized_range.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/ranges/test/src/concepts/unit_test_fnd_ranges_sized_range.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/ranges/test/src/concepts/unit_test_fnd_ranges_sized_range.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_fnd_ranges_sized_range.cpp * * @brief ranges::sized_range のテスト * * @author myoukaku */ #include <bksge/fnd/ranges/concepts/sized_range.hpp> #include <bksge/fnd/ranges/concepts/disable_sized_range.hpp> #include <bksge/fnd/string/string.hpp> #include <bksge/fnd/array.hpp> #includ...
45.703125
111
0.800684
myoukaku