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
3e6d9d4c04c76f80c6642fd7f858b20ad2e1d3bc
6,215
hpp
C++
include/approx_rank.hpp
dominikkempa/psascan
d206aea99e0fe2130fcd0f726f1e0acb7699ebd6
[ "MIT" ]
3
2020-07-27T08:59:16.000Z
2021-05-29T23:42:15.000Z
include/approx_rank.hpp
dominikkempa/psascan
d206aea99e0fe2130fcd0f726f1e0acb7699ebd6
[ "MIT" ]
null
null
null
include/approx_rank.hpp
dominikkempa/psascan
d206aea99e0fe2130fcd0f726f1e0acb7699ebd6
[ "MIT" ]
null
null
null
/** * @file src/psascan_src/approx_rank.hpp * @section DESCRIPTION * * The approximate rank data structure. Based on the 'sparse-LF' * data structure described in: * * Dominik Kempa, Simon J. Puglisi: * Lempel-Ziv Factorization: Simple, Fast, Practical. * In Proc. ALENEX 2013, p. 103-112. * * @secti...
33.413978
100
0.634755
dominikkempa
3e6de2efb02f41b6f73ae733ad579e41df00b706
2,664
cpp
C++
src/qt/config.tests/unix/endian/endiantest.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/config.tests/unix/endian/endiantest.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/config.tests/unix/endian/endiantest.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the config.tests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
46.736842
150
0.701201
jefleponot
3e6ecb11cd4157d7d748f911429a8e21db4099d4
2,883
hpp
C++
cpp/include/global_incls.hpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/include/global_incls.hpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/include/global_incls.hpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use these files 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, software // distributed...
24.226891
75
0.755463
aurelienwaite
3e6f045552f1c16ec2ec723559d663169de3a545
11,562
cc
C++
tests/unit/classifier/svm/LibLinear_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,753
2015-01-02T11:34:13.000Z
2022-03-25T07:04:27.000Z
tests/unit/classifier/svm/LibLinear_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,404
2015-01-02T19:31:41.000Z
2022-03-09T10:58:22.000Z
tests/unit/classifier/svm/LibLinear_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
1,156
2015-01-03T01:57:21.000Z
2022-03-26T01:06:28.000Z
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: pl8787, Elfarouk Yasser */ #include <gtest/gtest.h> #include <shogun/classifier/svm/LibLinear.h> #include <shogun/features/DataGenerator.h> #include <shogun/features/DenseFeatures.h> #include <shogun/evaluation/Contingenc...
26.33713
139
0.755925
ShankarNara
3e6f89ce141b485f1c720a2eb9182c2d6a9dccb8
9,607
hh
C++
src/jsonreader.hh
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
1
2019-12-16T06:48:13.000Z
2019-12-16T06:48:13.000Z
src/jsonreader.hh
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
null
null
null
src/jsonreader.hh
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
2
2018-09-01T21:34:31.000Z
2019-12-12T00:30:38.000Z
#ifndef JSON_EVT_PARSER_HH #define JSON_EVT_PARSER_HH #include <iostream> #include <vector> #include <string> #include <sstream> #include <cstdlib> #include "debug.hh" enum JsonToken { JSON_BEGIN_ARRAY }; #define BOUM(a) {\ std::ostringstream _os; \ _os << "[" << __FILE__ << ":" << __LINE__ << "] " << a ;\ i...
23.546569
134
0.496305
lindenb
3e7135bdf8359b90b2f57048a52ce0deee945435
7,283
cpp
C++
src/server/request_handler.cpp
asaveljevs/osrm-backend
15f0ca8ddaa35c5b4d93c25afa72e81e1fb40c3e
[ "BSD-2-Clause" ]
13
2019-02-21T02:02:41.000Z
2021-09-09T13:49:31.000Z
src/server/request_handler.cpp
zhangdida/osrm-backend
1ba8aba4663590c5c53b3b0a9989e4fe605b45b8
[ "BSD-2-Clause" ]
288
2019-02-21T01:34:04.000Z
2021-03-27T12:19:10.000Z
src/server/request_handler.cpp
zhangdida/osrm-backend
1ba8aba4663590c5c53b3b0a9989e4fe605b45b8
[ "BSD-2-Clause" ]
4
2019-06-21T20:51:59.000Z
2021-01-13T09:22:24.000Z
#include "server/request_handler.hpp" #include "server/service_handler.hpp" #include "server/api/url_parser.hpp" #include "server/http/reply.hpp" #include "server/http/request.hpp" #include "util/json_renderer.hpp" #include "util/log.hpp" #include "util/string_util.hpp" #include "util/timing_util.hpp" #include "util/...
40.016484
100
0.552931
asaveljevs
3e73a909f8780aecd16cf0d28b7d306d6dc72087
4,503
cc
C++
open_spiel/examples/shared_library_example.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
1
2021-12-31T01:45:58.000Z
2021-12-31T01:45:58.000Z
open_spiel/examples/shared_library_example.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
null
null
null
open_spiel/examples/shared_library_example.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 DeepMind Technologies Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
37.840336
80
0.638241
Limmen
3e755e4631a24df778d5724b64cc5c9c073bfa82
991
hpp
C++
ios/Pods/boost-for-react-native/boost/fusion/adapted/mpl/detail/has_key_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/fusion/adapted/mpl/detail/has_key_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/fusion/adapted/mpl/detail/has_key_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2005-2006 Dan Marsden 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....
30.030303
82
0.552977
rudylee
3e7850076ab56ccdc70fa909eac1b344907011cc
1,581
hpp
C++
externals/boost/boost/algorithm/cxx17/exclusive_scan.hpp
YuukiTsuchida/v8_embeded
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
[ "MIT" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
jeff/common/include/boost/algorithm/cxx17/exclusive_scan.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
jeff/common/include/boost/algorithm/cxx17/exclusive_scan.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
/* Copyright (c) Marshall Clow 2017. 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) */ /// \file exclusive_scan.hpp /// \brief ??? /// \author Marshall Clow #ifndef BOOST_ALGORITHM_EXCLUSIVE_SCAN_...
29.830189
89
0.653384
YuukiTsuchida
3e7a15c8ad2acbdd73bdca874ee10bec88da9772
27,459
cc
C++
third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.h" #include <stddef.h> #include <memory> #include <string...
41.541604
97
0.750282
sarang-apps
3e7a6584113e06b0579557faba2d13cf151583d8
541
hpp
C++
src/conf.hpp
suricats/surirobot-client-qt
0632257e68173b2529e3529563ded5d69342e780
[ "MIT" ]
2
2018-02-26T17:55:54.000Z
2018-08-23T02:38:02.000Z
src/conf.hpp
suricats/surirobot-client-qt
0632257e68173b2529e3529563ded5d69342e780
[ "MIT" ]
null
null
null
src/conf.hpp
suricats/surirobot-client-qt
0632257e68173b2529e3529563ded5d69342e780
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: conf.hpp * Author: alain * * Created on 26 février 2018, 23:47 */ #ifndef CONF_HPP #define CONF_HPP #define TMP_D...
19.321429
129
0.731978
suricats
3e7be9597a9a2ee11e5d9036937af8d798a59e1e
415
hpp
C++
Flappy-Bird-SFML-Clone-master/Code/STATE CREATION/9 - Game State/DEFINITIONS.hpp
Moklok/Flappy-Bird-SFML-Clone-master
7a1a0c1193503e899a243992a9a5a8980750f81e
[ "Apache-2.0" ]
43
2017-02-02T17:41:21.000Z
2022-02-21T14:50:02.000Z
Code/STATE CREATION/9 - Game State/DEFINITIONS.hpp
frankie111/Flappy-Bird-SFML-Clone
03b5c04de9b96531683115d61ec90df78d40d8e6
[ "Unlicense" ]
1
2019-10-29T08:26:46.000Z
2019-10-29T08:26:46.000Z
Code/STATE CREATION/9 - Game State/DEFINITIONS.hpp
frankie111/Flappy-Bird-SFML-Clone
03b5c04de9b96531683115d61ec90df78d40d8e6
[ "Unlicense" ]
78
2017-05-24T00:00:32.000Z
2021-11-27T08:59:59.000Z
#pragma once #define SCREEN_WIDTH 768 #define SCREEN_HEIGHT 1024 #define SPLASH_STATE_SHOW_TIME 3.0 #define SPLASH_SCENE_BACKGROUND_FILEPATH "Resources/res/Splash Background.png" #define MAIN_MENU_BACKGROUND_FILEPATH "Resources/res/sky.png" #define GAME_BACKGROUND_FILEPATH "Resources/res/sky.png" #define GAME_TITLE...
31.923077
78
0.843373
Moklok
3e7c6908b4d1373f8c6f9b153c02de7a191d3185
441
cpp
C++
src/lib/zap/zap/layouts/cbuild.cpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
src/lib/zap/zap/layouts/cbuild.cpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
src/lib/zap/zap/layouts/cbuild.cpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
#include <zap/layouts/cbuild.hpp> namespace zap::layouts { static zap::string_map cbuild_sub_dirs = { { "src", "sources" }, // base directory for all sub directories below { "inc", "include" }, { "bin", "binaries" }, { "lib", "libraries" }, { "mod", "plugins" }, { "tst", "tests" } }; cbuild::...
20.045455
73
0.609977
chybz
3e7fd723078bd83f65349ca91d37db859c9eb051
27,021
cc
C++
Fireworks/FWInterface/src/FWPSetTableManager.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Fireworks/FWInterface/src/FWPSetTableManager.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Fireworks/FWInterface/src/FWPSetTableManager.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: FWInterface // Class : FWPSetTableManager // // Implementation: // [Notes on implementation] // // Original Author: // Created: Mon Feb 28 17:06:54 CET 2011 // #include <map> #include <stdexcept> #include "Fireworks/FWInterface/src/FWPSetTableManager.h" #include "Fi...
31.864387
135
0.613116
Purva-Chaudhari
3e8021710a0df38f96ac4e1c0a3ef3ad8723e0f9
4,796
cpp
C++
folly/futures/test/BarrierTest.cpp
agenih/facebook
b3141b5d9af8de15dc2247fda265534183ca5f0d
[ "Apache-2.0" ]
2
2021-06-29T13:42:22.000Z
2021-09-06T10:57:34.000Z
folly/futures/test/BarrierTest.cpp
agenih/facebook
b3141b5d9af8de15dc2247fda265534183ca5f0d
[ "Apache-2.0" ]
null
null
null
folly/futures/test/BarrierTest.cpp
agenih/facebook
b3141b5d9af8de15dc2247fda265534183ca5f0d
[ "Apache-2.0" ]
5
2021-06-29T13:42:26.000Z
2022-02-08T02:41:34.000Z
/* * Copyright 2015-present Facebook, 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 a...
27.563218
78
0.626772
agenih
3e825d486a6cc88deb306d45c12eef246f39ce6b
8,746
cc
C++
modules/perception/lidar/lib/classifier/fused_classifier/ccrf_type_fusion.cc
zhulianhai/apollo
ab47e53dff2a9fe836ac69fdf783a654a0220802
[ "Apache-2.0" ]
7
2017-07-07T07:56:13.000Z
2019-03-06T06:27:00.000Z
modules/perception/lidar/lib/classifier/fused_classifier/ccrf_type_fusion.cc
zhulianhai/apollo
ab47e53dff2a9fe836ac69fdf783a654a0220802
[ "Apache-2.0" ]
null
null
null
modules/perception/lidar/lib/classifier/fused_classifier/ccrf_type_fusion.cc
zhulianhai/apollo
ab47e53dff2a9fe836ac69fdf783a654a0220802
[ "Apache-2.0" ]
2
2017-07-07T07:56:15.000Z
2018-08-10T17:13:34.000Z
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
37.217021
86
0.668992
zhulianhai
3e82eef7684b28e59d3ddd7b4fdaba8dad6b1b3b
4,216
hpp
C++
include/fastrtps/utils/fixed_size_string.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
548
2020-06-02T11:59:31.000Z
2022-03-30T00:59:33.000Z
include/fastrtps/utils/fixed_size_string.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
1,068
2020-06-01T12:36:33.000Z
2022-03-31T09:57:34.000Z
include/fastrtps/utils/fixed_size_string.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
230
2020-06-04T02:46:23.000Z
2022-03-30T01:35:58.000Z
// Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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...
37.309735
151
0.662713
jason-fox
3e8381b3759e54824b6a21c1506a2c0c6f9b3273
1,526
cpp
C++
chapter9/t9.22.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
1
2020-02-24T07:54:44.000Z
2020-02-24T07:54:44.000Z
chapter9/t9.22.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
null
null
null
chapter9/t9.22.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
null
null
null
/************************************************************************************* * Copyright (c) 2019 xffish * c_plus_plus_primer_exercise is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * http://lic...
29.921569
86
0.558322
xflcx1991
3e891fd6706112f0bc92fb9de968715f48fe85de
1,922
cpp
C++
src/RcppKyTea.cpp
paithiov909/RcppKyTea
eb3958bea4afd41cffad1003ab5d7c75a23f593e
[ "Apache-2.0" ]
null
null
null
src/RcppKyTea.cpp
paithiov909/RcppKyTea
eb3958bea4afd41cffad1003ab5d7c75a23f593e
[ "Apache-2.0" ]
null
null
null
src/RcppKyTea.cpp
paithiov909/RcppKyTea
eb3958bea4afd41cffad1003ab5d7c75a23f593e
[ "Apache-2.0" ]
null
null
null
// [[Rcpp::plugins(cpp11)]] // [[Rcpp::depends(RcppThread)]] #define R_NO_REMAP #define RCPPTHREAD_OVERRIDE_THREAD 1 #define HAVE_TR1_UNORDERED_MAP #define KYTEA_SAFE #include <Rcpp.h> #include <RcppThread.h> // #include <RcppParallel.h> #include "kytea/kytea.h" #include "kytea/kytea-struct.h" #include "kytea/string-u...
30.03125
84
0.631634
paithiov909
3e8b975a61b9c2379bc2b85c3c6a49af36a810fe
4,168
cpp
C++
mugsy-seqan/projects/tests/chaining/test_chaining.cpp
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
mugsy-seqan/projects/tests/chaining/test_chaining.cpp
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
mugsy-seqan/projects/tests/chaining/test_chaining.cpp
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
#include <vector> #include <iostream> #include <fstream> #include <cstdlib> #include <cstdio> #include <ctime> #include <cmath> //#define SEQAN_DEBUG #define SEQAN_TEST //#define SEQAN_NOSRAN //suppress srand #include <seqan/sequence.h> #include <seqan/chaining.h> using namespace seqan; using namespa...
25.570552
128
0.572697
kloetzl
3e8e84fc8b2cdc4fac9131b30033694e88c65397
2,361
cpp
C++
test/transport/test-socket.cpp
bitboom/rmi
12e72cfae704780e59214c19fb5c15697f1eda21
[ "Apache-2.0" ]
1
2020-09-16T08:32:21.000Z
2020-09-16T08:32:21.000Z
test/transport/test-socket.cpp
bitboom/rmi
12e72cfae704780e59214c19fb5c15697f1eda21
[ "Apache-2.0" ]
null
null
null
test/transport/test-socket.cpp
bitboom/rmi
12e72cfae704780e59214c19fb5c15697f1eda21
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd 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 * * ...
22.065421
76
0.689962
bitboom
3e8fb7413e4feb5e3e9a2494e3579ac772e68f75
1,029
cpp
C++
Contest/The 2019 Asia Nanchang First Round Online Programming Contest/H.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Contest/The 2019 Asia Nanchang First Round Online Programming Contest/H.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Contest/The 2019 Asia Nanchang First Round Online Programming Contest/H.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> #define MAXP 31595 using namespace std; const long long M=998244353; struct matrix { long long m[2][2]; matrix(){ m[0][0]=m[1][1]=1; m[1][0]=m[0][1]=0; } matrix operator * (const matrix &a)const{ matrix res; res.m[0][0]=(m[0][0]*a.m[0][0]%M+m[0][1]*a.m[1][0]%M)%M; res.m[0][1]=(m...
19.415094
58
0.510204
HeRaNO
3e900a1655b45955260b080f0d14ff85a46140db
4,401
hh
C++
src/mem/cache/compressors/repeated_qwords.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/mem/cache/compressors/repeated_qwords.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/mem/cache/compressors/repeated_qwords.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
/* * Copyright (c) 2019-2020 Inria * 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 conditions and the...
32.6
79
0.733924
hyu-iot
3e9073f78243e0da5f70256a9b8bd7bd4df984db
1,041
cpp
C++
labs/memory_bound/swmem_prefetch_1/validate.cpp
dendibakh/perf-ninja
9245372aab96fdc9cfa01b60986b6f806abdc0b2
[ "CC-BY-3.0" ]
472
2021-07-20T07:12:13.000Z
2022-03-31T08:51:32.000Z
labs/memory_bound/swmem_prefetch_1/validate.cpp
dendibakh/perf-ninja
9245372aab96fdc9cfa01b60986b6f806abdc0b2
[ "CC-BY-3.0" ]
24
2021-07-28T22:30:43.000Z
2022-03-30T08:51:14.000Z
labs/memory_bound/swmem_prefetch_1/validate.cpp
dendibakh/perf-ninja
9245372aab96fdc9cfa01b60986b6f806abdc0b2
[ "CC-BY-3.0" ]
45
2021-07-26T00:51:56.000Z
2022-03-28T02:47:16.000Z
#include "solution.hpp" #include <iostream> #include <memory> static int getSumOfDigits(int n) { int sum = 0; while (n != 0) { sum = sum + n % 10; n = n / 10; } return sum; } static int original_solution(const hash_map_t *hash_map, const std::vector<int> &lookups) { int...
22.630435
75
0.622478
dendibakh
3e911a7a4e719d2bae4f2acd9b09ebe4cf06e34a
11,807
cpp
C++
MouClassInputInjection/mouclass.cpp
killvxk/MouClassInputInjection
af28ac8a238e49b00b412d2855ac2e5ca392d2c1
[ "MIT" ]
145
2019-07-01T03:06:33.000Z
2022-03-09T14:10:28.000Z
MouClassInputInjection/mouclass.cpp
killvxk/MouClassInputInjection
af28ac8a238e49b00b412d2855ac2e5ca392d2c1
[ "MIT" ]
3
2019-07-26T20:58:53.000Z
2021-05-16T20:06:20.000Z
MouClassInputInjection/mouclass.cpp
killvxk/MouClassInputInjection
af28ac8a238e49b00b412d2855ac2e5ca392d2c1
[ "MIT" ]
55
2019-07-01T04:32:35.000Z
2022-03-28T19:21:03.000Z
/*++ Copyright (c) 2019 changeofpace. All rights reserved. Use of this source code is governed by the MIT license. See the 'LICENSE' file for more information. --*/ #include "mouclass.h" #include <wdmguid.h> #include "debug.h" #include "log.h" #if defined(DBG) #include "io_util.h" #include "nt.h" #endif //====...
24.804622
79
0.635386
killvxk
3e916ab3afa618ad129687af7812dab6dc53b6a4
1,069
cpp
C++
src/ParticleSystem.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
src/ParticleSystem.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
src/ParticleSystem.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
#include "ParticleSystem.h" void ParticleSystem::init(int _amount, float _x, float _y){ amount = _amount; for (int i = 0; i < _amount; i++) { Particle* particle = new Particle(); particle->x = _x + (rand() * 500 / RAND_MAX * 1) / 2; particle->y = _y + (rand() * 500 / RAND_MAX * 1) / 2; particles.push_back(pa...
24.860465
78
0.625819
Alissa0101
3e9258bd253912c043c919417199845b6d819ecc
881
cpp
C++
src/index/tools/forward_to_libsvm.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/index/tools/forward_to_libsvm.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/index/tools/forward_to_libsvm.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file forward_to_libsvm.cpp * @author Chase Geigle */ #include <iostream> #include "meta/index/forward_index.h" #include "meta/logging/logger.h" #include "meta/util/progress.h" using namespace meta; int main(int argc, char** argv) { if (argc != 3) { std::cerr << "Usage:\t" << argv[0] << " co...
22.589744
72
0.54143
Lolik111
3e92efb21dacdd311c34eeaedf1141af2fe28847
412
cpp
C++
cpp/eming/pD.cpp
HarborYuan/Practice
0ac2079942080edc2e245746dbc567ab8b873db1
[ "MIT" ]
null
null
null
cpp/eming/pD.cpp
HarborYuan/Practice
0ac2079942080edc2e245746dbc567ab8b873db1
[ "MIT" ]
null
null
null
cpp/eming/pD.cpp
HarborYuan/Practice
0ac2079942080edc2e245746dbc567ab8b873db1
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #define INF 1000000007 using namespace std; long a[100009],b[100009]; int main() { long n,m,i,j,k,l,r; cin>>n; for (i=1;i<=n;i++) cin>>a[i]; b[n]=a[n]; for (i=n-1;i>=1;i--) b[i]=(b[i+1]+a[i])%INF; b[n+1]=0; cin>>m; for (i=1;i<=m;i++) { cin>>l>>r; k=0; for (j...
14.206897
44
0.507282
HarborYuan
3e9331a2953592e38dcd216393251ffc99dd8440
41,407
cpp
C++
compute/test/test_copy_type_mismatch.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
compute/test/test_copy_type_mismatch.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
compute/test/test_copy_type_mismatch.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2016 Jakub Szuppe <j.szuppe@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 // // See http://boostorg.gi...
31.440395
89
0.644819
atksh
3e96b77e96f760928f2ca55498f2a970925b1ec8
3,321
hpp
C++
src/renderer/tvg_renderer.hpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
src/renderer/tvg_renderer.hpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
src/renderer/tvg_renderer.hpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
#ifndef _RIVE_THORVG_RENDERER_HPP_ #define _RIVE_THORVG_RENDERER_HPP_ #include <thorvg.h> #include <vector> #include "renderer.hpp" using namespace tvg; using namespace std; namespace rive { struct TvgPaint { uint8_t color[4]; float thickness = 1.0f; tvg::Fill *gradientFill = nullptr; t...
26.782258
86
0.65131
JSUYA
3e98f28adb9a4b863c3e5199099a9d08caf96e60
7,209
cpp
C++
jobsubmission/src/logmonitor/processer/EventTerminated.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
1
2019-01-18T02:19:18.000Z
2019-01-18T02:19:18.000Z
jobsubmission/src/logmonitor/processer/EventTerminated.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
jobsubmission/src/logmonitor/processer/EventTerminated.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners/ for details on the copyright holders. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
40.5
138
0.693994
italiangrid
3e9a7636c39afc564cf8a5c6643edaca026733cb
1,274
cc
C++
thirdparty/aria2/test/GZipDecoderTest.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
thirdparty/aria2/test/GZipDecoderTest.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
2
2021-04-08T08:46:23.000Z
2021-04-08T08:57:58.000Z
thirdparty/aria2/test/GZipDecoderTest.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
#include "GZipDecoder.h" #include <iostream> #include <fstream> #include <cppunit/extensions/HelperMacros.h> #include "TestUtil.h" #include "Exception.h" #include "util.h" #include "MessageDigest.h" namespace aria2 { class GZipDecoderTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(GZipDecoderTest); CP...
21.59322
79
0.690738
deltegic
3e9acc08f3ae771c818b17deb068751f1861ed0a
2,687
cpp
C++
gstreaming/source/rtsp/server/src/rtsp_server.cpp
cbachhuber/telecarla
44546341834ba852073f35ab02ab4ab0b040cb61
[ "MIT" ]
null
null
null
gstreaming/source/rtsp/server/src/rtsp_server.cpp
cbachhuber/telecarla
44546341834ba852073f35ab02ab4ab0b040cb61
[ "MIT" ]
null
null
null
gstreaming/source/rtsp/server/src/rtsp_server.cpp
cbachhuber/telecarla
44546341834ba852073f35ab02ab4ab0b040cb61
[ "MIT" ]
null
null
null
#include "rtsp_server.h" #include "gst_rtsp_server_util.h" using namespace lmt::rtsp::server; using namespace lmt::rtsp::common; RTSPState RTSPServer::start(int serverPort, const std::string& src) { if (state_ == RTSPState::stopped) { state_ = RTSPState::starting; server_.reset(gst_rtsp_serve...
32.768293
113
0.681057
cbachhuber
3e9b90a1836517b688792cf980d70ec16e64defa
1,176
cpp
C++
Desouky/Easy/Treasure hunt.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
1
2022-03-16T08:56:31.000Z
2022-03-16T08:56:31.000Z
Desouky/Easy/Treasure hunt.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
2
2022-03-17T11:27:14.000Z
2022-03-18T07:41:00.000Z
Desouky/Easy/Treasure hunt.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
6
2022-03-13T19:56:11.000Z
2022-03-17T12:08:22.000Z
#include <iostream> #include <string> #include <vector> #include <bits/stdc++.h> using namespace std; int h; int w; string grid[105]; bool vis[105][105]; bool valid(int r, int c){ return r >= 0 and r < h and c >= 0 and c < w and !vis[r][c] and grid[r][c] != '#'; } int ans = 0; void solve(int r, int c, int total){ ...
19.932203
86
0.456633
AhmedMostafa7474
3e9bfec8dae57e761ce0592af3937e493a5fa433
7,158
cpp
C++
libraries/render/src/render/ResampleTask.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
libraries/render/src/render/ResampleTask.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
libraries/render/src/render/ResampleTask.cpp
raveenajain/hifi-1
b95586239a08da8b0d61640119aad672099c107c
[ "Apache-2.0" ]
null
null
null
// // ResampleTask.cpp // render/src/render // // Various to upsample or downsample textures into framebuffers. // // Created by Olivier Prat on 10/09/17. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/l...
40.213483
203
0.706901
raveenajain
3ea0a5aed19f1409f09538a89eeceab9d26eae20
1,910
cpp
C++
src/RCube/Core/Graphics/MeshGen/Box.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
4
2019-03-13T00:43:16.000Z
2021-12-02T00:27:52.000Z
src/RCube/Core/Graphics/MeshGen/Box.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
14
2019-11-12T17:32:29.000Z
2021-03-18T07:22:24.000Z
src/RCube/Core/Graphics/MeshGen/Box.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
1
2019-11-10T22:20:27.000Z
2019-11-10T22:20:27.000Z
#include "RCube/Core/Graphics/MeshGen/Box.h" #include "RCube/Core/Graphics/MeshGen/Plane.h" namespace rcube { TriangleMeshData box(float width, float height, float depth, unsigned int width_segments, unsigned int height_segments, unsigned int depth_segments) { std::vector<TriangleMeshData> da...
28.939394
98
0.583246
Ahdhn
3ea1059fd88d76adcc7f047aab2216e59a63c15c
2,575
cpp
C++
shared/liboxide/signalhandler.cpp
Eeems-Org/oxide
d3bfa47e60bf311feb7768234dfe95a15adeb9da
[ "MIT" ]
18
2022-01-11T17:24:50.000Z
2022-03-30T04:35:25.000Z
shared/liboxide/signalhandler.cpp
Eeems-Org/oxide
d3bfa47e60bf311feb7768234dfe95a15adeb9da
[ "MIT" ]
21
2022-01-07T19:20:04.000Z
2022-03-24T14:32:28.000Z
shared/liboxide/signalhandler.cpp
Eeems-Org/oxide
d3bfa47e60bf311feb7768234dfe95a15adeb9da
[ "MIT" ]
2
2022-01-15T16:45:34.000Z
2022-03-01T22:37:48.000Z
#include "signalhandler.h" #include <QCoreApplication> #include <signal.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> static int sigUsr1Fd[2]; static int sigUsr2Fd[2]; namespace Oxide { int SignalHandler::setup_unix_signal_handlers(){ if(!signalHandler){ new SignalHandle...
30.294118
112
0.607379
Eeems-Org
3ea1f30035392d3e938a16f1803ca4c2ac8293d3
1,787
cpp
C++
test/illex/test_producer.cpp
SigmaX-ai/illex
37f8554b769aa93295949cc0b6169648da712c90
[ "Apache-2.0" ]
null
null
null
test/illex/test_producer.cpp
SigmaX-ai/illex
37f8554b769aa93295949cc0b6169648da712c90
[ "Apache-2.0" ]
4
2021-01-18T20:44:35.000Z
2021-03-01T15:15:53.000Z
test/illex/test_producer.cpp
SigmaX-ai/illex
37f8554b769aa93295949cc0b6169648da712c90
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Teratide B.V. // // 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 i...
33.092593
88
0.69446
SigmaX-ai
3ea4409d989d424e8cb9a5ded9e78eaac0589d02
1,152
hpp
C++
OSS13 Server/Sources/World/Objects/Control.hpp
edge-fortress/OSS-13
eaf8f000b0049656939a82a38e5d6fc836178bde
[ "MIT" ]
21
2019-05-07T23:39:11.000Z
2021-11-16T13:08:36.000Z
OSS13 Server/Sources/World/Objects/Control.hpp
edge-fortress/OSS-13
eaf8f000b0049656939a82a38e5d6fc836178bde
[ "MIT" ]
52
2019-04-28T21:42:10.000Z
2021-08-06T07:56:55.000Z
OSS13 Server/Sources/World/Objects/Control.hpp
edge-fortress/OSS-13
eaf8f000b0049656939a82a38e5d6fc836178bde
[ "MIT" ]
5
2019-05-09T16:03:53.000Z
2021-07-27T08:48:02.000Z
#pragma once #include <SFML/System.hpp> #include <Shared/Types.hpp> #include "Component.hpp" #include "ControlUI.h" #include "../Tile.hpp" class Player; class Control : public Component { public: friend Player; explicit Control(); void Update(std::chrono::microseconds timeElapsed) override; void MoveCommand...
20.945455
85
0.75
edge-fortress
3ea4f071d9d76e4b5aa4f848e4d3eb279693949f
6,841
cpp
C++
compiler/locomotiv/src/Node/TransposedConv2D.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
1
2020-05-22T13:53:40.000Z
2020-05-22T13:53:40.000Z
compiler/locomotiv/src/Node/TransposedConv2D.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
null
null
null
compiler/locomotiv/src/Node/TransposedConv2D.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
1
2021-07-22T11:02:43.000Z
2021-07-22T11:02:43.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * Copyright 2018 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
36.005263
100
0.669054
periannath
3ea6455330e40eb7c0d5032535d70791ad72bab9
1,500
hpp
C++
nheqminer/3rdparty/boost/python/detail/destroy.hpp
EuroLine/nheqminer
81c7ef889bb502d16f7d1e7ef020d0592f8af945
[ "MIT" ]
1,210
2020-08-18T07:57:36.000Z
2022-03-31T15:06:05.000Z
ios/Pods/boost-for-react-native/boost/python/detail/destroy.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
1,074
2015-08-25T15:08:14.000Z
2019-07-22T20:28:39.000Z
ios/Pods/boost-for-react-native/boost/python/detail/destroy.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
// Copyright David Abrahams 2002. // 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) #ifndef DESTROY_DWA2002221_HPP # define DESTROY_DWA2002221_HPP # include <boost/type_traits/is_array.hpp> # include <boost/detail...
23.4375
80
0.638
EuroLine
3ea7fa03e4eefff21e685eecfb50056a7ca1dc71
614
cc
C++
runtime_probe/system/fake_helper_invoker.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
runtime_probe/system/fake_helper_invoker.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
runtime_probe/system/fake_helper_invoker.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "runtime_probe/system/fake_helper_invoker.h" #include <string> #include "runtime_probe/probe_function.h" namespace runtime_probe { bool Fa...
29.238095
73
0.692182
Toromino
3ea80462f326b167caede48706c01de8574bc890
3,128
cc
C++
chrome/browser/ash/app_mode/arc/arc_kiosk_app_launcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ash/app_mode/arc/arc_kiosk_app_launcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ash/app_mode/arc/arc_kiosk_app_launcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ash/app_mode/arc/arc_kiosk_app_launcher.h" #include <memory> #include <string> #include "chrome/browser/ui/app_list/arc/arc_app...
33.634409
77
0.674233
zealoussnow
3ea887a30e36ddd4a174db272d16b657c1e7567f
11,856
cpp
C++
src/optimizer/optimizer.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
1
2017-08-08T12:10:07.000Z
2017-08-08T12:10:07.000Z
src/optimizer/optimizer.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
null
null
null
src/optimizer/optimizer.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // optimizer.cpp // // Identification: src/optimizer/optimizer.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===----------------------------------------------------...
36.48
80
0.681765
xhad1234
3ea90eb27129cd81975d1868c7a3216a60fd5c7d
2,429
cpp
C++
libnd4j/tests_cpu/layers_tests/MultiDeviceTests.cpp
Celebrate-future/deeplearning4j
d93976922a9af838457a15e69ef1218c3d9adc45
[ "Apache-2.0" ]
1
2021-09-01T06:59:10.000Z
2021-09-01T06:59:10.000Z
libnd4j/tests_cpu/layers_tests/MultiDeviceTests.cpp
Celebrate-future/deeplearning4j
d93976922a9af838457a15e69ef1218c3d9adc45
[ "Apache-2.0" ]
1
2021-03-18T12:52:25.000Z
2021-03-18T12:52:25.000Z
libnd4j/tests_cpu/layers_tests/MultiDeviceTests.cpp
Celebrate-future/deeplearning4j
d93976922a9af838457a15e69ef1218c3d9adc45
[ "Apache-2.0" ]
null
null
null
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NOT...
33.273973
120
0.629889
Celebrate-future
3ea9a59b3db363f5257de3cff64c3d7210398ad1
14,503
cc
C++
source/blender/blenlib/tests/BLI_set_test.cc
Smittyvb/blender
0e92be7b65a8bb15dd9b07400f250c0958f10589
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
source/blender/blenlib/tests/BLI_set_test.cc
Smittyvb/blender
0e92be7b65a8bb15dd9b07400f250c0958f10589
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
source/blender/blenlib/tests/BLI_set_test.cc
Smittyvb/blender
0e92be7b65a8bb15dd9b07400f250c0958f10589
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/* Apache License, Version 2.0 */ #include <set> #include <unordered_set> #include "BLI_exception_safety_test_utils.hh" #include "BLI_ghash.h" #include "BLI_rand.h" #include "BLI_set.hh" #include "BLI_strict_flags.h" #include "BLI_timeit.hh" #include "BLI_vector.hh" #include "testing/testing.h" namespace blender { n...
23.167732
102
0.65283
Smittyvb
3eaafb7b82270328e2d8bc3fabfd47ffb45bb299
551
cpp
C++
templates/template.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
templates/template.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
templates/template.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
// #define _FILE_DEBUG_ //#define _C_LAN_ //#define _DEBUG_OUTPUT_ #ifdef _FILE_DEBUG_ #include <fstream> #endif #include <iostream> #include <stdio.h> using namespace std; #include <string> int main(int argc, char *argv[]) { #ifdef _FILE_DEBUG_ ifstream fin; fin.open("input.txt"); cin.rdbuf(fin.rdbuf()); #ifdef _...
13.775
36
0.69873
FeiZhan
3eab1d54b1b7739bdcbb0ddb5c1a87a3520d412a
2,692
cpp
C++
raftcore/raftlog.cpp
loading86/dugong
3779d73c2ca881eb16a54c9eb00b0ef0456c36ca
[ "BSD-2-Clause" ]
null
null
null
raftcore/raftlog.cpp
loading86/dugong
3779d73c2ca881eb16a54c9eb00b0ef0456c36ca
[ "BSD-2-Clause" ]
null
null
null
raftcore/raftlog.cpp
loading86/dugong
3779d73c2ca881eb16a54c9eb00b0ef0456c36ca
[ "BSD-2-Clause" ]
null
null
null
#include "raftlog.h" namespace raftcore { RaftLog::RaftLog(std::shared_ptr<MemoryStorage> storage, std::shared_ptr<Logger> logger) { m_storage = storage; m_logger = logger; m_volatile_state = std::shared_ptr<VolatileState>(new VolatileState(logger)); uint64_t first_inde...
27.469388
114
0.540862
loading86
3eabfd55021d73c85406dcf55d4406631ecf981f
3,550
cpp
C++
libhttpserver/HttpServer.cpp
c3358/httpsys
e063d575aae56b07de68f5c9b36b535e9cbb5ede
[ "Apache-2.0" ]
1
2021-01-27T16:27:51.000Z
2021-01-27T16:27:51.000Z
libhttpserver/HttpServer.cpp
c3358/httpsys
e063d575aae56b07de68f5c9b36b535e9cbb5ede
[ "Apache-2.0" ]
null
null
null
libhttpserver/HttpServer.cpp
c3358/httpsys
e063d575aae56b07de68f5c9b36b535e9cbb5ede
[ "Apache-2.0" ]
null
null
null
#include "HttpServer.h" #include "ThreadContext.h" #include <iostream> #include <functional> #include <memory> #include <Utils.h> HttpServer::HttpServer( uint32_t numThreads ) : m_hReqQueue(NULL), m_pThreadPool(std::make_unique<httpsys::ThreadPool<ThreadContext>>(numThreads)) { std::cout << "Initial...
22.327044
89
0.655775
c3358
3eb0d09e0c5d1cf650c0788bba5f823f9b96d3a9
914
hpp
C++
benchmark/source/suites/tpchorders.hpp
melzareix/jit-regex
e5a4639018ebe10215171dbeae921466c6d2e443
[ "MIT" ]
2
2021-12-06T13:07:53.000Z
2021-12-13T13:53:14.000Z
benchmark/source/suites/tpchorders.hpp
melzareix/code-compiling-regex
e5a4639018ebe10215171dbeae921466c6d2e443
[ "Unlicense" ]
null
null
null
benchmark/source/suites/tpchorders.hpp
melzareix/code-compiling-regex
e5a4639018ebe10215171dbeae921466c6d2e443
[ "Unlicense" ]
null
null
null
#include "bench.h" #define DS_TPCHORDERS "/home/elzarei/tpch-data/out/orders.tbl.csv.txt" BENCHMARK_CAPTURE(BENCH_RE2, "p=special.*packages", u8"special.*packages", ZRegex::CodegenOpts() /*encoding*/, DS_TPCHORDERS) ->UseRealTime() ->Unit(benchmark::kMillisecond); BENCHMARK_CAPTURE(BENCH_PCRE...
41.545455
87
0.677243
melzareix
3eb18f68f3900d6ffdaf1e4abc02b4281582b149
647
cpp
C++
mesh/plan.cpp
Baloululu/ParticulesSystem
c91b7733ce3eeb3e1078de190ec1124a56582f9f
[ "MIT" ]
null
null
null
mesh/plan.cpp
Baloululu/ParticulesSystem
c91b7733ce3eeb3e1078de190ec1124a56582f9f
[ "MIT" ]
null
null
null
mesh/plan.cpp
Baloululu/ParticulesSystem
c91b7733ce3eeb3e1078de190ec1124a56582f9f
[ "MIT" ]
null
null
null
#include "plan.h" Plan::Plan() : Mesh() { nbVertices = 4; nbIndices = 6; vertices.push_back(VertexData {QVector3D(-1.0f, -1.0f, 0.0f), QVector4D(0.0f, 0.0f, 0.0f, 1.0f)} ); vertices.push_back(VertexData {QVector3D(1.0f, -1.0f, 0.0f), QVector4D(0.0f, 0.0f, 0.0f, 1.0f)} ); vertices.push_back(VertexData {QVector3D(...
29.409091
100
0.659969
Baloululu
3eb20711b5a82b30e5555bc17e0ea226c4f9158f
166
cc
C++
src/TMPL/test/tstDemo.cc
wawiesel/BOTG-SkeletonRepo
27b99d7456fba1f23d91fab84762f5227f86131e
[ "MIT" ]
1
2017-03-20T02:56:41.000Z
2017-03-20T02:56:41.000Z
src/TMPL/test/tstDemo.cc
wawiesel/BOTG-SkeletonRepo
27b99d7456fba1f23d91fab84762f5227f86131e
[ "MIT" ]
null
null
null
src/TMPL/test/tstDemo.cc
wawiesel/BOTG-SkeletonRepo
27b99d7456fba1f23d91fab84762f5227f86131e
[ "MIT" ]
null
null
null
#include "TMPL/Demo.hh" #include "t123/TestFile.hh" namespace TMPL { namespace test { TEST( Demo, Basic ) { EXPECT_EQ( 10, cxx_function(5) ); } }//test }//TMPL
11.066667
37
0.656627
wawiesel
3eb2ae07475bd19b3d8dcb9057246a43f85a1c7d
1,261
cpp
C++
t1_math/program.cpp
depthBuffer/T1-
9fdebf931e8dd5edaa7613cc0dd435f8f00106e4
[ "Apache-2.0" ]
null
null
null
t1_math/program.cpp
depthBuffer/T1-
9fdebf931e8dd5edaa7613cc0dd435f8f00106e4
[ "Apache-2.0" ]
null
null
null
t1_math/program.cpp
depthBuffer/T1-
9fdebf931e8dd5edaa7613cc0dd435f8f00106e4
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "test/test_vector.h" #include "test/test_matrix.h" #include "test/test_operations.h" #include "test/test_common.h" #include "test/test_transformations.h" // todo: check googletest for testing. bool TEST_SUCCESS = true; #define TEST(name) \ if (name()) { std::cout << "|O| SUCCESS: "#name...
25.734694
92
0.66138
depthBuffer
3eb6b2cc35bce376203910aefd9fff52cac42e3b
2,261
hpp
C++
plugins/fmtconv/src/conc/LockFreeStack.hpp
darcyg/vapoursynth-plugins
5aaf090d3523cb8c53841949f2da286688ba33bb
[ "BSD-2-Clause" ]
null
null
null
plugins/fmtconv/src/conc/LockFreeStack.hpp
darcyg/vapoursynth-plugins
5aaf090d3523cb8c53841949f2da286688ba33bb
[ "BSD-2-Clause" ]
null
null
null
plugins/fmtconv/src/conc/LockFreeStack.hpp
darcyg/vapoursynth-plugins
5aaf090d3523cb8c53841949f2da286688ba33bb
[ "BSD-2-Clause" ]
1
2020-04-06T16:52:59.000Z
2020-04-06T16:52:59.000Z
/***************************************************************************** LockFreeStack.hpp Author: Laurent de Soras, 2011 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under t...
19.161017
78
0.516586
darcyg
3eb75d0737622ac32f68b21fac80d3304a736c21
7,631
cpp
C++
src/student/skeleton.cpp
CaoYuchen/Scotty3D
386ddeed7cca428307a149a167c3f40c27928f07
[ "MIT" ]
null
null
null
src/student/skeleton.cpp
CaoYuchen/Scotty3D
386ddeed7cca428307a149a167c3f40c27928f07
[ "MIT" ]
null
null
null
src/student/skeleton.cpp
CaoYuchen/Scotty3D
386ddeed7cca428307a149a167c3f40c27928f07
[ "MIT" ]
null
null
null
#include "../scene/skeleton.h" Vec3 closest_on_line_segment(Vec3 start, Vec3 end, Vec3 point) { // TODO(Animation): Task 3 // Return the closest point to 'point' on the line segment from start to end if(start == end) return end; // not a line segment Vec3 sp = point - start; // a Vec3 se = end ...
31.795833
91
0.595073
CaoYuchen
3eb88a500b37d6d747004620ef22a76de60007fd
307,527
cpp
C++
RSDKv4/Drawing.cpp
0xR00KIE/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
2
2022-01-15T05:05:39.000Z
2022-03-19T07:36:31.000Z
RSDKv4/Drawing.cpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
RSDKv4/Drawing.cpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
#include "RetroEngine.hpp" ushort blendLookupTable[BLENDTABLE_SIZE]; ushort subtractLookupTable[BLENDTABLE_SIZE]; ushort tintLookupTable[TINTTABLE_SIZE]; int SCREEN_XSIZE = 426; int SCREEN_CENTERX = 426 / 2; int touchWidth = SCREEN_XSIZE; int touchHeight = SCREEN_YSIZE; DrawListEntry drawListEntries[DRAWLAYER_CO...
45.357965
150
0.500844
0xR00KIE
3eba2a33218c6feee1372eef846afac0c0347b4a
6,529
cpp
C++
test/rpc_test/rpc_api_validation_test.cpp
mile-core/mile-explorer
20aa43dea3af950727b90f188211242c8a3dc849
[ "MIT" ]
1
2019-01-18T00:31:53.000Z
2019-01-18T00:31:53.000Z
test/rpc_test/rpc_api_validation_test.cpp
mile-core/mile-explorer
20aa43dea3af950727b90f188211242c8a3dc849
[ "MIT" ]
null
null
null
test/rpc_test/rpc_api_validation_test.cpp
mile-core/mile-explorer
20aa43dea3af950727b90f188211242c8a3dc849
[ "MIT" ]
1
2019-01-17T11:30:42.000Z
2019-01-17T11:30:42.000Z
// // Created by lotus mile on 13/10/2018. // #define BOOST_TEST_MODULE rpc_session #include "milecsa_jsonrpc.hpp" #include "milecsa_queue.h" #include <optional> #include <fstream> #include <boost/test/included/unit_test.hpp> #define __MASSIVE_Q_TEST 1 static const nlohmann::json tests = R"([ {"method": "help", ...
29.812785
156
0.604993
mile-core
3eba40f20e229e77fc4deb75c23a07951bd19091
1,818
cpp
C++
rclcpp/test/rclcpp/test_logger.cpp
codebot/rclcpp
633e1157f8aeee9249afddcd0730c3f9bb894fce
[ "Apache-2.0" ]
null
null
null
rclcpp/test/rclcpp/test_logger.cpp
codebot/rclcpp
633e1157f8aeee9249afddcd0730c3f9bb894fce
[ "Apache-2.0" ]
2
2020-03-16T17:06:47.000Z
2020-04-13T16:25:31.000Z
rclcpp/test/rclcpp/test_logger.cpp
mauropasse/rclcpp
a0376768f7d077d7543bb9a2cdd9d2a72b495538
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Open Source Robotics Foundation, 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 appli...
36.36
75
0.743674
codebot
3ebcc01edad99381289f8cf0fce2666bd9a70fa5
1,932
cpp
C++
components/rollkit/src/session_manager.cpp
NeilBetham/rollk
e82026397c892b5f0d3b53891d5efa51d941fd9d
[ "MIT" ]
4
2018-06-12T21:48:01.000Z
2021-04-01T15:18:50.000Z
components/rollkit/src/session_manager.cpp
NeilBetham/rollk
e82026397c892b5f0d3b53891d5efa51d941fd9d
[ "MIT" ]
null
null
null
components/rollkit/src/session_manager.cpp
NeilBetham/rollk
e82026397c892b5f0d3b53891d5efa51d941fd9d
[ "MIT" ]
1
2018-08-18T13:05:31.000Z
2018-08-18T13:05:31.000Z
#include "rollkit/session_manager.hpp" #include <string> #include <cstring> #include <utility> #include <functional> #include <esp_log.h> #include "rollkit/request.hpp" using namespace std; namespace rollkit { SessionManager::SessionManager(interfaces::ISessionDelegate* delegate) : _session_delegate(delegate) {} ...
25.421053
110
0.65942
NeilBetham
3ebde6284f9fa389e0896782e2c4b0b5ee1bbe47
7,115
cpp
C++
calculus/if.cpp
lilissun/spa
d44974c51017691ff4ada29c212c54bb0ee931c2
[ "Apache-2.0" ]
null
null
null
calculus/if.cpp
lilissun/spa
d44974c51017691ff4ada29c212c54bb0ee931c2
[ "Apache-2.0" ]
null
null
null
calculus/if.cpp
lilissun/spa
d44974c51017691ff4ada29c212c54bb0ee931c2
[ "Apache-2.0" ]
1
2020-04-24T02:28:32.000Z
2020-04-24T02:28:32.000Z
// // if.cpp // calculus // // Created by Li Li on 9/5/15. // Copyright (c) 2015 Lilissun. All rights reserved. // #include "if.h" #include <sstream> #include "common/iostream.h" #include "common/debug.h" #include "symbolic/term.h" #include "symbolic/function.h" #include "symbolic/tuple.h" #include "symbolic/gua...
48.401361
232
0.568096
lilissun
3ebe87f68766be6b33877ebc316614bf278c657c
1,029
cpp
C++
TorentMakerConsoleApplication/Geometry/QuadStripFltIdx.cpp
sssr33/TorrentMaker
75dc4b7b45c3c277342470f705e4a35264f942f7
[ "MIT" ]
null
null
null
TorentMakerConsoleApplication/Geometry/QuadStripFltIdx.cpp
sssr33/TorrentMaker
75dc4b7b45c3c277342470f705e4a35264f942f7
[ "MIT" ]
null
null
null
TorentMakerConsoleApplication/Geometry/QuadStripFltIdx.cpp
sssr33/TorrentMaker
75dc4b7b45c3c277342470f705e4a35264f942f7
[ "MIT" ]
null
null
null
#include "QuadStripFltIdx.h" QuadStripFltIdx::QuadStripFltIdx(ID3D11Device *d3dDev) { HRESULT hr = S_OK; float idx[] = { 0, 1, 2, 3 }; D3D11_BUFFER_DESC bufDesc; D3D11_SUBRESOURCE_DATA subResData; bufDesc.ByteWidth = sizeof(idx); bufDesc.Usage = D3D11_USAGE_IMMUTABLE; bufDesc.BindFlags = D3D11_BIND_VERTEX_BUFF...
27.810811
91
0.773567
sssr33
3ebecb308309f9ce85e2a139966937a055cf05f6
2,005
cpp
C++
DeepSpace/src/main/cpp/commands/ElevatorCalibrate.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
3
2019-01-08T00:09:56.000Z
2020-03-12T03:05:20.000Z
DeepSpace/src/main/cpp/commands/ElevatorCalibrate.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
12
2019-01-17T00:33:54.000Z
2019-06-27T01:56:18.000Z
DeepSpace/src/main/cpp/commands/ElevatorCalibrate.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
35.175439
80
0.64788
NorthernForce
3ebfa308b44bd8a4d3895e4629214ed2b078eeb7
4,775
hh
C++
src/dev/i2cbus.hh
alianmohammad/pd-gem5-latest
cfcf6aa004c168d6abdfedcd595de4b30f5e88ee
[ "BSD-3-Clause" ]
1
2019-01-26T10:34:02.000Z
2019-01-26T10:34:02.000Z
src/dev/i2cbus.hh
alianmohammad/pd-gem5-latest
cfcf6aa004c168d6abdfedcd595de4b30f5e88ee
[ "BSD-3-Clause" ]
null
null
null
src/dev/i2cbus.hh
alianmohammad/pd-gem5-latest
cfcf6aa004c168d6abdfedcd595de4b30f5e88ee
[ "BSD-3-Clause" ]
1
2021-07-06T10:40:34.000Z
2021-07-06T10:40:34.000Z
/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
31.006494
78
0.693194
alianmohammad
3ec63a1fde71f47b2fb21825c682d2e1656e24ee
907
hpp
C++
TGEngine/util/Math.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/util/Math.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/util/Math.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Annotations.hpp" #include <cstdint> #include <cmath> #include "glm/glm.hpp" #include "TGVertex.hpp" #define PI 3.14159265358979323846 #define PIx2 6.28318530717958647692 #define SQRT_PIx2 2.506628274631 #define EULER 2.71828182845904523536 namespace math { SINCE(0, 0, 4) TGVertex midpoint(T...
21.093023
81
0.696803
ThePixly
3ec9d8a7201fee60969ae015434a7096c5f534d2
4,574
cc
C++
example/curl_multi_socket_action_epoll.cc
NobodyXu/curl-cpp
c82189c01df6ae8ef64b6f112ecb3be1db797956
[ "MIT" ]
null
null
null
example/curl_multi_socket_action_epoll.cc
NobodyXu/curl-cpp
c82189c01df6ae8ef64b6f112ecb3be1db797956
[ "MIT" ]
null
null
null
example/curl_multi_socket_action_epoll.cc
NobodyXu/curl-cpp
c82189c01df6ae8ef64b6f112ecb3be1db797956
[ "MIT" ]
null
null
null
/** * Example/test for using Multi_t::multi_socket_action interface with epoll and vector. */ #include "../curl_easy.hpp" #include "../curl_url.hpp" #include "../curl_multi.hpp" #include <cassert> #include "utility.hpp" #include <err.h> #include <cerrno> #include <cinttypes> #include <sys/epoll.h> using curl::Eas...
30.493333
95
0.565151
NobodyXu
3ec9ff88e59abe6a310b2da6722b4dfcd01dcd8f
10,043
cxx
C++
proto/modbuscpp.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
proto/modbuscpp.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
proto/modbuscpp.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
/* * modbuscpp.cxx * * Created on: 14.11.2018 * Author: root */ #include "modbuscpp.h" eErrorTp modbuscpp_client::ReadHoldingReg(u8 slave_addr,u32 addr,u32 countItem,buffer & buf,u8 try_count){ buf.create(countItem*2); eErrorTp err= Read(slave_addr,addr,countItem,(u16*)buf.p(),MBUS_REGISTER,try_count); ...
26.852941
115
0.683859
trotill
3ecb16ff430fc871665e8b37a61b044cd7a7a608
2,216
cc
C++
cros-disks/device_event_moderator.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
cros-disks/device_event_moderator.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
cros-disks/device_event_moderator.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cros-disks/device_event_moderator.h" #include <base/logging.h> #include "cros-disks/device_event_dispatcher_interface.h" #include "cros...
30.356164
76
0.724278
doitmovin
3ecb3f7cabb1222ea295f9d24d7a6f53b37938e3
835
hpp
C++
Includes/AIO/Search/SearchManager.hpp
JYPark09/AIO
0b43089cf7f329254f0971cd80a28d13d0e93a64
[ "MIT" ]
5
2019-06-29T16:29:15.000Z
2020-08-12T16:37:22.000Z
Includes/AIO/Search/SearchManager.hpp
JYPark09/AIO
0b43089cf7f329254f0971cd80a28d13d0e93a64
[ "MIT" ]
null
null
null
Includes/AIO/Search/SearchManager.hpp
JYPark09/AIO
0b43089cf7f329254f0971cd80a28d13d0e93a64
[ "MIT" ]
1
2020-10-19T09:17:12.000Z
2020-10-19T09:17:12.000Z
#ifndef AIO_SEARCH_MANAGER_HPP #define AIO_SEARCH_MANAGER_HPP #include <AIO/Utils/Barrier.hpp> #include <AIO/Utils/WaitGroup.hpp> #include <condition_variable> #include <mutex> namespace AIO::Search { enum class SearchState { PAUSE, SEARCHING, TERMINATE }; class SearchManager final { public: explic...
17.395833
50
0.702994
JYPark09
a793348f214ca91b580846531917c1fe86847081
643
hpp
C++
src/org/apache/poi/poifs/filesystem/Entry.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/filesystem/Entry.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/filesystem/Entry.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/filesystem/Entry.java #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <org/apache/poi/poifs/filesystem/fwd-POI.hpp> #include <java/lang/Object.hpp> struct poi::poifs::filesystem::Entry : public virtual ::java::lang::Object { virtu...
27.956522
70
0.681182
pebble2015
a79384dd3a7cfaaf04b3f1ac639c05682268d3d3
3,371
cxx
C++
IMU/VTK-6.2.0/Accelerators/Piston/vtkPistonSlice.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Accelerators/Piston/vtkPistonSlice.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Accelerators/Piston/vtkPistonSlice.cxx
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkPistonSlice.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This s...
29.831858
81
0.529516
timkrentz
a793986e3086f9e229dda48b88a39a59a83a8ab8
1,207
cpp
C++
Pencil.cpp
dennisalejandro/P3.2_Lab10_DennisChirinos
4111de61f652cd0b17fa34988bbd30bccdcab1a6
[ "MIT" ]
null
null
null
Pencil.cpp
dennisalejandro/P3.2_Lab10_DennisChirinos
4111de61f652cd0b17fa34988bbd30bccdcab1a6
[ "MIT" ]
null
null
null
Pencil.cpp
dennisalejandro/P3.2_Lab10_DennisChirinos
4111de61f652cd0b17fa34988bbd30bccdcab1a6
[ "MIT" ]
null
null
null
#include "Pencil.h" #include <iostream> #include <string> #include <fstream> #include <ostream> #include <stack> using namespace std; Pencil::Pencil(string Filename) { setFile(Filename); setEnd(true); } void Pencil::write(string a) { ofstream File; File.open(getFile(), std::ios_base::app); File << a << "\...
19.467742
46
0.57995
dennisalejandro
a794963a552a3ead31fa6f4b00eb7fda25e2cf2a
1,155
cpp
C++
src/SoundManager.cpp
StianAndreOlsen/ColorVario
c10dbf13dcef09121bf1817a6d07606ef5a89da4
[ "MIT" ]
1
2021-05-05T21:37:55.000Z
2021-05-05T21:37:55.000Z
src/SoundManager.cpp
StianAndreOlsen/ColorVario
c10dbf13dcef09121bf1817a6d07606ef5a89da4
[ "MIT" ]
null
null
null
src/SoundManager.cpp
StianAndreOlsen/ColorVario
c10dbf13dcef09121bf1817a6d07606ef5a89da4
[ "MIT" ]
4
2019-11-06T06:25:47.000Z
2021-05-05T21:39:12.000Z
#include "SoundManager.h" #include "dlog.h" #include "TizenError.h" Kystsoft::SoundManager::~SoundManager() noexcept { try { setVolume(initialVolume); } catch (std::exception& e) { dlog(DLOG_ERROR) << e.what(); } } double Kystsoft::SoundManager::volume() const { int ivolume = 0; int error = sound_ma...
27.5
66
0.707359
StianAndreOlsen
a795e580fe7c436cfa6e66c50ccf996b6e7590d7
709
cpp
C++
src/MintFunction.cpp
ice-bit/Mint
20622a0acc278cf732f7e8bfa293a6ca2af265e0
[ "MIT" ]
null
null
null
src/MintFunction.cpp
ice-bit/Mint
20622a0acc278cf732f7e8bfa293a6ca2af265e0
[ "MIT" ]
null
null
null
src/MintFunction.cpp
ice-bit/Mint
20622a0acc278cf732f7e8bfa293a6ca2af265e0
[ "MIT" ]
1
2022-03-26T13:29:18.000Z
2022-03-26T13:29:18.000Z
#include "MintFunction.h" #include "Environment.h" #include "Interpreter.h" std::string MintFunction::to_string() { return std::string("<fn " + declaration->name.lexeme + ">"); } unsigned short MintFunction::arity() { return declaration->params.size(); } std::any MintFunction::call(Interpreter &interpreter, ...
25.321429
88
0.667137
ice-bit
a796d6e5be5b4c3ee1fcba7dae7a755adc7092ca
6,763
cc
C++
java/rocksjni/backupenginejni.cc
virgilshi/rocksdb
a186b8da788383ce649c68eeae6b49efeb2af4f1
[ "BSD-3-Clause" ]
30
2017-04-21T04:06:38.000Z
2022-01-03T08:17:58.000Z
java/rocksjni/backupenginejni.cc
pradeepchhetri/rocksdb
046099c9b59f29705b691f286ecb8f6bd97f4184
[ "BSD-3-Clause" ]
60
2016-03-19T16:01:27.000Z
2016-06-23T16:26:10.000Z
java/rocksjni/backupenginejni.cc
rohankadekodi/rocksdb_mmap
457b03bd8c2b2c573232998da9c39bac8b1f6044
[ "BSD-3-Clause" ]
9
2017-05-06T10:55:12.000Z
2021-04-06T03:45:17.000Z
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // This file implemen...
32.052133
78
0.739317
virgilshi
a79708b48b309ba70208147c72f08cf2057126e7
10,561
cpp
C++
src/mongo/s/write_ops/batched_insert_request.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/s/write_ops/batched_insert_request.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/s/write_ops/batched_insert_request.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
31.061765
92
0.646908
fjonath1
a79857f6640f9bccb3d865e51d1730d80a9300d2
15,716
cpp
C++
src/ves/Testing/TestDrawPlane.cpp
Eduardop/VES
1d4163989a734f273d46af3b2f88339121d2bfee
[ "Apache-2.0" ]
3
2016-07-21T19:48:47.000Z
2022-03-16T11:19:07.000Z
src/ves/Testing/TestDrawPlane.cpp
Eduardop/VES
1d4163989a734f273d46af3b2f88339121d2bfee
[ "Apache-2.0" ]
1
2021-04-07T08:05:47.000Z
2021-04-07T08:05:47.000Z
src/ves/Testing/TestDrawPlane.cpp
Eduardop/VES
1d4163989a734f273d46af3b2f88339121d2bfee
[ "Apache-2.0" ]
2
2016-03-16T15:36:54.000Z
2018-01-07T07:23:30.000Z
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
27.57193
128
0.63833
Eduardop
a799b0307e00bb5934abbcd3067c28d2b66098e7
998
cc
C++
webkit/compositor_bindings/web_video_layer_impl.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
webkit/compositor_bindings/web_video_layer_impl.cc
sanyaade-mobiledev/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
webkit/compositor_bindings/web_video_layer_impl.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "webkit/compositor_bindings/web_video_layer_impl.h" #include "base/bind.h" #include "cc/video_layer.h" #include "webkit/comp...
23.209302
73
0.742485
jianglong0156
a799f9f82664d350da3f2986b153f50618a63faa
3,288
cc
C++
mindspore/lite/micro/coder/coder_graph.cc
GeekHee/mindspore
896b8e5165dd0a900ed5a39e0fb23525524bf8b0
[ "Apache-2.0" ]
null
null
null
mindspore/lite/micro/coder/coder_graph.cc
GeekHee/mindspore
896b8e5165dd0a900ed5a39e0fb23525524bf8b0
[ "Apache-2.0" ]
null
null
null
mindspore/lite/micro/coder/coder_graph.cc
GeekHee/mindspore
896b8e5165dd0a900ed5a39e0fb23525524bf8b0
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
35.73913
116
0.729927
GeekHee
a79c04e33fcd9f4875515c9d5c272e2713de807b
2,647
cpp
C++
src/lib/codegen/builtin/datatypes.cpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
1
2015-11-07T11:55:50.000Z
2015-11-07T11:55:50.000Z
src/lib/codegen/builtin/datatypes.cpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
null
null
null
src/lib/codegen/builtin/datatypes.cpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012-, Tetsuo Fujii * 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 o...
31.891566
78
0.715905
foozea
a79d4eb60de7ebc4d1cc543e0fbb5dc1a330ff2d
727
cpp
C++
test/generator/embed_image_generator.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,303
2015-01-02T12:04:37.000Z
2022-03-31T11:35:06.000Z
test/generator/embed_image_generator.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,323
2015-01-01T13:31:25.000Z
2022-03-31T22:43:57.000Z
test/generator/embed_image_generator.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
1,032
2015-01-12T12:50:16.000Z
2022-03-28T01:55:11.000Z
#include "Halide.h" namespace { class EmbedImage : public Halide::Generator<EmbedImage> { public: Input<Buffer<float>> input{"input", 3}; Output<Buffer<float>> output{"output", 3}; void generate() { Buffer<float> matrix(3, 3); for (int i = 0; i < 3; i++) { for (int j = 0; j <...
24.233333
91
0.525447
OAID
a79de9153ef882d450f75595f2691ad08c0a3729
4,032
cpp
C++
modules/galaxy/tasks/milkywaypointsconversiontask.cpp
hedbergj/OpenSpace
0125fb7a3be4d6e6529781522f5d9e9a826241fb
[ "MIT" ]
null
null
null
modules/galaxy/tasks/milkywaypointsconversiontask.cpp
hedbergj/OpenSpace
0125fb7a3be4d6e6529781522f5d9e9a826241fb
[ "MIT" ]
null
null
null
modules/galaxy/tasks/milkywaypointsconversiontask.cpp
hedbergj/OpenSpace
0125fb7a3be4d6e6529781522f5d9e9a826241fb
[ "MIT" ]
null
null
null
/***************************************************************************************** * * * OpenSpace * * ...
41.142857
90
0.506944
hedbergj
a79f1f8cd9775cf047c2b4e58c6a3971c470ef6a
5,680
cpp
C++
adapters-stk/test/periodic_bcs/periodic_mesh_nosubcells.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
adapters-stk/test/periodic_bcs/periodic_mesh_nosubcells.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
adapters-stk/test/periodic_bcs/periodic_mesh_nosubcells.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
36.178344
98
0.689437
hillyuan
a79f8a53d06d4d59f922b24921d1896d1d9b08b9
23,505
cpp
C++
SimTKmath/Geometry/src/gcvspl.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
SimTKmath/Geometry/src/gcvspl.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
SimTKmath/Geometry/src/gcvspl.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
/* gcvspl.f -- translated by f2c (version of 16 February 1991 0:35:15). You must link the resulting object file with the libraries: -lF77 -lI77 -lm -lc (in that order) */ #include "SimTKcommon.h" #include "simmath/internal/common.h" int SimTK_SIMMATH_EXPORT SimTK_gcvspl_(const SimTK_Real *, const SimTK_Real...
21.407104
147
0.39532
e-schumann
a7a813e22088cb5d582134eedc6f74d14ac851d6
1,946
cc
C++
ash/app_list/bubble/app_list_bubble_search_page.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
ash/app_list/bubble/app_list_bubble_search_page.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
ash/app_list/bubble/app_list_bubble_search_page.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/app_list/bubble/app_list_bubble_search_page.h" #include <limits> #include <memory> #include <utility> #include "ash/bubble/bubble_utils.h"...
34.75
80
0.737924
DamieFC
a7a8ad0055485117e88f8b29ba76da3f05a9dc36
8,474
hpp
C++
osrf_testing_tools_cpp/include/osrf_testing_tools_cpp/memory_tools/gtest_quickstart.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
24
2018-05-16T09:36:23.000Z
2021-05-24T11:18:22.000Z
osrf_testing_tools_cpp/include/osrf_testing_tools_cpp/memory_tools/gtest_quickstart.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
59
2018-05-23T20:56:09.000Z
2022-02-06T11:03:59.000Z
osrf_testing_tools_cpp/include/osrf_testing_tools_cpp/memory_tools/gtest_quickstart.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
22
2018-06-12T16:10:26.000Z
2022-02-06T10:54:38.000Z
// Copyright 2018 Open Source Robotics Foundation, 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 appli...
33.101563
99
0.714185
RoverRobotics-forks
a7aa216b03a87a4c3a7f4fcb5d3beca507ebfaea
630
cpp
C++
Example/Source/Allogen/Example/Inheritance/Inheritance.cpp
Allogica/Allogen
ec3b82544659403896d95ed933890b761b35cddb
[ "BSD-3-Clause" ]
3
2020-12-17T02:46:21.000Z
2022-02-04T13:24:26.000Z
Example/Source/Allogen/Example/Inheritance/Inheritance.cpp
Allogica/Allogen
ec3b82544659403896d95ed933890b761b35cddb
[ "BSD-3-Clause" ]
null
null
null
Example/Source/Allogen/Example/Inheritance/Inheritance.cpp
Allogica/Allogen
ec3b82544659403896d95ed933890b761b35cddb
[ "BSD-3-Clause" ]
null
null
null
// // Created by Rogiel Sulzbach on 9/28/17. // #include <iostream> #include "Inheritance.hpp" namespace Allogen { namespace Example { namespace Inheritance { std::string BaseClass::getName() { return std::string(); } void BaseClass::fromNonvirtualBase() { std::cout << "fromNonvirtualBase: " << getName() << ...
18.529412
64
0.657143
Allogica
a7aa5ff4bd5cac47b4390d829efc5c2e899ac3d5
873
hpp
C++
src/geometry/include/geometry/point.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
src/geometry/include/geometry/point.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
src/geometry/include/geometry/point.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
#pragma once #include "geometry/vector.hpp" #include <ostream> #include <type_traits> #include <utility> namespace geometry { template <class T> struct Point { Point() : x(), y() {} Point(T x, T y) : x(std::move(x)), y(std::move(y)) {} template <class U, class = std::enable_if_t<std::is_convertible_v<U...
20.785714
77
0.592211
snailbaron
a7aa92dd2ae44577d3019d8539a6a1b4836d5afb
1,281
cpp
C++
tests/basic_formatting.cpp
nscooling/embedded-fmt
1773fb9b0ff3e2c5883a0566cd678b541c0a4734
[ "MIT" ]
null
null
null
tests/basic_formatting.cpp
nscooling/embedded-fmt
1773fb9b0ff3e2c5883a0566cd678b541c0a4734
[ "MIT" ]
null
null
null
tests/basic_formatting.cpp
nscooling/embedded-fmt
1773fb9b0ff3e2c5883a0566cd678b541c0a4734
[ "MIT" ]
null
null
null
#include <cassert> #include <iostream> #include <string> std::string test_string{}; auto Putstr = [&str = test_string](auto c) { str += c; }; [[maybe_unused]] auto print_test_string = [](auto &str) { for (auto c : str) { putchar('.'), putchar(c); } }; #define Putchar(x) Putstr(x) #include "efmt.hpp" using na...
23.290909
57
0.59719
nscooling
a7ad259cba03629312907ea529c87ce975df8d36
6,204
cpp
C++
src/main.cpp
Erriez/ESP8266UbidotsSensors
498d932aca5c0a4d9f3f2a701e60f22ee068669d
[ "MIT" ]
null
null
null
src/main.cpp
Erriez/ESP8266UbidotsSensors
498d932aca5c0a4d9f3f2a701e60f22ee068669d
[ "MIT" ]
null
null
null
src/main.cpp
Erriez/ESP8266UbidotsSensors
498d932aca5c0a4d9f3f2a701e60f22ee068669d
[ "MIT" ]
2
2020-01-30T18:35:58.000Z
2021-12-02T14:22:53.000Z
/* * MIT License * * Copyright (c) 2018 Erriez * * 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, m...
24.619048
81
0.613314
Erriez
a7aed24972d8209b2100978b046af873c65481ec
1,137
cpp
C++
GameEngine/GameEngine/main.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/main.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/main.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
//############################################################################################# /* Copyright[2020][Gabriel G. Fernandes] 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....
25.266667
95
0.614776
MrMaguila
a7b04a57fe77237e60c0588c93e941445d071e98
22,834
cpp
C++
tests/A32/fuzz_thumb.cpp
liushuyu/dynarmic
40afbe19279820e59382b7460643c62398ba0fb8
[ "0BSD" ]
77
2021-09-03T09:40:01.000Z
2022-03-30T05:18:36.000Z
tests/A32/fuzz_thumb.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
16
2021-09-03T13:13:54.000Z
2022-03-30T20:07:38.000Z
tests/A32/fuzz_thumb.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
15
2021-09-01T11:19:26.000Z
2022-03-27T09:19:14.000Z
/* This file is part of the dynarmic project. * Copyright (c) 2016 MerryMage * SPDX-License-Identifier: 0BSD */ #include <algorithm> #include <array> #include <cinttypes> #include <cstdio> #include <cstring> #include <functional> #include <string_view> #include <tuple> #include <catch2/catch.hpp> #include "../ran...
42.207024
227
0.565954
liushuyu
a7b1a21036ce1199fb62765ff60e6fe749008b02
5,224
cpp
C++
src/main/MessageConsumer.cpp
jane3030/pyactivemq
5525cb0b849483a304b550d8884fed445a93c1b1
[ "Apache-2.0" ]
5
2015-04-02T11:46:52.000Z
2020-12-31T07:44:13.000Z
src/main/MessageConsumer.cpp
jane3030/pyactivemq
5525cb0b849483a304b550d8884fed445a93c1b1
[ "Apache-2.0" ]
null
null
null
src/main/MessageConsumer.cpp
jane3030/pyactivemq
5525cb0b849483a304b550d8884fed445a93c1b1
[ "Apache-2.0" ]
5
2017-06-21T03:40:06.000Z
2020-02-17T07:21:53.000Z
/* Copyright 2007 Albert Strasheim <fullung@gmail.com> 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 ...
42.471545
132
0.694678
jane3030
a7b288a24dc2931580aec2350cf01e91ed44152e
4,363
cpp
C++
CtrlLib/TrayIconWin32.cpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2018-09-28T17:04:11.000Z
2018-09-28T17:04:11.000Z
CtrlLib/TrayIconWin32.cpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2021-04-06T21:57:39.000Z
2021-04-06T21:57:39.000Z
CtrlLib/TrayIconWin32.cpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
3
2017-08-26T12:06:05.000Z
2019-11-22T16:57:47.000Z
#include "CtrlLib.h" #ifdef GUI_WIN #ifndef PLATFORM_WINCE #include <commdlg.h> #include <cderr.h> #include <shellapi.h> #endif #endif namespace Upp { #ifdef GUI_WIN #ifndef PLATFORM_WINCE #define LLOG(x) enum { UM_TASKBAR_ = WM_USER + 1024, NIN_BALLOONSHOW_ = WM_USER + 2, NIN_BALLOONHIDE_ = WM_USER + 3, NI...
19.742081
103
0.682558
koz4k
a7b405b22e0dbe2ca34ad19da43f745811c2e12e
4,875
hpp
C++
include/HoudiniEngineUnity/Test_Collider_Extensions.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/HoudiniEngineUnity/Test_Collider_Extensions.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/HoudiniEngineUnity/Test_Collider_Extensions.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" #include "extern/beatsaber-hook/shared/u...
56.034483
274
0.771282
sc2ad
a7b5d5ed71a92ed79e022f2642eebf9d79c3855a
1,946
cpp
C++
test/main.cpp
lydiazoghbi/Project-X---EcoBot
81d53383634dccdf6e5c82655ca53ccf3c65fda0
[ "Apache-2.0" ]
null
null
null
test/main.cpp
lydiazoghbi/Project-X---EcoBot
81d53383634dccdf6e5c82655ca53ccf3c65fda0
[ "Apache-2.0" ]
1
2019-12-09T20:44:47.000Z
2019-12-09T20:44:47.000Z
test/main.cpp
lydiazoghbi/project_x_ecobot
81d53383634dccdf6e5c82655ca53ccf3c65fda0
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2019 Lydia Zoghbi and Ryan Bates. * * 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 ...
25.605263
76
0.709147
lydiazoghbi
a7b64a11725b6cb0e3071b9dc90270e195de4598
1,884
cpp
C++
mastermind/util.cpp
MartinMSPedersen/Cplusplus-snippets
ae34e7afff40456cea6dc0ecd3d4729d19fcebe3
[ "BSD-2-Clause" ]
null
null
null
mastermind/util.cpp
MartinMSPedersen/Cplusplus-snippets
ae34e7afff40456cea6dc0ecd3d4729d19fcebe3
[ "BSD-2-Clause" ]
null
null
null
mastermind/util.cpp
MartinMSPedersen/Cplusplus-snippets
ae34e7afff40456cea6dc0ecd3d4729d19fcebe3
[ "BSD-2-Clause" ]
null
null
null
/* Mon Jan 2 01:58:29 CET 2017 version 0.1 All source under GPL version 3 (GNU General Public License - http://www.gnu.org/) contact traxplayer@gmail.com for more information about this code */ #include <vector> #include <string> #include <iostream> #include <cassert> #include <cstdlib> #include <unistd.h> #inc...
16.972973
103
0.640127
MartinMSPedersen
a7b8f763b4fdfb7b9b10b098cdaa0ed63745f72c
5,602
cpp
C++
projects/luabot/bot.cpp
JackSAE/SaltBot
0e3cce557daadd224d6120e98ef7b7bdce38cdfc
[ "MIT" ]
null
null
null
projects/luabot/bot.cpp
JackSAE/SaltBot
0e3cce557daadd224d6120e98ef7b7bdce38cdfc
[ "MIT" ]
null
null
null
projects/luabot/bot.cpp
JackSAE/SaltBot
0e3cce557daadd224d6120e98ef7b7bdce38cdfc
[ "MIT" ]
null
null
null
#include "bot.h" #include "time.h" #include "kf/kf_log.h" extern "C" { BotInterface BOT_API *CreateBot() { return new LuaBot(); } } int luaPrint(lua_State *l) { const char *temp=lua_tostring(l, -1); kf_log("Lua:"<<temp); return 0; } LuaBot::LuaBot() { kf::LogSystem::getDefault().addCout(); m_rand(time(0)+(...
26.932692
98
0.675295
JackSAE
a7be09c3fa933b945819f40145ee4273bb9af8f3
6,759
hpp
C++
src/external/marray/include/indexed_dpd_varray_view.hpp
xrq-phys/tblis
fc9be95ddb7906853c85931b5029b3011fe60587
[ "BSD-3-Clause" ]
null
null
null
src/external/marray/include/indexed_dpd_varray_view.hpp
xrq-phys/tblis
fc9be95ddb7906853c85931b5029b3011fe60587
[ "BSD-3-Clause" ]
null
null
null
src/external/marray/include/indexed_dpd_varray_view.hpp
xrq-phys/tblis
fc9be95ddb7906853c85931b5029b3011fe60587
[ "BSD-3-Clause" ]
null
null
null
#ifndef _MARRAY_INDEXED_DPD_VARRAY_VIEW_HPP_ #define _MARRAY_INDEXED_DPD_VARRAY_VIEW_HPP_ #include "indexed_dpd_varray_base.hpp" namespace MArray { template <typename Type> class indexed_dpd_varray_view : public indexed_dpd_varray_base<Type, indexed_dpd_varray_view<Type>, false> { template <typename, typename, b...
32.185714
106
0.525374
xrq-phys
a7bee457f1a216aa908a80525b520c3712d323ea
2,415
cpp
C++
test/Temple/Cache.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
17
2020-11-27T14:59:34.000Z
2022-03-28T10:31:25.000Z
test/Temple/Cache.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
null
null
null
test/Temple/Cache.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
6
2020-12-09T09:21:53.000Z
2021-08-22T15:42:21.000Z
/*!@file * @copyright This code is licensed under the 3-clause BSD license. * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. * See LICENSE.txt for details. */ #include <boost/test/unit_test.hpp> #include "Molassembler/Temple/Cache.h" using namespace Scine::Molassembler; unsigned int a...
20.818966
87
0.595031
Dom1L
a7c04f702e2f96b193ecaa49cc3b9d8a57417ee5
1,713
cpp
C++
src/playerDriver.cpp
jacobrs/risk-game
29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5
[ "MIT" ]
null
null
null
src/playerDriver.cpp
jacobrs/risk-game
29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5
[ "MIT" ]
null
null
null
src/playerDriver.cpp
jacobrs/risk-game
29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5
[ "MIT" ]
null
null
null
#include "headers/Country.h" #include "headers/Player.h" #include <stdio.h> #include <iostream> #include <stdlib.h> #include <time.h> using namespace std; int main(int args, char** argv){ srand (time(NULL)); string name = ""; int numberOfDice = 0; int player1NumberOfDice = 0; int num...
33.588235
155
0.611208
jacobrs