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
02ba23328eeca0f62d4af2e2b270976537a6404d
7,190
cc
C++
mlfe/operators/impl/xnnpack/conv2d.cc
shi510/mlfe
aec8d52ddb54ce6f6e00a6515d7023ffba9d02f0
[ "MIT" ]
13
2019-01-23T11:21:01.000Z
2021-06-20T18:25:11.000Z
mlfe/operators/impl/xnnpack/conv2d.cc
shi510/mlfe
aec8d52ddb54ce6f6e00a6515d7023ffba9d02f0
[ "MIT" ]
null
null
null
mlfe/operators/impl/xnnpack/conv2d.cc
shi510/mlfe
aec8d52ddb54ce6f6e00a6515d7023ffba9d02f0
[ "MIT" ]
4
2018-01-08T12:40:22.000Z
2021-12-02T05:23:36.000Z
#include "mlfe/operators/conv2d.h" #include "mlfe/core/op_kernel.h" #include "mlfe/device_context/cpu_context.h" #include "mlfe/core/device.h" #include "mlfe/math/blas.h" #include "mlfe/math/basic_functions.h" #include "mlfe/math/transform.h" #include "mlfe/device_context/cpu_context.h" #include "mlfe/operators/utils.h...
30.083682
76
0.530042
shi510
02bf76daecd4b55313c0e9b8fc047c19960f1f06
1,341
cpp
C++
src/VKUFrame.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
src/VKUFrame.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
src/VKUFrame.cpp
igorglotov/tizen-vk-client
de213ede7185818285f78abad36592bc864f76cc
[ "Unlicense" ]
null
null
null
#include "VKUFrame.h" #include "VKUFormFactory.h" #include "VKUPanelFactory.h" #include "AppResourceId.h" #include "ObjectCounter.h" using namespace Tizen::Base; using namespace Tizen::Ui; using namespace Tizen::Ui::Controls; using namespace Tizen::Ui::Scenes; VKUFrame::VKUFrame(void) { CONSTRUCT(L"VKUFrame"); } VK...
24.381818
97
0.747949
igorglotov
02bffe093fc3864ecef598ca30f7c1a97c7dfb76
19,213
cpp
C++
src/lib/Camera.cpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
22
2020-05-18T02:37:09.000Z
2022-03-13T18:44:30.000Z
src/lib/Camera.cpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
null
null
null
src/lib/Camera.cpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
3
2020-12-21T01:21:03.000Z
2021-09-06T08:07:41.000Z
#include "AssetManager.hpp" #include <Utilities.hpp> #include <Camera.hpp> #include <Cubemap.hpp> #include <EditorManager.hpp> #include <Gui.hpp> #include <PostProcessing.hpp> #include <RenderManager.hpp> #include <SerializationManager.hpp> #include <Texture2D.hpp> using namespace UniEngine; CameraInfoBlock Camera::...
40.61945
127
0.687451
edisonlee0212
02c14f97597e4f5c3756cb0597674a3ef166e17a
1,071
hpp
C++
src/modules/module_manager.hpp
ECP-VeloC/veloc
d27224029349b156f6420d764cf23547cf3f2b53
[ "MIT" ]
null
null
null
src/modules/module_manager.hpp
ECP-VeloC/veloc
d27224029349b156f6420d764cf23547cf3f2b53
[ "MIT" ]
null
null
null
src/modules/module_manager.hpp
ECP-VeloC/veloc
d27224029349b156f6420d764cf23547cf3f2b53
[ "MIT" ]
null
null
null
#ifndef __MODULE_MANAGER_HPP #define __MODULE_MANAGER_HPP #include "common/command.hpp" #include "common/status.hpp" #include "common/config.hpp" #include "modules/client_watchdog.hpp" #include "modules/client_aggregator.hpp" #include "modules/ec_module.hpp" #include "modules/transfer_module.hpp" #include "modules/chk...
26.775
73
0.745098
ECP-VeloC
02c29d072f65b1e2b6f47bbc4f6172c4ab61f63c
943
cpp
C++
src/frontends/paddle/src/op/softplus.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/frontends/paddle/src/op/softplus.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/frontends/paddle/src/op/softplus.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "default_opset.hpp" #include "openvino/frontend/paddle/node_context.hpp" namespace ov { namespace frontend { namespace paddle { namespace op { NamedOutputs softplus(const NodeContext& node) { auto data = node.get_input(...
33.678571
117
0.695652
ryanloney
02c37cd234d326e4236068424db52eb986a1ee7f
8,678
cpp
C++
src/engine/input.cpp
Timurinyo/classic_game_template
4486e534fa76ccc8b4323515fad1c5fdae6ad8bc
[ "MIT" ]
null
null
null
src/engine/input.cpp
Timurinyo/classic_game_template
4486e534fa76ccc8b4323515fad1c5fdae6ad8bc
[ "MIT" ]
null
null
null
src/engine/input.cpp
Timurinyo/classic_game_template
4486e534fa76ccc8b4323515fad1c5fdae6ad8bc
[ "MIT" ]
null
null
null
#include <engine/pch.h> #include <engine/input.h> namespace cgt { Input::ScancodeMappings GenerateScancodeMappings(); Input::ScancodeMappings Input::s_ScancodeMappings = GenerateScancodeMappings(); Input::Input(Input::InputProcessingMode mode) : m_Mode(mode) { } WindowEventControlFlow Input::ProcessWindowEven...
31.787546
87
0.707536
Timurinyo
02c7302d901d1d7aff9c21837af635ffdcf8cd27
584
cpp
C++
CPP/alternatingsquarepattern.cpp
thefool76/hacktoberfest2021
237751e17a4fc325ded29fca013fb9f5853cd27c
[ "CC0-1.0" ]
448
2021-10-01T04:24:14.000Z
2022-03-06T14:34:20.000Z
CPP/alternatingsquarepattern.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
282
2021-10-01T04:29:06.000Z
2022-03-07T12:42:57.000Z
CPP/alternatingsquarepattern.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
1,807
2021-10-01T04:24:02.000Z
2022-03-28T04:51:25.000Z
/*You're given a number N. Print the first N lines of the below-given pattern. 1 2 3 4 5 10 9 8 7 6 11 12 13 14 15 20 19 18 17 16 21 22 23 24 25 30 29 28 27 26 */ #include <iostream> using namespace std; int main() { int n; cin>>n; int i1=0; for(int i=0; i<n; i++){ if(i%2==0){ ...
16.685714
79
0.416096
thefool76
02ca5391639149cdef1c7023f5df3d4e3e3c158a
40
hpp
C++
engine/src/Engine.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
null
null
null
engine/src/Engine.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
1
2018-06-26T14:00:35.000Z
2018-06-26T14:00:57.000Z
engine/src/Engine.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
1
2018-03-28T18:19:19.000Z
2018-03-28T18:19:19.000Z
#pragma once #include "Core/Engine.hpp"
13.333333
26
0.75
codekrafter
02ca54d8208161ca2a9bcca46891d4c941d5fcf4
2,788
cpp
C++
src/opts/SkBlitRow_opts_SSE4.cpp
Perspex/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
src/opts/SkBlitRow_opts_SSE4.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
src/opts/SkBlitRow_opts_SSE4.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBlitRow_opts_SSE4.h" // Some compilers can't compile SSSE3 or SSE4 intrinsics. We give them stub methods. // The stubs should never be called, so we make them cr...
38.722222
99
0.620875
Perspex
c49cd43e742500e91bd39afa0b55d12bcacc9318
41,168
hpp
C++
include/cascade/detail/cascade_impl.hpp
Thompson-Liu/cascade
283d99eb70da99ac1d11611037e9750397c5d011
[ "BSD-3-Clause" ]
null
null
null
include/cascade/detail/cascade_impl.hpp
Thompson-Liu/cascade
283d99eb70da99ac1d11611037e9750397c5d011
[ "BSD-3-Clause" ]
null
null
null
include/cascade/detail/cascade_impl.hpp
Thompson-Liu/cascade
283d99eb70da99ac1d11611037e9750397c5d011
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <memory> #include <map> namespace derecho { namespace cascade { #define debug_enter_func_with_args(format,...) \ dbg_default_debug("Entering {} with parameter:" #format ".", __func__, __VA_ARGS__) #define debug_leave_func_with_value(format,...) \ dbg_default_debug("Leaving {} with " #for...
43.564021
215
0.665225
Thompson-Liu
c49cffb82d3dd3f3c682c5b58a4d44a9bf7a4330
1,450
cpp
C++
codes/UVA/01001-01999/uva1327.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1327.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1327.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <stack> #include <algorithm> using namespace std; const int maxn = 4005; int N, pre[maxn], sccno[maxn], dfsclock, cntscc; vector<int> G[maxn]; stack<int> S; int dfs (int u) { int lowu = pre[u] = ++dfsclock; S.push(u); for (int i = 0; i < G[u].size()...
17.682927
61
0.488966
JeraKrs
c49df0ee578b8acf93b362ebb177937ae76b8787
2,327
cpp
C++
Project6/proj6.cpp
nicky189/cs202
ecfb9b92e094bfa29102e586ffd615d719b45532
[ "MIT" ]
null
null
null
Project6/proj6.cpp
nicky189/cs202
ecfb9b92e094bfa29102e586ffd615d719b45532
[ "MIT" ]
null
null
null
Project6/proj6.cpp
nicky189/cs202
ecfb9b92e094bfa29102e586ffd615d719b45532
[ "MIT" ]
null
null
null
/** * @brief CS-202 Project 6 Test Driver * @Author Christos Papachristos (cpapachristos@unr.edu) * @date March, 2019 * * This file is a test driver for the Polymorphic classes prescribed in Project 6 of CS-202 */ #include <iostream> #include "Car.h" using namespace std; int main(){ cout << "\n" << ...
28.036145
91
0.486034
nicky189
c49ee7391c8c55d8f56a4d693d874ecd89a8aec6
140
hpp
C++
BOB/Source/Library/TableHeaders.hpp
Null-LLC/Echo
07165b71332fed8e4dd641bd0bdddb38534abdf0
[ "MIT" ]
7
2021-08-15T01:35:56.000Z
2022-01-11T10:34:35.000Z
BOB/Source/Library/TableHeaders.hpp
Null-LLC/Echo
07165b71332fed8e4dd641bd0bdddb38534abdf0
[ "MIT" ]
1
2021-11-06T07:20:31.000Z
2021-11-07T10:13:46.000Z
BOB/Source/Library/TableHeaders.hpp
Null-LLC/Echo
07165b71332fed8e4dd641bd0bdddb38534abdf0
[ "MIT" ]
1
2021-12-07T07:04:47.000Z
2021-12-07T07:04:47.000Z
#ifndef TableHeaders struct TableHeaders { unsigned long long Signature; unsigned int Revision, HeaderSize, CRC32, Reserved; }; #endif
17.5
53
0.771429
Null-LLC
c49f61f78464023a16e0c2537f722ef596092efd
2,343
cpp
C++
test/EdgeTest.cpp
fmidev/smartmet-library-tron
1c92b6b474bd079cb58158fed916bd5af302f6a3
[ "MIT" ]
null
null
null
test/EdgeTest.cpp
fmidev/smartmet-library-tron
1c92b6b474bd079cb58158fed916bd5af302f6a3
[ "MIT" ]
null
null
null
test/EdgeTest.cpp
fmidev/smartmet-library-tron
1c92b6b474bd079cb58158fed916bd5af302f6a3
[ "MIT" ]
null
null
null
// ====================================================================== /*! * \file * \brief Regression tests for Tron::Edge */ // ====================================================================== #include "Edge.h" #include "Traits.h" #include <regression/tframe.h> #include <string> using namespace std; //...
27.892857
73
0.463508
fmidev
c4a02034615d3b94732c5150a6f1d534609ec0bb
637
cpp
C++
stlport/test/regression/list2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
86
2018-05-24T12:03:44.000Z
2022-03-13T03:01:25.000Z
stlport/test/regression/list2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
1
2019-05-30T01:38:40.000Z
2019-10-26T07:15:01.000Z
stlport/test/regression/list2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
14
2018-07-16T08:29:12.000Z
2021-08-23T06:21:30.000Z
// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include <iostream> #include <list> #ifdef MAIN #define list2_test main #endif #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif int list2_test(int, char**) { cout<<"Results of li...
21.233333
57
0.631083
masscry
c4a046f30eec2de42139330bfb9e93a49a5bc728
3,102
hpp
C++
sources/include/nx/nx/callbacks.hpp
chybz/nx
62d5a318eeda60ffb1b3ed093bc9df655f3371d2
[ "MIT" ]
4
2016-11-07T09:50:03.000Z
2018-09-25T09:10:06.000Z
sources/include/nx/nx/callbacks.hpp
chybz/nx
62d5a318eeda60ffb1b3ed093bc9df655f3371d2
[ "MIT" ]
null
null
null
sources/include/nx/nx/callbacks.hpp
chybz/nx
62d5a318eeda60ffb1b3ed093bc9df655f3371d2
[ "MIT" ]
3
2016-11-07T09:50:05.000Z
2022-01-18T16:51:45.000Z
#ifndef __NX_CALLBACKS_H__ #define __NX_CALLBACKS_H__ #include <functional> #include <tuple> #include <type_traits> #include <nx/tuple_utils.hpp> #include <nx/utils.hpp> namespace nx { struct callback_tag {}; template <typename Tag, typename... Args> class callback { public: static_assert( std::is_base...
19.267081
66
0.579948
chybz
c4a798816987d1409158caa1dd12fa5977afb3e9
3,506
hpp
C++
search/retrieval.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
search/retrieval.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
search/retrieval.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "search/cbv.hpp" #include "search/feature_offset_match.hpp" #include "search/query_params.hpp" #include "platform/mwm_traits.hpp" #include "coding/reader.hpp" #include "geometry/rect2d.hpp" #include "base/cancellable.hpp" #include "base/checked_cast.hpp" #include "base/dfa_helpers.hpp" #inclu...
28.975207
100
0.737022
smartyw
c4a809ff43a83ca6ff0cad8a8a181958f1e92633
3,332
hpp
C++
include/geographic_conversion/fix_converter_component.hpp
OUXT-Polaris/geographic_conversion
206ceef8bcec86534a88dd42aa47bd5b53f93665
[ "Apache-2.0" ]
null
null
null
include/geographic_conversion/fix_converter_component.hpp
OUXT-Polaris/geographic_conversion
206ceef8bcec86534a88dd42aa47bd5b53f93665
[ "Apache-2.0" ]
2
2019-05-26T23:38:02.000Z
2019-05-27T00:40:56.000Z
include/geographic_conversion/fix_converter_component.hpp
OUXT-Polaris/geographic_conversion
206ceef8bcec86534a88dd42aa47bd5b53f93665
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 OUXT Polaris // // 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 t...
37.438202
99
0.836735
OUXT-Polaris
c4aab79d26c08d8f143aca03054b15ffd9b02d21
17,573
cxx
C++
main/sc/source/ui/miscdlgs/solveroptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/ui/miscdlgs/solveroptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/ui/miscdlgs/solveroptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.524558
119
0.608092
Grosskopf
c4aad6070636472f8edc0b1631b7b570c07f3248
274
cpp
C++
src/test/tutorial_slow_v1.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
706
2019-10-08T05:29:49.000Z
2022-03-31T06:49:24.000Z
src/test/tutorial_slow_v1.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
55
2019-10-08T05:30:36.000Z
2022-03-30T16:06:41.000Z
src/test/tutorial_slow_v1.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
34
2019-10-12T13:50:08.000Z
2022-03-29T15:01:21.000Z
#include <nanobench.h> #include <thirdparty/doctest/doctest.h> #include <chrono> #include <thread> TEST_CASE("tutorial_slow_v1") { ankerl::nanobench::Bench().run("sleep 100ms, auto", [&] { std::this_thread::sleep_for(std::chrono::milliseconds(100)); }); }
22.833333
68
0.671533
vadi2
c4af4c8bb16f2782e83ac46ea60b8ad346c3e93c
2,427
cc
C++
nodes/PBX/main.cc
kgoba/roombreak
6936d7003d2541fd3fb44bda0a31bf66439f35dc
[ "MIT" ]
1
2021-06-16T07:55:28.000Z
2021-06-16T07:55:28.000Z
nodes/PBX/main.cc
kgoba/roombreak
6936d7003d2541fd3fb44bda0a31bf66439f35dc
[ "MIT" ]
3
2016-04-04T14:13:42.000Z
2016-04-04T15:07:24.000Z
nodes/PBX/main.cc
kgoba/roombreak
6936d7003d2541fd3fb44bda0a31bf66439f35dc
[ "MIT" ]
1
2021-06-16T07:55:30.000Z
2021-06-16T07:55:30.000Z
#include <avr/interrupt.h> #include <avr/io.h> #include <util/delay.h> #include <stdio.h> #include "config.h" #include <Common/config.h> #include <Common/task.h> #include <Common/ws2803s.h> #include "line.h" #include "user.h" using namespace PBXConfig; #define TICK_FREQ 1000 WS2803S<PIN_SDA, PIN_CLK> ioExpand...
19.731707
97
0.634528
kgoba
c4b34ef60f4cd615d409af1ee6e93208e9607e3b
41,346
cpp
C++
Tools/MakeDiscoLights/gk.cpp
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
Tools/MakeDiscoLights/gk.cpp
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
Tools/MakeDiscoLights/gk.cpp
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
#include "gk.h" #include <stdlib.h> extern ofstream logFile; gkTransparencyTable gkBitmap::tranTable; struct BMP_header{ gkLONG fSize; //54 byte header + 4*numColors (1-8bit) + (w*h*bpp)/8 gkWORD zero1, zero2; //0,0 gkLONG offsetBytes; //should be header (54) plus Palette Size gkL...
23.653318
80
0.551541
AbePralle
c4b50bedc3bb54bfbb59187ee501a5282bf48997
9,085
cpp
C++
src/stream/analysis/RtCurrentActivation.cpp
cdla/murfi2
45dba5eb90e7f573f01706a50e584265f0f8ffa7
[ "Apache-2.0" ]
7
2015-02-10T17:00:49.000Z
2021-07-27T22:09:43.000Z
src/stream/analysis/RtCurrentActivation.cpp
cdla/murfi2
45dba5eb90e7f573f01706a50e584265f0f8ffa7
[ "Apache-2.0" ]
11
2015-02-22T19:15:53.000Z
2021-08-04T17:26:18.000Z
src/stream/analysis/RtCurrentActivation.cpp
cdla/murfi2
45dba5eb90e7f573f01706a50e584265f0f8ffa7
[ "Apache-2.0" ]
8
2015-07-06T22:31:51.000Z
2019-04-22T21:22:07.000Z
/*========================================================================= * RtCurrentActivation.cpp is the implementation of a class * * ****************************************************************************/ #include "RtDesignMatrix.h" #include"RtCurrentActivation.h" #include"RtMRIImage.h" #include"RtActi...
28.126935
80
0.597248
cdla
c4b5f33b24aadde546c1b0caea909adc5cbeaf3b
4,387
cpp
C++
csrc/codebase/mmocr/psenet.cpp
grimoire/mmdeploy
e84bc30f4a036dd19cb3af854203922a91098e84
[ "Apache-2.0" ]
746
2021-12-27T10:50:28.000Z
2022-03-31T13:34:14.000Z
csrc/codebase/mmocr/psenet.cpp
grimoire/mmdeploy
e84bc30f4a036dd19cb3af854203922a91098e84
[ "Apache-2.0" ]
253
2021-12-28T05:59:13.000Z
2022-03-31T18:22:25.000Z
csrc/codebase/mmocr/psenet.cpp
grimoire/mmdeploy
e84bc30f4a036dd19cb3af854203922a91098e84
[ "Apache-2.0" ]
147
2021-12-27T10:50:33.000Z
2022-03-30T10:44:20.000Z
// Copyright (c) OpenMMLab. All rights reserved. #include "codebase/mmocr/psenet.h" #include <algorithm> #include <opencv2/opencv.hpp> #include "codebase/mmocr/mmocr.h" #include "core/device.h" #include "core/registry.h" #include "core/serialization.h" #include "core/utils/device_utils.h" namespace mmdeploy { names...
34.81746
99
0.664691
grimoire
c4b91738ebc06fe91231e1072a4b65a0566597cb
1,194
cpp
C++
src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
159
2020-06-17T01:01:55.000Z
2022-03-28T10:33:37.000Z
src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-06-27T01:16:35.000Z
2022-02-06T20:33:24.000Z
src/pal/tests/palsuite/c_runtime/bsearch/test1/test1.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-05-21T08:18:20.000Z
2021-06-29T01:13:13.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================ ** ** Source: test1.c ** ** Purpose:...
24.367347
78
0.519263
elinor-fung
c4bb7bcf6cb57c5008a5ca159b67cd36398adc91
5,164
cpp
C++
mods/core/objects/freeverb/ReverbModel.cpp
antisvin/er-301
54d1e553651b5b653afa318189d813f0b7e12a96
[ "MIT" ]
102
2021-03-01T10:39:56.000Z
2022-03-31T00:28:15.000Z
mods/core/objects/freeverb/ReverbModel.cpp
antisvin/er-301
54d1e553651b5b653afa318189d813f0b7e12a96
[ "MIT" ]
62
2021-03-01T19:38:54.000Z
2022-03-21T00:51:24.000Z
mods/core/objects/freeverb/ReverbModel.cpp
antisvin/er-301
54d1e553651b5b653afa318189d813f0b7e12a96
[ "MIT" ]
19
2021-03-01T19:52:10.000Z
2021-07-29T03:25:19.000Z
/* * ReverbModel.cpp * * Created on: 12 Dec 2017 * Author: clarkson */ #include <core/objects/freeverb/ReverbModel.h> #include <od/config.h> #include <hal/simd.h> namespace od { ReverbModel::ReverbModel() { comb[0].setLeftBuffer(bufcombL1, combtuningL1); comb[0].setRightBuffer...
29.849711
101
0.634005
antisvin
c4bcd09ca73577998542021179cf2f89915ab43c
2,579
hpp
C++
src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 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://...
36.842857
81
0.659558
wuxun-zhang
c4bff15003d2c1ed21acb480e4e4e50165c28f2d
5,568
cpp
C++
wallet/unittests/util.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
wallet/unittests/util.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
wallet/unittests/util.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
#include "util.h" #include "wallet/wallet.h" #include "core/ecc_native.h" #include "core/serialization_adapters.h" #include "utility/logger.h" #include <boost/filesystem.hpp> #include <iterator> #include <future> using namespace std; using namespace beam; using namespace ECC; namespace beam { struct TreasuryBlockGen...
22.91358
98
0.670079
akhavr
c4c0b522503bdaa8f32bdc1d1d27962a548fc734
1,470
cc
C++
grey_level_histogram.cc
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-06T23:54:01.000Z
2020-08-24T09:18:33.000Z
grey_level_histogram.cc
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-07T00:31:48.000Z
2021-01-10T13:28:41.000Z
grey_level_histogram.cc
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
8
2019-03-07T00:08:43.000Z
2021-05-13T12:14:08.000Z
#include "grey_level_histogram.hpp" namespace prhlt{ using namespace log4cxx; using namespace log4cxx::helpers; using namespace boost; Grey_Level_Histogram::Grey_Level_Histogram(){ this->logger = Logger::getLogger("PRHLT.Grey_Level_Histogram"); } Grey_Level_Histogram::Grey_Level_Histogr...
31.956522
71
0.619048
jkloe
c4c2b2870bd19b8d68185006073038d950283086
1,504
cpp
C++
Uva-10948 - The primary problem.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
1
2020-11-02T22:18:22.000Z
2020-11-02T22:18:22.000Z
Uva-10948 - The primary problem.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
null
null
null
Uva-10948 - The primary problem.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define Max 1000001 std::bitset<Max> arr; std::vector<int> prime; void sieve() { arr[0]=true; arr[1]=true; for(int i=4;i<=Max;i+=2) { arr[i]=true; } for(int i=3;i*i<=Max;i++) { if(arr[i]==false) { for(int j=i*i;j<=Max;j+=i+i) ...
19.282051
57
0.357713
Samim-Arefin
c4c3d286892a809e310541e6850a867b3a052036
7,599
hpp
C++
skynet/core/neighbor.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
5
2015-08-02T03:10:26.000Z
2018-01-16T01:07:55.000Z
skynet/core/neighbor.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
null
null
null
skynet/core/neighbor.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
null
null
null
#pragma once #include <stdexcept> #include <array> #include <skynet/core/adaptor_types.hpp> namespace skynet{ template <typename B, typename size_t dim> class neighbor_adaptor : public iterator_adaptor<B> { public: typedef B neighbor_type; typedef point<size_t, dim> ext...
24.12381
86
0.59521
zhangzhimin
c4c40717df4ee6e78b86d36465ce363f30d83772
872
cpp
C++
PAT/group_tianti/L1-007.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
1
2021-02-20T00:14:35.000Z
2021-02-20T00:14:35.000Z
PAT/group_tianti/L1-007.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
null
null
null
PAT/group_tianti/L1-007.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; typedef struct { string pinyin; } NUMBER; int main() { NUMBER *Number = new NUMBER[10]; Number[0].pinyin = "ling"; Number[1].pinyin = "yi"; Number[2].pinyin = "er"; Number[3].pinyin = "san"; Number[4].pinyin = "si"; Number[5...
21.8
61
0.49656
haohaibo
c4c44ddee8bb17913f409a00a1b803ee5e5179a0
5,024
hh
C++
source/PPUtils/uniformobjectpool.hh
PerttuP/PPUtils
97971d6e2b662bab9a4966b4c39ac59509c01359
[ "MIT" ]
null
null
null
source/PPUtils/uniformobjectpool.hh
PerttuP/PPUtils
97971d6e2b662bab9a4966b4c39ac59509c01359
[ "MIT" ]
null
null
null
source/PPUtils/uniformobjectpool.hh
PerttuP/PPUtils
97971d6e2b662bab9a4966b4c39ac59509c01359
[ "MIT" ]
null
null
null
/* uniformobjectpool.hh * This header file defines the PPUtils::UniformObjectPool class template. This * class template can be used as a storage for complex objects or as a builder * class. * * Author: Perttu Paarlahti perttu.paarlahti@gmail.com * Created: 29-June-2015 */ #ifndef UNIFORMOBJECTPOOL_HH #defi...
31.204969
80
0.669785
PerttuP
c4c98bf909d8640f89568b12440a84765c8080d7
1,260
cpp
C++
test/detail/ApplyTupleTests.cpp
milleniumbug/rapidcheck
69ae4f77f57ee29609d8eb66dace6724feaf64d1
[ "BSD-2-Clause" ]
21
2017-10-27T18:54:11.000Z
2018-06-20T17:32:01.000Z
test/detail/ApplyTupleTests.cpp
milleniumbug/rapidcheck
69ae4f77f57ee29609d8eb66dace6724feaf64d1
[ "BSD-2-Clause" ]
1
2020-07-15T21:02:34.000Z
2021-06-22T16:08:58.000Z
test/detail/ApplyTupleTests.cpp
milleniumbug/rapidcheck
69ae4f77f57ee29609d8eb66dace6724feaf64d1
[ "BSD-2-Clause" ]
2
2019-12-19T01:26:56.000Z
2020-09-13T12:49:15.000Z
#include <catch.hpp> #include <rapidcheck/catch.h> #include "rapidcheck/detail/ApplyTuple.h" #include "util/Logger.h" using namespace rc; using namespace rc::test; using namespace rc::detail; namespace { std::tuple<int, std::string, std::vector<std::string>> myFunc(int x, int y, Logger logger) { return std::make_...
26.808511
73
0.646032
milleniumbug
c4cad60c29bac9793c206a04a9b2f11f5bfaebef
11,928
cpp
C++
Engine/Source/Runtime/Foliage/Private/FoliageComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Foliage/Private/FoliageComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Foliage/Private/FoliageComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= FoliageComponent.cpp: Foliage rendering implementation. =============================================================================*/ #include "CoreMinimal.h" #include "Engin...
48.685714
212
0.776828
windystrife
c4cb821d32a32ac24ac34875608760ec342e8e3c
812
cpp
C++
clang-tools-extra/test/clang-tidy/checkers/concurrency-mt-unsafe-posix.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
clang-tools-extra/test/clang-tidy/checkers/concurrency-mt-unsafe-posix.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang-tools-extra/test/clang-tidy/checkers/concurrency-mt-unsafe-posix.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %check_clang_tidy %s concurrency-mt-unsafe %t -- -config='{CheckOptions: [{key: "concurrency-mt-unsafe.FunctionSet", value: "posix"}]}' extern unsigned int sleep (unsigned int __seconds); extern int *gmtime (const int *__timer); extern int *gmtime_r (const int *__timer, char*); extern char *dirname (char *__pa...
35.304348
143
0.684729
mkinsner
c4cc576690912172f7e671be0ecf0af39a955e34
3,926
cpp
C++
src_smartcontract_db/scan_select/scan_planner/scanner/join/JoinOrCandidate.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/scan_select/scan_planner/scanner/join/JoinOrCandidate.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/scan_select/scan_planner/scanner/join/JoinOrCandidate.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * JoinBranchCandidate.cpp * * Created on: 2020/09/01 * Author: iizuka */ #include "scan_select/scan_planner/scanner/join/JoinOrCandidate.h" #include "scan_select/scan_planner/scanner/join/AbstractJoinCandidateCollection.h" #include "scan_select/scan_planner/scanner/join/JoinCandidate.h" namespace codabl...
30.2
120
0.767448
alinous-core
c4cc5ad1375eda855b296c1ec353a95240ffc075
10,739
cpp
C++
folly/experimental/channels/test/ChannelTest.cpp
wangzhx123/folly
94d02fac4a4b3dcd4f0e76566ae36a9aa32196ea
[ "Apache-2.0" ]
null
null
null
folly/experimental/channels/test/ChannelTest.cpp
wangzhx123/folly
94d02fac4a4b3dcd4f0e76566ae36a9aa32196ea
[ "Apache-2.0" ]
1
2022-03-28T16:56:01.000Z
2022-03-28T16:57:07.000Z
folly/experimental/channels/test/ChannelTest.cpp
wangzhx123/folly
94d02fac4a4b3dcd4f0e76566ae36a9aa32196ea
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
28.186352
78
0.720086
wangzhx123
c4ce0dcfe681e79eb180beb08064f83d0460e66d
2,166
cpp
C++
NPSVisor/tools/svMaker/source/PDiagMirror.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/tools/svMaker/source/PDiagMirror.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/tools/svMaker/source/PDiagMirror.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
//----------- PDiagMirror.cpp ------------------------------------------------ //---------------------------------------------------------------------------- #include "precHeader.h" //---------------------------------------------------------------------------- #include "PDiagMirror.h" //--------------------------------...
30.083333
116
0.440443
NPaolini
c4cefe124afee36b4870a0708ece73c366bad328
3,735
cpp
C++
Features/src/Host/ClientConnection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
8
2019-01-16T07:09:39.000Z
2020-11-06T23:13:46.000Z
Features/src/Host/ClientConnection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
null
null
null
Features/src/Host/ClientConnection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
3
2019-09-30T02:45:09.000Z
2019-09-30T23:17:26.000Z
#include <Host/ClientConnection.h> #include <Host/Dbus/ConnectionBridgeProxy.h> #include <Host/Dbus/DbusConnection.h> #include <Core/UI/Message.h> #include <RestApi/ProtocolOneCredential.h> #include <QtCore/QDebug> using P1::Host::DBus::DBusConnection; using P1::RestApi::ProtocolOneCredential; names...
29.179688
103
0.636145
ProtocolONE
c4d003c70bb9ecb84fd4c91c3a8084a2057014ab
2,159
cpp
C++
Code/Tools/Fileserve/Main.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Tools/Fileserve/Main.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Tools/Fileserve/Main.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <FileservePCH.h> #include <Fileserve/Main.h> #include <Foundation/Configuration/Startup.h> #include <Foundation/IO/FileSystem/FileSystem.h> #include <Foundation/Utilities/CommandLineUtils.h> #ifdef EZ_USE_QT #include <Gui.moc.h> #include <QApplication> #include <Foundation/Basics/Platform/Win/IncludeWindows....
24.816092
95
0.725799
fereeh
c4d15326bff694e1d4f7cb78450af46269c24997
4,534
cpp
C++
src/qc_ovps.cpp
Samthos/MC-MPn-Direct
cdf05c7ce7b33bf1b86b80f57f800634822c9cc6
[ "MIT" ]
1
2021-04-06T05:01:47.000Z
2021-04-06T05:01:47.000Z
src/qc_ovps.cpp
spec-org/MC-MPn-Direct
cdf05c7ce7b33bf1b86b80f57f800634822c9cc6
[ "MIT" ]
null
null
null
src/qc_ovps.cpp
spec-org/MC-MPn-Direct
cdf05c7ce7b33bf1b86b80f57f800634822c9cc6
[ "MIT" ]
3
2020-06-09T23:53:28.000Z
2022-03-02T05:44:55.000Z
#include <iostream> #include <functional> #include <algorithm> #include <cmath> #include "qc_ovps.h" template <template <typename, typename> typename Container, template <typename> typename Allocator> OVPS<Container, Allocator>::OVPS() { electron_pairs = 0; } template <template <typename, typename> typename Contai...
38.423729
134
0.679974
Samthos
c4d183b6269f9964875a695555203b9382224f0f
50,419
cc
C++
cow/src/components/audio_sink_pulse.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
cow/src/components/audio_sink_pulse.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
cow/src/components/audio_sink_pulse.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2017 Alibaba Group Holding Limited. 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 * * ...
30.227218
153
0.634364
halleyzhao
c4d6b54f3224dac53975338c6ce96e7c7edfd3de
6,653
cpp
C++
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STTime.cpp
TetrisAI/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
7
2016-11-28T13:42:44.000Z
2021-08-05T02:34:11.000Z
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STTime.cpp
PowerOlive/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
null
null
null
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STTime.cpp
PowerOlive/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
8
2015-07-31T02:53:14.000Z
2020-04-12T04:36:23.000Z
// All contents of this file written by Colin Fahey ( http://colinfahey.com ) // 2007 June 4 ; Visit web site to check for any updates to this file. #include "CPF.StandardTetris.STTime.h" #include <windows.h> #include <time.h> #include <winnt.h> namespace CPF { namespace StandardTetris { // Performance ...
22.706485
78
0.654291
TetrisAI
c4d8f724b1ae9b3fdb11a760ac1d12c7d7f8e956
11,639
cpp
C++
c_src/wamr_sandbox_runtime.cpp
PLSysSec/rlbox_wamr_sandbox
774aa15528a198717cc5f257a17f0f1553fbac84
[ "MIT" ]
null
null
null
c_src/wamr_sandbox_runtime.cpp
PLSysSec/rlbox_wamr_sandbox
774aa15528a198717cc5f257a17f0f1553fbac84
[ "MIT" ]
null
null
null
c_src/wamr_sandbox_runtime.cpp
PLSysSec/rlbox_wamr_sandbox
774aa15528a198717cc5f257a17f0f1553fbac84
[ "MIT" ]
null
null
null
#include "aot_runtime.h" #include "wamr_sandbox.h" #include "wasm_c_api.h" #include "wasm_c_api_internal.h" #include <deque> #include <iostream> #include <map> #include <mutex> #include <optional> #include <stdio.h> #include <string> #define DYN_CHECK(check, msg) \ i...
31.627717
98
0.701521
PLSysSec
c4db9b92e93f7d7a1cbccfe9ebeecdd2b80d9af1
758
cpp
C++
ch09/0918ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch09/0918ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch09/0918ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <iostream> #include <string> #include <vector> #include <list> #include <deque> using std::string; using std::vector; using std::list; using std::deque; using std::cout; using std::endl; using std::cin; int main(void) { int array[] = {1,2,3,4,5,6,7,8}; list<int> ilist(array, array+7); deque<int> d1, d2; ...
15.469388
69
0.558047
mallius
c4de62966a0e0c839e1d97b62f55390fd6d9de3e
1,001
cpp
C++
2020/prototype/src/robot-config.cpp
eshsrobotics/vex
bc3b03a6694924c59139c8a761929b8c9a1b6248
[ "MIT" ]
1
2021-12-13T06:24:19.000Z
2021-12-13T06:24:19.000Z
2020/prototype/src/robot-config.cpp
eshsrobotics/vex
bc3b03a6694924c59139c8a761929b8c9a1b6248
[ "MIT" ]
1
2021-06-03T00:17:19.000Z
2021-06-03T00:25:14.000Z
2020/prototype/src/robot-config.cpp
eshsrobotics/vex
bc3b03a6694924c59139c8a761929b8c9a1b6248
[ "MIT" ]
2
2018-10-28T23:59:13.000Z
2019-11-17T18:29:34.000Z
#include "vex.h" using namespace vex; using signature = vision::signature; using code = vision::code; // A global instance of brain used for printing to the V5 Brain screen brain Brain; // VEXcode device constructors motor RightFront = motor(PORT1, ratio18_1, true); motor LeftFront = motor(PORT19, ratio18_1, false)...
31.28125
74
0.764236
eshsrobotics
c4e349124c61bfeaf017fc7be7d766f4305914b5
7,495
cpp
C++
tests/reflection_tests.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
37
2017-02-04T09:42:48.000Z
2021-02-17T14:59:15.000Z
tests/reflection_tests.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
120
2017-11-09T19:46:40.000Z
2022-01-20T18:26:23.000Z
tests/reflection_tests.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
109
2017-01-16T14:24:31.000Z
2022-03-18T21:10:07.000Z
#include <boost/test/unit_test.hpp> #include <fc/exception/exception.hpp> #include <type_traits> struct reflect_test_base { int x = 1; char y = 'a'; }; struct reflect_test_derived : reflect_test_base { double z = 3.14; }; struct reflect_layer_1 { reflect_test_base b; int32_t n; }; struct reflect_layer_2 { r...
59.015748
116
0.623616
Revolution-Populi
c4e5f434f6c43ca834c0c4c6709c294eed762910
15,230
cpp
C++
SRC/text/text_render.cpp
GlisGames/vbEngine
239659e154c08d1867418e611891a7961dbe8258
[ "MIT" ]
null
null
null
SRC/text/text_render.cpp
GlisGames/vbEngine
239659e154c08d1867418e611891a7961dbe8258
[ "MIT" ]
null
null
null
SRC/text/text_render.cpp
GlisGames/vbEngine
239659e154c08d1867418e611891a7961dbe8258
[ "MIT" ]
null
null
null
#include "text_render.h" //#include "scope_guard.h" #include "math.h" #include "rlgl.h" #include <assert.h> #include <ft2build.h> #include FT_FREETYPE_H #include FT_OUTLINE_H //#define TEXT_USE_SHADER #include <algorithm> #include <cstdlib> #include <cstdio> #if defined(PLATFORM_DESKTOP) #define GLSL_VERSION ...
29.746094
133
0.599146
GlisGames
c4e619db5d837ef5c6ab9dc38cc3c34a47c6dc3b
2,233
cc
C++
test/test_rocks_storage.cc
UHH-ISS/beemaster-acu-portscan
f33dcddf490cfa1b768fcf16d91184ab47e20c9f
[ "MIT" ]
null
null
null
test/test_rocks_storage.cc
UHH-ISS/beemaster-acu-portscan
f33dcddf490cfa1b768fcf16d91184ab47e20c9f
[ "MIT" ]
null
null
null
test/test_rocks_storage.cc
UHH-ISS/beemaster-acu-portscan
f33dcddf490cfa1b768fcf16d91184ab47e20c9f
[ "MIT" ]
null
null
null
/* test_rocks_storage.cc * ACU Implementation (test) * * Test functionality of RocksStorage * * @author: 1wilkens, 0ortmann */ #include "catch.hpp" #include <rocks_storage.h> const std::string PATH = "/tmp/test_storage"; TEST_CASE("Testing RocksStorage initialisation", "[rocks_storage]") { // TODO FIXME XX...
28.628205
75
0.60815
UHH-ISS
c4e75411c33b92f88850d1171256d8664fa1b29c
5,550
cxx
C++
main/xmloff/source/transform/DeepTContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/xmloff/source/transform/DeepTContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/xmloff/source/transform/DeepTContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
31.179775
78
0.71964
Grosskopf
c4e789272073d984d72598c4e43028f912886c60
2,198
hpp
C++
include/gaenari/supul/db/sqlite/sqlite.type.hpp
greenfish77/gaenari
cb9374498b6122800702ebcfc19543c9563345b4
[ "Apache-2.0" ]
2
2022-03-10T05:51:24.000Z
2022-03-15T10:32:26.000Z
include/gaenari/supul/db/sqlite/sqlite.type.hpp
greenfish77/gaenari
cb9374498b6122800702ebcfc19543c9563345b4
[ "Apache-2.0" ]
null
null
null
include/gaenari/supul/db/sqlite/sqlite.type.hpp
greenfish77/gaenari
cb9374498b6122800702ebcfc19543c9563345b4
[ "Apache-2.0" ]
null
null
null
#ifndef HEADER_GAENARI_SUPUL_DB_SQLITE_SQLITE_TYPE_HPP #define HEADER_GAENARI_SUPUL_DB_SQLITE_SQLITE_TYPE_HPP namespace supul { namespace db { namespace sqlite { // include sqlite3.h inside the namespace. #include "sqlite/sqlite3.h" // query type. enum class stmt { unknown, count_string_table, get_string_table_la...
24.153846
97
0.838944
greenfish77
c4e81d482c8510a5cff5c89d3881eb64ceb96f41
6,058
cpp
C++
sources/day13.cpp
Gyebro/aoc19
59d00c525dd6539e121588984d2221494b0d265a
[ "MIT" ]
2
2019-12-09T16:21:46.000Z
2019-12-11T20:19:02.000Z
sources/day13.cpp
Gyebro/aoc19
59d00c525dd6539e121588984d2221494b0d265a
[ "MIT" ]
null
null
null
sources/day13.cpp
Gyebro/aoc19
59d00c525dd6539e121588984d2221494b0d265a
[ "MIT" ]
null
null
null
// // Created by Gyebro on 2019-12-13. // #include "day13.h" #include "intcode_vm.h" class display_packet { public: int64_t x; int64_t y; int64_t c; display_packet() : x(0), y(0), c(0) {} display_packet(int64_t X, int64_t Y, int64_t C) : x(X), y(Y), c(C) {} }; const string cTileChars = " +#=o "; c...
34.816092
78
0.382965
Gyebro
c4e941a3ea7ed2482032b80ed52b01701de9c04e
7,086
cpp
C++
libs/DiabloUI/src/selyesno.cpp
Chronimal/devilution
a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8
[ "Unlicense" ]
null
null
null
libs/DiabloUI/src/selyesno.cpp
Chronimal/devilution
a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8
[ "Unlicense" ]
null
null
null
libs/DiabloUI/src/selyesno.cpp
Chronimal/devilution
a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8
[ "Unlicense" ]
null
null
null
#include "inc.h" // ref: 0x1000FA49 int __fastcall SelYesNo_YesNoDialog(HWND hWnd, char* dialogstr, char* hero, int nofocus) { yesno_dialog_string = dialogstr; yesno_hero_name = hero; yesno_remove_focus = nofocus; yesno_is_popup = 0; YesNoFunc = 0; return SDlgDialogBoxParam(ghUiInst, "SELYESNO_...
28.457831
100
0.530059
Chronimal
c4eb3145a84a203a033f3ed4f2842fecbab9fd67
540
cpp
C++
10 Days of Statistics/Day_6/CLT_2.cpp
yurkovak/HackerRank
a10136e508692f98e76e7c27d9cd801a3380f8ba
[ "MIT" ]
null
null
null
10 Days of Statistics/Day_6/CLT_2.cpp
yurkovak/HackerRank
a10136e508692f98e76e7c27d9cd801a3380f8ba
[ "MIT" ]
null
null
null
10 Days of Statistics/Day_6/CLT_2.cpp
yurkovak/HackerRank
a10136e508692f98e76e7c27d9cd801a3380f8ba
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <math.h> // using namespace std; float CDF(float mean, float stdev, float x){ float erf_arg = (x - mean) / (pow(2, 0.5) * stdev); return (1 + erf(erf_arg))/2.; } int main() { /* Enter your code here. R...
20.769231
79
0.588889
yurkovak
c4eef379800c3039198dc9a3ffe9d7eef52dccb3
680
cpp
C++
PostScrimmageBot/Commands/TurHop/Fire.cpp
FRC-Team-1410/UA2013-FRC1410-Robot
51afc88149e97ff474693ed6a69ff13ba65440e3
[ "BSD-3-Clause" ]
null
null
null
PostScrimmageBot/Commands/TurHop/Fire.cpp
FRC-Team-1410/UA2013-FRC1410-Robot
51afc88149e97ff474693ed6a69ff13ba65440e3
[ "BSD-3-Clause" ]
null
null
null
PostScrimmageBot/Commands/TurHop/Fire.cpp
FRC-Team-1410/UA2013-FRC1410-Robot
51afc88149e97ff474693ed6a69ff13ba65440e3
[ "BSD-3-Clause" ]
1
2020-05-21T09:24:15.000Z
2020-05-21T09:24:15.000Z
#include "Fire.h" Fire::Fire() { // Use requires() here to declare subsystem dependencies Requires(turhop); } // Called just before this Command runs the first time void Fire::Initialize() { } // Called repeatedly when this Command is scheduled to run void Fire::Execute() { turhop->FeederToggle(); } // Make this...
20.606061
75
0.720588
FRC-Team-1410
c4f0337e7b61072e9779741064b4c624f93c7f94
6,578
hpp
C++
Code/Engine/EventSystem/NamedProperties.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/EventSystem/NamedProperties.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/EventSystem/NamedProperties.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#pragma once #include "Engine/General/Core/EngineCommon.hpp" #include <map> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //ENUMS ///////////////////////////////////////////////////////////////////////////////////////////////////////////...
36.142857
157
0.514746
ntaylorbishop
c4f08e23fd27972c57333bb17b3745a0234d01bb
1,106
cpp
C++
marsyas-vamp/marsyas/src/marsyas/marsystems/FlowToControl.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/marsystems/FlowToControl.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/marsystems/FlowToControl.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
#include "FlowToControl.h" namespace Marsyas { FlowToControl::FlowToControl(std::string name): MarSystem("FlowToControl", name) { addControl("mrs_natural/row", 0, m_row_ctl); addControl("mrs_natural/column", 0, m_col_ctl); addControl("mrs_real/value", 0.0, m_value_ctl); } FlowToControl::FlowToControl(const F...
21.686275
58
0.689873
jaouahbi
c4f1b0a742c5fe46d5cd1b537fabab5d1f254f29
684
hpp
C++
spotify_stream/src/web/model/playlist.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
2
2020-06-07T16:47:20.000Z
2021-03-20T10:41:34.000Z
spotify_stream/src/web/model/playlist.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
spotify_stream/src/web/model/playlist.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
#ifndef CARPI_PLAYLIST_HPP #define CARPI_PLAYLIST_HPP #include <string> #include <nlohmann/json.hpp> #include <vector> #include "followers.hpp" #include "image.hpp" namespace carpi::spotify::web::model { struct playlist { bool collaborative; std::string description; std::vector<nlohmann::j...
22.8
50
0.631579
Yanick-Salzmann
c4f1c688bbdf3c982034716a61c40966dbeb6b72
1,626
cpp
C++
source/engine/resources/MusicLoader.cpp
AlexKoukoulas2074245K/Genesis
23c114cfe06b65b0b7b5f7807a9ceb4faf8cdf88
[ "MIT" ]
null
null
null
source/engine/resources/MusicLoader.cpp
AlexKoukoulas2074245K/Genesis
23c114cfe06b65b0b7b5f7807a9ceb4faf8cdf88
[ "MIT" ]
null
null
null
source/engine/resources/MusicLoader.cpp
AlexKoukoulas2074245K/Genesis
23c114cfe06b65b0b7b5f7807a9ceb4faf8cdf88
[ "MIT" ]
null
null
null
///------------------------------------------------------------------------------------------------ /// MusicLoader.cpp /// Genesis /// /// Created by Alex Koukoulas on 20/11/2019. ///------------------------------------------------------------------------------------------------ #include "MusicLoader.h" #include "...
28.034483
101
0.383764
AlexKoukoulas2074245K
c4f3a4ec94aa0c300e0be050432301af1d9f6203
443
hpp
C++
src/nativecoder.hpp
jamieleecho/mcbasic
b4c938497487109d2448894ce3fff8476c3e2f4e
[ "MIT" ]
5
2021-02-02T18:44:13.000Z
2022-03-08T16:53:09.000Z
src/nativecoder.hpp
jamieleecho/mcbasic
b4c938497487109d2448894ce3fff8476c3e2f4e
[ "MIT" ]
6
2021-01-28T04:38:48.000Z
2021-04-05T03:06:33.000Z
src/nativecoder.hpp
jamieleecho/mcbasic
b4c938497487109d2448894ce3fff8476c3e2f4e
[ "MIT" ]
3
2021-01-18T04:13:25.000Z
2021-10-29T23:25:49.000Z
// Copyright (C) 2021 Greg Dionne // Distributed under MIT License #ifndef NATIVECODER_HPP #define NATIVECODER_HPP #include "coder.hpp" // call the implementation via native instructions: // example: // // ldx #INTVAR_X // ldab #2 // jsr ld_ix_pb ; load integer destination with positive byte class NativeCoder : pu...
18.458333
61
0.740406
jamieleecho
c4f3c2c68cb3a2b57c4d77d0d58d6d22cb853d15
3,852
cc
C++
garnet/drivers/video/amlogic-decoder/video_firmware_session.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
garnet/drivers/video/amlogic-decoder/video_firmware_session.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
garnet/drivers/video/amlogic-decoder/video_firmware_session.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 "video_firmware_session.h" #include <zircon/assert.h> #include <cinttypes> #include <fbl/algorithm.h> #include "macros.h" constexpr TEEC_UUID...
34.702703
97
0.720145
opensource-assist
c4f68e726acf92760962a2790d3daec79466c23b
667
hpp
C++
src/Move.hpp
PolyDevTeam/Polybasite
c705d1e0c7286e55c487ddbcd17cdcabfb057b7a
[ "MIT" ]
1
2017-12-22T15:31:36.000Z
2017-12-22T15:31:36.000Z
src/Move.hpp
PolyDevTeam/Polybasite
c705d1e0c7286e55c487ddbcd17cdcabfb057b7a
[ "MIT" ]
1
2017-12-26T23:18:53.000Z
2017-12-26T23:18:53.000Z
src/Move.hpp
PolyDevTeam/Polybasite
c705d1e0c7286e55c487ddbcd17cdcabfb057b7a
[ "MIT" ]
1
2017-11-20T21:21:01.000Z
2017-11-20T21:21:01.000Z
#ifndef __MOVE_HPP__ #define __MOVE_HPP__ #include <vector> #include <sstream> #include "Serializable.hpp" #include "Miner.hpp" enum DIRECTIONS { STILL = 0, NORTH = 1, EAST = 2, SOUTH = 3, WEST = 4, }; class Move : public Serializable { public: Move(); Move(unsigned minerId, DIRECTIONS d...
18.027027
56
0.661169
PolyDevTeam
c4f75585518af5f6afe024bfc40d2efdd21da4b2
5,870
cpp
C++
src/cpp/ports-runtime.cpp
friedolino78/rtosc
5006acfc030465944b45180942e439b3cf4d617a
[ "MIT" ]
null
null
null
src/cpp/ports-runtime.cpp
friedolino78/rtosc
5006acfc030465944b45180942e439b3cf4d617a
[ "MIT" ]
null
null
null
src/cpp/ports-runtime.cpp
friedolino78/rtosc
5006acfc030465944b45180942e439b3cf4d617a
[ "MIT" ]
null
null
null
#include "../util.h" #include <cstdarg> #include <cstring> #include <cassert> #include <rtosc/pretty-format.h> #include <rtosc/ports.h> #include <rtosc/ports-runtime.h> namespace rtosc { namespace helpers { //! RtData subclass to capture argument values pretty-printed from //! a runtime object class CapturePretty : ...
28.086124
80
0.575468
friedolino78
c4f8c132bebfdb3f67ba9b18a4395f13570eac81
387
cpp
C++
C++/base_1/MoveCtor/0426-1/testClassA.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
C++/base_1/MoveCtor/0426-1/testClassA.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
C++/base_1/MoveCtor/0426-1/testClassA.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include "classA.h" static void func(classA objA) { std::cout << &objA << std::endl; objA.show(); } static classA func1() { classA obj(1, 2.0); return obj; } void testClassA() { std::cout << std::endl; classA obj(1, 1.1); std::cout << &obj << std::endl; func(obj); std::cout << std::endl...
13.344828
33
0.599483
liangjisheng
c4facf834dd49dc246cf62833602fc69b4658c77
885
cpp
C++
Hacke Rank Problems/Week Of Codes 34/maxgcd.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
Hacke Rank Problems/Week Of Codes 34/maxgcd.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
Hacke Rank Problems/Week Of Codes 34/maxgcd.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 1e6 + 6; int cnt[N]; int lmulA[N]; int lmulB[N]; int n; int ar[N]; int br[N]; int main(){ scanf("%d" , &n); for(int i = 1; i <= n; ++i) { scanf("%d" , ar + i); } for(int i = 1; i <= n; ++i) { scanf("%d" , br + i); } for(int i ...
14.75
40
0.39322
anand434
c4fb967d0e8006b751b86b7b5ca5cbbd314615bd
1,143
cc
C++
src/logdoubletest.cc
sestaton/Augustus
893e0b21fa90bd57fcd0dff2c1e849e88bb02049
[ "Artistic-1.0" ]
178
2018-05-25T09:51:13.000Z
2022-03-30T13:55:58.000Z
src/logdoubletest.cc
sestaton/Augustus
893e0b21fa90bd57fcd0dff2c1e849e88bb02049
[ "Artistic-1.0" ]
249
2018-07-02T07:03:12.000Z
2022-03-30T00:01:01.000Z
src/logdoubletest.cc
sestaton/Augustus
893e0b21fa90bd57fcd0dff2c1e849e88bb02049
[ "Artistic-1.0" ]
95
2018-08-21T21:33:19.000Z
2022-03-30T13:56:00.000Z
/* * logdoubletest.cc * * License: Artistic License, see file LICENSE.TXT or * https://opensource.org/licenses/artistic-license-1.0 * * Description: */ #include "lldouble.hh" #include <iostream> int main() { LogDouble ld, lf=0.9999; LLDouble d, f=0.9999; ld = 0.25; d = 0.25; cl...
21.980769
68
0.531059
sestaton
c4ffcd978b48424108f794dde17767d8aa8f8418
6,214
cpp
C++
Castlevania/Input.cpp
ctelotuong/CaslteVania
dd4631a4895b0b91d5d8f80ba505dad7c4d81fab
[ "MIT" ]
null
null
null
Castlevania/Input.cpp
ctelotuong/CaslteVania
dd4631a4895b0b91d5d8f80ba505dad7c4d81fab
[ "MIT" ]
null
null
null
Castlevania/Input.cpp
ctelotuong/CaslteVania
dd4631a4895b0b91d5d8f80ba505dad7c4d81fab
[ "MIT" ]
null
null
null
#include "Input.h" namespace input { Input::Input(core::CGame* game, core::SceneManager* scenes) { this->game = game; this->scenes = scenes; } Input::~Input() { } bool Input::Animation_Standby() { int status; scenes->Get_Simon()->GetStatus(status); if (status == UPDATE && scenes->Get_Simon()->animati...
23.717557
139
0.623592
ctelotuong
f200dca299f9bad9b9e8fb62063a7d872d422d13
10,955
cpp
C++
hackathon/XuanZhao/compare_swc2/compare_swc2_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/XuanZhao/compare_swc2/compare_swc2_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/XuanZhao/compare_swc2/compare_swc2_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* compare_swc2_plugin.cpp * This is a test plugin, you can use it as a demo. * 2020-3-12 : by YourName */ #include "v3d_message.h" #include <vector> #include "compare_swc2_plugin.h" #include "n_class.h" using namespace std; Q_EXPORT_PLUGIN2(compare_swc2, compare_swc); QStringList compare_swc::menulist() const {...
46.223629
160
0.578183
zzhmark
f2047d442b81465a2549c37263c825451b64f114
6,972
cpp
C++
lesson04/src/helper_functions.cpp
just-4-name/CPPExercises2021
4df4b93b470bde7f05de91e5e1ed76e63daf49d8
[ "MIT" ]
null
null
null
lesson04/src/helper_functions.cpp
just-4-name/CPPExercises2021
4df4b93b470bde7f05de91e5e1ed76e63daf49d8
[ "MIT" ]
null
null
null
lesson04/src/helper_functions.cpp
just-4-name/CPPExercises2021
4df4b93b470bde7f05de91e5e1ed76e63daf49d8
[ "MIT" ]
null
null
null
#include "helper_functions.h" #include <cstdlib> #include <ctime> #include <iostream> #include <libutils/rasserts.h> using namespace std; using namespace cv; cv::Mat makeAllBlackPixelsBlue(cv::Mat image) { // TODO реализуйте функцию которая каждый черный пиксель картинки сделает синим int height = image.rows,...
35.753846
150
0.535714
just-4-name
f20490673fc389cdb393578973c2b8d7488dbdcd
217
cpp
C++
Game_Girls_AutoChess_2019_06_04/Lib/UIObject.cpp
AhriHaran/Unity
90a84d8cabd5ef890f3fb7d9624437b1ef8157a9
[ "Unlicense" ]
null
null
null
Game_Girls_AutoChess_2019_06_04/Lib/UIObject.cpp
AhriHaran/Unity
90a84d8cabd5ef890f3fb7d9624437b1ef8157a9
[ "Unlicense" ]
null
null
null
Game_Girls_AutoChess_2019_06_04/Lib/UIObject.cpp
AhriHaran/Unity
90a84d8cabd5ef890f3fb7d9624437b1ef8157a9
[ "Unlicense" ]
2
2019-09-04T06:04:23.000Z
2019-09-16T07:44:16.000Z
#include "UIObject.h" namespace JEngine { UIObject::UIObject() { } UIObject::~UIObject() { } void UIObject::SetPos(int left, int top, int right, int bottom) { m_rcPos.Set(left, top, right, bottom); } }
11.421053
64
0.645161
AhriHaran
f2065ef3ba4d32ba05f9a7114fb2acfac53a9ccf
4,106
inl
C++
trunk/libs/angsys/include/ang/maths/implement/double4x4_simd.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/include/ang/maths/implement/double4x4_simd.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/include/ang/maths/implement/double4x4_simd.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#ifndef __COFFE_GRAPH_MATHS_H__ #error ... #elif !defined __COFFE_GRAPH_MATHS_FLOAT4X4_HPP__ #define __COFFE_GRAPH_MATHS_FLOAT4X4_HPP__ inline coffe::math::float4x4::float4x4() { memset(_mat, 0, sizeof(_mat)); } inline coffe::math::float4x4::float4x4(float_t val) { _mat[0] = _mm_set1_ps(val); _mat[1] = _mm_set1_ps...
38.735849
152
0.677058
ChuyX3
f206b5424336bef9ddea354fd51410339489df3e
4,569
hpp
C++
src/tests-core/tests/packed/sequence/fse/pseq_test_base.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
src/tests-core/tests/packed/sequence/fse/pseq_test_base.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
src/tests-core/tests/packed/sequence/fse/pseq_test_base.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2013 Victor Smirnov // // 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...
25.104396
94
0.562267
victor-smirnov
f20744bda621c2a5cbdec5b250d84e618ff76082
1,533
hh
C++
TFM/click-2.0.1/elements/grid/gridgatewayinfo.hh
wangyang2013/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
3
2018-04-14T14:43:31.000Z
2019-12-06T13:09:58.000Z
TFM/click-2.0.1/elements/grid/gridgatewayinfo.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
TFM/click-2.0.1/elements/grid/gridgatewayinfo.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
#ifndef GRIDGATEWAYINFO_HH #define GRIDGATEWAYINFO_HH #include <click/element.hh> #include "grid.hh" #include "gridgenericrt.hh" CLICK_DECLS /* * =c * GridGatewayInfo(ROUTETABLE, IS_GATEWAY) * =s Grid * Manage grid node gateway info. * * =d * * GridGatewayInfo performs two functions [probably indicating a bad ...
23.953125
70
0.733203
wangyang2013
f20745a76d6d68fcb0bf77b7addba4c2e9d6c8a7
6,427
hpp
C++
headers/rpnx/hsalsa.hpp
rpnx-net/rpnx-crypto
795487338f4d569d56886ab2b685bcd38a433142
[ "MIT" ]
1
2020-12-17T07:25:03.000Z
2020-12-17T07:25:03.000Z
headers/rpnx/hsalsa.hpp
rpnx-net/rpnx-crypto
795487338f4d569d56886ab2b685bcd38a433142
[ "MIT" ]
null
null
null
headers/rpnx/hsalsa.hpp
rpnx-net/rpnx-crypto
795487338f4d569d56886ab2b685bcd38a433142
[ "MIT" ]
null
null
null
// // Created by rnicholl on 12/16/20. // #ifndef RPNX_DJB_CRYPTO_HSALSA_HPP #define RPNX_DJB_CRYPTO_HSALSA_HPP #include <utility> #include <cinttypes> #include <tuple> #include <cstddef> #include "rpnx/crypto_common.hpp" #include <stdint.h> #include <stdlib.h> namespace rpnx::c_djb_crypto { template <std::size_...
36.725714
84
0.512214
rpnx-net
f2075a00fc92920bb9bc55067dff1d81e2b85834
17,352
cpp
C++
Source/DBHandler/database.cpp
Iskeletu/SimpleDB
73429b63bb7c05617e2258c2bd33510044c1746c
[ "MIT" ]
3
2021-12-10T03:09:01.000Z
2021-12-27T17:24:22.000Z
Source/DBHandler/database.cpp
Iskeletu/SimpleDB
73429b63bb7c05617e2258c2bd33510044c1746c
[ "MIT" ]
null
null
null
Source/DBHandler/database.cpp
Iskeletu/SimpleDB
73429b63bb7c05617e2258c2bd33510044c1746c
[ "MIT" ]
null
null
null
/* Database managment file. All work done in the non-compressed database (.db) file is handled by this file. */ //Libraries #include <string> #include <vector> #include <fstream> #include <filesystem> //Header Files #include "database.h" //Local Database Base Direcaroty Reference const std::string basedir("./Dat...
43.707809
171
0.55423
Iskeletu
f20bff75d668a7720e9d7bf1a7cfa39d0dfece88
1,135
cpp
C++
Source/GameWindow.cpp
sergipa/The-Creator-3D
69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda
[ "MIT" ]
6
2017-11-24T06:15:40.000Z
2021-01-05T04:47:21.000Z
Source/GameWindow.cpp
sergipa/The-Creator-3D
69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda
[ "MIT" ]
null
null
null
Source/GameWindow.cpp
sergipa/The-Creator-3D
69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda
[ "MIT" ]
3
2017-11-21T13:11:47.000Z
2019-07-01T09:22:49.000Z
#include "GameWindow.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "RenderTextureMSAA.h" #include "ComponentCamera.h" GameWindow::GameWindow() { active = true; window_name = "Game"; game_scene_width = 0; game_scene_height = 0; } GameWindow::~GameWindow() { } void GameWindow::DrawWindow() { ...
25.795455
125
0.711013
sergipa
f20cf856963535ffb585dff01fe1dff5d00d992b
3,535
cpp
C++
Banking101/GoodEvent.cpp
tiberius26/Banking101
2cc5e58b4d848643ba0409427381fd9a13c68c21
[ "MIT" ]
null
null
null
Banking101/GoodEvent.cpp
tiberius26/Banking101
2cc5e58b4d848643ba0409427381fd9a13c68c21
[ "MIT" ]
null
null
null
Banking101/GoodEvent.cpp
tiberius26/Banking101
2cc5e58b4d848643ba0409427381fd9a13c68c21
[ "MIT" ]
null
null
null
#include "GoodEvent.h" GoodEvent::GoodEvent()//set some random information for the event variables { std::srand(std::time(nullptr));//set a seed for the random number generation based on time m_EventName = ""; m_Description = ""; m_ItemName = ""; m_ItemCount = 0; } void GoodEvent::EventManager(Player* Pla...
35.35
188
0.668741
tiberius26
f20f54b02370c97a0c316c14b2f0d563ac53bd25
1,049
cpp
C++
BZOJ/4044/dna.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4044/dna.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4044/dna.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cmath> #include<cstring> #define maxn 101005 #define getl(x) min(w[(x)],min(r-(x)+1,(x)-l)) #define inf 1e9 using namespace std; int t,n,w[maxn]; char dna[maxn]; bool ok(char c){ return c=='A'||c=='T'||c=='C'||c=='G'; } int count(int l,int r){ int maxl=0;...
22.319149
70
0.527169
sjj118
f215b4985296643a7fbb822027e167bccb53b00b
137,447
cc
C++
third_party/blink/renderer/platform/graphics/compositing/paint_artifact_compositor_test.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/platform/graphics/compositing/paint_artifact_compositor_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/platform/graphics/compositing/paint_artifact_compositor_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/graphics/compositing/paint_artifact_compositor.h" #include <memory> #include "base/test/test_simple_task_r...
42.278376
95
0.710085
zipated
f216ab6b3df5c5c41380a9d098bcd33cbba95bb7
4,132
cpp
C++
SpectatorView/Compositor/CompositorDLL/OpenCVFrameProvider.cpp
matealex/MixedRealityCompanionKit
cbd61ca6b2a45f8dd6855995bf539cbdfe194ea7
[ "MIT" ]
204
2017-08-12T12:57:26.000Z
2019-04-25T20:22:12.000Z
SpectatorView/Compositor/CompositorDLL/OpenCVFrameProvider.cpp
Troy-Ferrell/MixedRealityCompanionKit
3ce06ce1e32e91b826d4370b6df5d28918982b2f
[ "MIT" ]
159
2017-08-12T09:38:46.000Z
2019-04-25T17:04:50.000Z
SpectatorView/Compositor/CompositorDLL/OpenCVFrameProvider.cpp
Troy-Ferrell/MixedRealityCompanionKit
3ce06ce1e32e91b826d4370b6df5d28918982b2f
[ "MIT" ]
159
2017-08-13T22:51:09.000Z
2019-05-02T02:32:55.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "stdafx.h" #include "OpenCVFrameProvider.h" #if USE_OPENCV OpenCVFrameProvider::OpenCVFrameProvider() { QueryPerformanceFrequency(&freq); rgbaFrame...
26.658065
126
0.593901
matealex
35ea17c6b284d5f384918c1f343ff211c8c621e2
598
cpp
C++
src/UOJ_1031 - (1619983) Accepted.cpp
miguelarauj1o/UOJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
80
2015-01-07T01:18:40.000Z
2021-05-04T15:23:18.000Z
src/UOJ_1031 - (1619983) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
1
2019-01-07T01:13:32.000Z
2019-01-07T01:13:32.000Z
src/UOJ_1031 - (1619983) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
28
2015-03-05T11:53:23.000Z
2020-07-05T15:50:42.000Z
#include <cstdio> #include <vector> #define PB push_back #define SC1(a) scanf("%d", &a) #define REP(i, a, b) for (int i = (a); i <= (b); ++i) using namespace std; typedef vector<int> VI; bool crisis(int n, int k) { int p = 0; VI v; REP(i, 1, n) v.PB(i); if(v.size() > 1){ do{ v.eras...
13.590909
54
0.4699
miguelarauj1o
35ebb0c5e0efdacfc53b3be2fbcdef1937324c1d
1,503
cpp
C++
SOURCES/falclib/token.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/falclib/token.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/falclib/token.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include <string.h> #include <stdlib.h> #include "token.h" // MLR 12/13/2003 - Simple token parsing char *tokenStr=0; float TokenF(float def) { return(TokenF(tokenStr,def)); } float TokenF(char *str, float def) { char *bs; tokenStr=0; if(bs=strtok(str," ,\t\n")) { return((float)atof(bs)); } return(def);...
11.300752
51
0.590818
IsraelyFlightSimulator
35ec2db7c9a9f261e9d536da75413f2c18b3ee92
1,942
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/PolygonOffset.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/PolygonOffset.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/PolygonOffset.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/********************************************************************** * * FILE: PolygonOffset.cpp * * DESCRIPTION: Read/Write osg::PolygonOffset in binary format to disk. * * CREATED BY: Auto generated by iveGenerator * and later modified by Rune Schmidt Jensen....
34.070175
112
0.57827
UM-ARM-Lab
35ef66e0dce1ecf20e864d6b5a57b6355995ad1d
10,419
hpp
C++
src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015, 2018, Red Hat, Inc. All rights reserved. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be u...
39.465909
180
0.730972
siweilxy
35f03bdb085df89844b085d19bd6ee4d3a630d3e
255
cpp
C++
UVa 10636 - Hello World/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10636 - Hello World/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10636 - Hello World/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <cstdio> #include <cmath> #include <algorithm> using namespace std; int main() { int n, cnt = 1; while (scanf("%d", &n), n >= 0) { printf("Case %d: %.0lf\n", cnt++, max(0.0, ceil(log(n) / log(2)))); } return 0; }
13.421053
75
0.505882
tadvi
35f0d56503f8e1476114f760b630a85adb39b170
11,127
cpp
C++
volante.cpp
AraragiRukasu/interfazLAC
abd0f3e98e659fbe0459c29afad3972197f864c7
[ "BSD-3-Clause" ]
1
2019-05-20T11:52:35.000Z
2019-05-20T11:52:35.000Z
volante.cpp
AraragiRukasu/interfazLAC
abd0f3e98e659fbe0459c29afad3972197f864c7
[ "BSD-3-Clause" ]
null
null
null
volante.cpp
AraragiRukasu/interfazLAC
abd0f3e98e659fbe0459c29afad3972197f864c7
[ "BSD-3-Clause" ]
null
null
null
#include "volante.h" #include "ui_volante.h" #include <QMessageBox> #include <QtCore> #include <QtGui> #include <QTimer> #include "PC.h" #include <QtMath> #include "assert.h" //Esta ventana es homologa a la del generador (pero mas simple), referirse //a aquella para entender el funcionamiento de esta volante::volante...
30.652893
144
0.662892
AraragiRukasu
35f330bb55218bba78fc170664996e07040cac1c
1,462
cpp
C++
tests/code/registry.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
72
2016-02-04T00:41:02.000Z
2022-03-18T18:10:34.000Z
tests/code/registry.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
74
2016-01-11T16:04:46.000Z
2021-11-18T16:36:11.000Z
tests/code/registry.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
23
2016-04-27T07:14:56.000Z
2021-09-28T21:59:31.000Z
#define BOOST_TEST_MODULE registry #include <boost/test/unit_test.hpp> #include "odil/registry.h" #include "odil/Tag.h" BOOST_AUTO_TEST_CASE(PublicDictionary) { auto const iterator = odil::registry::public_dictionary.find( odil::registry::PatientName); BOOST_REQUIRE(iterator != odil::registry::public_...
35.658537
71
0.728454
genisysram
35f78f425e52fe462ade87bf2df6da28376329b8
6,076
hpp
C++
SDK/ARKSurvivalEvolved_Buff_GrabbedByBeam_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_GrabbedByBeam_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_GrabbedByBeam_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_GrabbedByBeam_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------------...
85.577465
219
0.574062
2bite
35f7bedb4f686ef56aa86f604fc083e183e6ebaa
120
cpp
C++
src/arcstorage-ui/atreewidgetitem.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
null
null
null
src/arcstorage-ui/atreewidgetitem.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
null
null
null
src/arcstorage-ui/atreewidgetitem.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
1
2022-03-24T10:11:37.000Z
2022-03-24T10:11:37.000Z
#include "atreewidgetitem.h" ATreeWidgetItem::ATreeWidgetItem(QObject *parent) : QTreeWidgetItem(parent) { }
17.142857
52
0.725
Teemperor
35f7c327f9526a360f434307bc77d17a812dd57b
2,488
cc
C++
backend/inst-sched/local-list-eb/src/lib/dep.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
backend/inst-sched/local-list-eb/src/lib/dep.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
backend/inst-sched/local-list-eb/src/lib/dep.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
#include "dep.hh" #include <algorithm> #include <cassert> #include "ebb-view.hh" namespace { constexpr std::size_t INS_NONE = -1; std::string get_label(const isa::Ins &ins) { if (ins.args().size() == 1) return ins.args()[0]; return ins.args()[0] + ":" + ins.args()[1].substr(1); } std::size_t find_def_of(...
28.272727
73
0.59365
obs145628
35fa0fa040dadf8a7258780224d795dd69d2af02
3,008
cpp
C++
modules/task_2/belyaev_i_readers_writers/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/belyaev_i_readers_writers/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/belyaev_i_readers_writers/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Belyaev Ilya #include <gtest/gtest.h> #include "./readers_writers.h" #include <gtest-mpi-listener.hpp> TEST(r_w_MPI, no_one) { int rank, size; MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &size); if (rank == 0) { storage(rank, 1); } MPI_Barrier(MPI_COMM_WORLD);...
18.918239
76
0.636636
Gurgen-Arm
35fa77ab7dcf25fb1f09a7989d6438fb113416f6
3,852
cpp
C++
src/type_lookup_table.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
2
2015-03-20T21:11:16.000Z
2020-01-20T08:05:41.000Z
src/type_lookup_table.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
src/type_lookup_table.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
/******************************************************************************\ * * * ____ _ _ _ * * | __ ) ___ ___ ___| |_ / \ ___| |_ ___ _ __ *...
38.138614
108
0.482606
syoummer
35facbd9a9c7e6f5ce5145cf473a1c131a841db0
708
cxx
C++
cpp_fund/explicit.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
cpp_fund/explicit.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
cpp_fund/explicit.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
/* * @title: todo * @author: Rodney Cheung * @date: 2021-07-15 11:20:53 * @last_author: Rodney Cheung * @last_edit_time: 2021-07-15 11:41:04 */ #include "precompiled_headers.h" class SalesData{ private: std::string data; public: explicit SalesData(const std::string& d):data(d){ } explic...
20.228571
67
0.620056
jsrdzhk
35fc424d216a117737ceaf67217967c836a22f89
778
cpp
C++
quick-sort.cpp
zhiwei1988/leetcode_20211220
d158c5ec567381610f4d442d427df7fa035dcd84
[ "MIT" ]
null
null
null
quick-sort.cpp
zhiwei1988/leetcode_20211220
d158c5ec567381610f4d442d427df7fa035dcd84
[ "MIT" ]
null
null
null
quick-sort.cpp
zhiwei1988/leetcode_20211220
d158c5ec567381610f4d442d427df7fa035dcd84
[ "MIT" ]
null
null
null
// // Created by zhiwei on 1/6/2022. // #include "playground.h" int Partition(vector<int> &nums, int left, int right) { int pivot = nums[right]; // 每次取最右边的值为锚点 int wall = left; for (int i = left; i < right; i++) { if (nums[i] < pivot) { swap(nums[i], nums[wall]); wall++; ...
16.913043
53
0.537275
zhiwei1988
35ff6451f672fd225ba93b2c849cf5ce598c786a
439
cpp
C++
xfa/fwl/core/cfwl_evtclick.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
38
2015-11-25T02:25:25.000Z
2022-01-04T01:11:15.000Z
xfa/fwl/core/cfwl_evtclick.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
1
2021-02-23T22:36:54.000Z
2021-02-23T22:36:54.000Z
xfa/fwl/core/cfwl_evtclick.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
13
2016-08-03T02:35:18.000Z
2020-12-17T10:14:04.000Z
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fwl/core/cfwl_evtclick.h" CFWL_EvtClick::CFWL_EvtClick() {} CF...
27.4375
80
0.76082
isabella232
c40066c5064027015912264a6e188cbdf6eec19a
1,128
cpp
C++
common/modifiers.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
1,027
2015-01-05T02:52:17.000Z
2022-03-26T22:30:14.000Z
common/modifiers.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
312
2015-01-01T08:58:12.000Z
2022-03-31T09:26:55.000Z
common/modifiers.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
324
2015-01-06T01:57:21.000Z
2022-03-31T14:13:49.000Z
/** * Modifiers.cpp * * In this file an enumeration type is with the possible * member modifiers * * @author Martijn Otto <martijn.otto@copernica.com> * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> * * @copyright 2014 Copernica BV */ #include "includes.h" #include <php.h> /** * Set up n...
22.117647
94
0.643617
kirmorozov
c400796697348853cced91e259f6e266923dac4e
545
cpp
C++
Assignments/Assignment2/18f.cpp
PritishWadhwa/Code-For-Cause-CPP-TA-May-June-2021
be2552476478f83a324407d2af48f3516432f321
[ "CC0-1.0" ]
1
2022-01-03T08:33:01.000Z
2022-01-03T08:33:01.000Z
Assignments/Assignment2/18f.cpp
PritishWadhwa/Code-For-Cause-CPP-TA-May-June-2021
be2552476478f83a324407d2af48f3516432f321
[ "CC0-1.0" ]
null
null
null
Assignments/Assignment2/18f.cpp
PritishWadhwa/Code-For-Cause-CPP-TA-May-June-2021
be2552476478f83a324407d2af48f3516432f321
[ "CC0-1.0" ]
null
null
null
class Solution { public: vector<int> sortedSquares(vector<int>& nums) { int i = 0, j = nums.size() - 1; vector<int> arr; arr.reserve(nums.size()); while (i <= j) { if ((nums[i] * nums[i]) >= (nums[j] * nums[j])) { arr.insert(arr.beg...
22.708333
59
0.361468
PritishWadhwa
c402043b18d94d4c0494ca395f02ff742d138ad8
8,995
hpp
C++
lib/strict_variant_0.3/include/strict_variant/variant_dispatch.hpp
garbageslam/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
1
2022-03-18T23:56:54.000Z
2022-03-18T23:56:54.000Z
lib/strict_variant_0.3/include/strict_variant/variant_dispatch.hpp
garbageslam/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
null
null
null
lib/strict_variant_0.3/include/strict_variant/variant_dispatch.hpp
garbageslam/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
null
null
null
// (C) Copyright 2016 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <strict_variant/mpl/find_with.hpp> #include <strict_variant/mpl/nonstd_traits.hpp> #include <strict_variant/...
39.800885
100
0.662813
garbageslam
c403d60bd8b063114bf2ade736b18e9cdcfbec4f
3,495
hpp
C++
ios/Pods/boost-for-react-native/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to 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) ...
31.205357
104
0.75794
rudylee