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
e22e9ae17eea1dfda75559fcaa2056af277d2c84
4,867
cpp
C++
XLib-v1.2.0/src/Base/Host/fUtil.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
1
2019-12-28T09:30:24.000Z
2019-12-28T09:30:24.000Z
XLib-v1.2.0/src/Base/Host/fUtil.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
1
2020-08-25T10:57:11.000Z
2020-08-25T10:57:11.000Z
XLib-v1.2.0/src/Base/Host/fUtil.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright © 2016 by Nicola Bombieri XLib is provided under the terms of The MIT License (MIT): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...
29.676829
81
0.623998
mangrove-univr
e2352f737da0f27359996f5b28a286a5afdbe233
1,935
cpp
C++
test/crypto/test_block_crypto.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
test/crypto/test_block_crypto.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
test/crypto/test_block_crypto.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
// // Created by Marco Bassaletti on 11-03-21. // #include <string> #include <vector> #include "../catch.hpp" #include "../../src/crypto/BlockCrypto.h" #include "../../src/crypto/InitializationVector.h" using namespace std; using namespace NSPass::Crypto; class BlockCryptoFixture { public: BlockCryptoFixture() { ...
32.79661
107
0.763307
mbassale
e237fdd7e578881d884861f464e9cf27de724716
1,843
cpp
C++
cap8/pp8_3.cpp
Titan201/Jumping-to-cpp
467ba4d197ac2f5225b43732c42aa3fb5262d557
[ "MIT" ]
null
null
null
cap8/pp8_3.cpp
Titan201/Jumping-to-cpp
467ba4d197ac2f5225b43732c42aa3fb5262d557
[ "MIT" ]
null
null
null
cap8/pp8_3.cpp
Titan201/Jumping-to-cpp
467ba4d197ac2f5225b43732c42aa3fb5262d557
[ "MIT" ]
null
null
null
#include <cstdlib> #include <ctime> #include <iostream> using namespace std; int randRange (int low, int high) { return rand() % (high - low + 1) + low; } int GuessResponse(int response, int numberToGuess) { int signal; cout << "You need to guess a number who is between 1 and 100, what will be your gues...
23.0375
111
0.528486
Titan201
e239d9d37a2e275ded954003e6f858e7d771ec9b
2,426
cpp
C++
Ad-hoc/UVA11309 Counting Chaps/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
1
2020-03-05T09:09:36.000Z
2020-03-05T09:09:36.000Z
Ad-hoc/UVA11309 Counting Chaps/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
null
null
null
Ad-hoc/UVA11309 Counting Chaps/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <map> #include <set> #include <queue> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <string> using namespace std; #define EPS 1e-7 #define N 10...
26.955556
83
0.240313
adelnobel
e23baf05a6b2a8a88c00c8ad9d770cea25667394
590
cpp
C++
TAO/performance-tests/Latency/AMH_Single_Threaded/Roundtrip.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/performance-tests/Latency/AMH_Single_Threaded/Roundtrip.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/performance-tests/Latency/AMH_Single_Threaded/Roundtrip.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// // $Id: Roundtrip.cpp 91648 2010-09-08 13:25:56Z johnnyw $ // #include "Roundtrip.h" Roundtrip::Roundtrip (CORBA::ORB_ptr orb) : orb_ (CORBA::ORB::_duplicate (orb)) { } void Roundtrip::test_method ( Test::AMH_RoundtripResponseHandler_ptr _tao_rh, Test::Timestamp send_time) { //A...
21.071429
63
0.664407
cflowe
e23c9813eb21af8c65552a4713155c062acd5591
919
hpp
C++
NCGB/Compile/src/OBSOLETE2009/ReduceFix.hpp
mcdeoliveira/NC
54b2a81ebda9e5260328f88f83f56fe8cf472ac3
[ "BSD-3-Clause" ]
103
2016-09-21T06:01:23.000Z
2022-03-27T06:52:10.000Z
NCGB/Compile/src/OBSOLETE2009/ReduceFix.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
11
2017-03-27T13:11:42.000Z
2022-03-08T13:46:14.000Z
NCGB/Compile/src/OBSOLETE2009/ReduceFix.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
21
2017-06-23T09:01:21.000Z
2022-02-18T06:24:00.000Z
// (c) Mark Stankus 1999 // ReduceFix.h #ifndef INCLUDED_REDUCEFIX_H #define INCLUDED_REDUCEFIX_H // Reduce a fixed set of polynomials #include "Reduce.hpp" #pragma warning(disable:4786) #include "Choice.hpp" #ifdef HAS_INCLUDE_NO_DOTS #include <list> #else #include <list.h> #endif #include "Polynomial.hpp" #includ...
23.564103
67
0.718172
mcdeoliveira
e245c060fa77fc08bcf7b89dfcdc7d8fae923079
22,698
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/designercore/model/abstractview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/designercore/model/abstractview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/designercore/model/abstractview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
28.515075
225
0.705348
kevinlq
e247b6d7e88e51b12b1c8b917bb0007eb3b90c16
1,277
cpp
C++
examples/loop_interchange_kernel/loop_interchange.cpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
5
2019-11-06T15:02:41.000Z
2022-01-14T20:25:50.000Z
examples/loop_interchange_kernel/loop_interchange.cpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
3
2018-01-25T21:25:22.000Z
2022-03-14T17:35:27.000Z
examples/loop_interchange_kernel/loop_interchange.cpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
1
2020-07-15T11:05:43.000Z
2020-07-15T11:05:43.000Z
#include "parameters.hpp" #include <array> #include <iostream> #include <tuple> #include "opttmp/loop/loop_exchange.hpp" namespace detail { template <size_t depth, size_t index, size_t cur_depth> constexpr size_t extract_index_rec(const size_t perm_rem) { if constexpr (cur_depth == index) { return perm_rem % d...
27.170213
79
0.624119
DavidPfander-UniStuttgart
e247f91790f70a065e474772c701d8d80ff9ee09
287
cpp
C++
src/DescentEngine/src/EntityEngine/MultiVisualEntity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
1
2017-11-24T03:01:31.000Z
2017-11-24T03:01:31.000Z
src/DescentEngine/src/EntityEngine/MultiVisualEntity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
null
null
null
src/DescentEngine/src/EntityEngine/MultiVisualEntity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
null
null
null
#include "MultiVisualEntity.h" #include "../Log.h" #include <algorithm> // DO NOT PUT THE METHOD DEFINITIONS in the .cpp file ! // otherwise the android compile produces link error, not sure why // one idea is that overrwiting virtual methods across library borders is // problematic
26.090909
73
0.752613
poseidn
e249369dc70ebf9a284c7c5a4690cf045aef5050
557
cpp
C++
cpp/container_multiset_empty.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/container_multiset_empty.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/container_multiset_empty.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/container_multiset_empty.exe ./cpp/container_multiset_empty.cpp && (cd ../_build/cpp/;./container_multiset_empty.exe) https://en.cppreference.com/w/cpp/container/multiset/empty */ #include <set> #include <iostream> int main() { std::multiset<int> numbers; std::cout <...
32.764706
159
0.653501
rpuntaie
e249487ce9171d4e2fc2ff6fee68c7655a01c72f
11,722
cc
C++
extensions/h5/dataset.cc
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
extensions/h5/dataset.cc
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
extensions/h5/dataset.cc
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
// -*- c++ -*- // // michael a.g. aïvázis <michael.aivazis@para-sim.com> // (c) 1998-2022 all rights reserved // externals #include "external.h" // namespace setup #include "forward.h" // datasets void h5::py::dataset(py::module & m) { // add bindings for hdf5 datasets auto cls = py::class_<DataSet>( ...
31.175532
77
0.460587
PyreFramework
e24c230644b0e2ace59dc88fac67afbf182ab07b
1,801
cpp
C++
cpp/src/opendnp3/DNPCrc.cpp
cverges/adnp3
2a07f364bec8f1ad46e33cc8b6b8ef37b9005f3a
[ "MS-PL", "Naumen", "Condor-1.1", "Apache-1.1" ]
2
2016-08-31T23:03:06.000Z
2017-07-26T01:57:01.000Z
cpp/src/opendnp3/DNPCrc.cpp
dupes/dnp3-automatak
08348d21738ae93e9a7f02ec46933934b6b463af
[ "Naumen", "Condor-1.1", "Apache-1.1", "MS-PL" ]
null
null
null
cpp/src/opendnp3/DNPCrc.cpp
dupes/dnp3-automatak
08348d21738ae93e9a7f02ec46933934b6b463af
[ "Naumen", "Condor-1.1", "Apache-1.1", "MS-PL" ]
1
2020-01-20T08:23:27.000Z
2020-01-20T08:23:27.000Z
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one or // more contributor license agreements. See the NOTICE file distributed // with this work for additional information regarding copyright ownership. // Green Energy Corp licenses this file to you under the Apache License, // Version 2.0 (the "Li...
29.048387
78
0.743476
cverges
e24c77279df0a7bd4e2a3e91d6c76f1a70540966
12,086
cc
C++
RAVL2/3D/Mesh/TriMesh.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/3D/Mesh/TriMesh.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/3D/Mesh/TriMesh.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2002, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
31.721785
92
0.595896
isuhao
f46c31106931df1fa55f2f90afa01dec9b8befa5
2,656
cpp
C++
source/common/generic_config/model/ChoiceParam.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
6
2018-01-07T18:11:27.000Z
2022-03-25T03:32:45.000Z
source/common/generic_config/model/ChoiceParam.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
8
2019-02-28T02:25:53.000Z
2019-02-28T15:47:18.000Z
source/common/generic_config/model/ChoiceParam.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
4
2016-05-28T16:31:06.000Z
2019-09-25T07:13:45.000Z
#include <QVariant> #include <QString> #include <QHash> #include <QVector> #include "ChoiceParam.h" namespace Quartz { struct ChoiceParam::Data { Data() : m_defaultIndex(0) , m_index(m_defaultIndex) { } QVector<QString> m_names; QVector<QVariant> m_values; int m_defaultIndex; ...
23.095652
73
0.626506
varunamachi
f46f1c6527f8e9eda363a9e2357a4e8d85e78624
4,411
cpp
C++
source/internal/curl.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
1
2016-04-26T04:16:55.000Z
2016-04-26T04:16:55.000Z
source/internal/curl.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
null
null
null
source/internal/curl.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
2
2016-04-14T16:57:03.000Z
2020-02-21T00:17:48.000Z
#include "internal/curl.hpp" #include "scoped.hpp" #include "logger.hpp" #include "curl/curl.h" namespace libkeen { namespace internal { class LibCurlHandle { public: static std::shared_ptr< LibCurlHandle > ref() { static std::shared_ptr< LibCurlHandle > instance{ new LibCurlHandle }; return ins...
26.572289
98
0.622308
HeliosInteractive
f46fd5e806eed37746556c8169397994332e255b
8,336
cpp
C++
src/widgets/qwellarray.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
src/widgets/qwellarray.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
src/widgets/qwellarray.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
/********************************************************************** ** $Id: qwellarray.cpp,v 1.6 1998/07/03 00:09:54 hanord Exp $ ** ** Implementation of QWellArray widget class ** ** Created : 980114 ** ** Copyright (C) 1992-1999 Troll Tech AS. All rights reserved. ** ** This file is part of Qt Free Edition, vers...
22.713896
82
0.576895
sandsmark
f47229d31ccbbb3533a99020633dfcecb890c051
2,012
cpp
C++
TOJ/toj 266.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
TOJ/toj 266.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
TOJ/toj 266.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
// By KRT girl xiplus #include <bits/stdc++.h> #define endl '\n' using namespace std; struct T{ int maxbid; long long maxval; }tree[40010]; priority_queue<long long> bucket[10001]; void init(int tid,int l,int r){ tree[tid].maxbid=0; tree[tid].maxval=-1e18; if(l==r) return; int m=(l+r)/2; init(tid*2,l,m); init(t...
18.62963
50
0.599901
Xi-Plus
f4733dc07d5529f32f8f85a3889457648db545a0
7,562
cc
C++
NS3-master/src/lte/helper/emu-epc-helper.cc
legendPerceptor/blockchain
615ba331ae5ec53c683dfe6a16992a5181be0fea
[ "Apache-2.0" ]
1
2021-09-20T07:05:25.000Z
2021-09-20T07:05:25.000Z
NS3-master/src/lte/helper/emu-epc-helper.cc
legendPerceptor/blockchain
615ba331ae5ec53c683dfe6a16992a5181be0fea
[ "Apache-2.0" ]
null
null
null
NS3-master/src/lte/helper/emu-epc-helper.cc
legendPerceptor/blockchain
615ba331ae5ec53c683dfe6a16992a5181be0fea
[ "Apache-2.0" ]
2
2021-09-02T08:25:16.000Z
2022-01-03T08:48:38.000Z
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by th...
37.81
136
0.687517
legendPerceptor
f4756766856cdc7cf12e4a4226c7c2672a68509e
186
cpp
C++
src/component/component.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
3
2015-04-05T18:16:16.000Z
2016-05-02T19:00:48.000Z
src/component/component.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
null
null
null
src/component/component.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
null
null
null
#include "component/component.h" std::vector<std::function<void()>> flare::Components::s_updateFunctions; std::vector<std::function<void()>> flare::Components::s_renderFunctions;
31
73
0.741935
MeTheFlea
f476c8652e3523983370c829674a7362b6876dea
13,348
hpp
C++
common/include/pcl/common/impl/eigen.hpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
common/include/pcl/common/impl/eigen.hpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
common/include/pcl/common/impl/eigen.hpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
39.964072
122
0.562631
yxlao
f477acb834ef5d09a1b8d6bb5b20a4411eabd74f
2,992
cpp
C++
Algorithms/Validator/valGeneral3Deg.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
Algorithms/Validator/valGeneral3Deg.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
Algorithms/Validator/valGeneral3Deg.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cmath> #include "infection3deg.h" #include <ctime> using namespace std; int main (){ printf("["); for(int t = 20;t <= 10000;t+=20){ int n = t; Graph graph(n); graph.degree[0] = 1; graph.degree[n-1] = 1; //int y = 1,m = ...
23.559055
68
0.304144
lucaskeiler
f4786386813bbbc1426d8a1112e967e203d37c60
68,589
cxx
C++
main/dbaccess/source/ui/uno/copytablewizard.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/dbaccess/source/ui/uno/copytablewizard.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/dbaccess/source/ui/uno/copytablewizard.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
41.848078
175
0.607648
Grosskopf
f47c0b1bb0cb79c8460fd506cbcb6304ef6782d7
8,871
cpp
C++
hotspot/src/cpu/x86/vm/interp_masm_x86.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
hotspot/src/cpu/x86/vm/interp_masm_x86.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
hotspot/src/cpu/x86/vm/interp_masm_x86.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
38.569565
160
0.704092
dbac
f47c3987fa2311f982ef31193d7757bacaf250b7
8,285
cpp
C++
Examples_5_4/Sticktrace/SticktraceWindow.cpp
hukushirom/luastick
29e43ee9d7e26b6ab45a510e664825b8c64845ac
[ "MIT" ]
12
2020-04-26T11:38:00.000Z
2021-11-02T21:13:27.000Z
Examples_5_4/Sticktrace/SticktraceWindow.cpp
hukushirom/luastick
29e43ee9d7e26b6ab45a510e664825b8c64845ac
[ "MIT" ]
null
null
null
Examples_5_4/Sticktrace/SticktraceWindow.cpp
hukushirom/luastick
29e43ee9d7e26b6ab45a510e664825b8c64845ac
[ "MIT" ]
null
null
null
// SticktraceWindow.cpp : DLL の初期化ルーチンです。 // #include "stdafx.h" #include <thread> #include "Resource.h" // For IDD_STICK_TRACE. #include "RegBase.h" #include "DlgSticktrace.h" #include "Sticktrace.h" #ifdef _DEBUG #define new DEBUG_NEW #endif class __declspec(dllexport) SticktraceWindow { private: static Sticktr...
26.812298
124
0.749427
hukushirom
f47cd19863c6c6e596258ff85f536118228615b6
10,226
cpp
C++
3rdparty/openmm/plugins/rpmd/openmmapi/src/RPMDIntegrator.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
5
2020-07-31T17:33:03.000Z
2022-01-01T19:24:37.000Z
3rdparty/openmm/plugins/rpmd/openmmapi/src/RPMDIntegrator.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
11
2020-06-16T05:05:42.000Z
2022-03-30T09:59:14.000Z
3rdparty/openmm/plugins/rpmd/openmmapi/src/RPMDIntegrator.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
9
2020-01-24T12:02:37.000Z
2020-10-16T06:23:56.000Z
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
45.448889
169
0.623411
merkys
f47e429b41b9e543425fde38c44e240f9a80fd1f
18,267
cpp
C++
src/caffe/test/test_roi_pooling_layer.cpp
imoisture/caffe
4d6892afeff234c57ce470056939101e0ae71369
[ "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_roi_pooling_layer.cpp
imoisture/caffe
4d6892afeff234c57ce470056939101e0ae71369
[ "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_roi_pooling_layer.cpp
imoisture/caffe
4d6892afeff234c57ce470056939101e0ae71369
[ "BSD-2-Clause" ]
null
null
null
/* All modification made by Cambricon Corporation: © 2018-2019 Cambricon Corporation All rights reserved. All other contributions: Copyright (c) 2014--2019, the respective contributors All rights reserved. For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md Redistribution and us...
37.203666
92
0.69059
imoisture
f47e51df8e13e457bb26e3ddcc77739cfa3d0c54
195
cc
C++
tests/CompileTests/ElsaTestCases/d0091.cc
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/CompileTests/ElsaTestCases/d0091.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/CompileTests/ElsaTestCases/d0091.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
// mysql-3.23.54a-11/sql_lex-D6bf.i // member operators are allowed to be static typedef unsigned int size_t; struct String { static void *operator new(size_t size) throw() { return 0; } };
21.666667
62
0.712821
maurizioabba
f47eaa9c3c7d9147e6cf84b23dbbcf03d35c3c84
3,576
cpp
C++
libs/assign/v2/test/chain.cpp
rogard/assign_v2
8735f57177dbee57514b4e80c498dd4b89f845e5
[ "BSL-1.0" ]
null
null
null
libs/assign/v2/test/chain.cpp
rogard/assign_v2
8735f57177dbee57514b4e80c498dd4b89f845e5
[ "BSL-1.0" ]
null
null
null
libs/assign/v2/test/chain.cpp
rogard/assign_v2
8735f57177dbee57514b4e80c498dd4b89f845e5
[ "BSL-1.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Boost.Assign v2 // // // // Copyright (C) 2003-2004 Thorsten Ottosen // // ...
35.058824
99
0.465324
rogard
f47f3d6e6f3279ce2ce8bb88189f181f14746d16
2,113
cpp
C++
trajectory/designer/generator.cpp
nio1814/3Dcones
704b78a0d73b25ab59269e60babbd13876f8563e
[ "BSD-3-Clause" ]
4
2019-09-10T13:46:41.000Z
2022-03-21T20:19:23.000Z
trajectory/designer/generator.cpp
nio1814/3Dcones
704b78a0d73b25ab59269e60babbd13876f8563e
[ "BSD-3-Clause" ]
1
2017-05-17T07:05:00.000Z
2017-05-17T07:05:38.000Z
trajectory/designer/generator.cpp
nio1814/3Dcones
704b78a0d73b25ab59269e60babbd13876f8563e
[ "BSD-3-Clause" ]
2
2020-04-12T09:39:29.000Z
2022-03-21T20:19:25.000Z
#include "generator.h" extern "C" { #include "spiral.h" #include "radial.h" #include "cones.h" #include "variabledensity.h" } Generator::Generator(QObject *parent) : QObject(parent) { } void Generator::setTrajectory(TrajectoryType type) { bool changed = m_trajectoryType != type; m_trajectoryTy...
19.385321
72
0.708471
nio1814
f480b2588ac6aaea63bfb023173718530adc59ec
6,976
cpp
C++
PDFWriterTestPlayground/TestsRunner.cpp
thmclellan/PDF-Writer
9d31d12ce12e586b4f7f748e17029a10ccc2c176
[ "Apache-2.0" ]
620
2015-02-10T16:38:47.000Z
2022-03-30T11:06:17.000Z
PDFWriterTestPlayground/TestsRunner.cpp
thmclellan/PDF-Writer
9d31d12ce12e586b4f7f748e17029a10ccc2c176
[ "Apache-2.0" ]
124
2015-01-14T20:50:29.000Z
2021-12-08T09:51:01.000Z
PDFWriterTestPlayground/TestsRunner.cpp
thmclellan/PDF-Writer
9d31d12ce12e586b4f7f748e17029a10ccc2c176
[ "Apache-2.0" ]
185
2015-04-16T11:09:39.000Z
2022-03-07T03:25:15.000Z
/* Source File : TestsRunner.cpp Copyright 2011 Gal Kahana PDFWriter Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
30.462882
150
0.743836
thmclellan
f481619b9d3faf9bb1c0053840c7fa61c16127e8
1,093
hpp
C++
ch13/icstring.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch13/icstring.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch13/icstring.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
#ifndef ICSTRING_HPP #define ICSTRING_HPP #include <iostream> #include <string> #include <cctype> struct ignorecase_traits : public std::char_traits<char> { static bool eq(const char &c1, const char &c2) { return std::toupper(c1) == std::toupper(c2); } static bool lt(const char &c1, const cha...
25.418605
74
0.538884
bashell
f484784ac30e6c06835dcc3e07c9b1834d8050ad
14,518
cpp
C++
source/NFmiOracle.cpp
fmidev/fmidb
ad592611f81603db0a87cf2795444b4d96a11088
[ "MIT" ]
null
null
null
source/NFmiOracle.cpp
fmidev/fmidb
ad592611f81603db0a87cf2795444b4d96a11088
[ "MIT" ]
null
null
null
source/NFmiOracle.cpp
fmidev/fmidb
ad592611f81603db0a87cf2795444b4d96a11088
[ "MIT" ]
1
2019-05-29T04:11:11.000Z
2019-05-29T04:11:11.000Z
#include "NFmiOracle.h" #include <algorithm> #include <iomanip> #include <assert.h> using namespace std; /* * class NFmiOracle * * OTL does not read Oracle environment variables (NLS_DATE_FORMAT etc) * --> if special data formats are needed those queries should have * explicit to_char() calls. By default dates...
20.080221
116
0.642857
fmidev
f48696bca49c2e0233eabbac093b4b5c4482367b
204
cpp
C++
sources/ECS/Components/ModelMatrixComponent.cpp
Gilqamesh/GameEngineDemo
796bb107df5c01b875c2ae73fcfd44e7c07e3a87
[ "MIT" ]
null
null
null
sources/ECS/Components/ModelMatrixComponent.cpp
Gilqamesh/GameEngineDemo
796bb107df5c01b875c2ae73fcfd44e7c07e3a87
[ "MIT" ]
null
null
null
sources/ECS/Components/ModelMatrixComponent.cpp
Gilqamesh/GameEngineDemo
796bb107df5c01b875c2ae73fcfd44e7c07e3a87
[ "MIT" ]
null
null
null
#include "ECS/Components/ModelMatrixComponent.hpp" namespace NAMESPACE { std::ostream &operator<<(std::ostream &os, const ModelMatrixComponent &a) { TRACE(); os << a.m; return (os); } }
14.571429
73
0.656863
Gilqamesh
f48d81346371534d88557f8527e7c566e7ac2ee2
5,879
cpp
C++
src/ftxui/component/screen_interactive.cpp
dendisuhubdy/FTXUI
1e35687d64eb190dd6cc782ef44d5e8551928ab2
[ "MIT" ]
1
2020-03-03T15:34:49.000Z
2020-03-03T15:34:49.000Z
src/ftxui/component/screen_interactive.cpp
dendisuhubdy/FTXUI
1e35687d64eb190dd6cc782ef44d5e8551928ab2
[ "MIT" ]
null
null
null
src/ftxui/component/screen_interactive.cpp
dendisuhubdy/FTXUI
1e35687d64eb190dd6cc782ef44d5e8551928ab2
[ "MIT" ]
null
null
null
#include "ftxui/component/screen_interactive.hpp" #include <stdio.h> #include <termios.h> #include <unistd.h> #include <csignal> #include <iostream> #include <stack> #include <thread> #include "ftxui/component/component.hpp" #include "ftxui/screen/string.hpp" #include "ftxui/screen/terminal.hpp" #if defined(__clang__...
28.678049
79
0.673244
dendisuhubdy
f48deb148495a1f4ae92dcd20a7e3877b360ff57
2,937
cpp
C++
Framework/Source/Windows/LWVideo/LWVideoDrivers/LWVideoDriver_OpenGL3_3_Windows.cpp
slicer4ever/Lightwaver
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
3
2017-10-24T08:04:49.000Z
2018-08-28T10:08:08.000Z
Framework/Source/Windows/LWVideo/LWVideoDrivers/LWVideoDriver_OpenGL3_3_Windows.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
Framework/Source/Windows/LWVideo/LWVideoDrivers/LWVideoDriver_OpenGL3_3_Windows.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
#include "LWVideo/LWVideoDrivers/LWVideoDriver_OpenGL3_3.h" #include "LWPlatform/LWWindow.h" LWVideoDriver_OpenGL3_3 *LWVideoDriver_OpenGL3_3::MakeVideoDriver(LWWindow *Window, uint32_t Type) { LWWindowContext WinCon = Window->GetContext(); int32_t PixelFormat; PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMAT...
52.446429
210
0.716377
slicer4ever
f48eb9ce9f49c9e6ed3546c5b0f2289a44e0750d
466
hpp
C++
src/texture/systems/source.hpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
2
2021-03-18T16:25:04.000Z
2021-11-13T00:29:27.000Z
src/texture/systems/source.hpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
null
null
null
src/texture/systems/source.hpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
1
2021-11-13T00:29:30.000Z
2021-11-13T00:29:30.000Z
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #ifndef ZEN_TEXTURES_SYSTEMS_SOURCE_HPP #define ZEN_TEXTURES_SYSTEMS_SOURCE_HPP #include <string> #include "../../ecs/entity.hpp" namespace Zen { ...
20.26087
74
0.740343
hexoctal
f4932bd0df1fe71f9aa4c3962b8921a9258d28d0
3,275
cc
C++
base/core/test/dynamic_fws_multimap_test.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
base/core/test/dynamic_fws_multimap_test.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
base/core/test/dynamic_fws_multimap_test.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
1
2021-10-06T13:48:23.000Z
2021-10-06T13:48:23.000Z
#include "gtest/gtest.h" #include <algorithm> #include <iostream> #include <iterator> #include "motis/core/common/dynamic_fws_multimap.h" namespace motis { namespace { template <typename T, bool ConstBucket> void check_result( std::vector<T> const& ref, typename dynamic_fws_multimap<T>::template bucket<Con...
25
78
0.611603
dgcl
f49389d01da292cd85b77f6261c0a4d53d7d35a2
1,581
cpp
C++
UVa Online Judge (UVa)/Volume 5/516 - Prime Land.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
UVa Online Judge (UVa)/Volume 5/516 - Prime Land.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
UVa Online Judge (UVa)/Volume 5/516 - Prime Land.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
2
2018-11-06T19:37:56.000Z
2018-11-09T19:05:46.000Z
#include <cstdio> #include <iostream> #include <sstream> #include <cmath> #include <vector> using namespace std; #define N 32768 #define Check(N, pos) ((bool) ((N)&(1<<(pos)))) #define Set(N, pos) ((N)=((N)|(1<<(pos)))) unsigned status[(N>>5)+2], factor[N], power[N]; vector < unsigned > primes; void bitSieve() { ...
23.954545
75
0.460468
sreejonK19
f4943f58625356bfe43c12c8200603a109087dfd
48,678
cpp
C++
CEGUI/src/widgets/Tree.cpp
liang47009/ndk_sources
88155286084d1ebd1c4f34456d84812a46aba212
[ "MIT" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
CEGUI/src/widgets/Tree.cpp
liang47009/ndk_sources
88155286084d1ebd1c4f34456d84812a46aba212
[ "MIT" ]
11
2021-03-19T18:11:28.000Z
2021-05-13T18:53:40.000Z
CEGUI/src/widgets/Tree.cpp
liang47009/ndk_sources
88155286084d1ebd1c4f34456d84812a46aba212
[ "MIT" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/*********************************************************************** created: 5-13-07 author: Jonathan Welch (Based on Code by David Durant) *************************************************************************/ /*************************************************************************** * Co...
34.646263
136
0.513004
liang47009
f4956f9c596c1858cf0e683584313d263b0509c4
1,059
hpp
C++
modules/sdk/include/nt2/sdk/memory/padding.hpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
1
2022-03-24T03:35:10.000Z
2022-03-24T03:35:10.000Z
modules/sdk/include/nt2/sdk/memory/padding.hpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
null
null
null
modules/sdk/include/nt2/sdk/memory/padding.hpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II * Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI * * Distributed under the Boost Software License, Version 1.0. * ...
35.3
80
0.460812
brycelelbach
f495aedea4e41eb706b3880fb79b008473595cf9
1,963
cpp
C++
Source/System/auth/xbox_live_server.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
2
2021-07-17T13:34:20.000Z
2022-01-09T00:55:51.000Z
Source/System/auth/xbox_live_server.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
null
null
null
Source/System/auth/xbox_live_server.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
1
2018-11-18T08:32:40.000Z
2018-11-18T08:32:40.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
28.449275
100
0.731024
blgrossMS
f495b0417ffb6b2773358e29281900d81e1a8a6d
2,938
cpp
C++
d19/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d19/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d19/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #include "../helpers/string_helpers.cpp" #include "./scanner.cpp" typedef long long int ll; vector<Scanner> input; vector<bool> done; vector<Beacon> positions; void prepare() { string s; Scanner scan; while(getline(cin, s)){ if(s == ""){ input.push_back(scan); ...
18.594937
96
0.544929
Immortale-dev
f496fc72fdd138931d57def66ecf6c8039d63fc7
2,428
cpp
C++
Lumos/src/Graphics/Camera/FPSCamera.cpp
ValtoGameEngines/Lumos-Engine
69b6b9ec0fb43ed963d2080fee93d730cca71ca1
[ "MIT" ]
1
2021-09-24T04:23:52.000Z
2021-09-24T04:23:52.000Z
Lumos/src/Graphics/Camera/FPSCamera.cpp
ValtoGameEngines/Lumos-Engine
69b6b9ec0fb43ed963d2080fee93d730cca71ca1
[ "MIT" ]
null
null
null
Lumos/src/Graphics/Camera/FPSCamera.cpp
ValtoGameEngines/Lumos-Engine
69b6b9ec0fb43ed963d2080fee93d730cca71ca1
[ "MIT" ]
null
null
null
#include "lmpch.h" #include "FPSCamera.h" #include "App/Application.h" #include "Core/OS/Input.h" #include "Core/OS/Window.h" #include "Camera.h" #include <imgui/imgui.h> namespace Lumos { FPSCameraController::FPSCameraController(Camera* camera) : CameraController(camera) { } FPSCameraController::~FPSCameraCo...
23.346154
115
0.639209
ValtoGameEngines
f49b2391c7e107730908b9ec22f27767fe1a3b85
1,241
cpp
C++
test/test_vector.cpp
snorrwe/minomaly
a717934f0f6d1f00c92e46712a808dcd7d278e5d
[ "MIT" ]
1
2018-01-04T04:56:53.000Z
2018-01-04T04:56:53.000Z
test/test_vector.cpp
snorrwe/minomaly
a717934f0f6d1f00c92e46712a808dcd7d278e5d
[ "MIT" ]
20
2018-01-15T09:54:21.000Z
2018-02-01T00:20:35.000Z
test/test_vector.cpp
snorrwe/minomaly
a717934f0f6d1f00c92e46712a808dcd7d278e5d
[ "MIT" ]
null
null
null
#include "minomaly/common/vector.hpp" #include "gtest/gtest.h" namespace { using namespace mino; TEST(Vector2, CanCalculateDotProductWithIdentityMatrix) { auto v = Vector2{std::array{1.0f, 2.0f}}; auto m = Matrix<2, 2>{std::array{1.0f, 0.0f, 0.0f, 1.0f}}; auto result = v.dot(m); const auto expected...
21.396552
63
0.636583
snorrwe
f49b45244cf94f256ab7e87288ec6bb5749f3e3d
4,462
inl
C++
src/math/q3Mat3.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
791
2015-01-04T02:26:39.000Z
2022-03-30T12:31:36.000Z
src/math/q3Mat3.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
48
2015-02-17T19:29:51.000Z
2021-12-21T01:08:28.000Z
src/math/q3Mat3.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
108
2015-02-16T08:20:04.000Z
2022-03-01T09:39:47.000Z
//-------------------------------------------------------------------------------------------------- // q3Mat3.inl // // Copyright (c) 2014 Randy Gaul http://www.randygaul.net // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages...
30.772414
100
0.44173
TraistaRafael
f49b50d843b661fb801dcd5fcbc1cc05e9c875b0
621
cpp
C++
Kaminec/kits/JsonKit/AssetIndex.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
23
2017-06-23T11:58:27.000Z
2022-03-05T06:58:49.000Z
Kaminec/kits/JsonKit/AssetIndex.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
4
2017-12-08T11:41:19.000Z
2021-04-03T17:50:39.000Z
Kaminec/kits/JsonKit/AssetIndex.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
5
2019-02-19T13:03:42.000Z
2021-11-04T13:58:04.000Z
#include "AssetIndex.h" #include "assistance/utility.h" #include <QUrl> AssetIndex::AssetIndex(const QVariant &assetIndexVariant) : assetIndexVariant_(assetIndexVariant) {} QString AssetIndex::id() const { return value(assetIndexVariant_, "id").toString(); } int AssetIndex::size() const { return value(assetInde...
17.742857
59
0.73752
kaniol-lck
f49c41d00d8b90333aad4c81d000cc5866e3bc90
10,826
cc
C++
sync/sessions/session_state.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
sync/sessions/session_state.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
sync/sessions/session_state.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "sync/sessions/session_state.h" #include <map> #include <set> #include <string> #include <utility> #include <vector> #include "base/base64....
32.510511
76
0.730926
gavinp
f49d33317c09043a7d03871ead0b17c16930eb5c
4,081
cpp
C++
benchmark/HistoryModelBenchmark.cpp
heftyy/paste-history
fbcdda69fc3770f4eb318c63d69220b2781f27fe
[ "Apache-2.0" ]
null
null
null
benchmark/HistoryModelBenchmark.cpp
heftyy/paste-history
fbcdda69fc3770f4eb318c63d69220b2781f27fe
[ "Apache-2.0" ]
null
null
null
benchmark/HistoryModelBenchmark.cpp
heftyy/paste-history
fbcdda69fc3770f4eb318c63d69220b2781f27fe
[ "Apache-2.0" ]
null
null
null
#include <cctype> #include <chrono> #include <gsl/gsl> #include <iostream> #include <benchmark/benchmark.h> #include <HistoryItem.h> #include <HistoryItemModel.h> #include <QStandardItemModel> #include <FuzzySearch.h> static size_t GetTimestamp() { auto duration = std::chrono::system_clock::now().time_since_epoch(...
25.191358
146
0.682431
heftyy
f49e07f365f787bcedbec5ce897041ead0d96fc2
9,072
cpp
C++
Development/Src/Engine/Src/UnSkeletalRender.cpp
addstone/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
37
2020-05-22T18:18:47.000Z
2022-03-19T06:51:54.000Z
Development/Src/Engine/Src/UnSkeletalRender.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
null
null
null
Development/Src/Engine/Src/UnSkeletalRender.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
27
2020-05-17T01:03:30.000Z
2022-03-06T19:10:14.000Z
/*============================================================================= UnSkeletalRender.cpp: Skeletal mesh skinning/rendering code. Copyright 2003 Epic Games, Inc. All Rights Reserved. Revision history: * Created by Andrew Scheidecker * Vectorized versions of CacheVertices by Daniel Vogel * Optimizat...
34.105263
135
0.706459
addstone
f49f96b04b4b364bcf289554f5f51b7b81a0b7c0
5,486
cpp
C++
Project/zoolib/GameEngine/Util.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
13
2015-01-28T21:05:09.000Z
2021-11-03T22:21:11.000Z
Project/zoolib/GameEngine/Util.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
null
null
null
Project/zoolib/GameEngine/Util.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
4
2018-11-16T08:33:33.000Z
2021-12-11T19:40:46.000Z
// Copyright (c) 2019 Andrew Green. MIT License. http://www.zoolib.org #include "zoolib/GameEngine/Util.h" #include "zoolib/Callable_Function.h" #include "zoolib/Cartesian_Matrix.h" #include "zoolib/Chan_XX_Buffered.h" #include "zoolib/ChanRU_UTF_Std.h" #include "zoolib/Log.h" #include "zoolib/NameUniquifier.h" // Fo...
23.545064
100
0.635436
ElectricMagic
f4a17da42ad498394629dca2918d914e5a087839
921
cpp
C++
test/types.cpp
jfalcou/tts
5b8326aa8706feb2a03d56d2b0a5ef0e1aa47b40
[ "MIT" ]
12
2020-11-12T17:15:44.000Z
2022-03-15T12:59:17.000Z
test/types.cpp
jfalcou/tts
5b8326aa8706feb2a03d56d2b0a5ef0e1aa47b40
[ "MIT" ]
14
2019-09-28T14:04:18.000Z
2021-12-11T20:08:31.000Z
test/types.cpp
jfalcou/tts
5b8326aa8706feb2a03d56d2b0a5ef0e1aa47b40
[ "MIT" ]
null
null
null
//================================================================================================== /** TTS - Tiny Test System Copyright : TTS Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #define T...
27.909091
100
0.510315
jfalcou
f4a2bd62ae20afd210fd1a4f437a062a23cb1537
937
hpp
C++
src/Core/Game.hpp
iceonepiece/strong-man
c880b5ecadef87fe4bbcd1195526de8f020929cf
[ "MIT" ]
null
null
null
src/Core/Game.hpp
iceonepiece/strong-man
c880b5ecadef87fe4bbcd1195526de8f020929cf
[ "MIT" ]
null
null
null
src/Core/Game.hpp
iceonepiece/strong-man
c880b5ecadef87fe4bbcd1195526de8f020929cf
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <string> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include "Input.hpp" class Game { public: Game(); virtual ~Game(); bool Initialize(); void Run(); void Shutdown(); void SetCurrentScene(std::string sceneName); unsigned int GetScreenWidth() { return m_Scre...
18.74
58
0.726788
iceonepiece
f4a32544899efae62c484bd86b3d20fcef64f0ed
4,530
cc
C++
ns-allinone-3.27/ns-3.27/src/stats/model/get-wildcard-matches.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
93
2019-04-21T08:22:26.000Z
2022-03-30T04:26:29.000Z
ns-allinone-3.27/ns-3.27/src/stats/model/get-wildcard-matches.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
12
2019-04-19T16:39:58.000Z
2021-06-22T13:18:32.000Z
ns-allinone-3.27/ns-3.27/src/stats/model/get-wildcard-matches.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
21
2019-05-27T19:36:12.000Z
2021-07-26T02:37:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This pro...
30.402685
90
0.629801
zack-braun
f4a43b686d4dbbefc7439ece623d1823bfadcd31
7,369
cc
C++
userFiles/simu/main/SimuCtrl.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
userFiles/simu/main/SimuCtrl.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
userFiles/simu/main/SimuCtrl.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
#include "SimuCtrl.hh" #include "SensorsInfo.hh" #include "GaitFeatures.hh" #include "FitnessRun.hh" #include "FitnessQq.hh" #include "StopSimu.hh" #include "SwingStanceAnalysis.hh" #include "user_IO.h" #include "SimuOptions.h" #include "ContactGestion.hh" #include "SimuIndex.hh" #include "user_all_id.h" #include "cma...
25.150171
139
0.680011
mharding01
f4a47ce6fad08680e565e8ea9a255b563417cd40
535
hpp
C++
include/boost/url/url.hpp
syoliver/url
7a992f6aa758807bbcd2e92e413453da98ee0c3d
[ "BSL-1.0" ]
null
null
null
include/boost/url/url.hpp
syoliver/url
7a992f6aa758807bbcd2e92e413453da98ee0c3d
[ "BSL-1.0" ]
null
null
null
include/boost/url/url.hpp
syoliver/url
7a992f6aa758807bbcd2e92e413453da98ee0c3d
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // 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) // // Official repository: https://github.com/vinniefalco/url // #ifndef BOOST_URL_URL_HPP #define B...
20.576923
79
0.73271
syoliver
f4a52da293b8216b7235307e5da9abb35c5b810c
3,952
cpp
C++
Packet/PacketCondenser.cpp
RodrigoHolztrattner/Packet
ea514f326b7678414ef6521a6b4546e878f5c4ec
[ "MIT" ]
6
2018-03-15T09:11:07.000Z
2021-05-11T16:19:53.000Z
Packet/PacketCondenser.cpp
RodrigoHolztrattner/Packet
ea514f326b7678414ef6521a6b4546e878f5c4ec
[ "MIT" ]
16
2019-02-14T22:56:21.000Z
2019-07-08T20:21:01.000Z
Packet/PacketCondenser.cpp
RodrigoHolztrattner/Packet
ea514f326b7678414ef6521a6b4546e878f5c4ec
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Filename: FluxMyWrapper.cpp //////////////////////////////////////////////////////////////////////////////// #include "PacketCondenser.h" #include <filesystem> #include <fstream> /////////////// // NAMESPACE // /////////////// PacketUs...
29.274074
176
0.698381
RodrigoHolztrattner
f4a5ccdefd09cbf1852aff88879c7a6ed81d461b
1,467
cpp
C++
done/124_max_path_sum.cpp
zjuMrzhang/leetcode
35ab78be5b9a2ef0fb35f99c146c2190b2bed148
[ "MIT" ]
null
null
null
done/124_max_path_sum.cpp
zjuMrzhang/leetcode
35ab78be5b9a2ef0fb35f99c146c2190b2bed148
[ "MIT" ]
null
null
null
done/124_max_path_sum.cpp
zjuMrzhang/leetcode
35ab78be5b9a2ef0fb35f99c146c2190b2bed148
[ "MIT" ]
1
2020-09-30T19:03:01.000Z
2020-09-30T19:03:01.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int tmpmax=0x80000000; int maxPathSumofRoot(TreeNode* root){ // if(root==N...
27.166667
77
0.479891
zjuMrzhang
f4a93f8f7a28876b665f8ae95431ed0967b896eb
2,147
cpp
C++
src/test/test_print.cpp
victoryang00/ebpf-verifier
0ff1b15e4f45e45073a6ef9862b8da10c3d7932f
[ "Apache-2.0", "MIT" ]
1
2018-07-18T16:20:46.000Z
2018-07-18T16:20:46.000Z
src/test/test_print.cpp
victoryang00/ebpf-verifier
0ff1b15e4f45e45073a6ef9862b8da10c3d7932f
[ "Apache-2.0", "MIT" ]
24
2018-06-26T23:55:23.000Z
2018-11-20T21:33:03.000Z
src/test/test_print.cpp
victoryang00/ebpf-verifier
0ff1b15e4f45e45073a6ef9862b8da10c3d7932f
[ "Apache-2.0", "MIT" ]
1
2018-08-01T05:50:52.000Z
2018-08-01T05:50:52.000Z
// Copyright (c) Prevail Verifier contributors. // SPDX-License-Identifier: MIT #include "catch.hpp" #include <string> #include <variant> #include <boost/algorithm/string/trim.hpp> #if !defined(MAX_PATH) #define MAX_PATH (256) #endif #include "asm_files.hpp" #include "asm_ostream.hpp" #include "asm_unmarshal.hpp" ...
31.115942
122
0.752678
victoryang00
f4ac91a9600d3531e53d13dffe0288d651178e72
9,633
hxx
C++
main/svtools/inc/svtools/table/tablecontrolinterface.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svtools/inc/svtools/table/tablecontrolinterface.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svtools/inc/svtools/table/tablecontrolinterface.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
38.22619
120
0.499118
Grosskopf
f4add7de75cad197cfc5abeed7b2fe84dba7fc11
562
cpp
C++
codeBase/HackerRank/Algorithms/Game Theory/Deforestation/Solution.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
3
2020-03-16T14:59:08.000Z
2021-07-28T20:51:53.000Z
codeBase/HackerRank/Algorithms/Game Theory/Deforestation/Solution.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
1
2020-03-15T10:57:02.000Z
2020-03-15T10:57:02.000Z
codeBase/HackerRank/Algorithms/Game Theory/Deforestation/Solution.cpp
killerilaksha/codeBase
91cbd950fc90066903e58311000784aeba4ffc02
[ "Apache-2.0" ]
18
2020-02-17T23:17:37.000Z
2021-07-28T20:52:13.000Z
/* Copyright (C) 2020, Sathira Silva. */ #include <bits/stdc++.h> using namespace std; int grundy[501]; int dfs(int u, int p, vector<vector<int>>& G){ for(auto ch : G[u]){ if(ch != p) grundy[u] ^= dfs(ch,u,G); } return u == 1 ? grundy[u] : ++grundy[u]; } string deforestation(int n, vector<...
20.071429
55
0.544484
suren3141
f4ae671f7f0a91b5870071b7a2a763969ae012e8
190,564
cpp
C++
src/configwin.cpp
filipecosta90/im2model
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
7
2017-05-30T12:30:07.000Z
2017-09-07T08:35:26.000Z
src/configwin.cpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
src/configwin.cpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
/* * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. * * Partialy financiated as part of the protocol between UTAustin I Portugal - UTA-P. * [2017] - [2018] University of Minho, Filipe Costa Oliveira * All Rights Reserved. */ #include "co...
51.938948
645
0.765821
filipecosta90
f4b07deac6aa6af3f7ee54cbe5bdee6fcaa83860
247
hpp
C++
src/components/component_job_list.hpp
Nodmgatall/ytba
19de0ac40236e0c8cf5f1f7eb77efe764bc51b1f
[ "MIT" ]
null
null
null
src/components/component_job_list.hpp
Nodmgatall/ytba
19de0ac40236e0c8cf5f1f7eb77efe764bc51b1f
[ "MIT" ]
null
null
null
src/components/component_job_list.hpp
Nodmgatall/ytba
19de0ac40236e0c8cf5f1f7eb77efe764bc51b1f
[ "MIT" ]
null
null
null
#ifndef COMPONENT_JOB_LIST_HPP #define COMPONENT_JOB_LIST_HPP #include "../sub_types/terrain_types.hpp" #include "entityx/entityx.h" struct job_list : entityx::Component<job_list> { job_list() { std::vector<Job*> job_list; } #endif
19
48
0.732794
Nodmgatall
f4b38a8da4e8b2add36e4d77eda66b1c226df21b
1,764
hpp
C++
libfma/include/fma/types/Class.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
14
2018-01-25T10:31:05.000Z
2022-02-19T13:08:11.000Z
libfma/include/fma/types/Class.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
1
2020-12-24T10:10:28.000Z
2020-12-24T10:10:28.000Z
libfma/include/fma/types/Class.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
null
null
null
#ifndef __FMA_TYPES_CLASS_H__ #define __FMA_TYPES_CLASS_H__ #include <vector> #include "Base.hpp" namespace FMA { namespace interpret { class BaseContext; typedef std::shared_ptr<BaseContext> ContextPtr; struct Parameter; struct GroupedParameterList; } namespace types { class ClassPrototype; class Class : p...
28.918033
145
0.757937
BenjaminSchulte
f4b544cdc193383e9a84f4bf6eb813c8bedcb66e
395,724
cpp
C++
message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT537Parser.cpp
Yanick-Salzmann/message-converter-c
6dfdf56e12f19e0f0b63ee0354fda16968f36415
[ "MIT" ]
null
null
null
message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT537Parser.cpp
Yanick-Salzmann/message-converter-c
6dfdf56e12f19e0f0b63ee0354fda16968f36415
[ "MIT" ]
null
null
null
message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT537Parser.cpp
Yanick-Salzmann/message-converter-c
6dfdf56e12f19e0f0b63ee0354fda16968f36415
[ "MIT" ]
null
null
null
#include "repository/ISwiftMtParser.h" #include "SwiftMtMessage.pb.h" #include <vector> #include <string> #include "BaseErrorListener.h" #include "SwiftMtParser_MT537Lexer.h" // Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT537.g4 ...
41.204082
156
0.688467
Yanick-Salzmann
f4b5488371e33a3bab3d7f520adc51b3dda49001
1,296
cpp
C++
src/sport/enum/MarketSort.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
5
2019-06-30T06:29:46.000Z
2021-12-17T12:41:23.000Z
src/sport/enum/MarketSort.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
2
2018-01-09T17:14:45.000Z
2020-03-23T00:16:50.000Z
src/sport/enum/MarketSort.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
7
2015-09-13T18:40:58.000Z
2020-01-24T10:57:56.000Z
/** * Copyright 2017 Colin Doig. Distributed under the MIT license. */ #include <stdexcept> #include "greentop/sport/enum/MarketSort.h" #include "greentop/Enum.h" namespace greentop { namespace sport { const std::string MarketSort::MINIMUM_TRADED = "MINIMUM_TRADED"; const std::string MarketSort::MAXIMUM_TRADED = ...
25.92
70
0.692901
Sherlock92
f4b57a65a8fd9bc91423240c1fec3adfcddf73a3
1,669
hpp
C++
include/CASM/codec/pcm.hpp
Liastre/CASM
4f978664ac4812e8cfcd76025ac2429a46543582
[ "MIT" ]
1
2021-08-06T07:55:21.000Z
2021-08-06T07:55:21.000Z
include/CASM/codec/pcm.hpp
Liastre/CASM
4f978664ac4812e8cfcd76025ac2429a46543582
[ "MIT" ]
1
2021-08-05T09:33:13.000Z
2021-08-05T09:33:13.000Z
include/CASM/codec/pcm.hpp
Liastre/CASM
4f978664ac4812e8cfcd76025ac2429a46543582
[ "MIT" ]
null
null
null
/** * PCM codec implementation * @author Liastre * @copyright MIT */ #pragma once #include <CASM/codec/codec.hpp> #include <array> namespace CASM { namespace Codec { using WavHeader = struct { std::array<char, 4> chunkID {'R','I','F','F'}; // RIFF chunk std::uint32_t chunkSize {0}; ...
31.490566
100
0.624326
Liastre
f4b80a7d286e7523c85f8f2980657ae4ddb3cfcd
914
cpp
C++
Src/IO/CPipe_get.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/IO/CPipe_get.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/IO/CPipe_get.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
/* Copyright 1992 Kurt W. Allen. This is an unpublished work by Kurt W. Allen. All rights are reserved, and no part of this work may be distributed or released with out the express permission of Kurt W. Allen, 3540 43'rd Ave S., Mpls, Mn 55406. */ /* $Revision: 1.1 $ $Modtime: 01 May 1993 09:32:52 $ $Workfil...
21.761905
65
0.657549
Gjoll
f4bda6abaa12d548ac6a2ea7cc0dcc531a5101c1
638
cpp
C++
src/main.cpp
sea-kg/v201703
d873ae71e4e9d7ae0386ea64513095a466fcba3a
[ "MIT" ]
null
null
null
src/main.cpp
sea-kg/v201703
d873ae71e4e9d7ae0386ea64513095a466fcba3a
[ "MIT" ]
null
null
null
src/main.cpp
sea-kg/v201703
d873ae71e4e9d7ae0386ea64513095a466fcba3a
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <iostream> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include <syslog.h> #include <QtCore> #include <QFile> #include <QString> #include "websocketser...
21.266667
87
0.69279
sea-kg
f4be843434b008e0d23cf1f055fb0b2f128eb85c
4,160
cpp
C++
irohad/multi_sig_transactions/state/impl/mst_state.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
null
null
null
irohad/multi_sig_transactions/state/impl/mst_state.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
2
2020-07-07T19:31:15.000Z
2021-06-01T22:29:48.000Z
irohad/multi_sig_transactions/state/impl/mst_state.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
31.044776
85
0.626202
truongnmt
f4c6edcc6f260b9832e56a66eb2d1067e7445604
1,271
cpp
C++
libnuklei/io/PLYObservation.cpp
chungying/nuklei
23db2a55a1b3260cf913d0ac10b3b27c000ae1a6
[ "BSD-3-Clause" ]
null
null
null
libnuklei/io/PLYObservation.cpp
chungying/nuklei
23db2a55a1b3260cf913d0ac10b3b27c000ae1a6
[ "BSD-3-Clause" ]
null
null
null
libnuklei/io/PLYObservation.cpp
chungying/nuklei
23db2a55a1b3260cf913d0ac10b3b27c000ae1a6
[ "BSD-3-Clause" ]
null
null
null
// (C) Copyright Renaud Detry 2007-2015. // Distributed under the GNU General Public License and under the // BSD 3-Clause License (See accompanying file LICENSE.txt). /** @file */ #include <nuklei/PLYObservation.h> namespace nuklei { const double PLYObservation::TOL = 1e-5; PLYObservation::PLYObservati...
22.696429
79
0.686861
chungying
f4ca2bab53a38121df662d29c6d539d0399b8a3a
2,378
cpp
C++
test/example.cpp
peterbygrave/coulombgalore
ac7d13641212c53c126f9d48f8aa6e8f249f514e
[ "MIT" ]
7
2019-08-12T15:00:40.000Z
2022-03-23T06:46:40.000Z
test/example.cpp
peterbygrave/coulombgalore
ac7d13641212c53c126f9d48f8aa6e8f249f514e
[ "MIT" ]
7
2019-10-19T12:24:29.000Z
2021-05-12T05:58:03.000Z
test/example.cpp
peterbygrave/coulombgalore
ac7d13641212c53c126f9d48f8aa6e8f249f514e
[ "MIT" ]
3
2019-07-10T12:30:20.000Z
2020-11-27T11:10:07.000Z
#include <iostream> #include <nlohmann/json.hpp> #include "coulombgalore.h" using namespace CoulombGalore; typedef Eigen::Vector3d Point; //!< typedef for 3d vector int main() { double pi = 3.141592653589793, // Pi e0 = 8.85419e-12, // Permittivity of vacuum [C^2/(J*m)] e = 1.602177e-19,...
38.983607
117
0.605551
peterbygrave
f4ca32bfc5cb9f28143a90f8d084eb1178cacdfb
826
cpp
C++
CodeChef/LTIME67B/AGECAL.cpp
codemute/cp-sol
e6ea2533adf9f590f5e9d6a6b50031db9d3dca4a
[ "MIT" ]
1
2019-10-06T14:39:34.000Z
2019-10-06T14:39:34.000Z
CodeChef/LTIME67B/AGECAL.cpp
codemute/cp-sol
e6ea2533adf9f590f5e9d6a6b50031db9d3dca4a
[ "MIT" ]
1
2019-07-12T08:08:50.000Z
2019-10-04T07:56:33.000Z
CodeChef/LTIME67B/AGECAL.cpp
codemute/cp-sol
e6ea2533adf9f590f5e9d6a6b50031db9d3dca4a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int cei(int a, int b) { if(a % b == 0) return a / b; return (a / b) + 1; } int main() { int t; cin >> t; while(t--) { int n; cin >> n; int a[n], tot = 0; for(int i = 0; i < n; i++) { cin >> a[i]; tot += a[i]; } int yb, mb, db; c...
20.65
56
0.360775
codemute
f4cc26f3ef7a3453c78b7e35f6bc3b1d34432453
928
hpp
C++
addons/bw/configs/CfgAmmo.hpp
Braincrushy/TBMod
785f11cd9cd0defb0d01a6d2861beb6c207eb8a3
[ "MIT" ]
null
null
null
addons/bw/configs/CfgAmmo.hpp
Braincrushy/TBMod
785f11cd9cd0defb0d01a6d2861beb6c207eb8a3
[ "MIT" ]
4
2018-12-21T06:57:25.000Z
2020-07-09T09:06:38.000Z
addons/bw/configs/CfgAmmo.hpp
Braincrushy/TBMod
785f11cd9cd0defb0d01a6d2861beb6c207eb8a3
[ "MIT" ]
null
null
null
/* Part of the TBMod ( https://github.com/TacticalBaconDevs/TBMod ) Developed by http://tacticalbacon.de */ class CfgAmmo { class BWA3_B_127x99_Ball; class BWA3_B_127x99_Ball_Raufoss : BWA3_B_127x99_Ball // 50.cal Long-Range Sniper BW { caliber = 2.5; // 5.2 explosive = 0.1; // 0 ...
26.514286
97
0.577586
Braincrushy
f4d003ba3188b920728e3fc78baa0266093881f5
376
cpp
C++
assembler/main.cpp
terana/pdp-11
720ab9b3a15c832de012b5846cb363a5f0b8ce2c
[ "MIT" ]
null
null
null
assembler/main.cpp
terana/pdp-11
720ab9b3a15c832de012b5846cb363a5f0b8ce2c
[ "MIT" ]
null
null
null
assembler/main.cpp
terana/pdp-11
720ab9b3a15c832de012b5846cb363a5f0b8ce2c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "assembler.hpp" int main(int argc, char *argv[]) { std::string asm_file = argc > 1 ? argv[1] : "../programs/white_screen.s"; const char *bin_file = argc > 2 ? argv[2] : "white_screen"; std::ifstream asmStream(asm_file); Assembler assembler; assemble...
23.5
77
0.664894
terana
f4d0e3c0afbe1f9df4e381a502e1800a3d58ba68
5,491
cc
C++
lite/core/profile/profiler.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
1
2020-03-09T03:51:31.000Z
2020-03-09T03:51:31.000Z
lite/core/profile/profiler.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
lite/core/profile/profiler.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
36.125
78
0.566746
jameswu2014
f4d76bd4782c9ba7e5304c0544e080d7aab2c4b3
5,123
cpp
C++
engine/mysqlparser/listener/dml/CreateTableListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
1
2020-10-23T09:38:22.000Z
2020-10-23T09:38:22.000Z
engine/mysqlparser/listener/dml/CreateTableListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
null
null
null
engine/mysqlparser/listener/dml/CreateTableListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
null
null
null
// // Created by zhukovasky on 2020/9/30. // #include <utils/StringUtils.h> #include "CreateTableListener.h" void CreateTableListener::enterColCreateTable(parser::MySQLParser::ColCreateTableContext *context) { parser::MySQLParser::Table_nameContext *tbContext = context->table_name(); std::string tbName = tbCo...
32.424051
110
0.591841
zhukovaskychina
f4d936e5466b571bf1bda29baf64de22699f36cd
2,619
cc
C++
Modules/Plexil/src/value/PlexilTypeTraits.cc
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
1
2020-02-27T03:35:50.000Z
2020-02-27T03:35:50.000Z
src/value/PlexilTypeTraits.cc
morxa/plexil-4
890e92aa259881dd944d573d6ec519341782a5f2
[ "BSD-3-Clause" ]
null
null
null
src/value/PlexilTypeTraits.cc
morxa/plexil-4
890e92aa259881dd944d573d6ec519341782a5f2
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2006-2016, Universities Space Research Association (USRA). * 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 ...
54.5625
93
0.775105
5nefarious
f4dadf33f2b54fa45221dbd32ff8e6ae34f47d5a
614
cpp
C++
src/Npfs/Messages/Rread.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/Messages/Rread.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/Messages/Rread.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
/* * Rread.cpp * * Created on: 18.07.2012 * Author: jlode */ #include "Rread.h" namespace Npfs { Rread::Rread(const Npfs::Tread& tref, MemoryManager* mm_) : Rmessage(tref), mm(mm_), count(tref.count), data((unsigned char*) mm->allocate(tref.count)) {} Rread::~Rread() { mm->release(data); } uint32_t R...
14.619048
94
0.627036
joluxer
f4ddbea6636b8499172b446ec266c77a29afebc5
1,177
cpp
C++
InterviewBit/Arrays/Set Matrix Zeros.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
InterviewBit/Arrays/Set Matrix Zeros.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
InterviewBit/Arrays/Set Matrix Zeros.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
/*Asked in: Oracle Amazon Given an m x n matrix of 0s and 1s, if an element is 0, set its entire row and column to 0. Do it in place. Example Given array A as 1 0 1 1 1 1 1 1 1 On returning, the array A should be : 0 0 0 1 0 1 1 0 1 Note that this will be evaluated on the extra memory used. Try to minimize the ...
19.949153
107
0.544605
sankalpmittal1911-BitSian
f4dff7852c529967fd685d6dc5520ad3edce7e10
667
cpp
C++
competitive/c++/codeforces/round 690 div 3/maina.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 690 div 3/maina.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 690 div 3/maina.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, b; void solve() { int a[300]; int ans[300]; cin >> n; for(int i = 0; i < n; i++){ int z; cin >> z; a[i] = z; } int lp = 0; int rp = n - 1; for (int i = 0; i < n; i++) { if ((i & 1) == 0) { ...
13.895833
37
0.346327
HackintoshwithUbuntu
f4e14ae2c08845766c7fa9b6b9d3a83791c44bd1
634
cpp
C++
src/absyn/DoubleLiteral.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
22
2016-07-11T15:34:14.000Z
2021-04-19T04:11:13.000Z
src/absyn/DoubleLiteral.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
14
2016-07-11T14:28:42.000Z
2017-01-27T02:59:24.000Z
src/absyn/DoubleLiteral.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
7
2016-10-03T10:05:06.000Z
2021-05-31T00:58:35.000Z
/* * DoubleLiteral.cpp * * Created on: Oct 29, 2013 * Author: yiwu */ #include "DoubleLiteral.h" namespace swift { namespace absyn { DoubleLiteral::DoubleLiteral(int l, int c, double value) : Literal(l, c), value(value) { } DoubleLiteral::~DoubleLiteral() { } double DoubleLiteral::getValue() { ret...
16.25641
64
0.665615
shiruizhao
f4e329e0eb966a4659fafb31f403f80081093825
278
cpp
C++
platform/include/platform/types/main.cpp
Garph/Carbon
4e412c5ff4a81e15cae2e86ff7476ca2ee3df080
[ "MIT" ]
null
null
null
platform/include/platform/types/main.cpp
Garph/Carbon
4e412c5ff4a81e15cae2e86ff7476ca2ee3df080
[ "MIT" ]
null
null
null
platform/include/platform/types/main.cpp
Garph/Carbon
4e412c5ff4a81e15cae2e86ff7476ca2ee3df080
[ "MIT" ]
null
null
null
#include "view.h" #include <iostream> void foo(emb::view<int> xs) { for (auto const& x : xs) { std::cout << x << ", "; } std::cout << std::endl; } int main(void) { int arr[5] = {0, 1, 2, 3, 4}; emb::view<int> xs(arr); foo(xs); return 0; }
13.9
33
0.478417
Garph
f4e8b4c1b62a21dffa61fb8e2cd3157fc4079071
797
cpp
C++
2018/01/01.cpp
hjaremko/advent-of-code
a108787eb0e10a9eea67b0cec575e81457a8123c
[ "MIT" ]
3
2018-12-01T16:32:24.000Z
2020-12-03T15:03:55.000Z
2018/01/01.cpp
hjaremko/advent-of-code
a108787eb0e10a9eea67b0cec575e81457a8123c
[ "MIT" ]
null
null
null
2018/01/01.cpp
hjaremko/advent-of-code
a108787eb0e10a9eea67b0cec575e81457a8123c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> #include <unordered_map> int main() { std::fstream input( "input.txt", std::ios::out | std::ios::in ); int frequency = 0; int delta = 0; std::vector<int> input_arr; std::unordered_map<int, int> frequencies; while ( input >> delta ) ...
18.97619
68
0.520703
hjaremko
f4ee62a6f6af669296cb2ad9230280d23866b730
6,942
hpp
C++
src/Nodes/Led/LedPattern.hpp
AntorFr/SmartIot
92dc609aafe6f8894d8119b99f7129999e66fce0
[ "MIT" ]
3
2019-02-28T22:01:42.000Z
2020-02-10T12:49:02.000Z
src/Nodes/Led/LedPattern.hpp
AntorFr/SmartIot
92dc609aafe6f8894d8119b99f7129999e66fce0
[ "MIT" ]
1
2022-01-29T16:53:53.000Z
2022-01-29T16:53:53.000Z
src/Nodes/Led/LedPattern.hpp
AntorFr/SmartIot
92dc609aafe6f8894d8119b99f7129999e66fce0
[ "MIT" ]
null
null
null
#pragma once #include "Led.hpp" #include "GradientPalettes.hpp" class LedObject; namespace SmartIotInternals { class LedPattern { friend LedObject; public: LedPattern(const LedObject* obj); bool toShow() {return _show;} void show() {_show=true;} void showed() {_s...
33.057143
218
0.600547
AntorFr
f4efb974f5df44fd84f4518c5d96e68f92ad6fde
804
cpp
C++
apps/vJoyList/MyMFCListCtrl.cpp
lukester1975/vJoy
28bede0a486dd0a303157c1365d4f18464e7034d
[ "MIT" ]
432
2015-08-12T03:06:13.000Z
2022-03-29T17:42:12.000Z
apps/vJoyList/MyMFCListCtrl.cpp
jiangnane/vJoy
911a2a53a972f73ea8b4a021c390c953012b7fb9
[ "MIT" ]
64
2016-01-11T06:31:05.000Z
2022-03-26T21:17:17.000Z
apps/vJoyList/MyMFCListCtrl.cpp
jiangnane/vJoy
911a2a53a972f73ea8b4a021c390c953012b7fb9
[ "MIT" ]
109
2015-10-11T14:27:28.000Z
2022-03-29T17:42:21.000Z
// MyMFCListCtrl.cpp : implementation file // #include "stdafx.h" #include "vJoyList.h" #include "MyMFCListCtrl.h" // CMyMFCListCtrl IMPLEMENT_DYNAMIC(CMyMFCListCtrl, CMFCListCtrl) COLORREF CMyMFCListCtrl::OnGetCellTextColor(int nRow, int nColum) { if (!Exist[nRow]) return RGB(200, 200, 200); else { if (!Ow...
13.4
65
0.686567
lukester1975
f4f341c0d915a82506d114579a0967963bae0e65
4,416
cpp
C++
pc-client/Public/LejuTbableWidget.cpp
LejuRobotics/Aelos-Vision-Demo
0b4ad1338bd018e8107533a7164d00442ff1d394
[ "Apache-2.0" ]
6
2018-10-23T07:28:35.000Z
2020-02-06T02:19:40.000Z
pc-client/Public/LejuTbableWidget.cpp
LejuRobotics/Aelos-Vision-Demo
0b4ad1338bd018e8107533a7164d00442ff1d394
[ "Apache-2.0" ]
null
null
null
pc-client/Public/LejuTbableWidget.cpp
LejuRobotics/Aelos-Vision-Demo
0b4ad1338bd018e8107533a7164d00442ff1d394
[ "Apache-2.0" ]
3
2018-12-25T08:34:15.000Z
2020-04-16T07:03:00.000Z
/** * @file LejuTbableWidget.cpp * @version 1.0 * @date 2017年07月22日 * @author C_Are * @copyright Leju * * @brief 记录标记颜色的列表,LejuTbableWidget类的cpp文件 */ #include "LejuTbableWidget.h" LejuTbableWidget::LejuTbableWidget(QWidget *parent) : QTableWidget(parent) { //设置表头 setColumnCoun...
30.246575
129
0.666893
LejuRobotics
f4f83be5e7f79391192be51edcd62a436de028cf
7,576
tcc
C++
include/onnc/ADT/Bits/Digraph.tcc
LiuLeif/onnc
3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba
[ "BSD-3-Clause" ]
450
2018-08-03T08:17:03.000Z
2022-03-17T17:21:06.000Z
include/onnc/ADT/Bits/Digraph.tcc
ffk0716/onnc
91e4955ade64b479db17aaeccacf4b7339fe44d2
[ "BSD-3-Clause" ]
104
2018-08-13T07:31:50.000Z
2021-08-24T11:24:40.000Z
include/onnc/ADT/Bits/Digraph.tcc
ffk0716/onnc
91e4955ade64b479db17aaeccacf4b7339fe44d2
[ "BSD-3-Clause" ]
100
2018-08-12T04:27:39.000Z
2022-03-11T04:17:42.000Z
//===-- Digraph.tcc -------------------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // Digraph //===-----------------------------------------------------...
25.508418
83
0.679382
LiuLeif
f4fc9b2ec391f323f5a81167ade7d1593280cddc
6,657
cpp
C++
Source/Dreemchest/Io/DiskFileSystem.cpp
dmsovetov/Dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
11
2016-02-18T15:24:49.000Z
2021-01-30T18:26:04.000Z
Source/Dreemchest/Io/DiskFileSystem.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
2
2016-05-23T22:48:35.000Z
2017-02-13T16:43:32.000Z
Source/Dreemchest/Io/DiskFileSystem.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
3
2016-08-19T13:26:59.000Z
2018-08-03T04:28:14.000Z
/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
26.208661
108
0.61379
dmsovetov
f4fd6d665b50e8d3cb3fa3ee3b2da2eeedc011fe
4,236
cc
C++
mongoose/challenge/src/vmips/deviceint.cc
assert0/hackasat-qualifier-2021
ffa17fc3c3f167c2a81fd3c12e43af9aacb2e95c
[ "MIT" ]
75
2020-07-20T20:54:00.000Z
2022-03-09T09:18:37.000Z
mongoose/challenge/src/vmips/deviceint.cc
assert0/hackasat-qualifier-2021
ffa17fc3c3f167c2a81fd3c12e43af9aacb2e95c
[ "MIT" ]
3
2020-09-13T00:46:49.000Z
2021-07-06T16:18:22.000Z
mongoose/challenge/src/vmips/deviceint.cc
assert0/hackasat-qualifier-2021
ffa17fc3c3f167c2a81fd3c12e43af9aacb2e95c
[ "MIT" ]
14
2020-07-22T16:34:51.000Z
2021-09-13T12:19:59.000Z
/* Base class for devices that can generate hardware interrupts. Copyright 2001, 2002 Brian R. Gaeke. Copyright 2002, 2003 Paul Twohey. This file is part of VMIPS. VMIPS 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...
29.830986
75
0.715297
assert0
f4ff050c8ab412d4b5c1841fbe015805f5200bf6
2,203
hpp
C++
multi_robot_explore_cpp/include/multi_robot_explore_cpp/get_map_value_node.hpp
wt160/multi_robot_explore_testbed
9d5fd50f5c7fd5f77a6dc70c74608c65cdf96396
[ "BSD-3-Clause" ]
null
null
null
multi_robot_explore_cpp/include/multi_robot_explore_cpp/get_map_value_node.hpp
wt160/multi_robot_explore_testbed
9d5fd50f5c7fd5f77a6dc70c74608c65cdf96396
[ "BSD-3-Clause" ]
null
null
null
multi_robot_explore_cpp/include/multi_robot_explore_cpp/get_map_value_node.hpp
wt160/multi_robot_explore_testbed
9d5fd50f5c7fd5f77a6dc70c74608c65cdf96396
[ "BSD-3-Clause" ]
null
null
null
#ifndef ROBOT_CONTROL_INTERFACE_HPP #define ROBOT_CONTROL_INTERFACE_HPP #include "rclcpp/rclcpp.hpp" #include "rclcpp_action/rclcpp_action.hpp" #include "multi_robot_explore_cpp/explore_util.hpp" #include <thread> #include <chrono> #include <future> #include "geometry_msgs/msg/pose.hpp" #include "geometry_msgs/msg/po...
37.982759
128
0.744893
wt160
f4ff69185795821275501eb6a0f5f639cfafe54e
251
cpp
C++
NullStream.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
NullStream.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
NullStream.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
// Copyright 2000-2021 Mark H. P. Lord #include "NullStream.h" namespace Prime { ptrdiff_t NullStream::readSome(void*, size_t, Log*) { return 0; } ptrdiff_t NullStream::writeSome(const void*, size_t maxBytes, Log*) { return maxBytes; } }
13.944444
67
0.693227
malord
7605661c6c7945dd63c11ca1145de7d9743bcc63
10,670
cpp
C++
src/cpp/BaseWindow.cpp
orbitrc/blusher
bf90272308c0ff06560f0feace5845d77a05d70f
[ "MIT" ]
3
2019-08-08T05:48:24.000Z
2021-08-23T01:24:29.000Z
src/cpp/BaseWindow.cpp
orbitrc/blusher
bf90272308c0ff06560f0feace5845d77a05d70f
[ "MIT" ]
2
2021-06-28T10:50:52.000Z
2021-07-11T10:37:29.000Z
src/cpp/BaseWindow.cpp
orbitrc/blusher
bf90272308c0ff06560f0feace5845d77a05d70f
[ "MIT" ]
1
2019-08-15T04:19:51.000Z
2019-08-15T04:19:51.000Z
#include "BaseWindow.h" #include <stdint.h> #include <blusher/base.h> #include "DesktopEnvironment.h" #include "Ewmh.h" #include "Blusher.h" #include <QScreen> namespace bl { BaseWindow::BaseWindow(QWindow *parent) : QQuickWindow(parent) { this->m_netWmStrutPartial = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };...
24.813953
92
0.627273
orbitrc
7606b9fc27c686a035d5ba98f410fd51316408f2
51,830
cpp
C++
pizmidi/midiConverter3/midiConverter3.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizmidi/midiConverter3/midiConverter3.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizmidi/midiConverter3/midiConverter3.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
1
2021-01-26T12:25:01.000Z
2021-01-26T12:25:01.000Z
#include "midiConverter3.hpp" //------------------------------------------------------------------------------------------------------- AudioEffect* createEffectInstance (audioMasterCallback audioMaster) { return new MidiConverter (audioMaster); } MidiConverterProgram::MidiConverterProgram () { // default Pro...
43.738397
160
0.482732
nonameentername
76090310b2814e60bfb752addad00581e480c9c5
10,370
cpp
C++
vive_bridge/src/vive_interface.cpp
mortaas/vive_rrcc
cdec4645dd3bc1510e15af4be20c7f8dfef321e0
[ "MIT" ]
1
2020-05-14T02:19:56.000Z
2020-05-14T02:19:56.000Z
vive_bridge/src/vive_interface.cpp
mortaas/vive_rrcc
cdec4645dd3bc1510e15af4be20c7f8dfef321e0
[ "MIT" ]
null
null
null
vive_bridge/src/vive_interface.cpp
mortaas/vive_rrcc
cdec4645dd3bc1510e15af4be20c7f8dfef321e0
[ "MIT" ]
null
null
null
#include "vive_bridge/vive_interface.h" // Default functions for logging inline void DefaultDebugMsgCallback(const std::string &msg) { std::cerr << "VR Debug: " << msg << std::endl; } inline void DefaultInfoMsgCallback(const std::string &msg) { std::cerr << "VR Info: " << msg << std::endl; } inline void Defaul...
38.838951
152
0.694021
mortaas
760953b3829e16f1b8f24601633c3caff4c06347
1,443
cpp
C++
Day2/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
4
2021-12-06T17:14:00.000Z
2021-12-10T06:29:35.000Z
Day2/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
null
null
null
Day2/main.cpp
baldwinmatt/AoC-2021
4a7f18f6364715f6e61127aba175db6fec6e6b13
[ "Apache-2.0" ]
null
null
null
#include "aoc21/helpers.h" #include <set> namespace { using Movement = std::pair<char, int>; constexpr std::string_view DIRECTION_FORWARD("forward"); constexpr std::string_view DIRECTION_UP("up"); constexpr std::string_view DIRECTION_DOWN("down"); std::set<std::string_view> DIRECTIONS = { D...
20.323944
60
0.575191
baldwinmatt
7609549b84d30b06941f2bc18f9bdcbb36f4d85e
2,930
cpp
C++
tree/binary_tree/103_binary-tree-zigzag-level-order-traversal.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
tree/binary_tree/103_binary-tree-zigzag-level-order-traversal.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
tree/binary_tree/103_binary-tree-zigzag-level-order-traversal.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
// Author: b1tank // Email: b1tank@outlook.com //================================= /* 103_binary-tree-zigzag-level-order-traversal LeetCode Solution: - BFS (deque rather than queue) - DFS (recursive) (potentially O(logN) space for auto-cast enabled language like Java, Python) */ #include <iostre...
30.206186
99
0.454949
b1tank
760ab8227a4933c0797445037a7ee0c712dca22c
1,103
cpp
C++
Other/Additional Practice 14.12.2019/rightWayToAllocateDynamicMatrix.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
4
2019-11-06T12:03:06.000Z
2020-02-24T18:33:11.000Z
Other/Additional Practice 14.12.2019/rightWayToAllocateDynamicMatrix.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
null
null
null
Other/Additional Practice 14.12.2019/rightWayToAllocateDynamicMatrix.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
3
2019-11-27T17:13:59.000Z
2020-02-24T18:33:15.000Z
#include <iostream> void deleteMatrix(int** matrix, size_t rows) { for(int i = 0; i < rows; ++i) { delete[] matrix[i]; } delete[] matrix; } int** allocateMatrixByRowsAndCols(size_t n, size_t m) { int** matrix = new (std::nothrow) int* [n]; if(matrix == nullptr) { // if operator new can't allocate memory on the...
25.068182
81
0.646419
terziev-viktor
760cfe2d2337432244fcf713a5b8d8dd97ad8e7c
5,160
cpp
C++
reconciliation/Graphene-Cpp/IBLT-optimization/search.cpp
Libero0809/pbs_organized
da2180909b36ea6b82e4d794afdcc2b8b4ab4b67
[ "MIT" ]
1
2022-01-17T04:59:48.000Z
2022-01-17T04:59:48.000Z
reconciliation/Graphene-Cpp/IBLT-optimization/search.cpp
Libero0809/pbs_organized
da2180909b36ea6b82e4d794afdcc2b8b4ab4b67
[ "MIT" ]
null
null
null
reconciliation/Graphene-Cpp/IBLT-optimization/search.cpp
Libero0809/pbs_organized
da2180909b36ea6b82e4d794afdcc2b8b4ab4b67
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <string> #include <map> #include <random> #include <cmath> #include <set> #include <array> // g++ -g -O3 search.cpp -Wno-c++11-extensions -o search std::random_device r; std::default_random_engine e1(r()); //largest K to search for const uint MAX_K = 20; class hyperg...
23.669725
90
0.543992
Libero0809
760fc027a88ce6e1c6af2ad87fc7e27045f77a01
3,959
hpp
C++
include/GlobalNamespace/NetworkPlayerEntitlementChecker_CachedTcs.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/NetworkPlayerEntitlementChecker_CachedTcs.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/NetworkPlayerEntitlementChecker_CachedTcs.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: NetworkPlayerEntitlementChecker #include "GlobalNamespace/NetworkPlaye...
49.4875
255
0.731498
darknight1050
761225811e733aca296c3640596129d68fcbb5d8
1,951
cpp
C++
Dynamic Programming/minimum_diffrenece subset.cpp
siddhi-244/CompetitiveProgrammingQuestionBank
4c265d41b82a7d4370c14d367f78effa9ed95d3c
[ "MIT" ]
931
2020-04-18T11:57:30.000Z
2022-03-31T15:15:39.000Z
Dynamic Programming/minimum_diffrenece subset.cpp
geekySapien/CompetitiveProgrammingQuestionBank
9e84a88a85dbabd95207391967abde298ddc031d
[ "MIT" ]
661
2020-12-13T04:31:48.000Z
2022-03-15T19:11:54.000Z
Dynamic Programming/minimum_diffrenece subset.cpp
geekySapien/CompetitiveProgrammingQuestionBank
9e84a88a85dbabd95207391967abde298ddc031d
[ "MIT" ]
351
2020-08-10T06:49:21.000Z
2022-03-25T04:02:12.000Z
//Link : https://www.interviewbit.com/problems/minimum-difference-subsets/ /* Problem Description Given an integer array A containing N integers. You need to divide the array A into two subsets S1 and S2 such that the absolute difference between their sums is minimum. Find and return this minimum possible absolute d...
21.43956
122
0.529472
siddhi-244