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
1946511e9585cbaf319a9816fa1f3de02358c68f
1,085
cc
C++
creational/src/prototype/maze_prototype_factory.cc
rachwal/DesignPatterns
0645544706c915a69e1ca64addba5cc14453f64c
[ "MIT" ]
9
2016-08-03T16:15:57.000Z
2021-11-08T13:15:46.000Z
creational/src/prototype/maze_prototype_factory.cc
rachwal/DesignPatterns
0645544706c915a69e1ca64addba5cc14453f64c
[ "MIT" ]
null
null
null
creational/src/prototype/maze_prototype_factory.cc
rachwal/DesignPatterns
0645544706c915a69e1ca64addba5cc14453f64c
[ "MIT" ]
4
2016-08-03T16:16:01.000Z
2017-12-27T05:14:55.000Z
// Based on "Design Patterns: Elements of Reusable Object-Oriented Software" // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm // // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan. #include "maze_prototype_factory.h" namespace creational ...
24.111111
118
0.758525
rachwal
19479dd6b3bc0d9adfe49819ccb09e8be6112570
1,120
cpp
C++
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
#include "../../../PrecompiledHeaders/stdafx.h" #include "IndexBuffer.h" namespace dx11 { // Constructors and Destructor: IndexBuffer::IndexBuffer(RenderSystem& renderSystem, const std::vector<uint16>& indices) : count( UINT( indices.size() ) ) { D3D11_BUFFER_DESC index_buffer_desc = {}; index_buffer_desc.Bi...
26.046512
116
0.755357
LexSheyn
194edcd60b676d2b702caf68ea5608d0ad8ce143
4,462
cpp
C++
src/main.cpp
tsaarni/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
27
2017-08-15T05:45:21.000Z
2022-03-27T21:32:46.000Z
src/main.cpp
AA6KL/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
1
2022-01-10T19:43:12.000Z
2022-01-10T19:43:12.000Z
src/main.cpp
AA6KL/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
11
2017-08-15T16:28:41.000Z
2021-04-26T11:52:54.000Z
// // BSD 3-Clause License // // Copyright (c) 2017, Tero Saarni // // // This software re-programs ATtiny85 fuses using the high-voltage // serial programming method. // // // References // // * ATtiny85 datasheet - // http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_da...
30.353741
112
0.680861
tsaarni
195296a7835c174b6c4a11ca841e1547ca0eb41e
1,861
cc
C++
Dragon/src/operators/activation/tanh_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
212
2015-07-05T07:57:17.000Z
2022-02-27T01:55:35.000Z
Dragon/src/operators/activation/tanh_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
6
2016-07-07T14:31:56.000Z
2017-12-12T02:21:15.000Z
Dragon/src/operators/activation/tanh_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
71
2016-03-24T09:02:41.000Z
2021-06-03T01:52:41.000Z
#include "operators/activation/tanh_op.h" #include "utils/math_functions.h" #include "utils/op_kernel.h" namespace dragon { template <class Context> template <typename T> void TanhOp<Context>::RunWithType() { auto* Xdata = input(0).template data<T, Context>(); auto* Ydata = output(0)->template mutable_data<T,...
30.508197
79
0.686728
neopenx
19555fe091d99443665ad7fd7a8d939577780fcb
4,925
cpp
C++
src/image_widget.cpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/image_widget.cpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/image_widget.cpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2014 by David White <davewx7@gmail.com> 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 any purpose, incl...
25.651042
104
0.675533
gamobink
1958ce79e96fc3c2e4c92e2e5427e6916560a676
8,696
cpp
C++
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
#include "richtext.hpp" #include <SFML/Graphics.hpp> #include <sstream> static std::map<sf::String, sf::Color> colors; // same as sf::Text styles // define them locally to redefine them for a child class for example #define Regular 0 #define Bold 1 #define Italic 2 #define Underlined 4 // TextChunk ...
24.426966
133
0.504715
FoFabien
1959a87e2e79912fef60d33de6eec1fc1d807a5b
17,024
cc
C++
L1Trigger/L1TMuonEndCap/src/EMTFTrack2016Tools.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TMuonEndCap/src/EMTFTrack2016Tools.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TMuonEndCap/src/EMTFTrack2016Tools.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "L1Trigger/L1TMuonEndCap/interface/EMTFTrack2016Tools.h" namespace l1t { void EMTFTrack2016::ImportSP( const emtf::SP _SP, int _sector) { EMTFTrack2016::set_sector ( _sector ); EMTFTrack2016::set_sector_GMT ( calc_sector_GMT(_sector) ); EMTFTrack2016::set_mode ( _SP.Mode() ); ...
67.288538
122
0.490954
pasmuss
195a845d8e8e2cc67adee07d0846fa4e01e7a053
169
cpp
C++
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
1
2015-11-05T06:07:12.000Z
2015-11-05T06:07:12.000Z
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
null
null
null
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
null
null
null
#include "test.h" #include "runtime/RegEx.h" using namespace snow; TEST_SUITE(RegEx); TEST_CASE(simple_match) { PENDING(); } TEST_CASE(simple_search) { PENDING(); }
13
26
0.721893
simonask
195bf2eed8dbab9b50896977c600a3caebae6cab
4,047
hpp
C++
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016-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 to in w...
29.540146
100
0.547072
mshiryaev
19603e37219f2defe3844bb292c7f5ef815118a0
10,569
cpp
C++
src/domain.cpp
egdaub/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
12
2017-10-05T22:04:40.000Z
2020-08-31T08:32:17.000Z
src/domain.cpp
jhsa26/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
3
2020-05-06T16:48:32.000Z
2020-09-18T11:41:41.000Z
src/domain.cpp
jhsa26/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
12
2017-03-24T19:15:27.000Z
2020-08-31T08:32:18.000Z
#include <iostream> #include <fstream> #include <cassert> #include <string> #include "block.hpp" #include "cartesian.hpp" #include "domain.hpp" #include "fd.hpp" #include "fields.hpp" #include "friction.hpp" #include "interface.hpp" #include "rk.hpp" #include "slipweak.hpp" #include "stz.hpp" #include <mpi.h> using na...
25.40625
118
0.504589
egdaub
19615eb2b58a87deb7d55a47659c83c59f8acfb8
937
hh
C++
ImageSampleMap/imagesamplemap.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
ImageSampleMap/imagesamplemap.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
ImageSampleMap/imagesamplemap.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#pragma once #include <functional> #include <Eigen/Core> typedef unsigned short ushort; typedef unsigned char uchar; namespace bold { /** Produces a map used in sub-sampling image data. * * A granularity function allows processing fewer than all pixels * in the image. * * Granularity is calculated b...
26.027778
117
0.712914
drewnoakes
19637585ea01d69d75a6ce0307360b900e55b8fd
1,431
cpp
C++
aws-cpp-sdk-lakeformation/source/model/BatchPermissionsFailureEntry.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-lakeformation/source/model/BatchPermissionsFailureEntry.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-lakeformation/source/model/BatchPermissionsFailureEntry.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lakeformation/model/BatchPermissionsFailureEntry.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; na...
19.08
90
0.742837
Neusoft-Technology-Solutions
1963f5b09d876859feb4f7a7147f97955500b5fb
2,013
hpp
C++
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
10
2016-10-26T13:36:18.000Z
2020-03-16T02:19:40.000Z
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
null
null
null
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
5
2016-10-07T12:28:59.000Z
2022-03-22T14:16:53.000Z
#ifndef qd_simple_locked_queue_hpp #define qd_simple_locked_queue_hpp qd_simple_locked_queue_hpp #include<array> #include<cassert> #include<mutex> #include<queue> class simple_locked_queue { std::mutex lock; std::queue<std::array<char, 128>> queue; typedef std::lock_guard<std::mutex> scoped_guard; typedef void(...
26.142857
75
0.646299
lundgren87
1967025b038338dffdebb29e92ee55902368b726
6,878
cpp
C++
Tools/NodeParticleSystem2Port/Port.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
32
2016-05-22T23:09:19.000Z
2022-03-13T03:32:27.000Z
Tools/NodeParticleSystem2Port/Port.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
2
2016-05-30T19:45:58.000Z
2018-01-24T22:29:51.000Z
Tools/NodeParticleSystem2Port/Port.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
17
2016-05-27T11:01:42.000Z
2022-03-13T03:32:30.000Z
/* Port.cpp (c)2005 Palestar, Richard Lyle */ #define NODEPARTICLESYSTEM2PORT_DLL #include "stdafx.h" #include "Port.h" #include "Math/Helpers.h" #include "Tools/ScenePort/ChildFrame.h" #include "Tools/ResourcerDoc/Port.h" //---------------------------------------------------------------------------- IMPLEMENT_FA...
25.664179
108
0.658476
CarysT
19675ab5730b5e672335d8c569df4766e88cfe3f
3,883
cc
C++
src/ssl_info_action.cc
jeff-cn/doogie
1b4ed74adecbae773b51e674d298e3d5b09e4244
[ "MIT" ]
291
2017-07-19T22:32:25.000Z
2022-02-16T03:03:21.000Z
charts/doogie-0.7.8/src/ssl_info_action.cc
hyq5436/playground
828b9d2266dbb7d0311e2e73b295fcafb101d94f
[ "MIT" ]
81
2017-09-06T15:46:27.000Z
2020-11-30T14:12:11.000Z
charts/doogie-0.7.8/src/ssl_info_action.cc
hyq5436/playground
828b9d2266dbb7d0311e2e73b295fcafb101d94f
[ "MIT" ]
29
2017-09-18T19:14:50.000Z
2022-01-24T06:03:17.000Z
#include "ssl_info_action.h" namespace doogie { SslInfoAction::SslInfoAction(const Cef& cef, BrowserWidget* browser_widg) : QWidgetAction(browser_widg), cef_(cef), browser_widg_(browser_widg) { } QWidget* SslInfoAction::createWidget(QWidget* parent) { auto errored_ssl_info = browser_widg_->ErroredSslInfo(); ...
37.699029
77
0.722637
jeff-cn
1967fc2cfe2e1f1dc101872396eb1497aa847e97
501
hpp
C++
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
#ifndef COMPARETORFACTORY_HPP #define COMPARETORFACTORY_HPP #include "comparetor.hpp" #include "QPointer" /** * @brief The deckType enum,定义了各种牌型的枚举 */ enum deckType{undefined,high_card,one_pair,two_pairs,three_of_a_kind,straight,flush,full_house,four_of_a_kind,straight_flush,royal_flush}; /** * @brief The comparet...
23.857143
138
0.802395
cloudicen
196de25f738ff244d1313b7e80e870f003bcbaa7
2,804
cpp
C++
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function WorkerTooltipStatsWidget.Wor...
29.208333
155
0.731455
Milxnor
196edfd0541a5114a81b67144dfa7bcf5ddb8c42
1,220
cpp
C++
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
136
2015-07-15T12:49:36.000Z
2022-03-24T12:30:25.000Z
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
59
2015-12-28T21:40:37.000Z
2022-03-31T13:11:50.000Z
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
33
2015-12-04T08:00:07.000Z
2022-01-28T23:39:25.000Z
#include <boost/python.hpp> #include <boost/cstdint.hpp> #include <Magick++/Drawable.h> #include <Magick++.h> using namespace boost::python; namespace { struct Magick_DrawableMatte_Wrapper: Magick::DrawableMatte { Magick_DrawableMatte_Wrapper(PyObject* py_self_, double p0, double p1, Magick::PaintMethod p2): ...
34.857143
178
0.688525
veryhappythings
196f7e48086742ca2f3d80e64272b0f92a8f4057
4,298
cpp
C++
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
null
null
null
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
2
2021-04-19T11:42:07.000Z
2021-04-21T10:26:04.000Z
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2021 Jihoon Lee <jhoon.it.lee@samsung.com> * * @file unittest_interpreter.cpp * @date 02 April 2021 * @brief interpreter test * @see https://github.com/nnstreamer/nntrainer * @author Jihoon Lee <jhoon.it.lee@samsung.com> * @bug No known bugs except for ...
31.837037
80
0.701489
gichan-jang
197055abf1559514dd02c0f191b0e2957efbd748
2,495
cpp
C++
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
// // Renderer.cpp // // // Created by Narendra Umate on 9/7/13. // // #include "Renderer.h" Renderer::Renderer(const int& width, const int& height) : m_width(width) , m_height(height) , m_clearColor(Color4f(0.5f, 0.5f, 0.5f, 1.0f)) , m_clearDepth(1.0f) , m_clearStencil(1) { } Renderer::~Renderer() { m_width = 0;...
30.802469
287
0.755511
narendraumate
19739d11d88c922729740fe17fd0519600b431f7
2,759
cpp
C++
src/mupnp/soap/SOAP.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
src/mupnp/soap/SOAP.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
src/mupnp/soap/SOAP.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * mUPnP for C++ * * Copyright (C) Satoshi Konno 2002 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <string> #include <sstream> #include <string....
29.666667
95
0.576296
cybergarage
1973bcacdaee75bfcb4d0c30016fb6726d29e884
4,990
cpp
C++
_midynet/tests/test_randomgraph/test_erdosrenyi.cpp
charlesmurphy1/fast-midynet
22071d49077fce9d5f99a4664f36767b27edea64
[ "MIT" ]
null
null
null
_midynet/tests/test_randomgraph/test_erdosrenyi.cpp
charlesmurphy1/fast-midynet
22071d49077fce9d5f99a4664f36767b27edea64
[ "MIT" ]
null
null
null
_midynet/tests/test_randomgraph/test_erdosrenyi.cpp
charlesmurphy1/fast-midynet
22071d49077fce9d5f99a4664f36767b27edea64
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <list> #include <algorithm> #include <string> #include "FastMIDyNet/prior/sbm/edge_count.h" #include "FastMIDyNet/random_graph/erdosrenyi.h" #include "FastMIDyNet/types.h" #include "FastMIDyNet/utility/functions.h" #include "BaseGraph/types.h" #include "fixtures.hpp" using namespace ...
32.402597
118
0.742285
charlesmurphy1
1973c4eb8fbedd8255e7445a74b3b77d35326f97
411
cpp
C++
inv_pend_walk/test/check_foot_step_planner.cpp
AD58-3104/bipedal_training
f7bca20e12f65ed4be2a9ba93198286682642fca
[ "MIT" ]
null
null
null
inv_pend_walk/test/check_foot_step_planner.cpp
AD58-3104/bipedal_training
f7bca20e12f65ed4be2a9ba93198286682642fca
[ "MIT" ]
null
null
null
inv_pend_walk/test/check_foot_step_planner.cpp
AD58-3104/bipedal_training
f7bca20e12f65ed4be2a9ba93198286682642fca
[ "MIT" ]
null
null
null
#include "foot_step_planner.hpp" #include <iostream> #include <fstream> #include <vector> #include <cmath> #include <Eigen/Dense> #include <Eigen/Geometry> using namespace Eigen; int main(int argc, char const *argv[]) { footStepPlanner(2.0,2.0,0.30); planAlongSpline(); system("sleep 0.1"); system("gnupl...
22.833333
46
0.688564
AD58-3104
197bac971e6f7d5e47fce66bdb276fe36a3542d7
930
cpp
C++
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
1
2016-01-09T09:57:55.000Z
2016-01-09T09:57:55.000Z
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
null
null
null
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
null
null
null
#include "gtfo/algorithm/count_if.hpp" #include "gtfo_testing/runtime/runtime_tests.hpp" using namespace gtfo::runtime_test_helpers; namespace { struct Foo { int x; Foo() : x(42) { } explicit Foo(int x) : x(x) { } }; class Bool { private: bool _value; publi...
19.375
76
0.569892
TMorozovsky
197cc9254e92cdc7eba34a5f8fddbec0df721dc9
32,594
cxx
C++
private/inet/mshtml/src/site/print/headfoot.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/src/site/print/headfoot.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/src/site/print/headfoot.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1992 - 1996. // // File: headfoot.cxx // // Contents: CHeaderFooterInfo // //---------------------------------------------------------------------------- #...
30.604695
117
0.437289
King0987654
1987a2b4d96cf43b2be6d2b61e9ee7692691c499
9,723
cpp
C++
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
#include "stdafx_u.h" #include "StageSelect.h" #include "ParentSelectPanel.h" #include "InputManager.h" #include "SelectScreen.h" #include "ShakeComponent.h" #include "SelectPlayer.h" #include "SceneChangeAnimation.h" #include "GameSettings.h" #include"PauseManager.h" #include"Header/GameObjects/DefaultGameComponent/Ou...
30.28972
168
0.724673
butibuti
198a5018ac5a706b5c257b0944f7ef607a993788
88
cpp
C++
src/util/Cancellable.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
null
null
null
src/util/Cancellable.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
null
null
null
src/util/Cancellable.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
1
2019-01-08T14:48:29.000Z
2019-01-08T14:48:29.000Z
#include "util/Cancellable.h" using namespace BeeeOn; Cancellable::~Cancellable() { }
11
29
0.738636
tacr-iotcloud
198afa841e2b4b299cfac1ee12484b0c5f49e1f8
7,593
cpp
C++
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->console->setReadOnly(true); ui->texture_label->clear(); ogl_layout = new QHBoxLayout(ui->frame_ogl); ogl_layout->setContentsMargins(0, 0...
28.226766
129
0.613591
ErrrOrrr503
198d0718efc73c0de5a00ae19fa727d5b91c2511
466
cpp
C++
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
/// /// Copyright 2022 PentaDevs /// Author: Taehwan Kim /// Contents: Examples of regex_error (referenced from CppReference) #include <regex> #include <iostream> int main() { try { std::regex re("[a-b][a"); } catch (const std::regex_error& e) { std::cout << "regex_error caught: " << e.wha...
23.3
68
0.564378
th4inquiry
198f28e392557799ceb6a4a19f49e5e08e2c58a7
7,134
cpp
C++
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
3
2019-09-26T00:09:50.000Z
2021-08-09T03:19:38.000Z
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
null
null
null
src/rc_utils.cpp
mjdousti/therminator
d706ab43ac97a4266ce19618b1e35d4e0245cd5b
[ "Xnet", "X11", "RSA-MD" ]
5
2015-08-03T01:41:39.000Z
2021-01-06T18:14:11.000Z
/** * * Copyright (C) 2021 Mohammad Javad Dousti, Qing Xie, Mahdi Nazemi, * and Massoud Pedram. All rights reserved. * * Please refer to the LICENSE file for terms of use. * */ #include "headers/rc_utils.hpp" #include <omp.h> VALUE RCutils::calcThermalConductivity(VALUE k, VALUE thickness, ...
35.492537
80
0.624895
mjdousti
199034cd2c78220b6d27610356901fd7f2406bb0
1,685
cpp
C++
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
#include "Sky.hpp" #include <iostream> #include <cmath> // TODO: 现在是全写在Sky里,到时候得分开成各个东西。(refactor) #include <stdio.h> #include <stdlib.h> // MAKE SURE WE INITIALISE OUR VARIABLES Sky::Sky() : keyframe(-1), animateTime(0.0), animateRotation(0.0), animateTranslation(0.0), interpA(0.0), interpB(0.0), interpTime(0.0){...
24.42029
95
0.659347
baisebaoma
19963cc8374e09c591274312c5cda381f5d7e39d
12,753
cc
C++
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
/** Copyright Julio Marcelo Picardo 2017-18, all rights reserved. * * @project Wolfy2D - Including JMP scripting language. * @author Julio Marcelo Picardo <juliomarcelopicardo@gmail.com> */ #include "core/user_interface.h" #include "GLFW/glfw3.h" #include "imgui.h" #include "imgui_dock.h" #include "core/core.h" #i...
35.035714
140
0.632165
juliomarcelopicardo
199b46ae2e5d531d246a12762b8d9930fa3aafba
7,620
cpp
C++
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/Algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
2
2020-01-10T14:12:03.000Z
2020-05-28T19:12:21.000Z
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
null
null
null
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
1
2022-01-11T03:14:48.000Z
2022-01-11T03:14:48.000Z
// RandomUsername (Nikola Jovanovic) // Fibonacci Heap // Source: CLRS, Third Edition #include <algorithm> #include <cstdlib> #include <fstream> #include <iostream> #include <string> struct Node { Node* left; Node* right; Node* parent; Node* first_child; int key; int degree; bool marked; explicit Node...
25.065789
74
0.56168
Rand0mUsername
19a273935ae0662816c7a68f7d39f79db444aea3
7,301
hpp
C++
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
// // Created by yulong on 3/31/17. // #ifndef BYL_TEMPLATE_LIBRARY_AVL_TREE_H #define BYL_TEMPLATE_LIBRARY_AVL_TREE_H #include "byl_bst.hpp" #include <cstddef> namespace byl { template<typename T> struct avl_tree; template<typename T> struct avl_node { typedef T value_type; typedef size_t size_type;; fri...
31.200855
108
0.506506
superboy0712
19ac69b353212e5cb772c9447e2512f70e77bf4a
243
cpp
C++
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2018-09-01T05:57:29.000Z
2018-09-01T05:57:29.000Z
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
null
null
null
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2019-09-26T01:45:10.000Z
2019-09-26T01:45:10.000Z
#include "pessoa.h" Pessoa::Pessoa(QObject *parent) : QObject(parent) { } QString Pessoa::getNome() const { return nome; } void Pessoa::setNome(const QString &value) { nome = value; emit nomeChanged(nome); }
12.789474
50
0.613169
josersi
30abe44edfcc28fa640af9703d47dcf0c8fc614e
600
cpp
C++
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
37.5
77
0.743333
TheByteKitchen
30acddda17fe21c4369a615ea1200d62f0b10f6d
2,174
cpp
C++
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Engine/Platforms/Public/Tools/GPUThreadHelper.h" namespace Engine { namespace PlatformTools { /* ================================================= FindGraphicsThread ================================================= */ ModulePtr GP...
27.175
77
0.589236
azhirnov
30b4715024c575a744b186b209157ca94722c5af
456
cpp
C++
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
#include "inifile.hpp" int main() { auto ini = util::inifile("test.ini"); if (!ini.good()) { std::cerr << ini.error() << std::endl; exit(-1); } std::cout << "default section: name = " << ini.get_string("name") << '\n'; ini.set_string("set", "string"); std::cout << "section1...
25.333333
88
0.497807
0382
30bef042a86014e87ff42405dc8b3b8c1eb84f9c
974
hpp
C++
admin/dcpromo/exe/configurednsclientpage.hpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/dcpromo/exe/configurednsclientpage.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/dcpromo/exe/configurednsclientpage.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (C) 1997 Microsoft Corporation // // dns client configuration page // // 12-22-97 sburns #ifndef CONFIGUREDNSCLIENTPAGE_HPP_INCLUDED #define CONFIGUREDNSCLIENTPAGE_HPP_INCLUDED class ConfigureDnsClientPage : public DCPromoWizardPage { public: ConfigureDnsClientPage(); pr...
16.508475
75
0.664271
npocmaka
30c2cccfa2f3c1e5f3de472b340de4aafaedccca
22
cpp
C++
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
#include <mjast_and.h>
22
22
0.772727
lucasalj
30c8bdffa3d58ca082d8be23f1bc689bfba89220
412
cpp
C++
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
4
2018-05-19T00:55:36.000Z
2020-08-30T23:31:26.000Z
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
null
null
null
compiler/crtp/foo/crtp.cpp
lijiansong/deep-learning
7c78061775e47785dfcc4088e93dc4368d16334f
[ "WTFPL" ]
null
null
null
// Curiously Recurring Template Pattern // static polymorphism #include <iostream> using namespace std; template <typename Child> struct Base { void interface() { static_cast<Child *>(this)->implementation(); } }; struct Derived : Base<Derived> { void implementation() { cerr << "Derived implementation\...
17.166667
51
0.682039
lijiansong
30cf79f21e82a1d1ae95a5e7baa57f4321c29b03
17,711
cpp
C++
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
41.575117
97
0.611484
ringmesh
30cf9a1e4c280de211c6f47e1da4bb8d58ea336d
2,835
cpp
C++
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
#include <assert.h> #include <stdio.h> #include <stdint.h> #include <inttypes.h> #include <math.h> #include "primitive_roots.h" #define main HIDE_main #define tests_suite HIDE_tests_suite #define test_max_primitive_root HIDE_test_max_primitive_root #include "mul_group_mod_tests.cpp" #undef main #undef tests_suite #und...
29.53125
81
0.722751
Mirraz
30d0ce1ea78572de8c984a5eaa443dd2aadc4520
4,446
cc
C++
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/kernels/jacobi_1d/jacobi_1d_mpi_omp.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
28.318471
125
0.573324
parasol-ppl
30d264b409b79ef46efb5821f7ccf8183efb324c
3,943
cpp
C++
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/PartDesign/feature_line.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
/*** Included Header Files ***/ #include <feature_line.h> #include <document.h> #include <feature_point.h> #include <tree_view.h> #include <line_layer.h> #include <feature_line_action.h> #include <feature_line_controller.h> /***********************************************~********************************************...
27.964539
138
0.652042
neonkingfr
30d3f168dd50e3f6162768d0f9b6d9bfcf56fc02
447
cpp
C++
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/4/B2.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> int main() { int n1,n2,n,i; scanf("%d",&n); for (n1=2;n1<=n/2;n1++) { for (i=2;i<=sqrt(n1);i++) { if (n1%i==0) break; } if (i==(int)sqrt(n1)+1) { for (i=2,n2=n-n1;i<=sqrt(n2);i++) { if (n2%i==0) break; } ...
13.96875
41
0.378076
Seizzzz
30d4c2054b988f10e08e7936105ba79a20ce2dfd
9,263
cpp
C++
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
maya/Workshop2017/src/BBoxCubeCmd.cpp
smoi23/sandbox
4d02a509c82b2ec3712f91bbc86cc5df37174396
[ "MIT" ]
null
null
null
/* * WorkshopCmd3.cpp * * Created on: May 15, 2017 * Author: Andreas Schuster * */ #include <stdio.h> #include <iostream> #include <maya/MPxCommand.h> #include <maya/MArgList.h> #include <maya/MStatus.h> #include <maya/MSyntax.h> #include <maya/MStringArray.h> #include <maya/MGlobal.h> #include <maya/MArgDatab...
24.967655
136
0.703768
smoi23
30d61e145e98bb61d3e96be726741974debf1d6d
602
cpp
C++
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void replace(char s[], char c1, char c2) { //base case if (s[0] == '\0') { return; } if (s[0] == c1) { s[0] = c2; } replace(s + 1, c1, c2); } int main() { char s[100]; cin >> s; char c1, c2; cout << "Enter char...
21.5
121
0.501661
chandan9369
30d6d8f00f7fdc97dab807313fc63d794818aa5a
16,614
cpp
C++
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
modules/src/projectors/standardpipeline.cpp
phernst/ctl
f2369cf3141ff6a696219f99b09fd60c0ea12eac
[ "MIT" ]
null
null
null
#include "standardpipeline.h" #include "arealfocalspotextension.h" #include "detectorsaturationextension.h" #include "poissonnoiseextension.h" #include "raycasterprojector.h" #include "spectraleffectsextension.h" namespace CTL { DECLARE_SERIALIZABLE_TYPE(StandardPipeline) /*! * Constructs a StandardPi...
36.117391
101
0.726255
phernst
30d8ff7f806b8df3c1432089cc2fa984b9b9120e
2,508
cpp
C++
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
Count_test.cpp
som-dev/Count
68caf6014ce067ac0e0129454db2c6b131f3380d
[ "MIT" ]
null
null
null
#include "DefineCounters.hpp" #include "gtest/gtest.h" namespace // anonymous { template <typename T> class CounterTest : public ::testing::Test { public: typedef Count::Counter<T> Counter; }; using CounterTestTypes = ::testing::Types< char, unsigned char, short, unsigned short, int, unsigned int, ...
26.680851
81
0.689793
som-dev
30dd8562f1660168b8dfe9e37926033955f4dcb3
1,448
hpp
C++
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
#pragma once // clang-format off #include <boost/test/unit_test.hpp> #include <boost/test/test_tools.hpp> // clang-format on #include <nuschl/s_exp.hpp> #include <iostream> #include <vector> std::ostream &operator<<(std::ostream &os, const std::vector<int> &vec); std::ostream &operator<<(std::ostream &os, const std...
27.846154
80
0.61326
behlec
30e549f21dcaeb32f35b09eac05118becd16f41b
1,842
cpp
C++
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
COCI/PATULJCI.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <queue> #include <map> #include <set> using namespace std; int N,C,M; int cs[300001]; vector<int> cis[10001]; int cunt(i...
19.1875
95
0.505972
zzh8829
30eed884d544b2307a3ba04a3e865cfebe277d50
1,028
cpp
C++
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
1
2022-02-23T03:15:54.000Z
2022-02-23T03:15:54.000Z
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
ui/logview.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
#include "uiinfra/logview.h" #include "ui_logview.h" #include <qevent.h> #include <qtimer.h> namespace inf::ui { static auto s_maxUpdateInterval = std::chrono::milliseconds(200); LogView::LogView(QWidget* parent) : QWidget(parent) , _ui(std::make_unique<Ui::LogView>()) , _timer(new QTimer(this)) { _ui->setupUi(...
20.56
80
0.654669
VITObelgium
30f0492c13b7d0c77afdb5ff14fd3b37c0725986
32,079
cpp
C++
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
37
2019-10-13T12:23:32.000Z
2022-03-19T10:40:29.000Z
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
3
2020-03-20T04:44:06.000Z
2021-01-12T06:18:33.000Z
esl/economics/markets/walras/tatonnement.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
10
2019-11-06T15:59:06.000Z
2021-08-09T17:28:24.000Z
/// \file tatonnement.hpp /// /// \brief Implements the tâtonnement process (hill climbing), implemented as a /// numerical optimisation. /// /// \authors Maarten P. Scholl /// \date 2018-02-02 /// \copyright Copyright 2017-2019 The Institute for New Economic Thinking, /// Oxford Martin...
39.948941
120
0.547056
vishalbelsare
30f08690e448df39c2889d227793a0054a3f0339
842
cpp
C++
Depth-first Search/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: void findarea(vector<vector<int>>& grid,int r,int c,int &t) { grid[r][c]=0,t++; if(r+1<grid.size()&&grid[r+1][c]) findarea(grid,r+1,c,t); if(r-1>=0&&grid[r-1][c]) findarea(grid,r-1,c,t); if(c+1<grid[0].size()&&grid[r][c+1]) ...
26.3125
63
0.388361
PrakharPipersania
30f193a757d6a35bd19a711a276b02e2fcbfbcba
174
cpp
C++
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
1
2022-02-10T15:28:30.000Z
2022-02-10T15:28:30.000Z
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { char a,b; a = 'a'; b = 'b'; putchar(a); putchar('\n'); putchar(b); printf("\n%c\n%c", a,b); }
14.5
32
0.545977
Biteliuying
30f54b4f48d2376297310dd98ca85d87ff9407b5
1,359
tcc
C++
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
// // Copyright Sundeep S. Sangha 2013 - 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) #ifndef DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TCC #define DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TC...
18.875
61
0.721854
vashman
30f6a483bbbcea158e3a1f7db24adebe272959f3
584
cpp
C++
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
10
2019-03-17T10:13:04.000Z
2021-03-03T03:23:34.000Z
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
44
2018-12-14T02:35:47.000Z
2021-02-06T09:12:10.000Z
KM/03code/book/Thinking-In-C-resource-master/C09/c0905.cpp
wangcy6/weekly
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <ctime> inline int f1(int a, int b) { a++; a += b; b += a; return a + b; } int f2(int a, int b) { a++; a += b; b += a; return a + b; } int main(void) { clock_t t1, t2; printf("Calculating time...\n"); t1 = clock(); for (int i = 0; i < 10000000; i++) f1(100, 100); t1 = clock...
15.368421
76
0.55137
wangcy6
30fce0782844fc8a96e20fe088fe8cc794d2812c
3,890
cpp
C++
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
6
2019-10-17T11:31:55.000Z
2022-02-11T08:51:20.000Z
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-08-11T09:01:29.000Z
2020-08-11T09:01:29.000Z
darkness-engine/src/tools/Process.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-06-02T15:48:20.000Z
2020-06-02T15:48:20.000Z
#include "tools/Process.h" #include "tools/Debug.h" #include "tools/PathTools.h" #include "platform/Platform.h" #include <vector> namespace engine { Process::Process( const std::string& executable, const std::string& arguments, const std::string& workingDirectory, OnProcessMessage o...
32.689076
96
0.568638
Karmiska
a50234b69510521939af84a4e1bde78580e5c823
1,118
cpp
C++
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
15
2020-04-22T04:32:12.000Z
2022-01-06T12:40:44.000Z
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
1
2020-11-30T07:20:17.000Z
2020-11-30T07:20:17.000Z
DBServer/Main.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
8
2020-04-21T02:15:04.000Z
2021-12-31T17:34:02.000Z
#include "DB.h" #include "JsonConfig.h" #include "Util.h" #include "LogUtil.h" #include "SePlatForm.h" #include <signal.h> bool bStopServer = false; void OnSignal(int sig) { switch (sig) { case SIGINT: case SIGTERM: #ifdef SF_PLATFORM_WIN case SIGBREAK: #else case SIGPIPE: #endif { CLOG_ERR << "Master Serve...
15.971429
74
0.678891
Addision
a502a181be3839ebda6aad9ff55c19e4a4eb8099
1,337
cpp
C++
shaders/src/sib_vector_switch.cpp
caron/sitoa
52a0a4b35f51bccb6223a8206d04b40edc80071c
[ "Apache-2.0" ]
34
2018-02-01T16:13:48.000Z
2021-07-16T07:37:47.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
72
2018-02-16T17:30:41.000Z
2021-11-22T11:41:45.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
15
2018-02-15T15:36:58.000Z
2021-04-14T03:54:25.000Z
/************************************************************************************************************************************ Copyright 2017 Autodesk, Inc. 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 ...
34.282051
134
0.60359
caron
a50d463ed9da3f14cd8ee894f64c8461bb2cb32e
4,983
cpp
C++
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2021-01-03T21:33:26.000Z
2021-01-03T21:33:26.000Z
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
null
null
null
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2020-07-22T14:48:58.000Z
2020-07-22T14:48:58.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'basketview.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
30.950311
101
0.609874
IsfahanUniversityOfTechnology-CE2019-23
a50d528cc0ce030f6198e6d87f6ff351af11526d
898
hpp
C++
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
#ifndef Generator_hpp #define Generator_hpp #include "BFSSearcher.hpp" #include "DFSSearcher.hpp" #include <sstream> #include "Puzzle.hpp" /** * Success functor that checks if the node has the required depth */ struct BranchDepthCheck { private: int goalDepth; public: BranchDepthCheck(int goalDepth) : goalDept...
17.607843
77
0.72049
jamesfer
a50e20287e54709ed9a8da4dc392d83a61834f4c
1,661
cpp
C++
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
GUI/test/alta_participante.cpp
bertilxi/Pegaso
41ddde19f203424d68e8ede3e47450bb22bee0f6
[ "MIT" ]
null
null
null
#include "alta_participante.h" #include "ui_alta_participante.h" #include "qpixmap.h" alta_participante::alta_participante(GUI *guiP, QWidget *parent) : QDialog(parent), ui(new Ui::alta_participante), gui(guiP) { ui->setupUi(this); QPixmap pix(":/images/Heros64.png"); ui->label_logo->setPixmap(pix...
21.571429
73
0.680915
bertilxi
a50e40c4d1c9fa60a110e1332f774ae56811c795
1,253
cc
C++
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; void rightTree( TreeNode *root, int &depth, int cur_depth, vector<int> &result){ if (root) { if (depth...
21.982456
80
0.581804
math715
a5115bd910e444bdcc0eac1e882e56b4acc3158c
541
cpp
C++
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
96
2018-01-23T10:17:55.000Z
2022-03-22T08:49:41.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
233
2018-08-06T05:55:44.000Z
2022-02-23T08:19:04.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
97
2018-03-23T07:56:55.000Z
2022-03-16T15:51:48.000Z
#include "utils/stl_utils.hpp" #include <gmock/gmock.h> TEST(STLUtilesTest, RemoveDuplicates) { std::vector<std::string> strVec = {"s1", "s4", "s1", "s2", "", "s3", "s3"}; auto iter = redfish::stl_utils::firstDuplicate(strVec.begin(), strVec.end()); EXPECT_EQ(*iter, "s3"); redfish::stl_utils...
24.590909
79
0.608133
cjcain
a511af29e5823b82098463c7e263ab70f8e134a3
380
cpp
C++
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int participants,budget,hotles,weeks; int price, bed; int finalCost; bool isAvail = false; long long n,a,b; int main(int argc, char *argv[]) { scanf("%lld", &n); for (int i = 0; i<n; i++) { scanf("%lld%lld", &a,&b); if (a > b) { printf(">\n"); } else if (a < b...
16.521739
37
0.544737
alielsokary
a51239ead5eda370a34e6c7386b21e83b4e009ea
1,402
cpp
C++
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
22
2018-08-07T06:55:10.000Z
2021-06-12T02:12:19.000Z
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
28
2020-03-04T23:47:22.000Z
2022-02-26T18:50:00.000Z
Lydsy/P1483 [HNOI2009]梦幻布丁/P1483.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
4
2019-11-09T15:41:26.000Z
2021-10-10T08:56:57.000Z
#include <cstdio> #include <algorithm> const int N = 100000 + 10; const int M = 1000000 + 10; using namespace std; int Read() { int x = 0;char ch = getchar(); while (ch < '0' || '9' < ch) ch = getchar(); while ('0' <= ch && ch <= '9') x = x * 10 + ch - 48,ch = getchar(); return x; } int c[N],next[N],f[...
19.746479
71
0.373752
Wycers
a5135f2bffbefb3b6ff81037e622c3307d690ae3
206
cpp
C++
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
1
2021-01-23T09:24:35.000Z
2021-01-23T09:24:35.000Z
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
#include "message.h" #include "gmatrix.h" void MsgQueue::Send() { MSGQUEUE::iterator it = _queue.begin(); for(; it != _queue.end(); ++it) gmatrix::HandleMessage(*it); _queue.clear(); }
18.727273
43
0.601942
liuyuan185442111
a513c5c220b84956647261ac91202c4978e7b58f
280
cpp
C++
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
149
2020-06-23T12:08:47.000Z
2022-03-31T08:18:52.000Z
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
4
2020-08-28T07:51:15.000Z
2021-04-09T13:18:49.000Z
act_map_exp/src/planner_base_node.cpp
debugCVML/rpg_information_field
56f9ffba83aaee796502116e1cf651c5bc405bf6
[ "MIT" ]
34
2020-06-26T14:50:34.000Z
2022-03-04T06:45:55.000Z
#include "act_map_exp/planner_base.h" #include <rpg_common/main.h> RPG_COMMON_MAIN { ros::init(argc, argv, "planner_base"); ros::NodeHandle nh; ros::NodeHandle pnh("~"); act_map_exp::PlannerBase<act_map::GPTraceVoxel> planner(nh, pnh); ros::spin(); return 0; }
14.736842
67
0.689286
debugCVML
a5177f9b1d3d7b1d6c09f3b5c9e71a2a6adec0ca
486
hpp
C++
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
// // graphX - geometry - shapes - sphere.hpp // #pragma once #include "Ishape.hpp" namespace graphX::geometry { struct Sphere : IShape { public: Sphere(const vec3f& center_, float radius_) : center{center_}, radius{radius_} { } public: bool ray_intersect(const vec3f&...
20.25
104
0.604938
nicolaszordan
a51a2cc5253a0e0355c9a1693576d8eb80a9f8bf
160
hxx
C++
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
1
2021-08-20T08:22:18.000Z
2021-08-20T08:22:18.000Z
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
#pragma once #include "TemUnt/Direction.hh" namespace TemUnt { enum class Direction { North = 0, South = 1, East = 2, West = 3 }; } //namespace TemUnt
9.411765
30
0.65
Angew
a51fb1c6f5dd006fdbb28730c2e30292906dfe38
32,750
cc
C++
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/blobfinder/searchpattern/searchpattern.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* * Player - One Hell of a Robot Server * Copyright (C) 2000 Brian Gerkey et al. * * 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 of the License, or * (at your o...
29.881387
208
0.543939
parasol-ppl
a526c90cfd414f0b7e8e693779b6674323672347
920
cc
C++
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
flecsi/utils/test/reflection.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
/*~-------------------------------------------------------------------------~~* * Copyright (c) 2014 Los Alamos National Security, LLC * All rights reserved. *~-------------------------------------------------------------------------~~*/ #include <cinchdevel.h> #include <flecsi/utils/reflection.h> struct test_typ...
27.058824
80
0.43913
manopapad
a528599a53644c4700efa428c3f8c495bb6285a4
44
cpp
C++
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
null
null
null
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
5
2016-03-16T09:43:19.000Z
2016-03-25T12:11:19.000Z
PolygonTriangulationC/Vertex.cpp
sbrodehl/cg-lab-1516
fc4a09679bbce502f59f66a581077417b39edb15
[ "MIT" ]
null
null
null
// // Created by clamber on 21.03.2016. //
8.8
36
0.590909
sbrodehl
a52f7fe7b8ba648cfe89fbb8bc15dd779ba0f115
5,779
cpp
C++
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
4
2017-11-28T17:22:46.000Z
2022-03-17T07:47:19.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
10
2017-10-04T01:20:25.000Z
2017-11-23T06:15:23.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
1
2019-06-13T23:05:49.000Z
2019-06-13T23:05:49.000Z
#include "../stitch/file.h" #include "../testing/testing.h" #include <thread> #include <chrono> #include <iostream> #include <sstream> #include <cstring> #include <sys/types.h> #include <sys/stat.h> using namespace Stitch; using namespace std; using namespace Testing; static bool test_basic() { Test test; ...
19.791096
90
0.477072
adamelliot
a531999941aba44ec04c231ab80f563fbf87b381
6,732
cpp
C++
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipelineBranchesitem.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually...
28.167364
112
0.738562
PankTrue
a531f88b830fa58c47ddcc7d015872bf18c81664
55,115
cc
C++
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
5
2015-12-10T02:28:33.000Z
2019-06-02T18:20:53.000Z
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <sstream> #include "raft_impl.h" #include "replicate_tracker.h" #include "time_utils.h" #include "hassert.h" #include "mem_utils.h" using namespace std; namespace { using namespace raft; inline void assert_role(const RaftImpl& raft_impl, RaftRole expected_role) { hassert(raft_impl....
31.015757
82
0.589749
dengoswei
a53314e22a638de0302a218fb6db0734a3235269
364
cpp
C++
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
#include "../algorithms/sorting.h" #include "../tools/_fasta.h" int main (int argc, char * const argv[]) { if (argc != 3) { cout << "Encode a genome's fasta sequences using the Burrows-Wheeler algorithm." << endl; cout << "Usage: ./burrows_wheeler /infile.fa /outfile.fa" << endl; exit(0); } ReadSlam::FastA::...
24.266667
91
0.645604
SamBuckberry
a53361e4645143c7ce4a6fb44ce50adbc3a85dd6
2,148
cpp
C++
apps/xcomp/src/XCConfig.cpp
gugenstudio/Xcomp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
1
2022-02-18T11:55:57.000Z
2022-02-18T11:55:57.000Z
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
//================================================================== /// XCConfig.cpp /// /// Created by Davide Pasca - 2022/01/21 /// See the file "license.txt" that comes with this project for /// copyright info. //================================================================== #include "GTVersions.h" #include "X...
33.5625
71
0.533985
gugenstudio
a5341057111530e24eeb851aa8f9fe420ae62ddd
16,339
cpp
C++
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
5
2015-09-10T08:53:41.000Z
2020-05-30T18:42:20.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
20
2015-09-29T16:16:07.000Z
2021-06-13T08:08:05.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
3
2015-09-09T22:51:44.000Z
2020-11-11T13:19:42.000Z
// // sql_lexer.h // csv db // // BSD 3-Clause License // Copyright (c) 2015, Lars-Christian Fürstenberg // 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 sou...
37.134091
98
0.53461
fuersten
a536ed610414892db435e13ee5d94da23e0df509
3,828
hpp
C++
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
1
2022-02-28T21:29:46.000Z
2022-02-28T21:29:46.000Z
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
null
null
null
rosidl_typesupport_introspection_tests/include/rosidl_typesupport_introspection_tests/libraries.hpp
tsungchent/rosidl
caef9b8f820dfcb16e6a2df9118c5669cc816642
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
39.463918
75
0.785005
tsungchent
a536f2d5e320c70a40fa940527f46bc4c9407327
10,256
cpp
C++
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions...
30.984894
158
0.621002
EatAllBugs
a537453ebe8afbcecef93c2edf6967138dd7c11d
1,899
hxx
C++
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <algorithm> #include "..\shared\KTrace.hxx" #include "..\shared\Kini.hxx" #include "..\shared\KSlre.hxx" class KAutoLogon { private: /*============================================================================== * var *============================================================...
23.7375
124
0.460242
Peter2121
a539d799a6c38157168ce01558691874c43f1187
1,216
cpp
C++
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
1
2017-04-05T01:40:02.000Z
2017-04-05T07:36:55.000Z
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
#include "SingnedDistanceOutlineTextShader.h" void SignedDistanceOutlineTextShader::loadAllToUniform(const std::shared_ptr<GUITextModel> model) { SignedDistanceTextShader::loadAllToUniform(model); loadToUniform(location_outlineColor, model->getMaterial()->getProperties().color2); loadToUniform(location_outlineWidt...
34.742857
98
0.817434
Armanimani
a53a645d257e0e8c8f80c93d96c20b152697713a
4,263
hpp
C++
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
#pragma once #include <queue> #include <graph/graph.hpp> #include <graph/properties.hpp> #include <graph/static_graph.hpp> namespace graph { template <typename ColorMapTag, typename V, typename E> struct GenerateBFSGraph {}; template <typename ColorMapTag, typename... P1s, typename... P2s> struct GenerateBFSGra...
36.435897
96
0.703964
SkyterX
a53bcff7875e40227554a2f5c083863f61245ec9
6,622
cpp
C++
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
4
2020-06-05T11:56:11.000Z
2020-11-13T14:49:06.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
8
2020-05-23T09:35:03.000Z
2020-06-20T22:15:02.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
null
null
null
#include "step_tileset.hpp" #include <doctest.h> #include <string_view> #include "step_exception.hpp" #include "step_test_utils.h" using namespace step; inline static constexpr std::string_view prefix = "resource/tileset/"; TEST_SUITE("Tileset") { TEST_CASE("Parsing external tileset") { const auto tileset...
31.836538
77
0.609333
albin-johansson
a53d3078d6e68e6aca1bc30353ac37d5efc991bf
1,410
cpp
C++
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
21.363636
78
0.521986
ashtonmv
a53d6c0c94a22872150b79b2baf203f7c9f35780
2,582
hpp
C++
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
null
null
null
openbmc_modules/phosphor-ipmi-blobs/example/example.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
#pragma once #include <blobs-ipmid/blobs.hpp> #include <memory> #include <string> #include <unordered_map> #include <vector> #ifdef __cplusplus extern "C" { #endif /** * This method must be declared as extern C for blob manager to lookup the * symbol. */ std::unique_ptr<blobs::GenericBlobInterface> createHandler(...
28.065217
77
0.691712
Eyerunmyden
a53da97f92c9b880a510e5ab6779e4f1cb5b9316
2,706
cc
C++
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
6
2020-02-12T20:46:41.000Z
2021-04-14T17:48:54.000Z
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
54
2020-06-23T17:34:04.000Z
2022-03-31T02:04:06.000Z
src/third_party/abseil-cpp/absl/base/internal/strerror_test.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
12
2020-07-14T23:59:57.000Z
2022-03-22T09:59:18.000Z
// Copyright 2020 The Abseil Authors. // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
31.103448
79
0.684405
rhencke
a53ea9be9c6f82a33b219a687dcdb2d0d3cb7486
1,435
hh
C++
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "vector.hh" namespace transform { template <class T> class Vector4 : public Vector<4, T> { private: typedef Vector<4, T> super; public: Vector4() : super() {} // default construct Vector4(const T x, const T y, const T z, const T w); // member construct Ve...
19.133333
82
0.552613
CompaqDisc
a54038616b95c435f358914cdf01cdeeee72e878
22,450
cpp
C++
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
platform/mt6592/hardware/audio/aud_drv/AudioPlatformDevice.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
#include "AudioPlatformDevice.h" #include "AudioAnalogType.h" #include "audio_custom_exp.h" #define LOG_TAG "AudioPlatformDevice" #ifndef ANDROID_DEFAULT_CODE #include <cutils/xlog.h> #ifdef ALOGE #undef ALOGE #endif #ifdef ALOGW #undef ALOGW #endif ALOGI #undef ALOGI #ifdef ALOGD #undef ALOGD #endif #ifdef ALOGV #und...
36.863711
197
0.671448
touxiong88
a54540bdad511b2641bac5b0129de33591cace4e
4,347
cpp
C++
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
null
null
null
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
null
null
null
ProtoTcpClient/CmdLineExec.cpp
EvanGertis/Dev_RisLib
1aa185d1092bd703a0867bcc36106886baea3454
[ "MIT" ]
1
2019-03-28T15:09:48.000Z
2019-03-28T15:09:48.000Z
#include "stdafx.h" #include "procoTcpSettings.h" #include "procoMsg.h" #include "procoMsgHelper.h" #include "procoClientThread.h" #include "CmdLineExec.h" using namespace ProtoComm; //****************************************************************************** //************************************************...
34.228346
80
0.296526
EvanGertis
a54d3255d9b64c01987dcbf06a6bf5a4e3af694a
2,205
cpp
C++
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
#include "DashboardLayout.h" void DashboardLayout::Setup(){ switch(layoutID){ case LAYOUT_SINGLE: Serial.println("use default single widget dashboard"); widget[0] = new DashboardWidget(Int2(10,10),Int2(470,310),GAUGE_TYPE_BAR,INPUT_ANALOG1); widgetCount = 1; break; case LAY...
25.639535
100
0.623583
00steve
a5547fdf56655ca4bf73afa96bd8cb653764d9c2
598
cpp
C++
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
1
2019-03-29T21:07:37.000Z
2019-03-29T21:07:37.000Z
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool printArray(string* arr, int length){ if(arr == NULL){ return false; } for(int i = 0; i < length; i++){ cout << arr[i] << endl; } return true; } int main() { string arrMonth[12] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Au...
13
111
0.560201
zhichengMLE
a559a8d25755123fb6296d027efb72d08bb91b83
9,590
hpp
C++
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
3
2021-09-02T18:19:25.000Z
2021-12-26T23:33:32.000Z
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
45
2017-11-28T15:13:59.000Z
2022-02-19T18:45:46.000Z
src/Serialize.hpp
Mercerenies/proto-lang
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
null
null
null
//// Copyright (c) 2018 Silvio Mayolo //// See LICENSE.txt for licensing details #ifndef SERIALIZE_HPP #define SERIALIZE_HPP #include "Instructions.hpp" #include "Assembler.hpp" /// \file /// /// \brief Serialization structures and helpers. /// serialize_t, on its own, is an incomplete type. Any type which is /// s...
26.862745
99
0.665485
Mercerenies
a55a285e827647b249f13c23efeff1dc550898ef
3,208
cpp
C++
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc04s5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define MM 102 int dp[MM][MM][3],arr[MM][MM]; //moved up, down, right char c; int main(){ while(1){ int m,n; scanf("%d%d",&m,&n); if(m == 0) break; for(int i = m; i > 0; i--){ scanf("%c",&c); //nl ...
36.873563
79
0.275561
crackersamdjam
a222d9ab01460056f957119aaeb4bd94ebf3684e
29,324
cpp
C++
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
2
2015-11-07T11:31:55.000Z
2021-04-16T15:20:44.000Z
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
null
null
null
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
1
2020-06-09T10:45:28.000Z
2020-06-09T10:45:28.000Z
#include "stdafx.h" #include "Image.h" #ifdef __ist_with_gli__ #include "gli/gli.hpp" #include "gli/gtx/loader.hpp" #endif // __ist_with_gli__ namespace ist { struct BMPHEAD { char B; char M; int32 file_size; int16 reserve1; int16 reserve2; int32 offset; BMPHEAD() ...
28.805501
139
0.572228
i-saint
a22992aa915dd06e962163704b713c016925eb26
2,215
cpp
C++
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "__zz_cib_StlDependencyTest-decl.h" #include "__zz_cib_StlDependencyTest-export.h" #include "__zz_cib_StlDependencyTest-ids.h" #include "__zz_cib_StlDependencyTest-mtable.h" namespace __zz_cib_ { namespace __zz_cib_Class263 { const __zz_cib_MethodTable* __zz_cib_GetMethodTable(); }} namespace __zz_cib_ { name...
67.121212
140
0.832957
satya-das
a22ae189aaa5767f514c0572455824bc70973c43
3,128
cc
C++
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2021 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/pulse/InputStream> #include <cc/Format> #include <cc/DEBUG> #include <pulse/stream.h> #include <cassert> namespace cc::pulse { struct InputStream::State: pub...
24.4375
88
0.609655
frankencode