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
4b6f9ef0f862da502aaa6a2bd64d1b87072fd18e
2,606
cpp
C++
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
1
2019-01-09T05:16:42.000Z
2019-01-09T05:16:42.000Z
/* * Filename: collector.cpp * Project: EECS 473 - Team GLOVE * Date: Fall 2016 * Authors: * Nick Bertoldi * Ben Heckathorn * Ryan O’Keefe * Adrian Padin * Tim Schumacher * * Purpose: * Implementation of collector.h * * Copyright (c) 2016 by Nick Bertoldi, Ben Heckathorn, Ryan...
34.289474
82
0.719493
apadin1
4b735d80b365f4d2664e4cc049e18481dfc5751f
1,333
hpp
C++
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_TRANSFER_ASSET_HPP #define IROHA_TRANSFER_ASSET_HPP #include <string> #include "model/command.hpp" namespace iroha { namespace model { /** * Transfer asset from one account to another *...
22.216667
61
0.585146
akshatkarani
4b7415838596cae7fdb9101e92160b495319b9b4
570
cpp
C++
13-stencil-buffered/project/src/stencil.cpp
walkieq/fccm2021-tutorial
f0eb2976a657f5a7c5a54be0ebb5d19b79fe93ee
[ "Apache-2.0" ]
2
2021-05-07T22:12:42.000Z
2021-05-09T04:36:28.000Z
13-stencil-buffered/project/src/stencil.cpp
yluo39github/fccm2021-tutorial
af341027d6302deead2a6666254c60d3a46dc6d2
[ "Apache-2.0" ]
null
null
null
13-stencil-buffered/project/src/stencil.cpp
yluo39github/fccm2021-tutorial
af341027d6302deead2a6666254c60d3a46dc6d2
[ "Apache-2.0" ]
2
2021-05-09T14:42:51.000Z
2021-12-05T22:32:10.000Z
#define DATA_SIZE 1024 #define STENCIL_SIZE 16 extern "C" { void stencil(int *in1, int *out) { int buffer[STENCIL_SIZE]; for(unsigned int i = 0; i < (STENCIL_SIZE - 1); i++) buffer[i + 1] = in1[i]; for(unsigned int i = 0; i < DATA_SIZE; i++) { for(unsigned int j = 0; j < (STENCIL_SIZE - ...
22.8
61
0.519298
walkieq
4b74679c313220d008be2f2ed9115ee26a73f2dc
11,094
cpp
C++
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/lime/audio/FlashAudioContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/lime/audio/FlashAudioContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
1
2019-07-07T09:52:20.000Z
2019-07-07T09:52:20.000Z
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/lime/audio/FlashAudioContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_lime_audio_AudioBuffer #include <lime/audio/AudioBuffer.h> #endif #ifndef INCLUDED_lime_audio_FlashAudioContext #include <lime/audio/FlashAudioContext.h> #endif namespace lime{ namespace audio{ Void FlashAudioContext_obj::__construct() { HX_STACK_FRAME("lime.audio.Flas...
33.618182
206
0.765008
amenoyoya
4b78a561e47fe37063b4d7b32c57d9033532bfb0
1,415
cpp
C++
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
684
2018-02-18T18:04:23.000Z
2022-03-26T06:18:39.000Z
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
273
2018-02-18T04:01:36.000Z
2022-02-09T16:07:38.000Z
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
77
2018-02-19T00:18:33.000Z
2022-03-16T04:12:09.000Z
/* * Copyright (c) 2019 Trail of Bits, 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 o...
28.877551
75
0.671378
acpaquette
4b7dbe4c07d1aea493805c6e9c7c0557ee55ed6c
1,898
hpp
C++
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
/** * @file * * @brief Helpers for creating plugins * * Make sure to include kdberrors.h before including this file if you want * warnings/errors to be added. * * Proper usage: * @code using namespace ckdb; #include <kdberrors.h> #include <kdbplugin.hpp> typedef Delegator<elektra::YourPluginClass> YPC; // the...
21.325843
114
0.689146
pinotree
4b7ede277a45c884ce5e14d1107c6e531948d4ab
371
cpp
C++
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-10-31T11:28:29.000Z
2021-10-31T11:28:29.000Z
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-11-13T18:27:21.000Z
2021-11-13T18:27:21.000Z
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-10-31T11:28:31.000Z
2021-10-31T11:28:31.000Z
#include <iostream> using namespace std; int main() { int factorial = 1; int num1,num2,arrangements,i; cout<<"Enter Number of Guests: "; cin>>num1; cout<<"Enter Number of Chairs: "; cin>>num2; for (i = 1; i<=num1; i++) { factorial = factorial*i; } arrangements = factorial/(num1-num2); cout<<"Possib...
19.526316
51
0.638814
katsuNakajima
4b8a4fcb6b3238e3a5ba1d952f252cdb7c03851a
33,701
cpp
C++
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
1
2021-12-11T09:19:29.000Z
2021-12-11T09:19:29.000Z
#include <hxcpp.h> #ifndef INCLUDED_Controls #include <Controls.h> #endif #ifndef INCLUDED_CoolUtil #include <CoolUtil.h> #endif #ifndef INCLUDED_FirstBootState #include <FirstBootState.h> #endif #ifndef INCLUDED_LangUtil #include <LangUtil.h> #endif #ifndef INCLUDED_MusicBeatState #include <MusicBeatState.h> #endif #...
50.831071
387
0.68722
BushsHaxs
4b8ea7f2aed29595e152b05388b165c9910b2f5b
9,121
cc
C++
base/linux_input.cc
rkb-1/quad
66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e
[ "Apache-2.0" ]
64
2017-01-18T15:12:05.000Z
2022-02-16T08:28:11.000Z
base/linux_input.cc
rkb-1/quad
66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e
[ "Apache-2.0" ]
2
2021-02-11T14:39:38.000Z
2021-10-03T16:49:57.000Z
base/linux_input.cc
rkb-1/quad
66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e
[ "Apache-2.0" ]
14
2021-01-11T09:48:34.000Z
2021-12-16T16:20:35.000Z
// Copyright 2014-2020 Josh Pieper, jjp@pobox.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...
27.978528
82
0.609802
rkb-1
4b91b0f9fe178a22024479cf967d1b16dc4dbe2e
6,467
cpp
C++
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:58.000Z
2021-08-03T00:52:58.000Z
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
null
null
null
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:59.000Z
2021-08-03T00:52:59.000Z
/* Copyright © 2016, The Pennsylvania State University All rights reserved. Copyright © 2016 Forschungszentrum Jülich GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi...
37.381503
755
0.772692
nb-e
4b9572f3d61de9388831bfdd40a78ae7f07c14db
3,409
hpp
C++
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#ifndef QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED #define QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // detail/sp_counted_base.hpp // // Copyright 2005-2013 Peter Dimov // // D...
36.265957
144
0.779114
wouterboomsma
4b978a1ff39635a620417cd5866024fc1900aea0
2,563
cc
C++
metrics/src/Meter.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
7
2018-07-09T20:41:10.000Z
2022-01-04T07:41:11.000Z
metrics/src/Meter.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
6
2018-07-09T20:54:51.000Z
2022-01-11T17:50:37.000Z
metrics/src/Meter.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
2
2018-07-09T20:22:16.000Z
2019-02-07T20:44:56.000Z
// Copyright 2018 Benjamin Bader // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
23.731481
121
0.679672
benjamin-bader
4b9e620559db53c441cff1aeaaf21b598bec79e3
13,715
cpp
C++
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
1
2021-10-11T12:46:59.000Z
2021-10-11T12:46:59.000Z
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
null
null
null
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "PlayerComponent.h" #include <CrySchematyc/Env/IEnvRegistrar.h> #include <CrySchematyc/Env/Elements/EnvComponent.h> #include <CryCore/StaticInstanceList.h> #include "Components/CharacterComponent.h" namespace { static void RegisterPlayerComponent(Schematyc::IEnvRegistrar& registrar) { ...
32.732697
192
0.741816
Battledrake
4b9f3cea2d12514a0b68770f7c965e39c90e1a91
2,838
cpp
C++
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
3
2019-07-19T23:47:53.000Z
2019-07-22T03:45:10.000Z
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
1
2019-11-15T22:59:55.000Z
2019-11-15T22:59:55.000Z
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
null
null
null
#include "Adafruit_I2CRegister.h" Adafruit_I2CRegister::Adafruit_I2CRegister(Adafruit_I2CDevice *device, uint16_t reg_addr, uint8_t width, uint8_t bitorder, uint8_t address_width) { _device = device; _addrwidth = address_width; _address = reg_addr; _bitorder = bitorder; _width = width; } bool Adafruit_I2CR...
22
147
0.634249
nrobinson2000
4b9f4ffb8f7f140a3470bd0bf5449145af0bfa38
15,593
cpp
C++
tests/src/error_event_test.cpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
3
2018-09-13T21:26:27.000Z
2022-01-25T06:15:06.000Z
tests/src/error_event_test.cpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
11
2018-01-30T00:42:23.000Z
2019-10-20T07:19:37.000Z
tests/src/error_event_test.cpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
5
2018-01-29T18:52:21.000Z
2019-05-19T02:38:18.000Z
/* * Copyright (c) 2018 AppDynamics LLC and its affiliates * * 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.897826
103
0.775669
Appdynamics
4ba1b62c5c53e99eaca43b4436efb9366426c299
4,566
cpp
C++
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
6
2019-01-05T08:30:32.000Z
2022-03-10T08:19:57.000Z
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
4
2019-10-18T14:31:04.000Z
2020-10-16T16:52:30.000Z
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
5
2017-05-12T21:24:18.000Z
2022-03-10T08:20:02.000Z
#include <stdio.h> #include <errno.h> #include <string.h> #include <stdlib.h> #include <readline/readline.h> #include <readline/history.h> #include "crts/debug.h" #include "crts/Filter.hpp" #include "crts/crts.hpp" // for: FILE *crtsOut #define BUFLEN 1024 class Readline : public CRTSFilter { public: ...
21.041475
82
0.529566
xywzwd
4ba4101a5bbb18c7916f7ba0dabc0272663d911e
5,194
hpp
C++
traceur-core/include/traceur/core/scene/primitive/box.hpp
fabianishere/traceur
93eefd77fc402dbd340dac7760a27b491c44a30f
[ "MIT" ]
2
2018-04-26T09:00:20.000Z
2019-11-02T08:09:03.000Z
traceur-core/include/traceur/core/scene/primitive/box.hpp
fabianishere/traceur
93eefd77fc402dbd340dac7760a27b491c44a30f
[ "MIT" ]
2
2018-01-08T14:43:17.000Z
2018-03-28T12:32:45.000Z
traceur-core/include/traceur/core/scene/primitive/box.hpp
fabianishere/traceur
93eefd77fc402dbd340dac7760a27b491c44a30f
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2017 Traceur authors * * 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 u...
29.01676
106
0.656912
fabianishere
4baa902f1c857f5cf35594d184ad7999702e3e25
1,043
cpp
C++
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
// // (c) 2020 chiv // #include "terminal_rc.h" #include "TextCodecsDialog.h" #include "CodecFactory.h" TextCodecsDialog::TextCodecsDialog(const char* name) { CtrlLayout(*this); // this->Title(t_("Select a text codec")); this->Icon(terminal::text_codec()); // auto codec_names = CodecFactory::I...
22.191489
70
0.610738
chivstyle
4bac72371db0bf99458292a1f74ab2846fdae963
4,461
cc
C++
ash/first_run/first_run_helper_unittest.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
ash/first_run/first_run_helper_unittest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
ash/first_run/first_run_helper_unittest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2013 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/first_run/first_run_helper.h" #include "ash/first_run/desktop_cleaner.h" #include "ash/shell.h" #include "ash/shell_window_ids.h" #include ...
30.141892
79
0.732347
iplo
4bac771afa8d439dc79051fcccb0b4dfa4b5c3df
6,382
hpp
C++
libs/libnet/inc/net/post_mortem.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libnet/inc/net/post_mortem.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libnet/inc/net/post_mortem.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 midnightBITS * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, pub...
35.455556
135
0.579912
mbits-os
4baecd5806579f89491db2fd56bdba15f2b80c43
398
cc
C++
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
4
2015-06-14T13:38:40.000Z
2020-11-07T02:29:59.000Z
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
1
2015-06-19T07:54:53.000Z
2015-11-12T10:38:21.000Z
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
3
2015-06-15T02:28:39.000Z
2018-10-18T11:02:59.000Z
// Author: Jin Qing (http://blog.csdn.net/jq0123) #include <rpcz/singleton_service_factory.hpp> #include <boost/make_shared.hpp> #include <rpcz/mono_state_service.hpp> namespace rpcz { singleton_service_factory::singleton_service_factory(iservice& svc) : service_(svc) { } iservice* singleton_service_factory::...
18.952381
67
0.761307
jinq0123
4bb00ec52fa391009712feab2ff8571f0761c394
976
cc
C++
components/services/storage/filesystem_proxy_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/services/storage/filesystem_proxy_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/services/storage/filesystem_proxy_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/services/storage/filesystem_proxy_factory.h" #include <utility> #include "base/bind.h" #include "base/no_destructor.h" namespace s...
25.684211
73
0.735656
zealoussnow
4bb42b810567dbe097568b23e35fd8026be52179
332
hpp
C++
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#ifndef AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusplus_wrapper #define AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusplus_wrapper namespace py = pybind11; void register_AbstractCellPopulationBoundaryCondition3_3_class(py::module &m); #endif // AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusp...
47.428571
78
0.915663
jmsgrogan
4bb4d54b0dff96d9c2763aae213775de552d7c5c
4,830
cxx
C++
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
#include <cgv/gui/provider.h> #include <cgv/gui/dialog.h> #include <cgv/gui/file_dialog.h> #include <cgv/data/data_format.h> #include <cgv/os/clipboard.h> #include <cgv/data/data_view.h> #include <cgv/media/image/image_writer.h> #include <cgv/render/drawable.h> #include <cgv/render/context.h> #include <cgv/render/textu...
30.764331
131
0.68323
kahlertfr
4bb9ead4e506077a4414a01d0d8c39b7458eb9d3
1,508
cpp
C++
src/tests/src/loader/token-test.cpp
Penguin-Guru/imgbrd-grabber
69bdd5566dc2b2cb3a67456bf1a159d544699bc9
[ "Apache-2.0" ]
1,449
2015-03-16T02:21:41.000Z
2022-03-31T22:49:10.000Z
src/tests/src/loader/token-test.cpp
sisco0/imgbrd-grabber
89bf97ccab3df62286784baac242f00bf006d562
[ "Apache-2.0" ]
2,325
2015-03-16T02:23:30.000Z
2022-03-31T21:38:26.000Z
src/tests/src/loader/token-test.cpp
evanjs/imgbrd-grabber
491f8f3c05be3fc02bc10007735c5afa19d47449
[ "Apache-2.0" ]
242
2015-03-22T11:00:54.000Z
2022-03-31T12:37:15.000Z
#include "loader/token.h" #include "catch.h" TEST_CASE("Token") { SECTION("LazyNotCalled") { int callCount = 0; Token token([&callCount]() { return ++callCount; }); REQUIRE(callCount == 0); } SECTION("LazyWithCaching") { int callCount = 0; Token token([&callCount]() { return ++callCount; }, true); ...
19.842105
91
0.596154
Penguin-Guru
4bbedc44c3bc6733c71401f63541e7b6d10c51c7
7,795
cpp
C++
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
8
2019-06-27T02:28:03.000Z
2021-12-16T17:57:22.000Z
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
null
null
null
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
null
null
null
#if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wunused-comparison" #pragma GCC diagnostic ignored "-Wunused-variable" #endif #if defined (_MSC_VER) #pragma warning (disable : 4553 4834 4521) #endif #include <pure/core.hpp> // Not strictly necessary but highly recommended using namespace pure; int main() { ...
28.658088
82
0.515202
gabrielheinrich
4bbfdcd60fab0aa46b4517c697884bd31f954f5d
7,617
cpp
C++
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
#include "Stars.h" #include <iostream> #include "Asterism.h" Stars::Stars(Gloom::Shader * shader, std::string starChartPath) { _shader = shader; _modelMatrix = glm::mat4(1.0f); if (readStarChart(starChartPath)) { std::cout << "Failed to read starchart file!" << std::endl; } initVAO_Stars(); ini...
29.183908
194
0.64251
DennisNTNU
4bc3323da969d2e0b764d6a19c6cf7cda8ac9f12
168
cpp
C++
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "http_demo.hpp" namespace rhizome { namespace demo { void http_demo() { rn::HTTPServer server(8080,10); } } }
16.8
43
0.505952
nathanmullenax83
4bc36bae0a9f615755d7491639d71fdbe8239104
25,663
cc
C++
SimMuon/CSCDigitizer/src/CSCGasCollisions.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimMuon/CSCDigitizer/src/CSCGasCollisions.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimMuon/CSCDigitizer/src/CSCGasCollisions.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// This implements the CSC gas ionization simulation. // It requires the GEANT3-generated tables in the input file // (default) MuonData/EndcapData/collisions.dat // Outstanding problems to fix 15-Oct-2003 // - ework must be re-tuned once eion or ework are removed before delta e range // estimation. // - logic of long...
44.094502
120
0.573588
Purva-Chaudhari
4bc55f3f6bb87df6369b1e16fd70729bbd6073e9
782
cpp
C++
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This file is ...
28.962963
78
0.588235
nanzifan
4bccfc4405c2707254a17efe77467f5d02c2b41d
1,664
cpp
C++
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { int m=nums1.size(); int n=nums2.size(); int total = m+n; if(total & 0x1){ return find_kth(nums1,m,nums2,n,total/2+1); }else{ return (find...
29.714286
79
0.484375
WIZARD-CXY
4bd04aa516001a5c045a170b82b15a96af0ac994
655
hpp
C++
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
3
2020-05-19T20:24:28.000Z
2020-09-27T11:28:42.000Z
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
31
2020-05-27T11:01:27.000Z
2020-08-08T15:53:23.000Z
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************************************************************** * Copyright 2020 Gabriel Gheorghe. All rights reserved. * This code is licensed under the BSD 3-Clause "New" or "Revised" License * License url: https://github.com/GabyForceQ/PolluxEngine/bl...
40.9375
127
0.470229
GabyForceQ
4bd14f533a2faca521e7265842253784514442c5
1,517
cc
C++
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
#include "file.h" #include <fstream> #include <sstream> #include <stdexcept> #ifdef LEGACY_CXX #include <experimental/filesystem> namespace n_fs = ::std::experimental::filesystem; #else #include <filesystem> namespace n_fs = ::std::filesystem; #endif /** * \brief Read file from disk * \param path File path location...
24.467742
86
0.685564
cloudcosmonaut
4bd282131724cd9b6e178bef15c75c41aef3c691
1,515
cpp
C++
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "RNG.hpp" #include "XMLMapCoordinateReader.hpp" using namespace std; // Given a parent node, which may have either a Coord or a Random element (xs:choice), // parse it and return an engine Coordinate. Coordinate XMLMapCoordinateReader::parse_coordinate(const XMLNode& parent_node) { Coordinate c(0,0); XM...
25.677966
97
0.729373
sidav
4bd2b31960fe1d09770065136c147f3a38afa175
2,012
cpp
C++
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2016-12-28T16:07:38.000Z
2022-03-11T09:55:57.000Z
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
null
null
null
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2017-06-04T04:50:47.000Z
2022-03-17T17:41:16.000Z
//asian_ql.cpp //Wrapper function. Computes semi-analytical heston w/ QuantLib //ref. quantlib asianoption.cpp #include "asian_ql.h" double asian_geo_call_ql(const Date& todaysDate_, const Date& settlementDate_, const Date& maturity_, Real spot_, Real strike, Size m, Spread dividendYield, Rate riskFreeRate, V...
28.742857
112
0.772366
calvin456
4bd36c6e161394eb98a9dd0788b28ef2dc4012aa
359
cpp
C++
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
3
2019-12-01T10:18:12.000Z
2020-02-22T10:54:36.000Z
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
null
null
null
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** CCP_plazza_2018 ** File description: ** Americana */ #include "Pizza/Americana.hpp" Americana_P::Americana_P(PizzaSize size, float multi) : Pizza(Americana, size, 2 * multi) { this->_recipe.push_back(DOE); this->_recipe.push_back(TOMATO); this->_recipe.push_back(GRUYERE)...
21.117647
55
0.699164
HugoPrat
4bd4766fdea5a1e9a5af3ed5e63601b099b16f0a
695
cpp
C++
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int MAX = 99999999; int dis[20001] = {0}, u[200001] ,v[200001], l[200001]; fill(dis + 2, dis + 20001, MAX); int n, m; cin >> n >> m; for(int i=1;i<=m;i++) cin>>u[i]>>v[i]>>l[i]; for (int j = 1; j < n; j++) { ...
23.965517
59
0.392806
codexvn
4bd8db499766c3075b65e8a612ce49e294ac3f58
1,465
cpp
C++
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; #define PB push_back #define VST(V) sort(V.begin(),V.end()) #define VSTrev(V) sort(V.begin(),V.end(),greater<long long int>()) #define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); #define base1 129 #define base2 137 #define MOD1 ...
21.544118
69
0.485324
sheikh-arman
4bd96fda5ba2095bb1cf532093b1ad7cd794cc04
518
hpp
C++
include/Utilities/TimeHelper.hpp
mmathys/blacksmith
6735c10519a6e15b3490b7c7927b3652db9c9ecc
[ "MIT" ]
1
2021-12-20T04:08:45.000Z
2021-12-20T04:08:45.000Z
include/Utilities/TimeHelper.hpp
iwangjye/blacksmith
01faacfaf9b619d5de9a8fcb9236f63510c7161d
[ "MIT" ]
null
null
null
include/Utilities/TimeHelper.hpp
iwangjye/blacksmith
01faacfaf9b619d5de9a8fcb9236f63510c7161d
[ "MIT" ]
null
null
null
#ifndef BLACKSMITH_INCLUDE_UTILITIES_TIMEHELPER_HPP_ #define BLACKSMITH_INCLUDE_UTILITIES_TIMEHELPER_HPP_ #include <chrono> inline int64_t get_timestamp_sec() { return std::chrono::duration_cast<std::chrono::seconds>( std::chrono::system_clock::now().time_since_epoch()).count(); } inline int64_t get_timestam...
30.470588
67
0.779923
mmathys
4bd987770978c20db1ad28db90791f1c04dc803f
589
cpp
C++
answers/harshpreet0508/day16/q1.cpp
justshivam/30-DaysOfCode-March-2021
64d434c07b9ec875384dee681a3eecefab3ddef0
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/harshpreet0508/day16/q1.cpp
justshivam/30-DaysOfCode-March-2021
64d434c07b9ec875384dee681a3eecefab3ddef0
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/harshpreet0508/day16/q1.cpp
justshivam/30-DaysOfCode-March-2021
64d434c07b9ec875384dee681a3eecefab3ddef0
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
// Given a binary array, sorted in non increasing order, count the number of 1's in it #include <iostream> using namespace std; int count(bool a[], int l, int h) { int m; if(h >= l) { m = l + (h-l)/2; if((m == h||a[m+1] == 0)&&(a[m] == 1)) return m+1; if(a[m] ...
15.5
86
0.436333
justshivam
4bdb3cc82aff905692475265f5850bfd969c6cca
2,190
cc
C++
content/browser/service_worker/service_worker_type_converters.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/service_worker/service_worker_type_converters.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/service_worker/service_worker_type_converters.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 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 "content/browser/service_worker/service_worker_type_converters.h" #include "base/logging.h" namespace mojo { // TODO(falken): TypeConverter is...
40.555556
80
0.759817
zipated
4bdc2aacd41ed2b2e6375f05dc56913a95edc115
18,710
cpp
C++
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
#include "FaceRecognizerPrivate.h" #include <cmath> #include <string> #include <memory> #include <algorithm> #include <functional> #include <iostream> #include <SeetaNetForward.h> #include "SeetaModelHeader.h" #include "seeta/common_alignment.h" #include "seeta/ImageProcess.h" class FaceRecognizerPrivate::Recognizer ...
23.895275
156
0.708552
glcnzude126
4bdcbd3ca95c78dbc88ff627212e69599c9396f3
753
hpp
C++
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
5
2017-07-08T18:26:31.000Z
2022-03-30T12:07:03.000Z
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
null
null
null
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
2
2017-07-08T18:26:33.000Z
2018-10-26T08:14:28.000Z
#ifndef ICROMOSOMAOBSERVER_HPP #define ICROMOSOMAOBSERVER_HPP #include "npc.hpp" #include "Mapa.hpp" #include "Cromosoma.hpp" class Cromosoma; class ICromosomaObserver{ public: virtual ~ICromosomaObserver() {}; virtual void onSimulacionIniciada(const Cromosoma*) = 0; virtual void onTurno(const Cromosoma*, npc,...
31.375
281
0.780876
alseether
4bdda407769d525130dc6a91ae9cf106f1f6f3c1
1,035
cc
C++
src/wal/encoder.cc
Watch-Later/libraft
f45c39c1d77558ea3f262fd366b05f0a38504be4
[ "Apache-2.0" ]
106
2018-03-08T10:29:21.000Z
2022-03-20T11:50:40.000Z
src/wal/encoder.cc
Watch-Later/libraft
f45c39c1d77558ea3f262fd366b05f0a38504be4
[ "Apache-2.0" ]
1
2019-08-20T06:49:34.000Z
2020-05-17T01:35:44.000Z
src/wal/encoder.cc
Watch-Later/libraft
f45c39c1d77558ea3f262fd366b05f0a38504be4
[ "Apache-2.0" ]
35
2018-11-06T07:58:36.000Z
2022-03-13T14:23:07.000Z
/* * Copyright (C) lichuang */ #include "base/file.h" #include "base/crc32c.h" #include "wal/encoder.h" namespace libraft { encoder* newEncoder(File* file, uint32_t prevCrc, int32_t pageOffset) { encoder* ec = new encoder(); return ec; } int encoder::encode(Record* rec) { locker.Lock(); string data; re...
20.294118
84
0.645411
Watch-Later
4bdeae632048141dd6f6047df723979c16f4e95b
31,226
hpp
C++
Types/PE/include/pe.hpp
rzaharia/GView
db1836121de7007ebcf591a1f9755176e9ab0bde
[ "MIT" ]
null
null
null
Types/PE/include/pe.hpp
rzaharia/GView
db1836121de7007ebcf591a1f9755176e9ab0bde
[ "MIT" ]
null
null
null
Types/PE/include/pe.hpp
rzaharia/GView
db1836121de7007ebcf591a1f9755176e9ab0bde
[ "MIT" ]
null
null
null
#pragma once #include "GView.hpp" #define MAX_NR_SECTIONS 256 #define MAX_DLL_NAME 64 #define MAX_PDB_NAME 128 #define MAX_EXPORTFNC_SIZE 128 #define MAX_IMPORTFNC_SIZE 128 #define MAX_RES_NAME 64 #define MAX_DESCRIPTION_SIZE 256 #define MAX_VERNAME_SIZE 64 #define MAX_VERVERSION_SIZE 32 #d...
38.034105
137
0.604208
rzaharia
4be12d6b090fe3b53d86842b0411f44c24a6a964
1,415
cpp
C++
SPOJ/SPOJ_-_181._Scuba_diver/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
SPOJ/SPOJ_-_181._Scuba_diver/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
SPOJ/SPOJ_-_181._Scuba_diver/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <fstream> #include <iostream> #include <vector> #include <bitset> #include <string.h> #include <algorithm> #include <iomanip> #include <math.h> #include <time.h> #include <stdlib.h> #include <set> #include <map> #include <string> #include <queue> #include <deque> using namespace std; const char infile[] = "i...
22.822581
79
0.482686
rusucosmin
4be266e5726c6be9d8b71d1f629dd07a6ebc567c
1,263
cc
C++
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
5
2018-02-27T11:04:42.000Z
2018-09-28T20:49:01.000Z
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
3
2018-02-27T14:07:14.000Z
2018-02-28T06:44:46.000Z
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
6
2018-03-08T05:40:41.000Z
2018-12-31T11:09:29.000Z
#include "CppFile.h" static bool _open(AbstractFile *absFile, const char *pathname, const char *mode, err_t *errp); static long _size(AbstractFile *absFile, err_t *errp); static size_t _read(AbstractFile *absFile, void *ptr, size_t size, err_t *errp); static bool _write(AbstractFile *absFile, const void *ptr, size...
24.288462
94
0.679335
KomodoPlatform
4be2dc3cabb7fc6d8ad6f202d1a71c2c9f3a6432
9,728
cc
C++
Test Execution/src/WebSocket_EncDec.cc
PHANTOM-Platform/MBT-Test-Execution
d22f786ba49878c9f123843a5bea538875d77795
[ "Apache-2.0" ]
null
null
null
Test Execution/src/WebSocket_EncDec.cc
PHANTOM-Platform/MBT-Test-Execution
d22f786ba49878c9f123843a5bea538875d77795
[ "Apache-2.0" ]
null
null
null
Test Execution/src/WebSocket_EncDec.cc
PHANTOM-Platform/MBT-Test-Execution
d22f786ba49878c9f123843a5bea538875d77795
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright (c) 2000-2018 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available...
32.318937
82
0.619449
PHANTOM-Platform
4be337d8967c994ad318b65aa8c8187f5af3b338
841
hpp
C++
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:49:16.000Z
2018-10-28T01:49:16.000Z
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:40:00.000Z
2018-10-28T01:40:00.000Z
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
3
2018-10-26T08:45:58.000Z
2018-10-27T13:36:37.000Z
/** * @author Ryan Benasutti, WPI * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _OKAPI_ASYNCCONTROLLER_HPP_ #define _OKAPI_ASYNCCONTROLLER_HPP_ #in...
28.033333
97
0.740785
wanton-wind
4be6caed4bbeccc5bc193ed624b18fc98f56568c
3,048
cpp
C++
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
/* License Menge Copyright � and trademark � 2012-14 University of North Carolina at Chapel Hill. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes, without fee, and without a written agreement is hereby gran...
38.582278
98
0.76542
mfprado
4be98c935c0c35f7daeaabf951b5b732e6370dfb
19,593
cpp
C++
deps/binreloc/binreloc.cpp
Symaxion/libsylph
c22f94b8e132dc25a86f27443041965982b3982d
[ "Zlib" ]
1
2020-09-25T02:27:38.000Z
2020-09-25T02:27:38.000Z
deps/binreloc/binreloc.cpp
Symaxion/libsylph
c22f94b8e132dc25a86f27443041965982b3982d
[ "Zlib" ]
null
null
null
deps/binreloc/binreloc.cpp
Symaxion/libsylph
c22f94b8e132dc25a86f27443041965982b3982d
[ "Zlib" ]
null
null
null
/* * BinReloc - a library for creating relocatable executables * Written by: Hongli Lai <h.lai@chello.nl> * http://autopackage.org/ * * This source code is public domain. You can relicense this code * under whatever license you want. * * See http://autopackage.org/docs/binreloc/ for * more information and how ...
24.645283
94
0.658807
Symaxion
4bec35f22fa7f8a114901b8f4c8c5f038b9c9d66
3,901
cpp
C++
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
#include "types.h" #include "filter.h" #include "io_hd5.h" #include "io_nifti.h" #include "log.h" #include "parse_args.h" #include "threads.h" using namespace std::complex_literals; constexpr float pi = M_PI; int main_ds(args::Subparser &parser) { args::Positional<std::string> iname(parser, "FILE", "Input radial ...
38.245098
97
0.558831
MartinK84
4bee5810032b2cabd5a11ada18849f0e7ab3ec95
13,234
cc
C++
pdlab/test/foo.pb.cc
SonuRex/Traffic-Management-System
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
7
2018-12-21T13:38:43.000Z
2020-05-03T18:12:25.000Z
pdlab/test/foo.pb.cc
ujlive/Traffic-Management-system
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
null
null
null
pdlab/test/foo.pb.cc
ujlive/Traffic-Management-system
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
6
2021-03-15T23:08:16.000Z
2022-03-29T17:51:33.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: foo.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "foo.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <googl...
29.540179
104
0.65974
SonuRex
4bef91892f792413a33e7ff36fccb86a2b4140db
4,170
hpp
C++
nvm_engine/NvmEngine.hpp
JYLeeLYJ/tair_contest_season1
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
1
2021-04-02T06:02:57.000Z
2021-04-02T06:02:57.000Z
nvm_engine/NvmEngine.hpp
JYLeeLYJ/tair_contest_code
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
null
null
null
nvm_engine/NvmEngine.hpp
JYLeeLYJ/tair_contest_code
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
null
null
null
#ifndef TAIR_CONTEST_KV_CONTEST_NVM_ENGINE_H_ #define TAIR_CONTEST_KV_CONTEST_NVM_ENGINE_H_ #include <atomic> #include <climits> #include <cstddef> #include <cstdlib> #include <iostream> #include <atomic> #include "include/db.hpp" #include "include/kvfile.hpp" #include "include/hash_index.hpp" #include "include/alloc...
31.832061
104
0.679616
JYLeeLYJ
4bf154d0827bf541abc2907bc35ad102425df801
1,116
cpp
C++
src/falclib/msgsrc/sendteaminfomsg.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/falclib/msgsrc/sendteaminfomsg.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/falclib/msgsrc/sendteaminfomsg.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
/* * Machine Generated source file for message "Send Team Info". * NOTE: The functions here must be completed by hand. * Generated on 05-November-1996 at 17:39:12 * Generated from file EVENTS.XLS by Leon Rosenshein */ //sfr: took it out, not used!! /* #include "MsgInc/SendTeamInfoMsg.h" #include "mesg.h" #include ...
24.8
179
0.756272
Terebinth
4bf22fa119f3682697812926ff6de00193f14833
3,527
cpp
C++
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
null
null
null
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2019-12-26T09:34:03.000Z
2019-12-26T09:34:03.000Z
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2021-09-18T18:23:00.000Z
2021-09-18T18:23:00.000Z
/* The MIT License Copyright (c) 2013 Adrian Tan <atks@umich.edu> 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 us...
22.464968
80
0.55146
Yichen-Si
4bf245b1134125f506767b6764affb1e1de6793b
929
cpp
C++
code/stable/gooltest/cpp/PatternTest/PatternTest.cpp
smiths/Drasil
947be0411babe79ff198224d620b97642152710d
[ "BSD-2-Clause" ]
114
2017-12-16T04:51:37.000Z
2021-12-20T16:27:51.000Z
code/stable/gooltest/cpp/PatternTest/PatternTest.cpp
smiths/Drasil
947be0411babe79ff198224d620b97642152710d
[ "BSD-2-Clause" ]
1,762
2017-12-02T14:39:11.000Z
2022-03-29T16:28:57.000Z
code/stable/gooltest/cpp/PatternTest/PatternTest.cpp
smiths/Drasil
947be0411babe79ff198224d620b97642152710d
[ "BSD-2-Clause" ]
31
2018-11-25T22:16:12.000Z
2021-12-01T20:15:38.000Z
#include <iostream> #include <iterator> #include <string> #include <vector> #include "Observer.hpp" using std::string; using std::vector; int main(int argc, const char *argv[]) { int n; string myFSM = "Off"; myFSM = "On"; if (myFSM == "Off") { std::cout << "Off" << std::endl; } else i...
22.119048
94
0.557589
smiths
4bf4b679ce3b99a81b11b99a357e2f68adc2d858
17,837
cpp
C++
emulator/src/mame/drivers/inufuku.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/drivers/inufuku.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/drivers/inufuku.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Takahiro Nogi /****************************************************************************** Video Hardware for Video System Games. Quiz & Variety Sukusuku Inufuku (Japan) (c)1998 Video System Co.,Ltd. 3 On 3 Dunk Madness (US, prototype?) (c)1996 Vide...
38.276824
306
0.663677
rjw57
4bf78b1cef8b89c8b600a967ed3610294c2d769d
4,398
cpp
C++
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can bu...
29.125828
100
0.429286
tilnewman
4bf7f750e7993e8adee89375cef90d9d4af2ea1b
2,724
hpp
C++
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_AUDIO_SOUNDFILEWRITER_HPP #define EE_AUDIO_SOUNDFILEWRITER_HPP #include <eepp/config.hpp> #include <string> namespace EE { namespace Audio { /// \brief Abstract base class for sound file encoding class EE_API SoundFileWriter { public: virtual ~SoundFileWriter() {} ////////////////////////////////////...
30.954545
89
0.595815
jayrulez
4bfbb94537ea202cfdfba57084ed14ec13da51ca
13,090
hpp
C++
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
35.283019
188
0.56906
waterben
4bfdb1205e199c04b53f11940a66e2da2f0ea4fe
11,628
cpp
C++
tools/aapt2/split/TableSplitter.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
tools/aapt2/split/TableSplitter.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
tools/aapt2/split/TableSplitter.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
43.714286
98
0.547816
Keneral
4bfe429f97b49ba4a61fe07d03698b6291a2fd25
1,938
hpp
C++
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
2
2018-01-25T04:29:57.000Z
2020-02-13T15:30:55.000Z
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
1
2019-05-26T17:51:57.000Z
2019-05-26T17:51:57.000Z
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
5
2018-02-17T11:32:37.000Z
2021-02-26T22:26:07.000Z
#pragma once #include <thread> #include <atomic> #include <mutex> #include <cstdint> #include <iostream> #include <cassert> #include <cstring> namespace xmrstak { struct miner_work { char sJobID[64]; uint8_t bWorkBlob[112]; uint32_t iWorkSize; uint64_t iTarget; bool bNiceHash; bo...
24.531646
83
0.684727
chrisknepper
ef02864b04104925cda2a3a4ce09fcac1c40a528
4,740
cpp
C++
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
 #include <gtest/gtest.h> #include <mscorlib.h> using namespace mscorlib::System; using namespace mscorlib::System::Collections::Generic; extern "C" { MONO_API void* mono_delegate_to_ftnptr (MonoDelegate *delegate); MONO_API MonoDelegate* mono_ftnptr_to_delegate (MonoClass *klass, void* ftn); MONO_API void mono_dele...
32.027027
196
0.715401
brunolauze
ef0290a03a5005abce124c9cffb3bf7594a922a1
7,199
cpp
C++
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
/** * MIT License * * Copyright © 2021 <Jerry.Yu>. * * 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,...
26.564576
100
0.681761
JerryYu512
ef056550a0ab7ebcf4496c64f27d7965838047b0
18,690
cc
C++
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
3
2020-08-27T16:40:04.000Z
2021-05-12T13:31:05.000Z
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
null
null
null
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
2
2020-06-09T11:32:27.000Z
2021-04-04T18:41:11.000Z
#include "image_loader.h" namespace xla { std::unique_ptr<xla::Array4D <UChar8> > load_bmp(const std::string& file_name) { std::ifstream fin(file_name.c_str(), std::ios::in | std::ios::binary); if (!fin) { //throw image_load_error("Unable to open " + file_name + " for readin...
36.15087
118
0.410166
diixo
ef0622b20e496e86c2657c671f4659318a2e420b
447
cc
C++
src/plugin/compute/cpu/src/memoryhost.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/plugin/compute/cpu/src/memoryhost.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/plugin/compute/cpu/src/memoryhost.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <bugengine.devel@gmail.com> see LICENSE for detail */ #include <bugengine/plugin.compute.cpu/stdafx.h> #include <memoryhost.hh> namespace BugEngine { namespace KernelScheduler { namespace CPU { MemoryHost::MemoryHost() : IMemoryHost("CPU") { } MemoryHost::~MemoryHost() { } void MemoryHost::release(...
19.434783
71
0.733781
bugengine
ef0980024b906ff33de021901b826b70145eefa1
10,039
cpp
C++
oneflow/user/ops/nccl_logical_ops.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
1
2022-01-19T07:50:28.000Z
2022-01-19T07:50:28.000Z
oneflow/user/ops/nccl_logical_ops.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
null
null
null
oneflow/user/ops/nccl_logical_ops.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
40.479839
97
0.735332
mosout
ef0ab296eec650c9b29211f50170745b67f18cbf
3,003
cc
C++
tools/json_schema_compiler/test/additional_properties_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
tools/json_schema_compiler/test/additional_properties_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
tools/json_schema_compiler/test/additional_properties_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "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 "tools/json_schema_compiler/test/additional_properties.h" #include "testing/gtest/include/gtest/gtest.h" using namespace test::api::additio...
41.708333
78
0.770563
1065672644894730302
ef12cb8c58d72f8b5244d7669f6853461dfbeb1e
12,963
cpp
C++
http_parser.cpp
patrickmoffitt/ble_sensor_cgi
25f00060f4ab5f1b27eb3924253d41f38b9a9094
[ "MIT" ]
1
2020-09-04T22:14:41.000Z
2020-09-04T22:14:41.000Z
http_parser.cpp
patrickmoffitt/ble_sensor_cgi
25f00060f4ab5f1b27eb3924253d41f38b9a9094
[ "MIT" ]
null
null
null
http_parser.cpp
patrickmoffitt/ble_sensor_cgi
25f00060f4ab5f1b27eb3924253d41f38b9a9094
[ "MIT" ]
null
null
null
// /* Copyright (c) 2020 Patrick Moffitt 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, merg...
36.310924
90
0.54887
patrickmoffitt
ef1740eaadc446c62f1b35e5919b6031f8113063
5,213
cpp
C++
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
407
2019-04-26T10:45:52.000Z
2022-03-31T15:52:30.000Z
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
219
2019-04-29T16:42:01.000Z
2022-03-11T22:57:41.000Z
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
53
2019-05-02T21:23:35.000Z
2022-03-11T19:46:05.000Z
#include "gui/code_editor/code_editor_minimap.h" #include "gui/code_editor/code_editor.h" #include "gui/code_editor/minimap_scrollbar.h" #include <QPainter> #include <QStyleOption> #include <QTextBlock> #include <cmath> #include <math.h> #include <QDebug> namespace hal { CodeEditorMinimap::CodeEditorMinimap(Cod...
33.203822
180
0.656819
emsec
fa9fa94871067ab1c459223b392a4c90ae4026ce
52
cc
C++
tests/Anderson/Solution.cc
jeanlucf22/mgmol
4e79bc32c14c8a47ae18ad0659ea740719c8b77f
[ "BSD-3-Clause-LBNL", "FSFAP" ]
25
2018-12-29T03:33:01.000Z
2021-05-08T12:52:27.000Z
tests/Anderson/Solution.cc
jeanlucf22/mgmol
4e79bc32c14c8a47ae18ad0659ea740719c8b77f
[ "BSD-3-Clause-LBNL", "FSFAP" ]
121
2018-12-19T02:38:21.000Z
2021-12-20T16:29:24.000Z
tests/Anderson/Solution.cc
jeanlucf22/mgmol
4e79bc32c14c8a47ae18ad0659ea740719c8b77f
[ "BSD-3-Clause-LBNL", "FSFAP" ]
15
2019-02-17T05:28:43.000Z
2022-02-28T05:24:11.000Z
#include "Solution.h" double Solution::invs_ = 1.;
13
28
0.692308
jeanlucf22
faa2d85910b3524ecbc8cf8e0bdce970b462431d
10,104
hpp
C++
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
30.711246
101
0.665182
PetorSFZ
faa4639450ed204eb03868ec1076c5f094a4aab9
151,060
cc
C++
cc/trees/layer_tree_host_impl.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
cc/trees/layer_tree_host_impl.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
cc/trees/layer_tree_host_impl.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// 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 "cc/trees/layer_tree_host_impl.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <limits> #include <map> #include <set> ...
37.586464
104
0.737402
maidiHaitai
faaa4656d794e9965baf48a624ba27a09506fb94
214
cpp
C++
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int n,x=0; cin>>n; while(n!=1) { x++; if(n%2==0) n=n/2; else if(n%2==1) n++; } cout<<x; }
13.375
23
0.373832
Parthiv-657
faac1bc36e9a3a92e9e55802f3905763e7122e82
2,215
cc
C++
Fireworks/Core/src/FWEDProductRepresentationChecker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Fireworks/Core/src/FWEDProductRepresentationChecker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Fireworks/Core/src/FWEDProductRepresentationChecker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Package: Core // Class : FWEDProductRepresentationChecker // // Implementation: // <Notes on implementation> // // Original Author: Chris Jones // Created: Tue Nov 11 15:20:10 EST 2008 // // system include files #include "TClass.h" // user include files #include "Fireworks/...
26.058824
131
0.642438
pasmuss
faad85a15d16f82edc500e483606cf29f9f8c6e2
10,700
cpp
C++
be/src/exec/vectorized/sorting/merge_cascade.cpp
wangruin/starrocks
6cc50f90794a438333f96424b90fc266103b7c17
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "MIT" ]
null
null
null
be/src/exec/vectorized/sorting/merge_cascade.cpp
wangruin/starrocks
6cc50f90794a438333f96424b90fc266103b7c17
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "MIT" ]
null
null
null
be/src/exec/vectorized/sorting/merge_cascade.cpp
wangruin/starrocks
6cc50f90794a438333f96424b90fc266103b7c17
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "MIT" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include "column/chunk.h" #include "column/vectorized_fwd.h" #include "exec/vectorized/sorting/merge.h" #include "exec/vectorized/sorting/sort_helper.h" #include "exec/vectorized/sorting/sorting.h" #include "runtime/chun...
37.024221
120
0.612243
wangruin
faae0d850cb9ac1b8589845c8e0891232ed90213
1,240
cpp
C++
MemoryAndPolymorphism/print_memory_layout.cpp
hoelzl/CleanCodeCppCatch
88861faf48967e840b1d66f7faf94c0e9bef26a4
[ "MIT" ]
null
null
null
MemoryAndPolymorphism/print_memory_layout.cpp
hoelzl/CleanCodeCppCatch
88861faf48967e840b1d66f7faf94c0e9bef26a4
[ "MIT" ]
null
null
null
MemoryAndPolymorphism/print_memory_layout.cpp
hoelzl/CleanCodeCppCatch
88861faf48967e840b1d66f7faf94c0e9bef26a4
[ "MIT" ]
null
null
null
#include "print_memory_layout.h" void print_content_addresses(const std::string& name, const std::vector<int>& v) { for (int i = 0; i < v.size(); ++i) { print_address(name + "[" + std::to_string(i) + "]: ", &v[i]); } } void print_memory_layout() { int i { 17 }; int ai[3] = { 1, 2, 3 }; int...
24.313725
80
0.523387
hoelzl
faaf48bdc4194661c726bbc8cca5b9922723e16d
2,015
hpp
C++
vad/src/engComp.hpp
forsyde/forsyde-systemc-demonstrators
2af7b5a016b2955553330a901b48ec73354f9ff0
[ "BSD-3-Clause" ]
null
null
null
vad/src/engComp.hpp
forsyde/forsyde-systemc-demonstrators
2af7b5a016b2955553330a901b48ec73354f9ff0
[ "BSD-3-Clause" ]
9
2016-03-08T14:35:52.000Z
2016-03-29T08:50:07.000Z
vad/src/engComp.hpp
forsyde/forsyde-systemc-demonstrators
2af7b5a016b2955553330a901b48ec73354f9ff0
[ "BSD-3-Clause" ]
1
2016-03-20T12:51:40.000Z
2016-03-20T12:51:40.000Z
/********************************************************************** * engComp.hpp * * * * Author: Hosein Attarzadeh (shan2@kth.se) * * adapted from KisTA: https://github.com/...
35.982143
72
0.459057
forsyde
fab254641b537bd05e24cd02f58b582c0b0065c8
503
cpp
C++
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/aDFQm4ed6d/contest/274872/problem/D #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); ll N, p = 0, n = 0; cin ...
19.346154
66
0.520875
MaGnsio
fab6aa4024cdbd927b134501a4c15c40d8849426
11,357
cpp
C++
dev/Code/CryEngine/CryCommon/IResourceCompilerHelper.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Code/CryEngine/CryCommon/IResourceCompilerHelper.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Code/CryEngine/CryCommon/IResourceCompilerHelper.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
6
2020-06-04T04:21:02.000Z
2021-06-22T17:09:27.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
30.044974
164
0.604561
jeikabu
fab82bd1c7e49cd9c8a2fb05076aaf9b2a7a93fb
566
cpp
C++
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; int main(void) { int numberOfVectors; cin >> numberOfVectors; int arr[numberOfVectors][3]; for (int i = 0; i < numberOfVectors; i++) cin >> arr[i][0] >> arr[i][1] >> arr[i][2]; int p = 0, q = 0, r = 0; for...
19.517241
51
0.462898
naimulcsx
fab89358f86040fb144db934d0e49926f6fdc6b0
1,761
cpp
C++
android-28/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./UsbDeviceConnection.hpp" #include "./UsbEndpoint.hpp" #include "../../../JObject.hpp" #include "../../../java/nio/ByteBuffer.hpp" #include "./UsbRequest.hpp" namespace android::hardware::usb { // Fields // QJniObject forward UsbRequest::UsbRequest(QJniObject obj) : JObject(obj) {} // Constructors ...
20.476744
130
0.667802
YJBeetle
fabe170f27fd07fce247851e8f736902c89a8b11
842
hpp
C++
include/svgpp/factory/unitless_angle.hpp
RichardCory/svgpp
801e0142c61c88cf2898da157fb96dc04af1b8b0
[ "BSL-1.0" ]
428
2015-01-05T17:13:54.000Z
2022-03-31T08:25:47.000Z
include/svgpp/factory/unitless_angle.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
61
2015-01-08T14:32:27.000Z
2021-12-06T16:55:11.000Z
include/svgpp/factory/unitless_angle.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
90
2015-05-19T04:56:46.000Z
2022-03-26T16:42:50.000Z
// Copyright Oleg Maximenko 2014. // 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://github.com/svgpp/svgpp for library home page. #pragma once #include <svgpp/traits/angle_units.hpp> namespace s...
25.515152
120
0.74228
RichardCory
fac23cb256e165423d7d4342757c4467f0d43a71
10,693
cpp
C++
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
1
2020-09-28T05:45:54.000Z
2020-09-28T05:45:54.000Z
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
null
null
null
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
null
null
null
// Josue Salvador Cano Martinez | A00829022 // Programación orientada a objetos (c++) // Proyecto integrador: Streaming // 05 Junio 2020 // Incluir librerías #include <iostream> #include <fstream> using namespace std; // Incluir clases #include "Pelicula.h" #include "Episodio.h" #include "Serie.h" #inc...
35.762542
154
0.576919
JosueCano143
fac3af94081f53f188a7c5fe1612555223b4e867
1,162
hpp
C++
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
20
2021-11-23T23:38:25.000Z
2022-03-13T04:39:24.000Z
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
5
2021-11-24T04:48:59.000Z
2022-01-02T15:27:12.000Z
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
10
2021-11-24T03:36:12.000Z
2022-03-06T19:13:10.000Z
#ifndef __AST_EXPR_OP1_HPP__ #define __AST_EXPR_OP1_HPP__ #include <memory> #include <string> #include "IAstExpr.hpp" struct AstExpr_op1: public IAstExpr { PAstExpr m_base; std::string m_op; bool m_prefix; AstExpr_op1 (antlr4::Token *_token, PAstExpr _base, std::string _op, bool _prefix): IAstExpr (_token...
21.924528
94
0.697935
fa-org
fac3c85280d7b96489ad9b14df80c943720f2366
99
cc
C++
tests/data/test-diff-filter/test5-v1.cc
insilications/libabigail-clr
1eb5d367686626660d3cc987b473f296b0a59152
[ "Apache-2.0" ]
3
2021-01-29T20:26:44.000Z
2021-04-28T07:49:48.000Z
tests/data/test-diff-filter/test5-v1.cc
insilications/libabigail-clr
1eb5d367686626660d3cc987b473f296b0a59152
[ "Apache-2.0" ]
2
2021-03-07T19:31:56.000Z
2021-03-07T23:26:13.000Z
tests/data/test-diff-filter/test5-v1.cc
insilications/libabigail-clr
1eb5d367686626660d3cc987b473f296b0a59152
[ "Apache-2.0" ]
1
2021-03-07T19:14:08.000Z
2021-03-07T19:14:08.000Z
class C0 { public: int m0; C0() :m0(0) {} }; typedef C0 c0_type; void foo(c0_type) {}
6.1875
19
0.535354
insilications
fac8f32b6a77baa604f5831f0189ea2db6866ad1
3,363
hpp
C++
include/openpose/gui/wGuiAdam.hpp
purushothamgowthu/openpose
7c21e0b6b184e4dd0b7e119f470089a4149b6e2d
[ "DOC", "MIT-CMU" ]
43
2018-07-07T02:40:22.000Z
2020-12-17T08:18:18.000Z
include/openpose/gui/wGuiAdam.hpp
purushothamgowthu/openpose
7c21e0b6b184e4dd0b7e119f470089a4149b6e2d
[ "DOC", "MIT-CMU" ]
null
null
null
include/openpose/gui/wGuiAdam.hpp
purushothamgowthu/openpose
7c21e0b6b184e4dd0b7e119f470089a4149b6e2d
[ "DOC", "MIT-CMU" ]
26
2017-08-26T04:08:26.000Z
2022-02-08T09:34:05.000Z
#ifdef USE_3D_ADAM_MODEL #ifndef OPENPOSE_GUI_W_GUI_ADAM_HPP #define OPENPOSE_GUI_W_GUI_ADAM_HPP #include <openpose/core/common.hpp> #include <openpose/gui/guiAdam.hpp> #include <openpose/thread/workerConsumer.hpp> namespace op { template<typename TDatums> class WGuiAdam : public WorkerConsumer<TDatums> {...
31.138889
119
0.540886
purushothamgowthu
fad1c8e955b0eec616c67afecf9aa88f1575faaf
5,024
hpp
C++
include/overloaded-fn-ref-abomination.hpp
Quincunx271/MusingsCpp
53991afe3f52c5474cccc48705372203cfefa69a
[ "MIT" ]
null
null
null
include/overloaded-fn-ref-abomination.hpp
Quincunx271/MusingsCpp
53991afe3f52c5474cccc48705372203cfefa69a
[ "MIT" ]
null
null
null
include/overloaded-fn-ref-abomination.hpp
Quincunx271/MusingsCpp
53991afe3f52c5474cccc48705372203cfefa69a
[ "MIT" ]
null
null
null
#include <functional> #include <type_traits> #include <utility> #include <boost/hana.hpp> // Function reference. Similar to what I'd expect `[]someFunction` to do // if the proposal goes through. The intention of this is to lift an // overload set into a lambda. Calling `FREF(std::foo)` acts as if you called // `std:...
50.24
98
0.42078
Quincunx271
fad2f63dbe5ad48db907a1fbea67f15365082e58
2,587
cpp
C++
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
16
2015-06-26T22:53:20.000Z
2021-03-09T22:54:33.000Z
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
21
2015-01-29T14:16:19.000Z
2016-03-27T00:09:50.000Z
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
10
2015-07-18T02:48:35.000Z
2019-12-25T11:04:17.000Z
/*VRP********************************************************************* * * vehicle routing problems * A collection of C++ classes for developing VRP solutions * and specific solutions developed using these classes. * * Copyright 2014 Stephen Woodbridge <woodbri@imaptools.com> * Copyright 2014 Vicky...
24.875
86
0.571318
woodbri
fad36d15b11d2511c2204fcc4605acc92a5a6b01
348
cpp
C++
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
#include "../header/BigNumberCalculator.h" int main() { //Add cout << "Addition: " << add("19", "-22") << endl; //Subtract cout << "Subtract: " << subtract("122", "119") << endl; // Multiply cout << "Multiply: " << multiply("98", "-13") << endl; //103! cout << "Factorial: "<< fact(10...
24.857143
60
0.5
ediston
fad7011382198de1113317d66cfbeaed49c26789
535
hpp
C++
src/bitstream.hpp
mrwonko/physfs-bfs
1eb96bb312247b825ca6ed4629d82d785ca00991
[ "Zlib" ]
2
2019-09-27T06:44:54.000Z
2020-10-23T17:16:01.000Z
src/bitstream.hpp
mrwonko/physfs-bfs
1eb96bb312247b825ca6ed4629d82d785ca00991
[ "Zlib" ]
1
2016-05-26T20:46:47.000Z
2016-05-26T20:46:47.000Z
src/bitstream.hpp
mrwonko/physfs-bfs
1eb96bb312247b825ca6ed4629d82d785ca00991
[ "Zlib" ]
null
null
null
#pragma once #include <vector> class BitStream { public: BitStream( const char * const begin, const char* const end ); ~BitStream() = default; BitStream( const BitStream& rhs ) = default; BitStream& operator=( const BitStream& rhs ) = delete; /** @param out_bit 0 iff next bit is 0 @return if already eo...
21.4
63
0.672897
mrwonko
fad7a374495c9e62db142a538efd9ef4cb264647
8,964
hpp
C++
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
null
null
null
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
1
2022-02-11T11:41:21.000Z
2022-02-11T11:41:21.000Z
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
null
null
null
// // https://github.com/doleron/yolov5-opencv-cpp-python // https://github.com/doleron/yolov5-opencv-cpp-python.git // #pragma once #include <opencv2/dnn.hpp> #include <queue> #include "common.h" #include "config.h" #include "constants.h" #include "ofMain.h" #include "ofThread.h" #include "ofxCv.h" #include "ofxOpe...
25.109244
95
0.522311
yoosamui
fad82ddf69f224ff85fc9c42b44cbda8d8430dcf
322,286
cpp
C++
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
42.982929
235
0.826043
bhuwanY-Hexaware
fad872c5b1f9c8a7ae1b0d394071b467f7adc244
1,757
cpp
C++
src/view/view2d/polylinepathitem.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
19
2020-04-08T16:38:27.000Z
2022-03-30T19:53:18.000Z
src/view/view2d/polylinepathitem.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
3
2020-10-27T05:50:37.000Z
2022-03-19T17:22:04.000Z
src/view/view2d/polylinepathitem.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
6
2020-06-15T13:00:58.000Z
2022-02-09T13:18:04.000Z
#include <polylinepathitem.h> #include <bulgepainter.h> #include <QPainter> namespace View::View2d { QPainterPath PolylinePathItem::paintPath() const { const Geometry::Polyline &polyline = m_path.basePolyline(); QPainterPath painter(polyline.start().toPointF()); BulgePainter functor(painter); polyline.forEachB...
21.691358
104
0.770632
panzergame
fadb248fa46042378820936417a450d458cfa0d3
2,858
cpp
C++
yotta_modules/core-util/source/sbrk.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
yotta_modules/core-util/source/sbrk.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
yotta_modules/core-util/source/sbrk.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM 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 re...
32.11236
127
0.652204
lbk003
fadb55b9cc81be894247c5eaaae33c2792389608
460
cpp
C++
720. Longest Word in Dictionary.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
720. Longest Word in Dictionary.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
720. Longest Word in Dictionary.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: string longestWord(vector<string>& words) { string res = ""; unordered_map<int, unordered_set<string>>m; for(auto s: words) m[s.size()].insert(s); for(auto s: words){ int i = 1; while(i < s.size() && m[i].count(s.substr(0, i))) i++; ...
30.666667
102
0.482609
rajeev-ranjan-au6
fadb985dbc23fb7e6b54f8c12c427d8f939f8ee2
561
hpp
C++
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
1
2018-06-01T03:29:34.000Z
2018-06-01T03:29:34.000Z
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
// DDCPP/standard/bits/DD_IsEnum.hpp #ifndef DD_IS_ENUM_HPP_INCLUDED_ # define DD_IS_ENUM_HPP_INCLUDED_ 1 # if __cplusplus < 201103L # error ISO/IEC 14882:2011 or a later version support is required for'DD::IsEnum'. # endif # include <type_traits> # include "DD_And.hpp" DD_DETAIL_BEGIN_ template <typename......
12.195652
83
0.743316
iDingDong
fadfcaec11730498729318661eb1452370c87d69
1,140
cpp
C++
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#include <cppx-core-language/calc/floating-point-operations.hpp> // cppx::intpow #include <cppx-core-language/calc/named-numbers.hpp> // cppx::m::pi #include <cppx-core-language/calc/number-type-properties.hpp> // cppx::n_digits_ #include <cppx-core-language/syntax/types.hpp> ...
38
86
0.581579
alf-p-steinbach
fae164a1977e871c3a0651c73abedf09fde1bacd
1,094
cpp
C++
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
193
2015-07-03T22:23:27.000Z
2022-03-15T18:56:02.000Z
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
531
2015-05-07T09:39:42.000Z
2021-09-27T07:51:38.000Z
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
31
2015-09-30T13:07:36.000Z
2021-10-15T13:08:04.000Z
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA IDE // MenuHistoryList class implementation // (C)2005-2018, by Alexei Rakov //---------------------------------------------------------------------------...
28.789474
77
0.535649
drkameleon