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
00083cc9417349cb253d289b375ad145301a2fc8
4,812
cc
C++
src/KeyTest.cc
nliao6622/QuantaDB-1
e5db80c7b9e9f5b3c2c6715ce77c56d56e4c4c94
[ "Apache-2.0" ]
12
2021-01-20T23:20:27.000Z
2021-12-10T12:14:26.000Z
src/KeyTest.cc
rodgarrison/RAMCloud
9aed8ace822c4aafef5501f418ab2b79450b7413
[ "0BSD" ]
null
null
null
src/KeyTest.cc
rodgarrison/RAMCloud
9aed8ace822c4aafef5501f418ab2b79450b7413
[ "0BSD" ]
2
2021-01-13T02:03:32.000Z
2022-01-20T17:26:55.000Z
/* Copyright (c) 2012-2016 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(...
28.814371
77
0.656899
nliao6622
0008e813424aec01d42bb2f95fd4ddb1289151dc
30,963
cpp
C++
Source/System/Math/Algebra/Quaternion.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
2
2020-01-09T07:48:24.000Z
2020-01-09T07:48:26.000Z
Source/System/Math/Algebra/Quaternion.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
null
null
null
Source/System/Math/Algebra/Quaternion.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
null
null
null
#include "Quaternion.hpp" #include "Matrix33.hpp" #include "Vector3.hpp" #include "..//Utility/Utility.hpp" #include <ostream> #include "../Utility/VectorDef.hpp" #include <sstream> namespace Engine5 { Quaternion::Quaternion(Real r, Real i, Real j, Real k) : r(r), i(i), j(j), k(k) { } Quatern...
36.003488
162
0.489907
arian153
000b585f9671e7db56d035f0878a003200f77418
5,157
hpp
C++
Nostra Utils/src/header/nostrautils/core/Version.hpp
Lehks/NostraUtils
ef1b2d492a1358775752a2a7621c714d86bf96b2
[ "MIT" ]
10
2018-01-07T01:00:11.000Z
2021-09-16T14:08:45.000Z
NostraUtils/Nostra Utils/src/header/nostrautils/core/Version.hpp
Lehks/NostraEngine
0d610dcd97ba482fd8f183795140c38728c3a6b3
[ "MIT" ]
107
2018-04-06T10:15:47.000Z
2018-09-28T07:13:46.000Z
NostraUtils/Nostra Utils/src/header/nostrautils/core/Version.hpp
Lehks/NostraEngine
0d610dcd97ba482fd8f183795140c38728c3a6b3
[ "MIT" ]
null
null
null
#ifndef NOU_CORE_VERSION_HPP #define NOU_CORE_VERSION_HPP #include "nostrautils/core/StdIncludes.hpp" #include "nostrautils/core/Utils.hpp" /** \file core/Version.hpp \author Lukas Reichmann \version 1.0.0 \since 1.0.0 \brief A file that contains the nostra::utils::core::Version struct. \see nostra::utils::cor...
25.156098
105
0.714951
Lehks
00117fd642dc8a5d1aa39f6f6dbc0b2e1b1e4695
12,157
cpp
C++
src/display_module.cpp
oskrs111/diy-co2-monitior
ca72bf613421732216da5af8359749af52bb49c3
[ "MIT" ]
8
2020-11-03T09:51:59.000Z
2021-09-20T05:01:42.000Z
src/display_module.cpp
oskrs111/diy-co2-monitior
ca72bf613421732216da5af8359749af52bb49c3
[ "MIT" ]
2
2020-11-29T08:11:41.000Z
2021-01-24T19:21:00.000Z
src/display_module.cpp
oskrs111/diy-co2-monitior
ca72bf613421732216da5af8359749af52bb49c3
[ "MIT" ]
3
2020-11-19T12:06:42.000Z
2021-02-05T10:31:57.000Z
/* Copyright 2020 Oscar Sanz Llopis 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, s...
34.24507
189
0.681254
oskrs111
00144f6fe0033d2f64866ceca60fcb1b78d5fad7
5,672
hpp
C++
backend/compiler.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
1
2022-02-22T21:42:28.000Z
2022-02-22T21:42:28.000Z
backend/compiler.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
null
null
null
backend/compiler.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
null
null
null
/** * @file compiler.hpp * @author Marek Sedlacek * @date July 2021 * @copyright Copyright 2021 Marek Sedlacek. All rights reserved. * * @brief Abstract data for all processing units * * Every input processing unit should extend processor class * so that all needed information and methods are present in it. ...
33.56213
124
0.618124
mark-sed
00149f7fb5fe229d3262a881e551925b3849842b
1,209
cpp
C++
pr1/zadaci/Zadatak16/Source.cpp
jasarsoft/fit-src
d9b963be3afbd4494de9d0289c947b0a41ad91d7
[ "MIT" ]
null
null
null
pr1/zadaci/Zadatak16/Source.cpp
jasarsoft/fit-src
d9b963be3afbd4494de9d0289c947b0a41ad91d7
[ "MIT" ]
null
null
null
pr1/zadaci/Zadatak16/Source.cpp
jasarsoft/fit-src
d9b963be3afbd4494de9d0289c947b0a41ad91d7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* Prepravite prethodni program tako da program racuna i ispisuje zapreminu V i povrsinu cilindra (varijabla Pcil). - Koristite dodatnu varijablu M za povrsinu omotaca i varijablu O za obim kruga. - Koristite konstantu Pi. Matematicke formule koje vam mogu pomoci su ...
28.116279
82
0.652605
jasarsoft
0016f0ba712c1efb9c9a9a6d094b8d5ac0268237
36,801
cpp
C++
ugene/src/corelibs/U2Core/src/gobjects/AnnotationTableObject.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2Core/src/gobjects/AnnotationTableObject.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2Core/src/gobjects/AnnotationTableObject.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version...
31.534704
153
0.636042
iganna
0018286db252b6fa890c686fde2b3aa074643601
3,702
hpp
C++
include/parser/ValueMgr.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
include/parser/ValueMgr.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
include/parser/ValueMgr.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 Scribe Language Repositories 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...
20.119565
89
0.697731
scribelang
001e703a89d2f94587d933c20950efe2dda20f91
56,473
cpp
C++
src/tier0/threadtools.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/tier0/threadtools.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/tier0/threadtools.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "pch_tier0.h" #include "tier1/strtools.h" #include "tier0/dynfunction.h" #if defined( _WIN32 ) && !defined( _X360 ) #define WIN32_LEAN...
23.481497
170
0.623307
DeadZoneLuna
0023c903be9762a71077fa56c9ebf7852679051a
87
cpp
C++
externals/kokkos/core/unit_test/default/TestDefaultDeviceTypeInit_16.cpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
1
2019-10-15T19:26:22.000Z
2019-10-15T19:26:22.000Z
externals/kokkos/core/unit_test/default/TestDefaultDeviceTypeInit_16.cpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
16
2019-04-15T20:52:05.000Z
2020-01-24T05:13:25.000Z
externals/kokkos/core/unit_test/default/TestDefaultDeviceTypeInit_16.cpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
1
2019-11-25T14:06:26.000Z
2019-11-25T14:06:26.000Z
#define KOKKOS_DEFAULTDEVICETYPE_INIT_TEST_16 #include <TestDefaultDeviceTypeInit.hpp>
29
45
0.896552
meng630
002552e0e85d1523eda90ef58e511c09fd902c1a
799
hpp
C++
include/pkmn/enums/egg_group.hpp
ncorgan/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
4
2017-06-10T13:21:44.000Z
2019-10-30T21:20:19.000Z
include/pkmn/enums/egg_group.hpp
PMArkive/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
12
2017-04-05T11:13:34.000Z
2018-06-03T14:31:03.000Z
include/pkmn/enums/egg_group.hpp
PMArkive/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
2
2019-01-22T21:02:31.000Z
2019-10-30T21:20:20.000Z
/* * Copyright (c) 2018 Nicholas Corgan (n.corgan@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ #ifndef PKMN_ENUMS_EGG_GROUP_HPP #define PKMN_ENUMS_EGG_GROUP_HPP #include <utility> namespace pkmn { enum class e_e...
20.487179
77
0.579474
ncorgan
002e5930b51f0073fcb5ec059980da4b3a5449b6
433
cpp
C++
misc/md5.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
misc/md5.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
misc/md5.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
unsigned k[64],r[64]={7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5 ,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23, 6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21}; #include<cmath> #include<cstring> const char *md5(char a[]) { static char res[33]; for(i=0;i<63;i++) ...
27.0625
77
0.542725
dk00
002ffe877490ef43d0206adc11aade85d3f56abc
3,493
cpp
C++
RtkServer/mainwindow.cpp
CORAL-CMU/Qt
85f29279e70121d5108c6d9295b2ba09826fba85
[ "MIT" ]
null
null
null
RtkServer/mainwindow.cpp
CORAL-CMU/Qt
85f29279e70121d5108c6d9295b2ba09826fba85
[ "MIT" ]
null
null
null
RtkServer/mainwindow.cpp
CORAL-CMU/Qt
85f29279e70121d5108c6d9295b2ba09826fba85
[ "MIT" ]
2
2021-01-22T14:58:10.000Z
2021-12-24T17:22:42.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #define GPGGASTR "$GPGGA,000637.10,4026.4183386,N,07956.1275614,W,5,06,1.0,308.021,M,-34.121,M,1.1,*7C" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); client = new QNtripClient();...
30.112069
104
0.6284
CORAL-CMU
0031dd4a87c00acaa7a66eeac4932568affff836
2,097
cpp
C++
savefinalmoviedialog.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
3
2015-09-28T13:14:06.000Z
2019-11-28T13:23:10.000Z
savefinalmoviedialog.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
42
2017-03-26T15:22:37.000Z
2019-04-05T13:42:00.000Z
savefinalmoviedialog.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
null
null
null
#include "savefinalmoviedialog.h" #include "ui_savefinalmoviedialog.h" #include "settings.h" #include <QFileDialog> SaveFinalMovieDialog::SaveFinalMovieDialog(QWidget *parent) : QDialog(parent), ui(new Ui::SaveFinalMovieDialog) { ui->setupUi(this); } SaveFinalMovieDialog::~SaveFinalMovieDialog() { d...
26.544304
125
0.664759
chennes
00408717f68559db68f82d23584f4cf23a8b0a5d
667
cpp
C++
torch_mlu/csrc/aten/operators/cnnl/alias.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
20
2022-03-01T11:40:51.000Z
2022-03-30T08:17:47.000Z
torch_mlu/csrc/aten/operators/cnnl/alias.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
torch_mlu/csrc/aten/operators/cnnl/alias.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
#include "aten/operators/cnnl/cnnl_kernel.h" #include "aten/operators/cnnl/internal/cnnl_internal.h" namespace torch_mlu { namespace cnnl { namespace ops { at::Tensor cnnl_alias(const at::Tensor& self) { at::Tensor self_; auto impl = c10::make_intrusive<MLUTensorImpl>(at::Storage(self.storage()), ...
30.318182
78
0.62069
Cambricon
00464c5a92c00871f4d4193630101fe0ed9827fa
600,257
cc
C++
fbench/src/grpcclient/third_party/googleapis/gens/google/privacy/dlp/v2/storage.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/privacy/dlp/v2/storage.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/privacy/dlp/v2/storage.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto #include "google/privacy/dlp/v2/storage.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <goo...
41.474262
232
0.716328
kashiish
0046c638e7ee0b932ba46c03c86d96be44efd1f2
1,642
cc
C++
packages/mccomponents/mccomponentsbpmodule/wrap_Phonon_CoherentInelastic_SingleXtal_kernel.cc
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
5
2017-01-16T03:59:47.000Z
2020-06-23T02:54:19.000Z
packages/mccomponents/mccomponentsbpmodule/wrap_Phonon_CoherentInelastic_SingleXtal_kernel.cc
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
293
2015-10-29T17:45:52.000Z
2022-01-07T16:31:09.000Z
packages/mccomponents/mccomponentsbpmodule/wrap_Phonon_CoherentInelastic_SingleXtal_kernel.cc
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
1
2019-05-25T00:53:31.000Z
2019-05-25T00:53:31.000Z
// -*- C++ -*- // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Jiao Lin // California Institute of Technology // (C) 2007-2010 All Rights Reserved // // {LicenseText} // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
25.65625
81
0.626066
mcvine
004ccf2cd8b1955dfcdc018a74343e217ce5c42c
3,603
cpp
C++
Raven.CppClient/AbstractIndexCreationTaskBase.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient/AbstractIndexCreationTaskBase.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient/AbstractIndexCreationTaskBase.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "stdafx.h" #include "AbstractIndexCreationTaskBase.h" #include "GetCppClassName.h" #include "MaintenanceOperationExecutor.h" #include "PutIndexesOperation.h" namespace ravendb::client::documents::indexes { void AbstractIndexCreationTaskBase::throw_index_name_was_set() { throw std::runtime_error("The index...
25.020833
105
0.760755
mlawsonca
0052cc864933fa4d30c8c6eb289a0e6ea557df34
17
cpp
C++
Tests/QtAutogen/UicNoGui/NoQt/main.cpp
eWert-Online/esy-cmake
c0de72da9a1bc4d9b4fbe3766bafcbaca442cc2c
[ "MIT" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
Tests/QtAutogen/UicNoGui/NoQt/main.cpp
eWert-Online/esy-cmake
c0de72da9a1bc4d9b4fbe3766bafcbaca442cc2c
[ "MIT" ]
null
null
null
Tests/QtAutogen/UicNoGui/NoQt/main.cpp
eWert-Online/esy-cmake
c0de72da9a1bc4d9b4fbe3766bafcbaca442cc2c
[ "MIT" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
void noQt() { }
3.4
11
0.470588
eWert-Online
0053ad050e024fdd08b7d00d56a57979e6458421
951
cpp
C++
Graph Algorithms/Havel Hakimi/main.cpp
Swizop/Algorithms
d3f4ec0040a92680649e22b8b90982ddb9293d07
[ "MIT" ]
null
null
null
Graph Algorithms/Havel Hakimi/main.cpp
Swizop/Algorithms
d3f4ec0040a92680649e22b8b90982ddb9293d07
[ "MIT" ]
null
null
null
Graph Algorithms/Havel Hakimi/main.cpp
Swizop/Algorithms
d3f4ec0040a92680649e22b8b90982ddb9293d07
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <algorithm> using namespace std; ifstream f("havel.in"); int main() { int i, x, n, j; f >> n; vector<int> degrees; for(i = 1; i <= n; i++) { f >> x; degrees.push_back(x); } while(true) { sort(de...
19.02
83
0.383807
Swizop
0058f608ad695add4d0c926a9eb7e3ad3a78a0d6
5,080
cpp
C++
CPP/Targets/SupportWFLib/symbian/NavTaskGuiHandler.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
6
2015-12-01T01:12:33.000Z
2021-07-24T09:02:34.000Z
CPP/Targets/SupportWFLib/symbian/NavTaskGuiHandler.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
null
null
null
CPP/Targets/SupportWFLib/symbian/NavTaskGuiHandler.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
2
2017-02-02T19:31:29.000Z
2018-12-17T21:00:45.000Z
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list...
31.358025
207
0.691929
wayfinder
0059dd34aff2b4d2706c023af6cbe8af14f4b01e
12,257
cpp
C++
src/tablestore/core/error.cpp
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/error.cpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
null
null
null
src/tablestore/core/error.cpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
1
2020-02-24T06:51:57.000Z
2020-02-24T06:51:57.000Z
/* 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 list of conditi...
41.549153
117
0.725381
TimeExceed
005b04f990045526bc490b386efddb77e7654851
1,462
hpp
C++
include/pyplot_cpp/plt/pyplot.hpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T10:52:21.000Z
2022-03-29T10:52:21.000Z
include/pyplot_cpp/plt/pyplot.hpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-20T12:17:11.000Z
2022-03-20T17:50:12.000Z
include/pyplot_cpp/plt/pyplot.hpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T19:40:59.000Z
2022-03-29T19:40:59.000Z
// // Created by calebcintary on 3/15/22. // // NOTE: Might be connection point between Dynamic Script and Embedded Interpreter // #ifndef PYPLOT_CPP_PYPLOT_HPP #define PYPLOT_CPP_PYPLOT_HPP #include <string> #include <sstream> #include <vector> #include <map> #include "Property.hpp" #include "pyplot_cpp/converter/c...
24.779661
111
0.650479
CalebCintary
005fefc45018788cdb3563f200504bb51ab56667
686
cpp
C++
src/593B.cpp
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
2
2016-08-19T09:47:03.000Z
2016-10-01T10:15:03.000Z
src/593B.cpp
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
null
null
null
src/593B.cpp
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
1
2015-07-01T23:57:32.000Z
2015-07-01T23:57:32.000Z
#include <iostream> #include <cstdio> #include <vector> #include <map> #include <algorithm> using namespace std; int main() { int n; scanf("%d", &n); int x1, x2; scanf("%d%d", &x1, &x2); vector< pair<long long, long long> > arr; for ( int i = 0; i < n; ++i ) { int k, b; scan...
20.787879
79
0.472303
viing937
00611f8b4fb0a8cb06bebf72cff0fb151704ec8a
4,449
cpp
C++
privatedns/src/v20201028/model/TldQuota.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
1
2022-01-27T09:27:34.000Z
2022-01-27T09:27:34.000Z
privatedns/src/v20201028/model/TldQuota.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
privatedns/src/v20201028/model/TldQuota.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
24.445055
131
0.657901
suluner
00624f992da46ccb401186131cc5d4d2df6f1944
556
cpp
C++
Game/ZeldaDS/arm9/source/gslib/Hw/CpuClock.cpp
amaiorano/ZeldaDS
78b093796a17ca0aaef4ff8b53a41fe59adc072e
[ "MIT" ]
2
2018-02-18T19:11:39.000Z
2020-08-16T18:16:35.000Z
Game/ZeldaDS/arm9/source/gslib/Hw/CpuClock.cpp
amaiorano/ZeldaDS
78b093796a17ca0aaef4ff8b53a41fe59adc072e
[ "MIT" ]
null
null
null
Game/ZeldaDS/arm9/source/gslib/Hw/CpuClock.cpp
amaiorano/ZeldaDS
78b093796a17ca0aaef4ff8b53a41fe59adc072e
[ "MIT" ]
null
null
null
#include "CpuClock.h" #include <nds/timers.h> namespace CpuClock { namespace { CpuTickType gLastFrameElapsedTicks = 0; const uint32 gTimerChannel = 0; } void Update() { gLastFrameElapsedTicks = cpuEndTiming(); cpuStartTiming(gTimerChannel); // Restart timer for this frame } CpuTickType GetLastFrameEla...
19.172414
77
0.730216
amaiorano
0064c2a0436cffecfcc6c0c09b31b80c8bc15810
1,885
cpp
C++
2021/day20/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2021/day20/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2021/day20/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
#include "common/types.h" #include "utils/file.h" #include "utils/utils.h" #define DEBUG_LEVEL 5 #include "common/debug.h" int main(int argc, char *argv[]) { std::string algorithm; std::vector<std::string> image; { bool parseAlgorithm = true; for (const auto &line : File::readAllLines(argv[1])) { if (li...
17.616822
72
0.481698
bielskij
006579b4fa6323be66e30c61ffd782770a19917a
608
cpp
C++
VideoPaletteExtraction/VideoPaletteExtraction/SystemParameter.cpp
Zhengjun-Du/GeometricPaletteBasedVideoRecoloring
d48f4fa942910b7e855eded4f1a2801db22050e4
[ "MIT" ]
10
2021-10-02T10:22:33.000Z
2022-02-16T07:11:22.000Z
VideoPaletteExtraction/VideoPaletteExtraction/SystemParameter.cpp
Zhengjun-Du/GeometricPaletteBasedVideoRecoloring
d48f4fa942910b7e855eded4f1a2801db22050e4
[ "MIT" ]
null
null
null
VideoPaletteExtraction/VideoPaletteExtraction/SystemParameter.cpp
Zhengjun-Du/GeometricPaletteBasedVideoRecoloring
d48f4fa942910b7e855eded4f1a2801db22050e4
[ "MIT" ]
5
2021-10-02T14:00:50.000Z
2022-02-08T06:25:06.000Z
#include "SystemParameter.h" int SysParameter::frmCnt = 0; int SysParameter::sampFrmCnt = 0; int SysParameter::sampFrmPixCnt = 0; double SysParameter::frmRefineRlossWt = 0; double SysParameter::frmRefineClossWt = 0; double SysParameter::blockAlpha = 0; double SysParameter::blockBeta = 0; double SysParameter::blockR...
28.952381
42
0.784539
Zhengjun-Du
0066bc0e3588ff1af61067c4f710fa505c4bb122
4,475
cpp
C++
src/examples/example3.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
2
2021-01-05T08:50:59.000Z
2021-08-17T09:09:55.000Z
src/examples/example3.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
null
null
null
src/examples/example3.cpp
mohistH/nanogui_from_dalerank
ae4b5e04b2d8e2e85ab63b737fd13f8882243526
[ "MIT" ]
1
2021-08-17T09:09:57.000Z
2021-08-17T09:09:57.000Z
/* src/example3.cpp -- C++ version of an example application that shows how to use nanogui in an application with an already created and managed glfw context. NanoGUI was developed by Wenzel Jakob <wenzel.jakob@epfl.ch>. The widget drawing code is based on the NanoVG demo application by Mikko M...
28.503185
184
0.679777
mohistH
006a814318fbd236ff070c9008cd1307032ee45f
925
cpp
C++
message/pong.cpp
kagamikarasu/shaula
cbda881578669cbf407845e46a9a9f988a155aba
[ "MIT" ]
null
null
null
message/pong.cpp
kagamikarasu/shaula
cbda881578669cbf407845e46a9a9f988a155aba
[ "MIT" ]
13
2021-08-09T10:25:28.000Z
2021-08-12T07:39:05.000Z
message/pong.cpp
kagamikarasu/shaula
cbda881578669cbf407845e46a9a9f988a155aba
[ "MIT" ]
null
null
null
// // Pong.cpp // // Copyright (c) 2021 Yuya Takeda (@kagamikarasu) // // MIT LICENSE // See the following LICENSE file // https://github.com/kagamikarasu/shaula/ // #include "pong.h" Pong::Pong(const std::vector<unsigned char> &bytes) { setCommand(CommandDef.PONG); setNonce(bytes); } void Pong::setNonce(con...
22.02381
64
0.656216
kagamikarasu
00747ce507529b2e7d651ff78e9dfd8888a8270d
17,305
cpp
C++
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/browser/ResourceExtractor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/browser/ResourceExtractor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/browser/ResourceExtractor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
34.335317
97
0.604218
jingcao80
00754970455083e104426ced7bf1b2fac402f804
28,311
cpp
C++
app/benchmark.cpp
Hespian/EdgeHierarchies
b30a226d54df662a0dc635720a7000b867f96bc9
[ "MIT" ]
13
2019-08-22T19:43:21.000Z
2021-12-17T06:54:00.000Z
app/benchmark.cpp
Hespian/EdgeHierarchies
b30a226d54df662a0dc635720a7000b867f96bc9
[ "MIT" ]
null
null
null
app/benchmark.cpp
Hespian/EdgeHierarchies
b30a226d54df662a0dc635720a7000b867f96bc9
[ "MIT" ]
1
2019-08-26T07:45:11.000Z
2019-08-26T07:45:11.000Z
/******************************************************************************* * app/benchmark.cpp * * Copyright (C) 2019 Demian Hespe <hespe@kit.edu> * * All rights reserved. ******************************************************************************/ #include <string> #include <iostream> #include <chrono>...
44.029549
313
0.645014
Hespian
0075720f22d3e68212c06e73df62b3cd9ae10eac
3,104
cpp
C++
source/Ch19/chapter/vector010_2.cpp
Fantasztikus21/UDProg-Introduction
3828bf41bdfa483decd27aa1a9ab62b5d2633245
[ "CC0-1.0" ]
3
2021-11-02T08:30:53.000Z
2022-02-28T07:32:25.000Z
source/Ch19/chapter/vector010_2.cpp
Fantasztikus21/UDProg-Introduction
3828bf41bdfa483decd27aa1a9ab62b5d2633245
[ "CC0-1.0" ]
1
2020-11-10T15:58:17.000Z
2020-11-10T15:58:17.000Z
source/Ch19/chapter/vector010_2.cpp
Fantasztikus21/UDProg-Introduction
3828bf41bdfa483decd27aa1a9ab62b5d2633245
[ "CC0-1.0" ]
122
2020-09-12T08:29:45.000Z
2022-03-04T10:22:46.000Z
#include "../std_lib_facilities.h" class My_out_of_range{}; class My_vector { int sz; double* elem; int space; void debug(const string& s) { cerr << this << "->" << s << "; elem ptr: " << elem << '\n'; } public: My_vector(): sz{0}, elem{nullptr}, space{0} {} explicit My_vector(int s): sz{s}, elem{new d...
18.046512
73
0.568621
Fantasztikus21
00771a0edf7f2b444cfecaf17d1fb5f72d3d02e4
1,299
cpp
C++
test/math/box/structure_cast.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/math/box/structure_cast.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/math/box/structure_cast.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 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 <fcppt/cast/float_to_int_fun.hpp> #include <fcppt/math/box/comparison.hpp> #include <fcpp...
17.794521
61
0.69361
vinzenz
007955cba67a1c50ff800e34c72270db51b5487e
714
hpp
C++
Spades Game/Game/UI/CollapsibleButton.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
6
2017-01-04T22:40:50.000Z
2019-11-24T15:37:46.000Z
Spades Game/Game/UI/CollapsibleButton.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
1
2016-09-18T19:10:01.000Z
2017-08-04T23:53:38.000Z
Spades Game/Game/UI/CollapsibleButton.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
2
2015-11-21T16:42:18.000Z
2019-04-21T20:41:39.000Z
#ifndef CGE_COLLAPSIBLE_BUTTON_HPP #define CGE_COLLAPSIBLE_BUTTON_HPP #include "Game/UI/Button.hpp" #include "Game/UI/ListBox.hpp" namespace cge { class CollapsibleButton : public Button { agui::Image* m_iconRight; agui::Image* m_iconDown; int m_beginPadding; int m_midPadding; int m_yPadding; ListBox* m_...
26.444444
68
0.761905
jmasterx
007bdb80aac3224dded2221d1ab1258e9ad9edb8
3,733
cpp
C++
Curses/WindowSystem.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
8
2018-10-29T02:42:52.000Z
2021-02-04T17:37:14.000Z
Curses/WindowSystem.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
null
null
null
Curses/WindowSystem.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
1
2019-11-07T02:18:23.000Z
2019-11-07T02:18:23.000Z
// // WindowSystem.cpp // TUCUT (Take Up Code Utility) // // Created by Abdul Wahid Tanner on 10/26/17. // Copyright © 2017 Take Up Code. All rights reserved. // #include "WindowSystem.h" #include <curses.h> #include "Colors.h" #include "CursesUtil.h" #include "ConsoleManager.h" #include "Window.h" namespace TU...
18.665
95
0.665149
takeupcode
008201a15e8f07132fd91304cfcdb2ad15982666
1,385
cpp
C++
graphics/Win32Adapter.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
graphics/Win32Adapter.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
graphics/Win32Adapter.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "Win32Adapter.hpp" #include "Win32Monitor.hpp" #include "../platform/Win32Window.hpp" #include "../Strings.hpp" BEGIN_INANITY_GRAPHICS Win32Adapter::Win32Adapter(const DISPLAY_DEVICE& info) : info(info), monitorsInitialized(false) { deviceName = Strings::Unicode2UTF8(info.DeviceName); deviceString = String...
22.33871
120
0.745848
quyse
0a50d5db2c733729a539c1f7b013ca3b8ed6a2bd
7,049
cpp
C++
extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-01-30T01:03:05.000Z
2020-01-30T01:03:05.000Z
extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/******************************************************************************* * Copyright 2009-2016 Jörg Müller * * 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.apac...
24.908127
210
0.758264
recogni
0a5c7abc3c228f7abcd6a7cf3917a7d93b2104e8
3,246
cpp
C++
test/che/assembly.cpp
shze/biosim
e9e6d97de0ccf8067e1db15980eb600389fff6ca
[ "MIT" ]
null
null
null
test/che/assembly.cpp
shze/biosim
e9e6d97de0ccf8067e1db15980eb600389fff6ca
[ "MIT" ]
null
null
null
test/che/assembly.cpp
shze/biosim
e9e6d97de0ccf8067e1db15980eb600389fff6ca
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include "che/assembly.h" // header to test using namespace biosim; BOOST_AUTO_TEST_SUITE(suite_assembly) BOOST_AUTO_TEST_CASE(assembly_ctor) { che::assembly a; BOOST_CHECK(a.get_chain_id_list().empty()); BOOST_CHECK(a.get_ensemble_size("A") == 0); BOOST_CHECK(a.has_ensem...
37.744186
69
0.679914
shze
0a5f0d8efe00fe669f0d8175bd00f244b03de745
1,330
cpp
C++
3DRadSpace/3DRadSpaceDll/Quaternion.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
9
2017-01-10T11:47:06.000Z
2021-11-27T14:32:55.000Z
3DRadSpace/3DRadSpaceDll/Quaternion.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
null
null
null
3DRadSpace/3DRadSpaceDll/Quaternion.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
6
2017-07-08T23:03:43.000Z
2022-03-08T07:47:13.000Z
#include "Quaternion.hpp" Engine3DRadSpace::Quaternion Engine3DRadSpace::Quaternion::CreateFromYawPitchRoll(float yaw, float pitch, float roll) { float halfRoll = roll * 0.5f; float halfPitch = pitch * 0.5f; float halfYaw = yaw * 0.5f; float sinRoll = sin(halfRoll); float cosRoll = cos(halfRoll);...
34.102564
139
0.616541
NicusorN5
0a610905dbf99cb1321d411431ceb988292c8cbb
3,272
hpp
C++
src/gestion-fichiers/ifile.hpp
minijackson/IGI-3004
8354f40e296cce8735b188dd3ff7406e96d5878e
[ "MIT" ]
1
2017-10-01T02:29:06.000Z
2017-10-01T02:29:06.000Z
src/gestion-fichiers/ifile.hpp
minijackson/IGI-3004
8354f40e296cce8735b188dd3ff7406e96d5878e
[ "MIT" ]
null
null
null
src/gestion-fichiers/ifile.hpp
minijackson/IGI-3004
8354f40e296cce8735b188dd3ff7406e96d5878e
[ "MIT" ]
null
null
null
#pragma once #include "utility.hpp" /*! \brief Represents an input file. * * This class implements the RAII idiom. */ template <typename flag = unbuffered_flag> class IFile : public DummyFile<flag, true> { static_assert(std::is_same<flag, buffered_flag>::value || std::is_same<flag, unbuffered_fla...
23.371429
74
0.661369
minijackson
0a6bc0065750fa6fc0ad16ec4c90ec157bd6c068
2,606
cpp
C++
ixperial/ixperial-main/lua-entity.cpp
aw-3/ixperial
8406ac3265e572cf6a4fb4b53ae36936d550f4fe
[ "MIT" ]
1
2019-07-14T04:01:42.000Z
2019-07-14T04:01:42.000Z
ixperial/ixperial-main/lua-entity.cpp
aw-3/ixperial
8406ac3265e572cf6a4fb4b53ae36936d550f4fe
[ "MIT" ]
null
null
null
ixperial/ixperial-main/lua-entity.cpp
aw-3/ixperial
8406ac3265e572cf6a4fb4b53ae36936d550f4fe
[ "MIT" ]
null
null
null
#include "stdafx.h" void* LuaEntity::GetEntityFromIndex(int i) { static void *listPtr = (int*)sigScan((int)CSGO::GetClientHandle(), "\xBB\x00\x00\x00\x00\x83\xFF\x01\x0F\x8C\x00\x00\x00\x00\x3B\xF8"); int list = *(int*)((char*)listPtr + 1); return *(int**)(list + (i * 0x10)); } RefCountedPtr<LuaEntity> LuaEntity...
28.021505
166
0.699923
aw-3
0a6cd6fb5950cfbb2d0f805afbbefc69090df878
3,296
cc
C++
JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "JetMETCorrections/JetVertexAssociation/interface/JetVertexMain.h" #include "DataFormats/JetReco/interface/CaloJet.h" #include "DataFormats/TrackReco/interface/Track.h" #include "DataFormats/TrackReco/interface/TrackFwd.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include <cmath> #include <stri...
32
131
0.655036
pasmuss
0a744784f40789357813ef53dcbcb261d9e2c20f
2,720
cpp
C++
devtools/tmcdbg/tmcdbgW.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
devtools/tmcdbg/tmcdbgW.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
devtools/tmcdbg/tmcdbgW.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
// tmcdbgW.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "tmcdbgW.h" #include "SplitWnd.h" #include "tmcdbgWDlg.h" /* Copyright (C) Shmuel Safonov 2009-2012 All rights reserved. Any usage of this file must be according to TMC License. */ #ifdef HAS_PL...
25.904762
78
0.617279
flyingbluefish
0a74bb45a4444d7806e49b342cff43c205805966
8,255
cpp
C++
10/150101053_3.cpp
roopansh/IITG-CS201-CS210-Data_Structures
6d24d720c45003ecedd4702f51f3b345c95fd77e
[ "MIT" ]
3
2017-01-12T12:49:29.000Z
2019-02-07T19:58:21.000Z
10/150101053_3.cpp
roopansh/IITG-CS201-CS210-Data_Structures
6d24d720c45003ecedd4702f51f3b345c95fd77e
[ "MIT" ]
null
null
null
10/150101053_3.cpp
roopansh/IITG-CS201-CS210-Data_Structures
6d24d720c45003ecedd4702f51f3b345c95fd77e
[ "MIT" ]
4
2017-09-01T17:46:01.000Z
2019-01-04T15:07:08.000Z
/************************************************************************************************ ROOPANSH BANSAL 150101053 CS210 ************************************************************************************************/ /******************************************************************************************...
24.641791
152
0.623622
roopansh
0a7662bf121ffbd99d0517cdaca25ccf500b6aff
310
cpp
C++
ntuj/0056.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0056.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0056.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<cstdio> #include<algorithm> using namespace std; int s[1000000]; main() { int i,k,n; while(scanf("%d %d",&n,&k)==2) { for(i=0;i<n;i++) scanf("%d",s+i); sort(s,s+n); for(i=0;i<k-1;i++) printf("%d ",s[i]); printf("%d\n",s[i]); } }
17.222222
34
0.429032
dk00
0a7c03f1832f14af13c00529fff2506864848423
48
hpp
C++
src/boost_test_data_monomorphic_grid.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_data_monomorphic_grid.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_data_monomorphic_grid.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/data/monomorphic/grid.hpp>
24
47
0.791667
miathedev
0a897bad9835b03c71f3c9e79a3037c9510bdfd9
3,702
hpp
C++
boost/geometry/strategies/cartesian/densify.hpp
pranavgo/RRT
87148c3ddb91600f4e74f00ffa8af14b54689aa4
[ "MIT" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
boost/geometry/strategies/cartesian/densify.hpp
pranavgo/RRT
87148c3ddb91600f4e74f00ffa8af14b54689aa4
[ "MIT" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
boost/geometry/strategies/cartesian/densify.hpp
pranavgo/RRT
87148c3ddb91600f4e74f00ffa8af14b54689aa4
[ "MIT" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry // Copyright (c) 2017-2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_DENSIFY_HPP #define BOOS...
28.697674
112
0.680173
pranavgo
0a8cb7752de7e341da237696754cfa2157dafc31
2,965
hpp
C++
src/gui/text.hpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
1
2022-01-16T07:06:13.000Z
2022-01-16T07:06:13.000Z
src/gui/text.hpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
null
null
null
src/gui/text.hpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <string> #include <apostellein/rect.hpp> #include "../video/vertex.hpp" struct bitmap_font; struct renderer; namespace gui { // utf-8 to utf-32 void unicode(const std::string& utf8, std::u32string& utf32); struct text : public not_copyable { public: void build( const glm::vec2& posit...
25.560345
68
0.646543
synaodev
0a8f123b3da7cb94b773fc2592bf889744756af4
6,713
cpp
C++
src/scheduler/schedulingSimulator.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
1
2019-12-24T19:07:19.000Z
2019-12-24T19:07:19.000Z
src/scheduler/schedulingSimulator.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
src/scheduler/schedulingSimulator.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2017 Jacques Florence * All rights reserved. * See License.txt file * */ #include "schedulingSimulator.h" #include <algorithm> #include <cassert> #include <cmath> #include <ctime> #include <utils/log.h> #include <utils/randomGenerator.h> #include "events/coreEvents.h" #include "events/eventLi...
26.429134
93
0.733651
Jacques-Florence
0a8faa85e2f1a0bac579ead44b7fc85f8b5f6392
1,567
cpp
C++
app/cpp/mysimplegimp/src/core/transformations/map_normal.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
app/cpp/mysimplegimp/src/core/transformations/map_normal.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
app/cpp/mysimplegimp/src/core/transformations/map_normal.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
#include "map_normal.h" #include "edge_sobel.h" #include "map_height.h" #include <iostream> MapNormal::MapNormal(PNM* img) : Convolution(img) { } MapNormal::MapNormal(PNM* img, ImageViewer* iv) : Convolution(img, iv) { } PNM* MapNormal::transform() { int width = image->width(); int height = image->...
25.274194
78
0.532865
jaroslaw-wieczorek
0a91b7e39e5de21cba064b8b399b9727984e730f
2,481
cpp
C++
kobold-layer.nucleus.test/src/texture/texture_manager_test.cpp
BeardedPlatypus/kobold-layer
c258c79afe06213bf44cbcbb1474968350cfeec3
[ "MIT" ]
null
null
null
kobold-layer.nucleus.test/src/texture/texture_manager_test.cpp
BeardedPlatypus/kobold-layer
c258c79afe06213bf44cbcbb1474968350cfeec3
[ "MIT" ]
1
2021-01-24T09:58:14.000Z
2021-01-24T10:04:03.000Z
kobold-layer.nucleus.test/src/texture/texture_manager_test.cpp
BeardedPlatypus/kobold-layer
c258c79afe06213bf44cbcbb1474968350cfeec3
[ "MIT" ]
null
null
null
#include "kobold-layer.nucleus.mock/texture/texture_factory_mock.hpp" #include "kobold-layer.nucleus.mock/texture/texture_mock.hpp" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "texture/texture_manager_implementation.hpp" using ::testing::Return; using ::testing::ByMove; using ::testing::IsTrue; using...
31.405063
97
0.771463
BeardedPlatypus
0a95ad0e93f390ce48b0c482da2f16a1bf6df28c
8,359
cpp
C++
c++/src/util/itree.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/util/itree.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/util/itree.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: itree.cpp 103491 2007-05-04 17:18:18Z kazimird $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under...
29.747331
78
0.609882
OpenHero
0a980d851f0981083c1bcde0b59a87844265920d
1,719
hpp
C++
include/containers/range_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
include/containers/range_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
include/containers/range_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2018. // 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) #pragma once #include <containers/begin_end.hpp> #include <containers/is_range.hpp> #include <containers/iter_difference_t.hpp> #in...
25.656716
133
0.753345
davidstone
0a989e6bdbd9ec69c91af1f3073924420396ccb2
2,118
cpp
C++
src/core/src/scene/scene.cpp
zZnghialamZz/Ethan
e841b0a07f75022fab6634d53827c64dd1a466de
[ "Apache-2.0" ]
2
2020-07-29T04:27:22.000Z
2021-10-11T01:27:43.000Z
src/core/src/scene/scene.cpp
zZnghialamZz/Ethan
e841b0a07f75022fab6634d53827c64dd1a466de
[ "Apache-2.0" ]
null
null
null
src/core/src/scene/scene.cpp
zZnghialamZz/Ethan
e841b0a07f75022fab6634d53827c64dd1a466de
[ "Apache-2.0" ]
2
2020-08-03T03:29:28.000Z
2020-08-03T08:01:14.000Z
/** * ================================================== * _____ * __|___ |__ __ __ _ ____ ____ _ * | ___| | _| |_ | |_| || \ | \ | | * | ___| ||_ _|| _ || \ | \| | * |______| __| |__| |__| |_||__|\__\|__/\____| * |_____| * * Ga...
29.830986
112
0.603872
zZnghialamZz
0a99019e7a666a80348cb175b394bfc3d891f154
4,160
cpp
C++
earth_enterprise/src/fusion/rasterfuse/vipm/heap.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
2,661
2017-03-20T22:12:50.000Z
2022-03-30T09:43:19.000Z
earth_enterprise/src/fusion/rasterfuse/vipm/heap.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
1,531
2017-03-24T17:20:32.000Z
2022-03-16T18:11:14.000Z
earth_enterprise/src/fusion/rasterfuse/vipm/heap.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
990
2017-03-24T11:54:28.000Z
2022-03-22T11:51:47.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
25.838509
78
0.377885
ezeeyahoo
0a9b18fbbb21f8edf69284f4bdc7b83cd2f811b1
1,564
hpp
C++
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/backtrace.hpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/backtrace.hpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/backtrace.hpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/backtrace.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2008-2017 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ****************************...
27.438596
80
0.602941
bingmann
0a9be70b12d75382827b0693f6c54e1bc1834952
2,527
cc
C++
mysql-server/mysys/mf_fn_ext.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/mysys/mf_fn_ext.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/mysys/mf_fn_ext.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
34.148649
79
0.735259
silenc3502
0a9e15b58201f9a274e83f6a202fb8234327d7e5
927
hpp
C++
gamess/libqc/src/matrix/ops.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/src/matrix/ops.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/src/matrix/ops.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
#ifndef _MATRIX_OPS_HPP_ #define _MATRIX_OPS_HPP_ namespace matrix { template<class M> void assign(M &A, typename M::value_type s) { for (uint j = 0; j < A.size2(); ++j) { for (uint i = 0; i < A.size1(); ++i) { A(i,j) = s; } } } template<class M, class E> typename disable_if< is_ar...
19.723404
50
0.495146
andremirt
0aa01a783110b5fae6238bbfc340dc6c3d9e4006
1,543
hpp
C++
include/thectci/factory.hpp
PeterHajdu/thectci
7ffe4c7d8ccbf55490e155f93ef8637d6f9c4119
[ "MIT" ]
null
null
null
include/thectci/factory.hpp
PeterHajdu/thectci
7ffe4c7d8ccbf55490e155f93ef8637d6f9c4119
[ "MIT" ]
null
null
null
include/thectci/factory.hpp
PeterHajdu/thectci
7ffe4c7d8ccbf55490e155f93ef8637d6f9c4119
[ "MIT" ]
null
null
null
#pragma once #include <thectci/id.hpp> #include <memory> #include <cassert> #include <functional> #include <unordered_map> namespace the { namespace ctci { template < typename Base > class Creator { public: typedef std::unique_ptr< Base > base_pointer; virtual ~Creator() {} virtual base_pointer create()...
21.136986
88
0.668179
PeterHajdu
0aa179af3f6ec42779f78f69d3ab00914dff12e0
4,840
cpp
C++
rotor.cpp
101010b/LEDBall
01d11100262e2cf73d337aad02013044cfc32475
[ "Apache-2.0" ]
null
null
null
rotor.cpp
101010b/LEDBall
01d11100262e2cf73d337aad02013044cfc32475
[ "Apache-2.0" ]
null
null
null
rotor.cpp
101010b/LEDBall
01d11100262e2cf73d337aad02013044cfc32475
[ "Apache-2.0" ]
null
null
null
#include <arduino.h> #include <stdint.h> #include "rotor.h" const uint8_t rowcos[19]={0,44,87,127,164,195,221,240,251,255,251,240,221,195,164,128,87,44,0}; const uint8_t colexp1[60]={255,246,238,230,222,215,208,201,194,187,181,175,169,164,158,153,148,143,138,133,129,125,120,116,113,109,105,102,98,95,92,89, 86,83,80...
34.326241
152
0.578926
101010b
0aa42c79a0f46d9b2c1477582c12c3a27d66dff9
18,768
cpp
C++
src/DE_Scene.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
src/DE_Scene.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
src/DE_Scene.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
//C++ /* ---------------------------------------------------- The Desktop Project ------------------ Copyright 2004 Daher Alfawares 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.apac...
25.85124
150
0.662671
daher-alfawares
0aa542229e1e710e5b5af1b4ee47d67503952136
33,815
cpp
C++
dynamic_mapping/src/main.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
9
2017-12-17T07:43:15.000Z
2021-10-10T15:03:39.000Z
dynamic_mapping/src/main.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
null
null
null
dynamic_mapping/src/main.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
6
2016-01-27T03:40:58.000Z
2021-06-15T08:12:14.000Z
#include "ros/ros.h" #include <tf/transform_listener.h> #include <tf/transform_broadcaster.h> #include "std_msgs/String.h" #include <signal.h> #include <termios.h> #include "nav_msgs/GetMap.h" #include "dynamic_mapping/GetDynamicMap.h" #include "nav_msgs/MapMetaData.h" #include <nav_msgs/OccupancyGrid.h> #include <se...
34.087702
161
0.659559
tuw-cpsg
0aa5fff6ca7ae472914aad4a22ac51badd3713c3
5,200
cc
C++
src/pub_key.cc
gladosconn/ecdsa-
3b8d4b6df48843742fc33c931b9fadc225ae439b
[ "MIT" ]
11
2019-11-20T21:38:22.000Z
2022-03-18T08:45:25.000Z
src/pub_key.cc
gladosconn/ecdsa-
3b8d4b6df48843742fc33c931b9fadc225ae439b
[ "MIT" ]
1
2021-04-01T15:06:55.000Z
2021-04-01T15:06:55.000Z
src/pub_key.cc
gladosconn/ecdsa-
3b8d4b6df48843742fc33c931b9fadc225ae439b
[ "MIT" ]
4
2017-11-03T17:34:27.000Z
2022-03-21T18:40:49.000Z
#include "pub_key.h" #include <cstring> namespace ecdsa { /** This function is taken from the libsecp256k1 distribution and implements * DER parsing for ECDSA signatures, while supporting an arbitrary subset of * format violations. * * Supported violations include negative integers, excessive padding, garbage...
24.413146
80
0.587115
gladosconn
0aa646d269e6b30a2850b48c3c2509f4f1091711
5,569
cpp
C++
lib/utility.cpp
CreRecombinase/tomahawk
0e816bca4f49732d2c56f01fa4e7ec68bb10b60b
[ "MIT" ]
39
2018-02-01T14:05:05.000Z
2022-03-23T08:33:36.000Z
lib/utility.cpp
CreRecombinase/tomahawk
0e816bca4f49732d2c56f01fa4e7ec68bb10b60b
[ "MIT" ]
16
2018-02-03T02:24:30.000Z
2022-03-15T02:04:18.000Z
lib/utility.cpp
CreRecombinase/tomahawk
0e816bca4f49732d2c56f01fa4e7ec68bb10b60b
[ "MIT" ]
12
2018-02-03T02:03:20.000Z
2021-02-19T10:58:22.000Z
#include <sys/time.h> #include <regex> #include "utility.h" namespace tomahawk { namespace utility { std::string remove_whitespace(std::string& string){ string.erase(remove_if(string.begin(), string.end(), isspace), string.end()); return(string); } std::string remove_excess_whitespace(const std::string& string){ ...
24.861607
122
0.650745
CreRecombinase
0aa66afae74665ada6a69df962f5c287155a7b93
772
cpp
C++
tests/job/test_co_generator.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
tests/job/test_co_generator.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
tests/job/test_co_generator.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <array> #include <algorithm> #include "../../src/job/co_generator.h" #include <catch2/catch.hpp> namespace testing { int test_iota() { int sum = 0; // derives to int for (auto x : bop::job::iota(6)) sum += x; return sum;...
19.794872
81
0.546632
grandmaster789
0aa76275b50109f71a7984004babf9c66b584393
1,571
cpp
C++
leetcode/0122_Best_Time_to_Buy_and_Sell_Stock_2/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0122_Best_Time_to_Buy_and_Sell_Stock_2/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0122_Best_Time_to_Buy_and_Sell_Stock_2/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
/** * Copyright (C) 2021 All rights reserved. * * FileName :result.cpp * Author :C.K * Email :theck17@163.com * DateTime :2021-02-04 21:50:26 * Description : */ #include <stdexcept> //标准异常类 #include <streambuf> //底层输入/输出支持 #include <string> //字符串类 #inc...
34.911111
196
0.563972
theck17
0aac1cb8984bd62f4179e4ad6dfc968d2fdab19d
2,323
cpp
C++
Sources/ElkCraft/Sources/Utils/ItemsInfo.cpp
adriengivry/ElkCraft
7147b1aae7183eee692f2691cac24505a61515c1
[ "MIT" ]
10
2018-11-09T03:38:30.000Z
2022-01-31T11:46:10.000Z
Sources/ElkCraft/Sources/Utils/ItemsInfo.cpp
adriengivry/ElkCraft
7147b1aae7183eee692f2691cac24505a61515c1
[ "MIT" ]
null
null
null
Sources/ElkCraft/Sources/Utils/ItemsInfo.cpp
adriengivry/ElkCraft
7147b1aae7183eee692f2691cac24505a61515c1
[ "MIT" ]
10
2018-09-30T05:07:35.000Z
2021-12-22T04:41:38.000Z
#include "stdafx.h" #include "ElkCraft/Utils/ItemsInfo.h" using namespace ElkCraft::Utils; using namespace ElkTools::Utils; bool ItemsInfo::IsItem(uint8_t p_type) { return p_type >= 100; } bool ElkCraft::Utils::ItemsInfo::IsTool(uint8_t p_type) { return p_type >= 101 && p_type <= 106; } ItemsInfo::Quality ElkCra...
19.521008
79
0.739991
adriengivry
0aaf55ab55b59df8f013e9d382902c69780f7018
1,968
cpp
C++
src/image_file_factory.cpp
tymion/cpp_training
c465ac46fcf5e667acc480b4ccdb35f8e60003da
[ "Apache-2.0" ]
null
null
null
src/image_file_factory.cpp
tymion/cpp_training
c465ac46fcf5e667acc480b4ccdb35f8e60003da
[ "Apache-2.0" ]
null
null
null
src/image_file_factory.cpp
tymion/cpp_training
c465ac46fcf5e667acc480b4ccdb35f8e60003da
[ "Apache-2.0" ]
null
null
null
#include <sys/stat.h> #include <stdexcept> #include <cstring> #include <iostream> #include "image_file_factory.h" #include "libpng_wrapper.h" #define PNG_HEADER_SIZE 8 char PNG_HEADER[PNG_HEADER_SIZE] = {'\211', 'P', 'N', 'G', '\r', '\n', '\032', '\n'}; bool ImageFileFactory::isPNG(FILE *file) { if (ftell(file) !...
32.262295
95
0.598069
tymion
0ab146c51d7c82f4c86242f7174fb169e42e3398
447
cpp
C++
solved/easy/1221. Split a String in Balanced Strings/main.cpp
SlaveWilson/leetcode
b762380594908ed44ae278ca1a14e9185eec2f0e
[ "MIT" ]
null
null
null
solved/easy/1221. Split a String in Balanced Strings/main.cpp
SlaveWilson/leetcode
b762380594908ed44ae278ca1a14e9185eec2f0e
[ "MIT" ]
null
null
null
solved/easy/1221. Split a String in Balanced Strings/main.cpp
SlaveWilson/leetcode
b762380594908ed44ae278ca1a14e9185eec2f0e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; class Solution { public: int balancedStringSplit(string s) { int count = 0, l = 0, r = 0; for (char c : s) { if (c == 'R') r++; else l++; if (r == l) count++; } return count; } }; int main() ...
14.9
47
0.532438
SlaveWilson
0ab1ce011da3066e1e9019811eb1eed8170a10ce
660
cpp
C++
snake/Food.cpp
kriss95/snake-game
cfd2121e6818f08b5275b16c03261c8ab538530e
[ "MIT" ]
null
null
null
snake/Food.cpp
kriss95/snake-game
cfd2121e6818f08b5275b16c03261c8ab538530e
[ "MIT" ]
null
null
null
snake/Food.cpp
kriss95/snake-game
cfd2121e6818f08b5275b16c03261c8ab538530e
[ "MIT" ]
null
null
null
#include "Food.h" Food::Food(Boardd* board, Snake* snake) { int x, y; srand(time(NULL)); do { x = rand() % board->GetM(); y = rand() % board->GetN(); } while (!snake->SnakeMach(x,y)); foodPlace = make_pair(x, y); outP = new GameOutput; } void Food::NewPlace(Boardd* board, Snake* snake) { int x, y; srand(...
16.5
57
0.60303
kriss95
0ab5f2c0b7b2e12ed3e705c7f050146f2aaecc2e
2,405
hpp
C++
OptFrame/Experimental/NSIterators/IteratorNSSeqMultiRoute.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/Experimental/NSIterators/IteratorNSSeqMultiRoute.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/Experimental/NSIterators/IteratorNSSeqMultiRoute.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
22.904762
92
0.69106
216k155
0ab9fcba1b89f2f4da1d2146193717ef41bf6e71
3,551
hpp
C++
src/sdk/math.hpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
1
2022-01-13T07:05:26.000Z
2022-01-13T07:05:26.000Z
src/sdk/math.hpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
null
null
null
src/sdk/math.hpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
1
2021-12-31T13:02:42.000Z
2021-12-31T13:02:42.000Z
#pragma once #include "sdk.hpp" inline QAngle originalAngle{}; inline float originalForwardMove = 0.0f; inline float originalSideMove = 0.0f; inline void startMovementFix(Command* cmd) { originalAngle = cmd->viewAngle; originalForwardMove = cmd->move.x; originalSideMove = cmd->move.y; } inline void endMo...
27.10687
130
0.672768
mov-rax-rax
0ac075f0ec84cebf2087c2465b308daef61587c9
4,632
cpp
C++
ModelViewer/ViewModels/TransformViewModel.cpp
seanisom/glTF-DXViewer
f1e7d88581e3598e397e563f529e7ee2bb4befd6
[ "MIT" ]
64
2018-05-25T06:18:42.000Z
2019-04-15T17:27:38.000Z
ModelViewer/ViewModels/TransformViewModel.cpp
seanisom/glTF-DXViewer
f1e7d88581e3598e397e563f529e7ee2bb4befd6
[ "MIT" ]
4
2018-05-26T10:53:33.000Z
2018-10-20T20:46:41.000Z
ModelViewer/ViewModels/TransformViewModel.cpp
seanisom/glTF-DXViewer
f1e7d88581e3598e397e563f529e7ee2bb4befd6
[ "MIT" ]
13
2019-09-19T00:50:07.000Z
2022-03-22T13:39:52.000Z
#include "pch.h" #include "TransformViewModel.h" using namespace ViewModels; float TransformViewModel::PositionX::get() { if (_selectedNode) { shared_ptr<GraphContainerNode> derived = dynamic_pointer_cast<GraphContainerNode>(_selectedNode); return derived->GetTranslation().x; } return 0.0f; } void Transfo...
25.877095
88
0.778713
seanisom
0ac45f621c2bf5081e1d5aa4f16c7ed2f6087267
16,013
hpp
C++
Types.hpp
johndoe31415/acheron
16b7c05113fc02f41a5ac2705d209548e0e1b0d8
[ "CC0-1.0" ]
null
null
null
Types.hpp
johndoe31415/acheron
16b7c05113fc02f41a5ac2705d209548e0e1b0d8
[ "CC0-1.0" ]
null
null
null
Types.hpp
johndoe31415/acheron
16b7c05113fc02f41a5ac2705d209548e0e1b0d8
[ "CC0-1.0" ]
null
null
null
#ifndef __TYPES_HPP__ #define __TYPES_HPP__ #include <string> #include <set> #include <iostream> #include <sstream> #include <time.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> #include "kernel/sharedinfo.h" #define TYPEEXCEPTION(stream) { std::stringstream Strm; Str...
28.043783
180
0.644351
johndoe31415
0ac54c15e2e407a7ee4fe78aee89483657780673
7,513
cpp
C++
src/tests/manual_tests/particle_system_solver3_tests.cpp
PavelBlend/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
1,355
2016-05-08T07:29:22.000Z
2022-03-30T13:59:35.000Z
src/tests/manual_tests/particle_system_solver3_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
208
2016-05-25T19:47:27.000Z
2022-01-17T04:18:29.000Z
src/tests/manual_tests/particle_system_solver3_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
218
2016-08-23T16:51:10.000Z
2022-03-31T03:55:48.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <manual_tests.h> #include <jet/rigid_body_collider3.h> #include <jet/constant_vector_field3.h>...
32.383621
78
0.637828
PavelBlend
0ac6d9dc3aa983684e889f76a0f91751dfd1e04d
2,160
cc
C++
test/exprtest.cc
larskuhtz/MoCS
8ea4aafb4a2036807af147efeac915876cf7390b
[ "BSD-3-Clause" ]
1
2020-07-16T18:23:55.000Z
2020-07-16T18:23:55.000Z
test/exprtest.cc
larskuhtz/MoCS
8ea4aafb4a2036807af147efeac915876cf7390b
[ "BSD-3-Clause" ]
null
null
null
test/exprtest.cc
larskuhtz/MoCS
8ea4aafb4a2036807af147efeac915876cf7390b
[ "BSD-3-Clause" ]
null
null
null
/* *** MOCS-COPYRIGHT-NOTICE-BEGIN *** * * This copyright notice is auto-generated by ./add-copyright-notice. * Additional copyright notices must be added below the last line of this notice. * * MoCS (https://lewis.cs.uni-saarland.de/tools/mocs/): "test/exprtest.cc". * The content of this file is copyright of Saa...
27
81
0.554167
larskuhtz
0ac9c4f0420b16d1baa9218e8922bf8853a8b3a1
6,212
hpp
C++
RobWork/src/rw/proximity/rwstrategy/SAPFilterStrategy.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/proximity/rwstrategy/SAPFilterStrategy.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/proximity/rwstrategy/SAPFilterStrategy.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
35.295455
106
0.590148
ZLW07
0ace65782b9a26fa77a5395599ce45034270e3e5
1,462
cpp
C++
cpp/src/exercise/e0100/e0004.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0100/e0004.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0100/e0004.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
#include "extern.h" using namespace std; class Solution { public: double findMedianSortedArrays_slow(vector<int>& nums1, vector<int>& nums2) { auto v = vector<int>(); v.insert(v.end(), nums1.cbegin(), nums1.cend()); v.insert(v.end(), nums2.cbegin(), nums2.cend()); sort(v.begin(), v....
34.809524
80
0.497948
ajz34
0ad0ed983b04fc8ec8b01da72acf293b22b292e9
679
hpp
C++
include/cjdb/iterator/reference.hpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
4
2019-03-02T01:09:07.000Z
2019-10-16T15:46:21.000Z
include/cjdb/iterator/reference.hpp
cjdb/cjdb-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
5
2019-11-29T12:23:55.000Z
2019-12-14T13:03:00.000Z
include/cjdb/iterator/reference.hpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
3
2020-06-08T18:27:28.000Z
2021-03-27T17:49:46.000Z
// Copyright (c) Christopher Di Bella. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef CJDB_ITERATOR_REFERENCE_HPP #define CJDB_ITERATOR_REFERENCE_HPP #include "cjdb/detail/iterator/reference.hpp" #include "cjdb/detail/iterator/iter_move.hpp" #include "cjdb/type_traits/type_traits.hpp" #include <...
30.863636
81
0.792342
cjdb
bd598bc53274c46a279871c521f740e1329f5819
16,118
cpp
C++
flir_lepton_sensor/src/flir_lepton_hw_iface.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
15
2015-11-10T10:39:53.000Z
2022-03-29T07:07:53.000Z
flir_lepton_sensor/src/flir_lepton_hw_iface.cpp
angetria/flir_lepton
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2015-10-23T12:18:45.000Z
2019-07-02T09:55:46.000Z
flir_lepton_sensor/src/flir_lepton_hw_iface.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2017-04-13T12:28:38.000Z
2019-07-03T21:58:51.000Z
/********************************************************************* * * * * Software License Agreement (BSD License) * * * * Copyright (c) 2015, P.A.N.D.O.R.A. Team. * * All rights reserved. * * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted provide...
33.509356
86
0.585122
angetria
bd59e41984d0a6dcac40ad7e6ba9f4efe616a2b2
878
hpp
C++
src/gui/sprites/simple_world_sprite.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/gui/sprites/simple_world_sprite.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/gui/sprites/simple_world_sprite.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#ifndef SIMPLE_WORLD_SPRITE_HPP_INCLUDED #define SIMPLE_WORLD_SPRITE_HPP_INCLUDED #include <gui/sprites/world_sprite.hpp> class SimpleWorldSprite: public WorldSprite { public: SimpleWorldSprite(const Position& position, const sf::Sprite& sprite): position(position), sprite(sprite) {} ~SimpleWorldSprite(...
25.823529
76
0.753986
louiz
bd5f5932011fc7c727ea9ee43bb978feb3799a6c
1,215
cc
C++
tools/type_whisperer/api_type_db.cc
Yannic/envoy
3156229006a5340b65c773329070737f67e81826
[ "Apache-2.0" ]
null
null
null
tools/type_whisperer/api_type_db.cc
Yannic/envoy
3156229006a5340b65c773329070737f67e81826
[ "Apache-2.0" ]
null
null
null
tools/type_whisperer/api_type_db.cc
Yannic/envoy
3156229006a5340b65c773329070737f67e81826
[ "Apache-2.0" ]
null
null
null
#include "tools/type_whisperer/api_type_db.h" #include "common/protobuf/protobuf.h" #include "tools/type_whisperer/api_type_db.pb.h" namespace Envoy { namespace Tools { namespace TypeWhisperer { extern const char* ApiTypeDbPbText; namespace { tools::type_whisperer::TypeDb* loadApiTypeDb() { tools::type_whispere...
26.413043
99
0.739095
Yannic
bd6105d0de0f2fc8b97c96312456888daa4a4a46
171,483
cxx
C++
osprey/be/cg/orc_intel/if_conv.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/orc_intel/if_conv.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/orc_intel/if_conv.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 2000-2003, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditio...
33.104826
99
0.510645
sharugupta
bd6524839e12c4e2cc16bde087bafa0a111ebec1
6,323
cpp
C++
src/breakid.cpp
meelgroup/breakid
dfa763d2e9e39e89a1b1606217e5d54d998ecd17
[ "MIT" ]
1
2021-05-03T08:22:42.000Z
2021-05-03T08:22:42.000Z
src/breakid.cpp
meelgroup/breakid
dfa763d2e9e39e89a1b1606217e5d54d998ecd17
[ "MIT" ]
null
null
null
src/breakid.cpp
meelgroup/breakid
dfa763d2e9e39e89a1b1606217e5d54d998ecd17
[ "MIT" ]
null
null
null
/****************************************** Copyright (c) 2019 Jo Devriendt - KU Leuven 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...
24.796078
80
0.641784
meelgroup
bd669e7b9abd96dc688d8060947ff6c18765c7c6
2,271
hh
C++
src/opbox/ops/OpHelpers.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/opbox/ops/OpHelpers.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/opbox/ops/OpHelpers.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef OPBOX_OPHELPERS_HH #define OPBOX_OPHELPERS_HH #include "opbox/common/Types.hh" #include "opbox/common/Me...
23.65625
93
0.696169
faodel
bd6cbb970402b0aee3778775d4503e5743662c84
2,065
cpp
C++
stat01.cpp
DTL2020/stat01
5c9ec775071f234f062d23d6434649a0a48d92f5
[ "MIT" ]
null
null
null
stat01.cpp
DTL2020/stat01
5c9ec775071f234f062d23d6434649a0a48d92f5
[ "MIT" ]
null
null
null
stat01.cpp
DTL2020/stat01
5c9ec775071f234f062d23d6434649a0a48d92f5
[ "MIT" ]
null
null
null
// stat01.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include "math.h" int ArrSamples[10] = { 52, 46, 54, 20, 50, 48, 51, 53, 45, 50 }; int ArrSADs[10][10] = {}; int ArrOut[10] = {}; int VectMinSumSADs[10] = {}; int iVectIncludedSamples...
15.884615
97
0.498789
DTL2020
bd6cfe108e03104a4d200392a9adcdb0d11dfde9
11,152
cpp
C++
vlib/slib/utils/tree.cpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
vlib/slib/utils/tree.cpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
vlib/slib/utils/tree.cpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereb...
30.140541
226
0.600699
syntheticgio
bd6f08af91ce141d502613f4aff0f290a93618ad
20,380
cpp
C++
OpenYuma/netconf/test/support/callbacks/running-cb-checker.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
10
2016-11-16T16:26:16.000Z
2021-04-26T17:20:28.000Z
OpenYuma/netconf/test/support/callbacks/running-cb-checker.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
3
2017-04-20T11:29:17.000Z
2017-11-06T17:12:12.000Z
OpenYuma/netconf/test/support/callbacks/running-cb-checker.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
10
2017-03-27T13:58:52.000Z
2020-06-24T22:42:51.000Z
// ---------------------------------------------------------------------------| // Test Harness includes // ---------------------------------------------------------------------------| #include "test/support/callbacks/running-cb-checker.h" // ---------------------------------------------------------------------------|...
49.466019
92
0.600638
5GExchange
bd71aae4ecfcdd068a0e2da125a0653a56d85402
1,592
cpp
C++
Windows/IniReader.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/IniReader.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/IniReader.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
#include "IniReader.h" #include <iostream> #include <Windows.h> CIniReader::CIniReader(char* szFileName) { memset(m_szFileName, 0x00, 255); memcpy(m_szFileName, szFileName, strlen(szFileName)); } int CIniReader::ReadInteger(char* szSection, char* szKey, int iDefaultValue) { int iResult = GetPrivateProfil...
37.023256
130
0.731784
cas-nctu
bd76eaf5676f3498c1a498bc055beb34dee5bac1
7,252
cpp
C++
test/range/test-element_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/test-element_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/test-element_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014, 2015 Rogier van Dalen. 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 writing, ...
37.381443
80
0.58246
rogiervd
bd779588491df32e3b54d34308caeb9a53f634d1
11,939
cpp
C++
src/Geometry/Boundaries/TetrahedralBoundary.cpp
parasol-ppl/PPL
04de04b23e0368e576d2136fee8729de44a3eda5
[ "BSD-3-Clause" ]
null
null
null
src/Geometry/Boundaries/TetrahedralBoundary.cpp
parasol-ppl/PPL
04de04b23e0368e576d2136fee8729de44a3eda5
[ "BSD-3-Clause" ]
null
null
null
src/Geometry/Boundaries/TetrahedralBoundary.cpp
parasol-ppl/PPL
04de04b23e0368e576d2136fee8729de44a3eda5
[ "BSD-3-Clause" ]
null
null
null
#include "TetrahedralBoundary.h" #include "Geometry/GMSPolyhedron.h" #include "Simulator/Conversions.h" #include "Utilities/MPUtils.h" #include "Utilities/PMPLExceptions.h" #include <algorithm> /*------------------------------- Construction -------------------------------*/ TetrahedralBoundary:: TetrahedralBoundar...
24.667355
84
0.580869
parasol-ppl
bd79d91c0558c2941b64895d1855dc3838658d2c
6,650
cpp
C++
4 course/info_protection/lab07/Widget.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
4 course/info_protection/lab07/Widget.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
4 course/info_protection/lab07/Widget.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
#include "Widget.h" #include "./ui_Widget.h" #include <cmath> #include <algorithm> #include <random> #include <QFileDialog> #include <QMessageBox> using namespace std; Widget::Widget(QWidget *parent) : QWidget(parent) , ui(new Ui::Widget) { ui->setupUi(this); this->prepareProbabilityTable(); thi...
24.906367
87
0.614586
SgAkErRu
bd7c798477d19239b38f3ba1e89147f3289c6ad2
1,963
cpp
C++
sem/4ex/work1/4ex2Pp.cpp
ruska112/infTasks
db3bf563376dac435f5fed74e03bc3592d67c46f
[ "MIT" ]
null
null
null
sem/4ex/work1/4ex2Pp.cpp
ruska112/infTasks
db3bf563376dac435f5fed74e03bc3592d67c46f
[ "MIT" ]
1
2021-11-16T11:17:37.000Z
2021-11-16T11:44:54.000Z
sem/4ex/work1/4ex2Pp.cpp
ruska112/infTasks
db3bf563376dac435f5fed74e03bc3592d67c46f
[ "MIT" ]
null
null
null
#include <iostream> const int maxRow = 128; const int maxCol = 128; int matrixRepacer (double *a, int n, int m) { int result = 0; int i, j; int negColCount = 0; int posRowCount = 0; double rowSum = 0; if ( n > 0 && n < maxRow && m > 0 && m < maxCol ) { for (i = 0; i < n; i++) { ...
20.882979
84
0.417219
ruska112
bd7fbf79e4f67ceb44f81e36a7a4aa0edcc97f06
1,037
cpp
C++
RLSimion/Lib/actor-cacla.cpp
xcillero001/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
1
2019-02-21T10:40:28.000Z
2019-02-21T10:40:28.000Z
RLSimion/Lib/actor-cacla.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
RLSimion/Lib/actor-cacla.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
#include "actor.h" #include "vfa.h" #include "policy.h" #include "policy-learner.h" #include "../Common/named-var-set.h" #include "features.h" #include "etraces.h" #include "config.h" #include "parameters-numeric.h" #include "app.h" CACLALearner::CACLALearner(ConfigNode* pConfigNode): PolicyLearner(pConfigNode) { m_p...
23.044444
106
0.714561
xcillero001
bd8095816328e10b87f8d4df9e155e24214d5ad3
1,178
cc
C++
glacier/channel.cc
iceice/Glacier
779082cc197f753fb2feff63ac8fbe3f5512828c
[ "MIT" ]
2
2020-02-05T04:08:07.000Z
2020-08-15T01:57:41.000Z
glacier/channel.cc
iceice/Glacier
779082cc197f753fb2feff63ac8fbe3f5512828c
[ "MIT" ]
null
null
null
glacier/channel.cc
iceice/Glacier
779082cc197f753fb2feff63ac8fbe3f5512828c
[ "MIT" ]
null
null
null
#include "glacier/channel.h" #include <sys/epoll.h> #include "glacier/base/logging.h" Channel::Channel(EventLoop *loop) : loop_(loop), fd_(0), events_(0), revents_(0), lastevents_(0) {} Channel::Channel(EventLoop *loop, int fd) : loop_(loop), fd_(fd), events_(0), revents_(0), lastevents_(0) {} Channel::~Chann...
24.040816
70
0.60781
iceice
bd8111c165e2e9957726dbc6a112caae08e73659
1,324
cpp
C++
aws-cpp-sdk-ecr/source/model/ReplicationDestination.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ecr/source/model/ReplicationDestination.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ecr/source/model/ReplicationDestination.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ecr/model/ReplicationDestination.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
17.653333
78
0.726586
perfectrecall
bd831a3528c2092c4cd2450efb5bba7e57838dac
700
cpp
C++
Source/Core/FileFormat/TIFF/Tag.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
42
2015-07-24T23:05:07.000Z
2022-03-16T01:31:04.000Z
Source/Core/FileFormat/TIFF/Tag.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
4
2015-03-17T05:42:49.000Z
2020-08-09T15:21:45.000Z
Source/Core/FileFormat/TIFF/Tag.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
29
2015-01-03T05:56:32.000Z
2021-10-05T15:28:33.000Z
/****************************************************************************/ /** * @file Tag.cpp * @author Naohisa Sakamoto */ /****************************************************************************/ #include "Tag.h" #include <kvs/Type> #include <string> namespace kvs { namespace tiff { Tag::Tag(): ...
15.217391
78
0.437143
X1aoyueyue
bd83428194070b0305b44555f9d4ff38707a74ca
7,413
cpp
C++
blades/xbmc/xbmc/filesystem/FavouritesDirectory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/filesystem/FavouritesDirectory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/filesystem/FavouritesDirectory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
34.802817
149
0.699987
krattai
bd835e711c819860aecaaf8983c4ca5097b3fa0d
7,142
cpp
C++
src/rogui.cpp
lucasw/rogui
175896fb1236c839c17b325687cd7e3395fe0133
[ "BSD-3-Clause" ]
3
2019-10-02T07:40:44.000Z
2020-03-26T15:57:01.000Z
src/rogui.cpp
lucasw/rogui
175896fb1236c839c17b325687cd7e3395fe0133
[ "BSD-3-Clause" ]
1
2019-04-07T22:56:02.000Z
2019-04-08T00:51:53.000Z
src/rogui.cpp
lucasw/rogui
175896fb1236c839c17b325687cd7e3395fe0133
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <rogui/map.hpp> #include <rogui/rogui.hpp> #include <rogui/utility.hpp> #if 0 #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #endif #define IMGUI_DEFINE_MATH_OPERATORS #include <imgui_internal.h> namespace rogui { Player::Player(const std::string& name) : Character(name)...
29.758333
87
0.637777
lucasw