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
6ea5479684aea0946f1f98de049a17fedcbb670c
193
cc
C++
test/check_module.cc
respu/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
2
2015-11-05T09:08:04.000Z
2016-02-09T23:26:00.000Z
test/check_module.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
test/check_module.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
/* This is free and unencumbered software released into the public domain. */ #include "catch.hpp" #include <posix++/module.h> /* for posix::module */ TEST_CASE("test_module") { // TODO }
19.3
77
0.683938
respu
6ea7712832a3df3014e2fcb66d4768d8068e545e
737
cpp
C++
week2/man_dog.cpp
aviiciii/iitb-exercises
e078e28fceb87eecc747272abd410e7279b22a97
[ "MIT" ]
null
null
null
week2/man_dog.cpp
aviiciii/iitb-exercises
e078e28fceb87eecc747272abd410e7279b22a97
[ "MIT" ]
null
null
null
week2/man_dog.cpp
aviiciii/iitb-exercises
e078e28fceb87eecc747272abd410e7279b22a97
[ "MIT" ]
null
null
null
#include <simplecpp> main_program { initCanvas("Man and Dog", 700, 700); //draw axes Turtle t; t.right(90); t.forward(350); t.right(180); t.forward(700); t.right(180); t.forward(350); t.right(90); t.forward(350); t.right(180); t.forward(750); Text tx1(400,365,"50"); ...
17.547619
41
0.506106
aviiciii
6ea88e63a74886932f19c68bba323ffcf6270374
1,497
hpp
C++
include/d_log_wrapper.hpp
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
include/d_log_wrapper.hpp
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
include/d_log_wrapper.hpp
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
#pragma once #ifdef D_USING_SPDLOG #include <d_spdlog/spd_logging.hpp> // Map level names ... #ifdef TRACE #define VERBOSE TRACE #endif #define WARNING WARN #define WARNING WARN #define D_ANY_LOG_DEFAULT_IMPL(level, ...) SPDLOG_##level(__VA_ARGS__) #define D_LOG_DEFAULT(level, ...) D_ANY_LOG_DEFAULT_IMPL(level, __...
37.425
92
0.751503
domenn
6eaee1da4a9c9996e5d31d6381316472ce63e492
2,958
cc
C++
src/lib/eval/tests/dependency_unittest.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
2
2020-11-02T19:38:10.000Z
2020-11-02T19:38:13.000Z
src/lib/eval/tests/dependency_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
null
null
null
src/lib/eval/tests/dependency_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <eval/dependency.h> #...
29.878788
77
0.707235
svenauhagen
6eafdf3962cc7ba4f332c235594b6d890a07ce85
51,637
hpp
C++
Tools/RegistersGenerator/STM32F303/FieldValues/dma2fieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
Tools/RegistersGenerator/STM32F303/FieldValues/dma2fieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
Tools/RegistersGenerator/STM32F303/FieldValues/dma2fieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : dma2fieldvalues.hpp * * Details : Enumerations related with DMA2 peripheral. This header file is * auto-generated for STM32F303 device. * * ***********************************************************...
45.176728
92
0.77979
snorkysnark
6eb647f73cc60626fb0f350f18b6c837d8563a49
5,008
cc
C++
vs/src/model/ModifyGroupRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vs/src/model/ModifyGroupRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vs/src/model/ModifyGroupRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
21.964912
82
0.741014
iamzken
6eb8e526605af71564eb43da9d58f483a10d949e
636
cpp
C++
practice2/client.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
practice2/client.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
practice2/client.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> //using namespace std; using std::cout; using std::endl; using std::vector; using std::string; #include <boost/asio.hpp> using namespace boost; using namespace boost::asio; int main() { cout << "client start" << endl; io_service ios; ip::tcp:...
19.272727
53
0.611635
MaxHonggg
6eba7e03dfbf14404f71672278184027b9ddb131
1,214
cpp
C++
1_two_sum/1_two_sum.cpp
ttiimm2214/leetcode
489c76bf374e2116bcac6ece5efe901db62a5ce1
[ "MIT" ]
null
null
null
1_two_sum/1_two_sum.cpp
ttiimm2214/leetcode
489c76bf374e2116bcac6ece5efe901db62a5ce1
[ "MIT" ]
null
null
null
1_two_sum/1_two_sum.cpp
ttiimm2214/leetcode
489c76bf374e2116bcac6ece5efe901db62a5ce1
[ "MIT" ]
null
null
null
/* * Leetcode 1 Two Sum * * Compile: g++ 1_two_sum.cpp -o result * Execute: ./result */ // Given an array of integers, return indices of the two numbers such that they add up to a specific target. //You may assume that each input would have exactly one solution, and you may not use the same element twice. //Exa...
19.901639
109
0.62603
ttiimm2214
6ebb7b44214339adb3e5ecfc9b4ff5b7746ff7cf
2,372
cc
C++
power_manager/common/clock.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
power_manager/common/clock.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
power_manager/common/clock.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright (c) 2013 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 "power_manager/common/clock.h" #include <time.h> namespace power_manager { namespace { // TODO(abhishekbh): Copied from Chrome's //base...
31.210526
79
0.713744
strassek
6ebca9349b196a6c969ab88a9d8fcf7ba15d2933
2,764
cc
C++
usr/src/cmd/audio/utilities/AudioDebug.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
null
null
null
usr/src/cmd/audio/utilities/AudioDebug.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
null
null
null
usr/src/cmd/audio/utilities/AudioDebug.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
1
2020-12-30T00:04:16.000Z
2020-12-30T00:04:16.000Z
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
21.426357
70
0.662446
AsahiOS
6ec404498eb171bc328a030cf8df021cae51df05
8,477
cpp
C++
src/Texture.cpp
Derjik/VaubanEngine
19792aeb7fe838c6b85d00270d15a2805f6fb9d5
[ "0BSD" ]
2
2018-10-09T14:31:12.000Z
2018-10-26T08:47:59.000Z
src/Texture.cpp
Derjik/VaubanEngine
19792aeb7fe838c6b85d00270d15a2805f6fb9d5
[ "0BSD" ]
null
null
null
src/Texture.cpp
Derjik/VaubanEngine
19792aeb7fe838c6b85d00270d15a2805f6fb9d5
[ "0BSD" ]
null
null
null
#include <SDL2/SDL_render.h> #include <VBN/Surface.hpp> #include <VBN/Texture.hpp> #include <VBN/Logging.hpp> #include <VBN/Exceptions.hpp> /*! * The main constructor for this class is private, external callers should use * the "from...()" factories instead. * * @param rawTexture SDL_Texture raw pointer to encapsu...
25.079882
78
0.712634
Derjik
6ec43651f8966c1614c10321433a605ce8824730
5,111
cpp
C++
Source/GUI/Qt/editsheet.cpp
kieranjol/MediaInfo-1
f4e5ae0c009d59009e52bfb2094e04c4094c99d8
[ "BSD-2-Clause" ]
1
2017-12-16T20:49:14.000Z
2017-12-16T20:49:14.000Z
Source/GUI/Qt/editsheet.cpp
kieranjol/MediaInfo-1
f4e5ae0c009d59009e52bfb2094e04c4094c99d8
[ "BSD-2-Clause" ]
null
null
null
Source/GUI/Qt/editsheet.cpp
kieranjol/MediaInfo-1
f4e5ae0c009d59009e52bfb2094e04c4094c99d8
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ #include "translate.h" #include "editsheet.h" #include "_Automated/ui_editsheet.h" #include "sheet.h" #include ...
34.768707
206
0.643514
kieranjol
6ec447129489d64b92aeb18f535e9c5e18325ffa
7,132
cpp
C++
kernel/process/thread.cpp
USN484259/COFUOS
a751c3ab1a24f634ae33b5ddced55c184c8f9381
[ "MIT" ]
1
2022-03-03T09:57:56.000Z
2022-03-03T09:57:56.000Z
kernel/process/thread.cpp
USN484259/COFUOS
a751c3ab1a24f634ae33b5ddced55c184c8f9381
[ "MIT" ]
null
null
null
kernel/process/thread.cpp
USN484259/COFUOS
a751c3ab1a24f634ae33b5ddced55c184c8f9381
[ "MIT" ]
1
2022-01-22T14:19:24.000Z
2022-01-22T14:19:24.000Z
#include "thread.hpp" #include "core_state.hpp" #include "constant.hpp" #include "memory/include/vm.hpp" #include "process.hpp" #include "pe64.hpp" #include "dev/include/timer.hpp" #include "lock_guard.hpp" #include "assert.hpp" using namespace UOS; id_gen<dword> thread::new_id; //initial thread thread::thread(init...
23.23127
262
0.671761
USN484259
6ec5ebf72f798a370e0143c6238fdf7759f09726
1,346
cpp
C++
src/test_distribution.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
src/test_distribution.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
src/test_distribution.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
#include <mission_ctrl_msgs/generateStudDistributionAction.h> #include <mission_ctrl_msgs/mission_ctrl_defines.h> #include <actionlib/client/simple_action_client.h> typedef actionlib::SimpleActionClient<mission_ctrl_msgs::generateStudDistributionAction> Client; void finishedHnd(const actionlib::SimpleClientGoalState...
28.638298
96
0.746657
inesc-tec-robotics
6ecad6eb9fe81c9b4f19eb409116b3f286fb4bd7
1,062
cpp
C++
PlayerData.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
PlayerData.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
PlayerData.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
#include "PlayerData.h" PlayerMSG::PlayerMSG(PlayerAction action, ID target, ID sender ) :msg(target,sender,MSGTYPE::Player) { m_action = action; } void PlayerMSG::update(void* Variables){ auto &mybod = *reinterpret_cast<b2Body*>(Variables); switch( m_action){ case PlayerAction::Idle: break; case PlayerA...
22.125
76
0.720339
GracefulComet
6ecae98fe9c4d2ee70fbbef1b6186b1fc18708bb
5,758
cpp
C++
src/3rdParty/ogdf-2020/src/ogdf/basic/graph_generators/deterministic.cpp
MichaelTiernan/qvge
aff978d8592e07e24af4b8bab7c3204a7e7fb3fb
[ "MIT" ]
3
2021-09-14T08:11:37.000Z
2022-03-04T15:42:07.000Z
src/3rdParty/ogdf-2020/src/ogdf/basic/graph_generators/deterministic.cpp
MichaelTiernan/qvge
aff978d8592e07e24af4b8bab7c3204a7e7fb3fb
[ "MIT" ]
2
2021-12-04T17:09:53.000Z
2021-12-16T08:57:25.000Z
src/3rdParty/ogdf-2020/src/ogdf/basic/graph_generators/deterministic.cpp
MichaelTiernan/qvge
aff978d8592e07e24af4b8bab7c3204a7e7fb3fb
[ "MIT" ]
2
2021-06-22T08:21:54.000Z
2021-07-07T06:57:22.000Z
/** \file * \brief Implementation of some graph generators * * \author Carsten Gutwenger, Markus Chimani * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.md in the OGDF root directory for details. * * \par * This program is free sof...
20.062718
89
0.609934
MichaelTiernan
6ed0caefcd0ab8aff75867a73e480389777cb7e1
1,095
hpp
C++
device-manager.hpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
2
2018-11-26T10:40:46.000Z
2019-05-30T05:30:01.000Z
device-manager.hpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
null
null
null
device-manager.hpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
1
2018-10-16T10:17:23.000Z
2018-10-16T10:17:23.000Z
#ifndef _KEYBOX_DEVICE_MANAGER_INCLUDE_ #define _KEYBOX_DEVICE_MANAGER_INCLUDE_ #include "base-device.hpp" #define KEYBOX2_VENDOR_ID 0xb6ab #define KEYBOX2_PRODUCT_ID 0xbaeb #define KEYBOX2_BCD_DEVICE 0x0001 #include <boost/asio.hpp> #include <set> class DeviceEventListener { public: virtual void deviceAdded(Bas...
27.375
74
0.750685
KeyboxWallet
6ed55ed03b8a725a0e8cfa7a7481e4645e53f254
109,294
cpp
C++
src/Exciton/PaintingSecrets/nPaintingSecretGui.cpp
Vladimir-Lin/QtExciton
ac5bc82f22ac3cdcdccb90526f7dd79060535b5a
[ "MIT" ]
null
null
null
src/Exciton/PaintingSecrets/nPaintingSecretGui.cpp
Vladimir-Lin/QtExciton
ac5bc82f22ac3cdcdccb90526f7dd79060535b5a
[ "MIT" ]
null
null
null
src/Exciton/PaintingSecrets/nPaintingSecretGui.cpp
Vladimir-Lin/QtExciton
ac5bc82f22ac3cdcdccb90526f7dd79060535b5a
[ "MIT" ]
null
null
null
#include <exciton.h> /////////////////////////////////////////////////////////////////////////////// #define DEBUGPAINTING #ifdef DEBUGPAINTING #define XDEBUG(msg) if (plan->Verbose>=90) plan -> Debug ( msg) #else #define XDEBUG(msg) #endif ///////////////////////////////////////////////////////////////////////////...
53.919092
119
0.332223
Vladimir-Lin
6ed6e77359a63b9ad0bf7f144a6129153538d41a
3,112
cpp
C++
Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/ShowLoginUICallbackProxy.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/ShowLoginUICallbackProxy.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/ShowLoginUICallbackProxy.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "ShowLoginUICallbackProxy.h" #include "EngineGlobals.h" #include "Engine/Engine.h" #include "GameFramework/PlayerState.h" #include "GameFramework/PlayerController.h" #include "Engine/LocalPlayer.h" #include "OnlineSubsystem.h" #include "OnlineSubsys...
31.755102
143
0.793059
windystrife
6ed8d02b14716e8d04470d3b09828cf51c00c8d2
1,266
cpp
C++
src/shogun/loss/HingeLoss.cpp
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,753
2015-01-02T11:34:13.000Z
2022-03-25T07:04:27.000Z
src/shogun/loss/HingeLoss.cpp
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,404
2015-01-02T19:31:41.000Z
2022-03-09T10:58:22.000Z
src/shogun/loss/HingeLoss.cpp
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: Fernando Iglesias, Shashwat Lal Das */ #include <shogun/loss/HingeLoss.h> #include <shogun/mathematics/Math.h> using namespace shogun; float64_t HingeLoss::loss(float64_t prediction, float64_t label) { float64_t e = 1 ...
22.210526
103
0.731438
ShankarNara
6edb231d511296e3cc3f04fab65844934e4425b2
3,697
cc
C++
src/page.cc
minkezhang/giga
bae6fe295e417b132ba5b6064fb25906188e3cbe
[ "MIT" ]
1
2016-11-23T14:55:29.000Z
2016-11-23T14:55:29.000Z
src/page.cc
cripplet/giga
bae6fe295e417b132ba5b6064fb25906188e3cbe
[ "MIT" ]
null
null
null
src/page.cc
cripplet/giga
bae6fe295e417b132ba5b6064fb25906188e3cbe
[ "MIT" ]
1
2021-12-24T23:08:00.000Z
2021-12-24T23:08:00.000Z
#include <random> #include <sstream> #include <string> #include <vector> #include "libs/cachepp/globals.h" #include "libs/exceptionpp/exception.h" #include "libs/md5/md5.h" #include "src/page.h" giga::Page::Page(cachepp::identifier id, std::string filename, size_t file_offset, size_t size, bool is_dirty) : cachepp::...
28.007576
227
0.650798
minkezhang
6edcd5c4f6463bf25aca47ed69148505c77bd844
292
cpp
C++
11172-Relational_Operators/RO.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
11172-Relational_Operators/RO.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
11172-Relational_Operators/RO.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std ; int main() { int n,a,b ; cin >> n ; while(n--) { cin >> a >> b ; if(a > b) { cout << ">" << endl ; } else if(b > a) { cout << "<" << endl ; } else { cout << "=" << endl ; } } }
10.068966
27
0.342466
dangercard
6ee1d7a9db4930b9f902cd0fba265dd5e38d3983
1,445
hpp
C++
addons/UH60/config/turrets/pilotCamera.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/UH60/config/turrets/pilotCamera.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/UH60/config/turrets/pilotCamera.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
class OpticsIn { class Wide { opticsDisplayName = "TRK COR"; initAngleX = 0; minAngleX = -360; maxAngleX = 360; initAngleY = 0; minAngleY = -15; maxAngleY = 85; initFov = 0.3; minFov = 0.3; maxFov = 0.3; visionMode[] = {"Nor...
22.936508
61
0.536332
ZHANGTIANYAO1
6ee36251eab69097dfc764dd240c98d10b042426
145
hpp
C++
src/Game.hpp
eXpl0it3r/MartisOpibus
120910e564f73a8a2ed4822d0a1daf2cb9a15a2f
[ "CC0-1.0" ]
null
null
null
src/Game.hpp
eXpl0it3r/MartisOpibus
120910e564f73a8a2ed4822d0a1daf2cb9a15a2f
[ "CC0-1.0" ]
null
null
null
src/Game.hpp
eXpl0it3r/MartisOpibus
120910e564f73a8a2ed4822d0a1daf2cb9a15a2f
[ "CC0-1.0" ]
null
null
null
#pragma once #include <SFML/Graphics/RenderWindow.hpp> class Game { public: void Run(); private: sf::RenderWindow m_window; };
11.153846
42
0.655172
eXpl0it3r
6ee9a6ab36a701feaf86ccfe4d5628281b21c69c
5,785
hpp
C++
vlc_linux/vlc-3.0.16/modules/demux/adaptive/plumbing/CommandsQueue.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/adaptive/plumbing/CommandsQueue.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/adaptive/plumbing/CommandsQueue.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/* * CommandsQueue.hpp ***************************************************************************** * Copyright © 2015 VideoLAN and VLC Authors * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Softwa...
30.935829
96
0.597407
Brook1711
6eeb77bb351b602838edfcf2dbb32cf286f9c8ba
1,285
cpp
C++
Treap (Cartesian Tree)/Cartesian Tree Build (stack).cpp
yokeshrana/Fast_Algorithms_in_Data_Structures
2346fee16c6c3ffceac7cb79b1f449b4d8dc9df2
[ "MIT" ]
4
2021-01-15T16:30:48.000Z
2021-08-12T03:17:00.000Z
Treap (Cartesian Tree)/Cartesian Tree Build (stack).cpp
andy489/Fast_Algorithms_in_Data_Structures
0f28a75030df3367902f0aa859a34096ea2b2582
[ "MIT" ]
null
null
null
Treap (Cartesian Tree)/Cartesian Tree Build (stack).cpp
andy489/Fast_Algorithms_in_Data_Structures
0f28a75030df3367902f0aa859a34096ea2b2582
[ "MIT" ]
2
2021-02-24T14:50:08.000Z
2021-02-28T17:39:41.000Z
// github.com/andy489 #include <vector> #include <stack> using namespace std; vector<int> build(int *A, int n) { vector<int> parent(n, -1); stack<int> s; for (int i = 0; i < n; ++i) { int last = -1; while (!s.empty() && A[s.top()] >= A[i]) { last = s.top(); s.pop(...
19.769231
50
0.438911
yokeshrana
6ef56e394fd47f690e8ca8dc51d23f417aa34b7f
2,023
cpp
C++
src/KeyboardHook.cpp
Erwan28250/KeyChattering
b69e0b25064232b6bea9a87d6b9070a5dd04d40e
[ "MIT" ]
1
2021-12-18T01:47:28.000Z
2021-12-18T01:47:28.000Z
src/KeyboardHook.cpp
Erwan28250/KeyChattering
b69e0b25064232b6bea9a87d6b9070a5dd04d40e
[ "MIT" ]
null
null
null
src/KeyboardHook.cpp
Erwan28250/KeyChattering
b69e0b25064232b6bea9a87d6b9070a5dd04d40e
[ "MIT" ]
null
null
null
/* * MIT Licence * * KeyChattering * * Copyright © 2021 Erwan Saclier de la Bâtie (Erwan28250) * * 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 limitati...
38.169811
160
0.692042
Erwan28250
6ef61a9fbe5f82477bca8259bd65ea8a29d33aa5
3,212
hpp
C++
include/ltac/RegisterManager.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
24
2015-10-08T23:08:50.000Z
2021-09-18T21:15:01.000Z
include/ltac/RegisterManager.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
1
2016-02-29T20:20:45.000Z
2016-03-03T07:16:53.000Z
include/ltac/RegisterManager.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
5
2015-08-09T09:53:52.000Z
2021-09-18T21:15:05.000Z
//======================================================================= // Copyright Baptiste Wicht 2011-2016. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #ifndef L...
31.184466
106
0.679639
wichtounet
6ef75b61101c57ae2bd1673bc48a238ded03d753
710
cpp
C++
p/3k/3741/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
p/3k/3741/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
p/3k/3741/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
/* 4 possibilities: vv(ok) kk(ok) vk(ok,target) kv(unchangeable) */ #include <bits/stdc++.h> #define DEBUGn using namespace std; int main() { int cnt = 0; int flag = 0; // "yes we can change" flag int n; string s; cin >> n; cin >> s; for (int i = 0; i < n - 1; i++) { int cur = s[i]; int next ...
15.434783
48
0.474648
josedelinux
6ef7a80f4b765a75be37b615c05d2b080fe32d77
7,821
hh
C++
include/stmicro/stm32l4x6/syscfg.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
include/stmicro/stm32l4x6/syscfg.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
include/stmicro/stm32l4x6/syscfg.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Boris Vinogradov <no111u3@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 applic...
36.71831
81
0.628692
no111u3
6ef844ef4469ae396ff8ec3cd10309a9d373d31b
428
cpp
C++
mainservo/servotestfunction.cpp
frank1789/hexpaodArduino
9dfd5920eff38618a3439305b80fb7b37fb0b4a5
[ "MIT" ]
null
null
null
mainservo/servotestfunction.cpp
frank1789/hexpaodArduino
9dfd5920eff38618a3439305b80fb7b37fb0b4a5
[ "MIT" ]
null
null
null
mainservo/servotestfunction.cpp
frank1789/hexpaodArduino
9dfd5920eff38618a3439305b80fb7b37fb0b4a5
[ "MIT" ]
null
null
null
#include "servotestfunction.h" #include <Arduino.h> void testservo(Leg& legs) { for (int i = 0; i < 6; i++) { legs["coxa"]->setServoAngle(75); delay(500); legs["coxa"]->setServoAngle(90); delay(500); legs["femur"]->setServoAngle(120); delay(500); legs["femur"]->setServoAngle(90); del...
21.4
38
0.595794
frank1789
6efa0b7caa5c3485087e445ab01d9180aff7e1b5
21,293
cc
C++
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
3
2021-03-30T15:46:36.000Z
2021-11-26T03:20:15.000Z
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
null
null
null
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
2
2021-03-30T15:46:40.000Z
2021-12-19T09:53:38.000Z
#include "video_encoder.h" VideoEncoder::VideoEncoder(AVCodecContext *s_video_codec_ctx) { using namespace std; int ret = 0; std::array<char, 256> errstr; hw_frame = av_frame_alloc(); hw_device_ctx = NULL; out_format_ctx = NULL; audio_codec = NULL; audio_codec_ctx = NULL; if ((ret = av_hwdevice_ctx...
35.967905
80
0.651388
AugmentariumLab
6efe0572727c8fb4559384c095099fe3b89acddd
3,129
cpp
C++
ros/src/meta_planner/src/environment.cpp
ICRA-2018/meta_fastrack
19c62cf5cd6684315a462eadc4c053ca22cb0cc8
[ "BSD-3-Clause" ]
16
2018-07-01T02:09:26.000Z
2022-03-21T04:46:53.000Z
ros/src/meta_planner/src/environment.cpp
ICRA-2018/meta_fastrack
19c62cf5cd6684315a462eadc4c053ca22cb0cc8
[ "BSD-3-Clause" ]
1
2019-10-10T08:45:38.000Z
2021-05-07T15:44:46.000Z
ros/src/meta_planner/src/environment.cpp
ICRA-2018/meta_fastrack
19c62cf5cd6684315a462eadc4c053ca22cb0cc8
[ "BSD-3-Clause" ]
9
2018-06-11T21:08:46.000Z
2021-09-11T07:47:24.000Z
/* * Copyright (c) 2017, The Regents of the University of California (Regents). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the a...
35.556818
90
0.695749
ICRA-2018
3e01e78f73b43fad156ad659d8806a25f17646b6
7,208
hpp
C++
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
6
2015-01-03T08:18:16.000Z
2022-01-22T00:01:23.000Z
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:07:56.000Z
2021-10-03T19:07:56.000Z
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:29:40.000Z
2021-10-03T19:29:40.000Z
// // UIBase.hpp // #pragma once #include "UISuper.hpp" #include <v8.h> #include "../InputManager.hpp" #include <functional> using namespace v8; class ScriptEnvironment; typedef std::weak_ptr<ScriptEnvironment> ScriptEnvironmentWeakPtr; class UIBase; class Input; typedef std::shared_ptr<UIBase> UIBasePtr; typedef...
35.683168
112
0.720172
LoneDev6
3e02918fea0f5319730bcb9858404f2221358db1
2,959
cpp
C++
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
652
2022-02-03T19:31:04.000Z
2022-03-31T17:45:29.000Z
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
50
2022-02-03T23:16:36.000Z
2022-03-31T19:50:19.000Z
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
116
2022-02-03T19:57:26.000Z
2022-03-20T17:23:47.000Z
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "uhs/atomizer/watchtower/error_cache.hpp" #include "uhs/atomize...
44.164179
75
0.558297
EnrikoChavez
3e068924620de9486e0a8e14f90b29bf809b5b26
1,428
hpp
C++
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Utility/VLTree/HydraGame/a_Body.hpp #pragma once #include "../a_Body.hpp" template <typename T> void CutHydra( VLSubTree<T>& t , const uint& n ) { if( t.IsLeaf() ){ ERR_CALL; } VLSubTree<T> t0 = t.RightMostSubTree(); if( t0.IsLeaf() ){ t....
12.981818
75
0.465686
p-adic
3e0a827c83017a380a5b79e4a44f54b9318fe5c0
2,258
cpp
C++
code/sudoku-solver/sudoku_solver.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
1
2019-06-17T04:37:39.000Z
2019-06-17T04:37:39.000Z
code/sudoku-solver/sudoku_solver.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
null
null
null
code/sudoku-solver/sudoku_solver.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; /** * @author Huaze Shen * @date 2019-07-17 */ bool IsValid(vector<vector<char>>& board, int i, int j) { for (int col = 0; col < 9; col++) { if (col != j && board[i][col] == board[i][j]) { return false; } } for (int...
27.204819
73
0.330381
shenhuaze
3e0b343eaf91117d585500c802c60951fbb7bb20
1,203
hpp
C++
include/Object.hpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
include/Object.hpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
include/Object.hpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
#ifndef ENTO_OBJECT_HPP_INCLUDED #define ENTO_OBJECT_HPP_INCLUDED #include <Box2D.h> namespace ento { /// Base for all game objects class Object { public: /// list of all game object types enum Type { e_Static_Terrain, e_Entomon, e_Shot }; Object(...
17.955224
74
0.571904
fu7mu4
3e0ea51a9742e9ee27272a85e2e2eaeedde464ed
1,791
hpp
C++
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
6
2018-07-21T20:37:01.000Z
2018-10-31T01:49:35.000Z
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
/// /// Mouse.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_INPUT_MOUSE_HPP_ #define GALAXY_INPUT_MOUSE_HPP_ #include <glm/vec2.hpp> #include "galaxy/input/InputDevice.hpp" namespace galaxy { namespace input { /// /// Physical mouse device and state management. /// class...
17.558824
105
0.564489
reworks
3e0f99001035521eca0535e341d247d24db03c45
7,115
hpp
C++
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
// ***************************************************************************** // ***************************************************************************** // Copyright 2013, Cadence Design Systems // // This file is part of the Cadence LEF/DEF Open Source // Distribution, Product Version 5.8. // // Li...
45.903226
80
0.581588
jesec
3e14095a07a869c7851dcaece44d3a89081e1964
7,634
cpp
C++
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
#include <OpenImageIO/imageio.h> #include "../Image/ImageLoader.h" #include "../Image/ImageUtils.h" #include "SDLWindow.h" #include <array> #include <vector> namespace J::Graphics { JSDLWindow::JSDLWindow(const SWindowCreateOptions& InOptions) : options(InOptions), bIsOpened(false), window(nullptr, [](WindowHandle...
26.233677
144
0.680639
jfla-fan
3e190dba3891551e0742b37c384e58d2634746bc
755
cpp
C++
HackerEarth/Data Structure/Arrays/1D/Takeoff.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
1
2021-07-13T01:49:25.000Z
2021-07-13T01:49:25.000Z
HackerEarth/Data Structure/Arrays/1D/Takeoff.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
HackerEarth/Data Structure/Arrays/1D/Takeoff.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define fastIO ios_base::sync_with_stdio(false); cin.tie(NULL); #define ll long long int int main() { fastIO int t; cin >> t; for(int i=0; i<t; i++){ ll n, p, q, r; cin >> n >> p >> q >> r; vector<ll>arr(n+1, 0); for(ll...
18.414634
63
0.335099
AdityaChirravuri
3e192b7bc7c7109250b95f60e59ff653a775bbc6
367
cxx
C++
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n; cin >> n; string s, needle = "010"; cin >> s; int changes = 0; for ( string::size_type p = 0, q = string::npos; ( p = s.find ( needle, p ) ) != q; p += 3, ++changes ) ...
22.9375
107
0.566757
will-crawford
3e1bdee67edb08fffcaa80562d57b36e7a17f7ca
6,580
inl
C++
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
1
2021-01-28T14:54:32.000Z
2021-01-28T14:54:32.000Z
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
null
null
null
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
null
null
null
namespace ffsm2 { namespace detail { //////////////////////////////////////////////////////////////////////////////// template <typename TA, typename TH, typename... TS> bool C_<TA, TH, TS...>::deepForwardEntryGuard(GuardControl& control) noexcept { FFSM2_ASSERT(control._registry.active != INVALID_SHORT); const S...
28.362069
80
0.615957
linuxxiaolei
3e1c678ad3701d9aa1940eb91bb452f846afb038
482
cc
C++
bucket_1F/mysql80/patches/patch-storage_myisam_mi__dynrec.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_1F/mysql80/patches/patch-storage_myisam_mi__dynrec.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_1F/mysql80/patches/patch-storage_myisam_mi__dynrec.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- storage/myisam/mi_dynrec.cc.orig 2021-07-01 07:53:49 UTC +++ storage/myisam/mi_dynrec.cc @@ -92,6 +92,9 @@ bool mi_dynmap_file(MI_INFO *info, my_of mapping. When swap space is not reserved one might get SIGSEGV upon a write if no physical memory is available. */ +#ifndef MAP_NORESERVE +#define MAP_...
37.076923
70
0.684647
jrmarino
3e1d42cb90f570ba2f60d5ee941351edb677e1c7
1,093
cpp
C++
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
#include "FrameBuffer.h" #include "Ultra/Platform/OpenGL/GLFramebuffer.h" #include "Ultra/Platform/Vulkan/VKFramebuffer.h" #include "Renderer.h" namespace Ultra { Reference<Framebuffer> Framebuffer::Create(const FramebufferProperties &properties) { switch (Context::API) { case GraphicsAPI::Null: { retu...
29.540541
113
0.717292
larioteo
4a3f10ec880bcfce0979584c6d23b68a9347c114
1,369
cc
C++
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
20
2017-01-26T09:28:23.000Z
2022-01-17T11:31:55.000Z
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
542
2016-03-29T22:50:58.000Z
2022-03-22T20:14:08.000Z
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
36
2016-03-10T21:33:54.000Z
2021-12-01T07:44:12.000Z
/* * * (C) 2003 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include <sstmac/replacements/mpi/mpi.h> #include <stdio.h> #include "mpitest.h" namespace ctxalloc { /** * This program tests the allocation (and deallocation) of contexts. * */ int ctxalloc( int argc, char **ar...
20.432836
80
0.583638
jpkenny
4a4147713a1fcb999b67f43f50d048973489619c
5,766
cpp
C++
blades/xbmc/xbmc/linux/FDEventMonitor.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/linux/FDEventMonitor.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/linux/FDEventMonitor.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2014 Team Kodi * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This ...
23.156627
154
0.647242
krattai
4a421482460913dfde21e0ed245bf59855dc508c
105
cpp
C++
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// bind requires an argument as callable and the rest arguments responded to given callable's arguments.
52.5
104
0.809524
zero4drift
4a4599afa096b26e7200e173d36392f3092d1798
2,966
cpp
C++
src/systemc/tests/systemc/utils/sc_vector/test09/iter_test.cpp
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/systemc/tests/systemc/utils/sc_vector/test09/iter_test.cpp
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/systemc/tests/systemc/utils/sc_vector/test09/iter_test.cpp
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
30.265306
79
0.574511
hyu-iot
4a45ea7316f8208ddb76bfaca6df1524088df1fd
9,579
cxx
C++
StRoot/StMuDSTMaker/COMMON/StMuEmcUtil.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StMuDSTMaker/COMMON/StMuEmcUtil.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StMuDSTMaker/COMMON/StMuEmcUtil.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
#include "StMuEmcUtil.h" #include "StEvent.h" #include "StMessMgr.h" #include "StEventTypes.h" #include "StMuEmcCollection.h" #include "SystemOfUnits.h" #include "StEmcUtil/geometry/StEmcGeom.h" #include "StMuEmcTowerData.h" ClassImp(StMuEmcUtil) #define __EMC_HITS_ID_DIM__ 18000 StMuEmcUtil::StMuEmcUtil() : TO...
25.680965
130
0.502766
xiaohaijin
4a4ad52a38af8707af30b515a584c5f18f47927e
1,524
cpp
C++
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
1
2021-11-27T06:57:22.000Z
2021-11-27T06:57:22.000Z
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // Actualy both problem are exactly same. // leetcode: 240. Search a 2D Matrix =: https://leetcode.com/problems/search-a-2d-matrix/ class soluion{ public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if(!matrix.size()) return false; ...
31.75
181
0.476378
shitesh2607
4a4c6efe25064ed287e3a63e36a936a8b425b865
4,130
cpp
C++
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
9
2021-04-30T09:06:13.000Z
2022-03-31T04:52:07.000Z
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
null
null
null
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
4
2021-04-30T16:37:09.000Z
2022-03-01T23:11:26.000Z
#include "barebone_sounds.h" extern uint8_t period; extern uint8_t multiplier; extern uint8_t DEFAULT_SONG; extern const uint8_t magic_number; void error_sound_SD() { //reset_SID(); OSC_1_HiLo = 0xffff; // just having fun with globals here :-) MASTER_VOLUME = 0x0f; ADSR_Attack_1 = 0x09; ADSR_Decay_1 = ...
19.57346
64
0.678692
Sgw32
4a5155a016ba64c8b36cb336a94595bd16e03096
682
cpp
C++
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2019 by Anthony Williams. All rights reserved. // Licensed under the Boost Software License. See the LICENSE file in the project root for more information. // // Name: Listing2_05.cpp // Author: crdrisko // Date: 12/26/2020-07:57:22 // Description: Returning a std::thread from a function #include <thr...
19.485714
108
0.668622
crdrisko
4a53db9992c70d155a8361999b3aff87e1f88831
369
cpp
C++
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; using namespace std; int main() { cpp_int n; cin >> n; if (n % 6 == 0) cout << "yES" << endl; else cout << "nO" << endl; if (n % 11 == 0) cout <<...
24.6
43
0.601626
H-Tatsuhiro
4a54dee2701eec0c1dbb49eac4ee1bc5a1bd6ff9
1,452
cpp
C++
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
1
2017-06-07T06:52:16.000Z
2017-06-07T06:52:16.000Z
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
null
null
null
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
null
null
null
#include "../buffer/buffer_complex.hpp" #include <fstream> #include <iostream> using namespace Snippets; int main() { std::cout << std::endl << "Start of complex buffer test" << std::endl; std::cout << std::endl; std::cout << "size of buffer: " << sizeof(buffer_complex) << std::endl << std::endl; Snippets::...
32.266667
74
0.661157
Tommoa
4a5522ef04b83812ad9dd47013eb11d1ff99f629
8,037
cpp
C++
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
1
2021-07-16T21:01:26.000Z
2021-07-16T21:01:26.000Z
/* Do not remove this header/ copyright information. * * Copyright © Trilobyte Software Engineering GmbH, Berlin, Germany 2010-2011. * You are allowed to modify and use the source code from * Trilobyte Software Engineering GmbH, Berlin, Germany for free if you are not * making profit with it or its adaption. Else ...
31.641732
105
0.696155
st-gb
4a5af316c672a9bc47d5d81ee695c6c946eab90f
13,850
hpp
C++
src/thirdparty/stlsoft/STLSoft/include/winstl/diagnostics/threadtimes_stopwatch.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/winstl/diagnostics/threadtimes_stopwatch.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/winstl/diagnostics/threadtimes_stopwatch.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: winstl/diagnostics/threadtimes_stopwatch.hpp (formerly winstl::threadtimes_counter, winstl/performance/threadtimes_counter.hpp) * * Purpose: WinSTL thread-time stopwatch class. * * Created: 22nd March 2002 * Update...
31.83908
143
0.703394
nneesshh
4a5cca250efd7d3ea01d9a6edd88e75b2fc21058
13,636
cpp
C++
master/core/third/cxxtools/src/convert.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/cxxtools/src/convert.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/cxxtools/src/convert.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-19T11:13:56.000Z
2018-02-23T08:44:03.000Z
/* * Copyright (C) 2011 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * As a sp...
18.730769
94
0.62115
importlib
4a5d29f3944111cf1b6b85339919d58fcb13a027
11,724
cpp
C++
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
8
2016-06-13T20:47:18.000Z
2021-12-22T17:29:32.000Z
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-03-14T07:00:04.000Z
2019-05-07T18:20:15.000Z
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-02-03T07:41:00.000Z
2019-09-11T10:03:48.000Z
/******************************************************************************* * Copyright (c) 2014-2016 IBM Corporation and others * * 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 w...
38.313725
153
0.58376
harsh-agarwal
4a5e7f3d0eb904ca51a0068b09804230a450577c
9,643
hpp
C++
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
3
2015-04-26T03:51:13.000Z
2019-04-09T03:33:17.000Z
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
2
2015-03-31T22:36:33.000Z
2016-01-25T23:31:52.000Z
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
null
null
null
/* This file is part of sUtil, a random collection of utilities. See the Readme.txt file in the root folder for licensing information. */ /* \file CRegisteredCallbacks.hpp * * Created on: Sep 13, 2011 * * Copyright (C) 2011, Samir Menon <smenon@stanford.edu> */ #ifndef CREGISTEREDCALLBACKS_HPP_ #define CREGIS...
32.911263
104
0.649176
samirmenon
4a614ff0c95a5f176b6bc7725166d87fbf28ad41
22,088
hpp
C++
libs/log/src/windows/ipc_sync_wrappers.hpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
61
2017-07-03T18:36:45.000Z
2021-09-14T14:57:19.000Z
libs/log/src/windows/ipc_sync_wrappers.hpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
49
2016-02-29T17:59:52.000Z
2019-05-05T04:59:26.000Z
libs/log/src/windows/ipc_sync_wrappers.hpp
Manu343726/boost-cmake
009c3843b49a56880d988ffdca6d909f881edb3d
[ "BSL-1.0" ]
31
2017-07-04T14:15:34.000Z
2021-09-12T04:50:41.000Z
/* * Copyright Andrey Semashev 2016. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file windows/ipc_sync_wrappers.hpp * \author Andrey Semashev * \date 23.01.2016 * ...
33.825421
232
0.680188
Manu343726
4a64925586459e57961c312fddfbaef60a543db5
4,835
cpp
C++
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
2
2016-08-10T12:05:05.000Z
2016-08-10T12:10:14.000Z
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
null
null
null
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
null
null
null
#include <string.h> #include <jni.h> #include <android/log.h> #include <string> #include <vector> #ifdef USE_EIGEN #include <omp.h> #else #include <cblas.h> #endif #include "caffe/caffe.hpp" #include "caffe_mobile.hpp" #ifdef __cplusplus extern "C" { #endif using std::string; using std::vector; using caffe::CaffeMo...
30.796178
80
0.696174
malreddysid
4a6e85f157a7c7f9ee4d3a3ae7de86cb7102000f
1,221
hpp
C++
boost/network/protocol/http/message/wrappers/anchor.hpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
3
2015-02-10T22:08:08.000Z
2021-11-13T20:59:25.000Z
include/boost/network/protocol/http/message/wrappers/anchor.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
include/boost/network/protocol/http/message/wrappers/anchor.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_ANCHOR_HPP_20100618 #define BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_ANCHOR_HPP_20100618 // Copyright 2010 (c) Dean Michael Berris. // Copyright 2010 (c) Sinefunc, Inc. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICEN...
29.780488
74
0.689599
antoinelefloch
4a6f0ef95381bfd42ad02c0f8cc864fa7f262cc2
1,279
cpp
C++
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; int net[1000][1000]; bool visited[1000] = {false}; int getFirstUnvistedNode(bool* nodes, int size) { for (int i = 0; i < size; i++) if (!nodes[i]) return i; return size; } int dfs(int nodeIndex, int net[1000][1000], bool* visite...
22.839286
76
0.545739
grand87
4a741ced2f0ee29ca58e7909fc4b0aeb05dbe762
1,666
cpp
C++
ros_ws/src/crazyswarm/externalDependencies/libmotioncapture/deps/vrpn/server_src/ghostEffects/InstantBuzzEffect.cpp
rasmus-rudling/crazyswarm
1326fbc679061f64a8632a6553a9d6ae269bc1a4
[ "MIT" ]
1
2021-10-20T22:55:12.000Z
2021-10-20T22:55:12.000Z
vrpn/server_src/ghostEffects/InstantBuzzEffect.cpp
deakinshaun/UniCAVE-Deakin
8dc184d7dd598d4554627b8564cae99975ef3dc2
[ "MIT" ]
null
null
null
vrpn/server_src/ghostEffects/InstantBuzzEffect.cpp
deakinshaun/UniCAVE-Deakin
8dc184d7dd598d4554627b8564cae99975ef3dc2
[ "MIT" ]
null
null
null
/* # instantBuzzEffect : instantaneous buzz "custom" effect for Phantom server # written by Sebastien MARAUX, ONDIM SA (France) # maraux@ondim.fr */ #include "InstantBuzzEffect.h" #ifdef VRPN_USE_PHANTOM_SERVER #ifdef VRPN_USE_HDAPI #include <HD/hd.h> #else #include <gstPHANToM.h> #endif #include <math.h> #ifdef VR...
28.724138
109
0.738896
rasmus-rudling
4a79db6c722db364b380ae93722af5eff778d9bd
7,921
hpp
C++
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
#pragma once /* Name: mcu.hpp Copyright(c) 2019 Mateusz Semegen This code is licensed under MIT license (see LICENSE file for details) */ //std #include <cstdint> //externals #include <stm32l0xx.h> //cml #include <cml/bit.hpp> #include <cml/frequency.hpp> namespace soc { namespace stm32l011xx { struc...
24.447531
115
0.573539
JayKickliter
4a79f5b0472a0acd03b9b8c3cae5ed72a228f525
1,741
cpp
C++
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
49
2015-03-10T06:41:17.000Z
2021-03-16T05:10:34.000Z
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
1
2017-04-22T15:22:16.000Z
2019-01-08T04:58:23.000Z
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
20
2015-11-03T08:48:41.000Z
2021-03-16T05:10:37.000Z
/** * @brief 所有channel文件的模式均为 c + channel<br /> * 使用c的模式是为了简单、结构清晰并且避免异常<br /> * 附带c++的部分是为了避免命名空间污染并且c++的跨平台适配更加简单 */ #include <cstdio> #include "common/string_oprs.h" #include "detail/libatbus_channel_export.h" namespace atbus { namespace channel { bool make_address(co...
32.849057
133
0.517519
tangzhenquan
4a7d2f0f81da0a1387ae06aa8e8f17b5710c0306
1,835
cpp
C++
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Intel Corporation * * 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 ...
35.980392
87
0.666485
marcelamelara
4a7e596a5d27f1c9928fb8c3adaa3be1b853d2ab
2,258
cpp
C++
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
9
2018-01-11T10:41:25.000Z
2020-01-14T06:49:56.000Z
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
1
2018-06-29T22:03:53.000Z
2018-06-30T00:04:19.000Z
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2017 nabijaczleweli // 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...
34.738462
141
0.687777
nabijaczleweli
4a7fe3eb7b966c5b6159f9bfc90663d9a73e9f2f
214
cpp
C++
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
1
2021-03-16T05:22:46.000Z
2021-03-16T05:22:46.000Z
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
null
null
null
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
null
null
null
/* * @Author: your name * @Date: 2020-07-16 17:28:47 * @LastEditTime: 2020-07-16 17:28:48 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \LibManage\src\log.cpp */
23.777778
39
0.672897
zoedsy
4a821fb67de99b4fe87185440310b4838847a6b5
10,005
hpp
C++
benchmark/bm_conv.hpp
matazure/mtensor
4289284b201cb09ed1dfc49f44d6738751affd63
[ "MIT" ]
82
2020-04-11T09:33:36.000Z
2022-03-23T03:47:25.000Z
benchmark/bm_conv.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
28
2017-04-26T17:12:35.000Z
2019-04-08T04:05:24.000Z
benchmark/bm_conv.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
22
2017-01-10T14:57:29.000Z
2019-12-17T08:55:59.000Z
#pragma once #include "bm_config.hpp" namespace _tmp { #ifndef MATAZURE_CUDA using matazure::for_index; using matazure::tensor; #else using matazure::cuda::for_index; using matazure::cuda::tensor; #endif } template <typename tensor_type> inline void bm_tensor2f_general_roll_conv(benchmark::State& state) { const ...
41.004098
96
0.625487
matazure
4a822b402279cba9624e983f628f28602c057281
776
hpp
C++
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/game/ui/HackingMinigameState.hpp> #include <RED4ext/Types/generated/red/Event.hpp> namespace RED4ext { namespace game::ui { struct ...
29.846154
74
0.770619
Cyberpunk-Extended-Development-Team
4a8246c58975a1961c4e550db4be876bfd9ea2b7
1,009
cpp
C++
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
43
2020-09-04T15:21:40.000Z
2022-03-23T03:53:02.000Z
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
15
2020-09-17T18:06:15.000Z
2022-01-24T17:14:36.000Z
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
23
2020-09-04T15:50:09.000Z
2022-03-25T13:38:25.000Z
#include <stdio.h> #include <stdlib.h> #include <math.h> long long int computePowerSeries (long long int *a, long long int iters){ long long int s =0; long long int t =0; long long int u =0; long long int v =0; for (auto i=0; i < iters; ++i){ s += a[i]; for (long long int j=0; j < iters / 10; ++j){ ...
19.784314
86
0.531219
SusanTan
4a832803d05002d65d711d2a82aeb4719fc462ec
440
cpp
C++
tools/calc_2.cpp
void-zxh/CS410-MSA-project
e38c628783575f80a0826d7200413a1a87f4279c
[ "MIT" ]
null
null
null
tools/calc_2.cpp
void-zxh/CS410-MSA-project
e38c628783575f80a0826d7200413a1a87f4279c
[ "MIT" ]
null
null
null
tools/calc_2.cpp
void-zxh/CS410-MSA-project
e38c628783575f80a0826d7200413a1a87f4279c
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <algorithm> #include <cstring> using namespace std; const int GAP=2; const int MISMATCH=3; char si[100005]; char si2[100005]; int main() { int i,len; scanf("%s",si+1); scanf("%s",si2+1); len=strlen(si+1); int ans=0; for(i=1;i<=len;i++) if(s...
16.296296
30
0.563636
void-zxh
4a854a2c6ca04ce3877a0c49cbac3f78590b1f30
15,369
cc
C++
chrome/browser/chromeos/attestation/platform_verification_flow.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/attestation/platform_verification_flow.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/attestation/platform_verification_flow.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "platform_verification_flow.h" #include "base/command_line.h" #include "base/logging.h" #include "base/prefs/pref_service.h" #include "chrome/br...
36.247642
80
0.704145
kurli
4a8743d525979612620674f14049f851d2af8ceb
7,744
cpp
C++
source/core/mining-manager/suffix-match-manager/SuffixMatchMiningTask.cpp
izenecloud/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
77
2015-02-12T20:59:20.000Z
2022-03-05T18:40:49.000Z
source/core/mining-manager/suffix-match-manager/SuffixMatchMiningTask.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
1
2017-04-28T08:55:47.000Z
2017-07-10T10:10:53.000Z
source/core/mining-manager/suffix-match-manager/SuffixMatchMiningTask.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
33
2015-01-05T03:03:05.000Z
2022-02-06T04:22:46.000Z
#include "SuffixMatchMiningTask.hpp" #include <document-manager/DocumentManager.h> #include <boost/filesystem.hpp> #include <glog/logging.h> #include <icma/icma.h> #include <la-manager/KNlpWrapper.h> #include <la-manager/LAPool.h> #include <mining-manager/util/split_ustr.h> #include <util/ustring/UString.h> #include "F...
36.018605
136
0.58626
izenecloud
4a88056dc75fcc250ddeaff290464f9d7946f921
2,606
cpp
C++
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
1
2021-01-22T20:02:42.000Z
2021-01-22T20:02:42.000Z
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
null
null
null
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
null
null
null
#include <sirius.h> /* test FFT: tranfrom random function to real space, transfrom back and compare with the original function */ using namespace sirius; int test_fft_complex(cmd_args& args, device_t fft_pu__) { double cutoff = args.value<double>("cutoff", 40); matrix3d<double> M = {{1, 0, 0}, {0, 1, 0}, {0...
29.954023
118
0.625096
lzhang714
4a88a44501e658620eeb7fe00f467dd82ca1e35f
212
cpp
C++
sw-src/test/test_client.cpp
jijinfanhua/IPSA-ipbm
c82dc003bf9c68ba029814d7539f502fd29e1326
[ "Apache-2.0" ]
null
null
null
sw-src/test/test_client.cpp
jijinfanhua/IPSA-ipbm
c82dc003bf9c68ba029814d7539f502fd29e1326
[ "Apache-2.0" ]
null
null
null
sw-src/test/test_client.cpp
jijinfanhua/IPSA-ipbm
c82dc003bf9c68ba029814d7539f502fd29e1326
[ "Apache-2.0" ]
null
null
null
// // Created by xilinx_0 on 1/14/22. // #include <iostream> #include "test_client.h" int main() { // std::cout << cup->a << std::endl; cup->a = 4; std::cout << cup->a << std::endl; return 0; }
14.133333
39
0.533019
jijinfanhua
4a8a504e35af0eb7bae4b015eb43ef14c85c0cdc
2,435
cpp
C++
B2G/gecko/other-licenses/7zstub/src/Windows/FileName.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/other-licenses/7zstub/src/Windows/FileName.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/other-licenses/7zstub/src/Windows/FileName.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
// Windows/FileName.cpp #include "StdAfx.h" #include "Windows/FileName.h" #include "Common/Wildcard.h" namespace NWindows { namespace NFile { namespace NName { static const wchar_t kDiskDelimiter = L':'; /* static bool IsCharAPrefixDelimiter(wchar_t c) { return (c == kDirDelimiter || c == kDiskDel...
21.741071
75
0.617248
wilebeast
4a8d78519d0a45746d6dc0bec068d0db8febe0db
2,665
cpp
C++
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
#include "ruledsurfacebycardinalspline.h" RuledSurfaceByCardinalSpline::RuledSurfaceByCardinalSpline() { QObject::connect(&fLine, SIGNAL(splineChanged()), this, SLOT(acceptChanges())); QObject::connect(&sLine, SIGNAL(splineChanged()), this, SLOT(acceptChanges())); setFrameColor(Qt::black); setMa...
38.071429
130
0.644653
Dukend
4a8f7d80227ed94b1e7fb6fff07021344469f7b3
432
hpp
C++
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
#define ADD_PLAYER_SELF_ACTIONS \ class ACE_SelfActions { \ class TFAR_Radio { \ condition = QUOTE((([] call TFAR_fnc_haveSWRadio) || {([] call TFAR_fnc_haveLRRadio) || !isNil {_player getVariable 'TFAR_ExternalIntercomVehicle'}})); \ insertChildren = QUOTE(([_player] call tfar_core_fnc_getOwnRadios...
48
161
0.703704
severgun
4a903cd45a15239be1b0a55f4d1c6085d9eac6a8
1,791
cpp
C++
Engine/Dependencies/Celero/src/Timer.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
2
2015-01-17T00:56:34.000Z
2015-12-01T07:02:47.000Z
Engine/Dependencies/Celero/src/Timer.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
63
2015-01-06T17:42:22.000Z
2017-09-10T00:21:52.000Z
Engine/Dependencies/Celero/src/Timer.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
null
null
null
/// /// \author John Farrier /// /// \copyright Copyright 2015 John Farrier /// /// 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 /// /...
28.887097
108
0.731993
colinhect
4a918c4b2908814fd4957711da9745ba73fe4e0a
6,196
cc
C++
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
32
2017-11-27T03:04:44.000Z
2022-01-21T17:03:40.000Z
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
30
2017-11-10T09:47:16.000Z
2018-11-21T22:36:47.000Z
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
20
2018-01-05T17:15:11.000Z
2021-07-30T14:11:01.000Z
#include "GL_FBO.h" #include <cassert> #ifdef TXDEBUG #define DEBUG_TEXTURES(x) std::cerr << x << std::endl #else #define DEBUG_TEXTURES(x) #endif bool GL_FBO::init(GL_Context context, unsigned w_, unsigned h_, int bpp, bool depth_buffer) { assert(context); GL_CHECK; bool ok = (w_ > 0 && h_ > 0); if (ok && !fb...
25.924686
109
0.668173
TrevorShelton
4a93a40e263c5ac6e1428f34e9552bb928963986
1,083
cpp
C++
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 5e18; const long long ...
23.543478
46
0.611265
python-programmer1512
4a94280f6546dd03a58e1186bf9d6c5b4990ddc5
782
cpp
C++
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
#include "cstdio" struct Stu{ char name[11]; char sex; char id[11]; int grade; }male,female,tmp; int main() { int n; male.grade = 101; female.grade = -1; if (scanf("%d",&n)==1); for (int i = 0; i < n; ++i) { if (scanf("%s %c %s %d",tmp.name,&tmp.sex,tmp.id,&tmp.grade)==1...
24.4375
73
0.531969
MarkIlV
4a946ecb9d43117814d1c8b8c18b6fc8b861d0aa
875
cpp
C++
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercies
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-05-11T17:26:24.000Z
2022-01-30T17:48:25.000Z
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
null
null
null
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-01-24T22:15:21.000Z
2020-12-21T10:23:52.000Z
#include <iostream> using namespace std; int ** transpose(const int * const * m, unsigned rows, unsigned cols) { int ** mt = new int * [cols]; mt[0] = new int[cols * rows]; for(unsigned i = 1; i != cols; i++) { mt[i] = mt[i - 1] + rows; } for(unsigned i = 0; i < rows; i++) { for(unsigned j = ...
19.886364
70
0.459429
w1ld
4a95d7da4590c9bb35efdf4007fbdd5002baf531
1,689
cpp
C++
Source/modules/serviceworkers/Response.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/modules/serviceworkers/Response.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/modules/serviceworkers/Response.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "Response.h" #include "bindings/v8/Dictionary.h" #include "core/fileapi/Blob.h" #include "modules/serviceworkers/ResponseIni...
32.480769
128
0.759029
quanganh2627
4a9e53065f732e1ee8912b7cb0a5ed331289cc55
129
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:ccc4d628c6edaf86b7ac04d255d639790b9c39147a94e8d7950eba698898b910 size 7182
32.25
75
0.883721
initialz
4aa05e4d234e239b2a9a32382fee6d7dd4e33fcf
1,047
cpp
C++
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T07:59:13.000Z
2021-07-20T02:06:28.000Z
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
null
null
null
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T06:39:53.000Z
2021-07-20T02:09:18.000Z
set <string> sans; void genip(string s,int dots,int mark,string ans) { if(mark==s.size()&&dots==3) { int c=0,m=0; if(ans[ans.size()-1]=='.') return; for(int j=ans.size()-1;j>=0;j--) { if(ans[j]=='.') { // cout<<c<<endl; c=0; m=0; } else { c+=pow(10,m)*(ans[j]-'0'); ...
12.925926
71
0.464183
richidubey
4aa38aeeb1a5eba5cc5cbd11fd1bb1c47b91be77
2,088
cc
C++
audit/util/issue_util.cc
google/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
14
2020-10-16T18:33:37.000Z
2022-03-27T18:29:00.000Z
audit/util/issue_util.cc
qause/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
2
2021-03-18T11:19:59.000Z
2021-04-26T12:27:33.000Z
audit/util/issue_util.cc
qause/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
5
2021-06-29T10:51:04.000Z
2022-01-09T05:18:16.000Z
// Copyright 2020 Google LLC. 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...
33.142857
80
0.746648
google
4aa8f23ecf8e261d28d9cef01e41991beb451f26
565
cpp
C++
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 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) #include <bounded/detail/arithmetic/left_shift.hpp> #include <bounded/detail/class.hpp> #include "../../homogeneous_equals.hpp" nam...
31.388889
95
0.723894
davidstone
4aa9ac69b8425c90eab363e74e1ef03e0533a6c8
255
cpp
C++
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
1
2019-08-16T03:30:09.000Z
2019-08-16T03:30:09.000Z
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
null
null
null
#include <pqrs/osx/os_kext_return.hpp> int main(void) { { pqrs::osx::os_kext_return r(kOSKextReturnSystemPolicy); std::cout << r << std::endl; } { pqrs::osx::os_kext_return r(54321); std::cout << r << std::endl; } return 0; }
15.9375
59
0.6
pqrs-org
4aadc93014d7383b8ea4ec6ada706017bf6517ab
1,120
cc
C++
third_party/blink/renderer/modules/webcodecs/codec_state_helper.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
third_party/blink/renderer/modules/webcodecs/codec_state_helper.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
third_party/blink/renderer/modules/webcodecs/codec_state_helper.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 "third_party/blink/renderer/modules/webcodecs/codec_state_helper.h" namespace blink { // static bool ThrowIfCodecStateClosed(V8CodecState state...
31.111111
76
0.658929
zealoussnow
4ab9ca28ba453ee2f6a5e6f4a41dc49c5233eb49
6,805
cc
C++
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
7
2019-09-10T12:16:08.000Z
2021-05-06T16:01:59.000Z
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
72
2019-09-04T15:00:25.000Z
2021-12-02T20:47:29.000Z
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
Naktakala/chi-tech
df5f517d5aff1d167db50ccbcf4229ac0cb668c4
[ "MIT" ]
41
2019-09-02T15:33:31.000Z
2022-02-10T13:26:49.000Z
#include "lbs_linear_boltzmann_solver.h" #include "ChiMath/SpatialDiscretization/FiniteElement/PiecewiseLinear/pwl.h" #include "chi_log.h" extern ChiLog& chi_log; #include <iomanip> //################################################################### /**Zeroes all the outflow data-structures required to compute *...
40.029412
80
0.554739
zachhardy
4ab9cd7af36551920e7b49b6d693287ea8eb133e
5,328
cpp
C++
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
12
2015-01-21T07:02:23.000Z
2021-11-15T19:47:53.000Z
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
null
null
null
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
3
2017-03-04T08:50:46.000Z
2020-10-23T14:27:04.000Z
#include "AnimationSystem.hpp" #include "Property.hpp" #include "utility.hpp" #include <fstream> #include <gtx/spline.hpp> using namespace kocmoc; AnimationSystem::AnimationSystem(void) { fullPath = (std::string)util::Property("scriptsRootFolder") + (std::string)util::Property("animationFileName"); } AnimationSyst...
22.481013
125
0.636637
SimonWallner
38581fd6694c02298ca0eee94f1c424c769390fc
398
cpp
C++
math/babylonian_method/c++/babylonian_root.cpp
CarbonDDR/al-go-rithms
8e65affbe812931b7dde0e2933eb06c0f44b4130
[ "CC0-1.0" ]
1,253
2017-06-06T07:19:25.000Z
2022-03-30T17:07:58.000Z
math/babylonian_method/c++/babylonian_root.cpp
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
554
2017-09-29T18:56:01.000Z
2022-02-21T15:48:13.000Z
math/babylonian_method/c++/babylonian_root.cpp
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
2,226
2017-09-29T19:59:59.000Z
2022-03-25T08:59:55.000Z
#include <bits/stdc++.h> using namespace std; float Babylonian(float n) { float s=n;//initial assumption is number itself float error = 0.000001; //this decides the accuracy of answer while( (s-n/s) > error ) { s=(s+n/s)/2; } return s; } int main() { int n = 60; cout<<"Square root of "<<n<<" is...
16.583333
64
0.60804
CarbonDDR
38595c4df2496111b0c7d8796862dd51dbc6c958
7,109
hh
C++
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
null
null
null
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
5
2020-09-01T12:16:28.000Z
2020-09-01T12:21:41.000Z
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> #include <vector> #include <tuple> #include <Eigen/Core> #include "../geometry/PointNormal.hh" namespace kt84 { namespace phong_tessellation { enum struct Mode { TRIANGLES = 0, LINES, TRIANGLE_FAN, LINE_LOOP, LINE_STRIP }; inl...
37.81383
146
0.517654
honoriocassiano
385c5629f0871645f8db23744cfeb2928c20aa6b
52,957
cpp
C++
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include <math.h> #include <assert.h> #include <string.h> #include <LuminoCore/Math/Math.hpp> #include <LuminoCore/Math/Vector3.hpp> #include <LuminoCore/Math/Vector4.hpp> #include <LuminoCore/Math/Quaternion.hpp> #include <LuminoCore/Math/AttitudeTransform.hpp> #include <LuminoCore/Math/Plane.hpp> #include <LuminoCo...
30.575635
368
0.465548
GameDevery
3862f1bf18c94812188ef2a7aabf38130014edd7
9,408
cc
C++
test/test_psend_precv.cc
mpi-advance/Exhanced-MPL-tiny-
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
2
2021-10-13T03:55:48.000Z
2022-01-28T15:33:54.000Z
test/test_psend_precv.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
test/test_psend_precv.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
#define BOOST_TEST_MODULE psend_precv #include <boost/test/included/unit_test.hpp> #include <limits> #include <cstddef> #include <complex> #include <mpl/mpl.hpp> template<typename T> bool psend_precv_test(const T &data) { const mpl::communicator &comm_world = mpl::environment::comm_world(); if (comm_world.size() ...
41.813333
84
0.713861
mpi-advance