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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
8b03845050e6020e129e3ddd7fa42fc94e38c713
3,146
cpp
C++
src/module/base/ServiceStatusManager/src/ServiceStatusManager.cpp
403712387/cgf
f26d7fa16ec8c7ca7565109b0d7f483cc7ad6288
[ "MIT" ]
2
2020-03-04T06:54:45.000Z
2021-07-21T05:59:08.000Z
src/module/base/ServiceStatusManager/src/ServiceStatusManager.cpp
403712387/cgf
f26d7fa16ec8c7ca7565109b0d7f483cc7ad6288
[ "MIT" ]
null
null
null
src/module/base/ServiceStatusManager/src/ServiceStatusManager.cpp
403712387/cgf
f26d7fa16ec8c7ca7565109b0d7f483cc7ad6288
[ "MIT" ]
3
2019-12-23T02:13:27.000Z
2021-12-09T08:28:50.000Z
#include <stdio.h> #include <sstream> #include "ServiceStatusInfo.h" #include "GetServiceStatusMessage.h" #include "ServiceStatusManager.h" #include "curl/curl.h" #include "jsoncpp/json.h" #include "libmicrohttpd/microhttpd.h" #include "log4cplus/version.h" #include "cryptopp/cryptlib.h" #define _STR(x) _VAL(x) #defi...
27.596491
148
0.75143
8b03c5272547f3929145061f550d3e75e9897b76
4,405
cpp
C++
src/appleseedmaya/attributeutils.cpp
wielandrochel/appleseed-maya
913b8e3212e81fd5993d30691c22d1d39f70bf53
[ "MIT" ]
1
2018-07-17T21:57:01.000Z
2018-07-17T21:57:01.000Z
src/appleseedmaya/attributeutils.cpp
wielandrochel/appleseed-maya
913b8e3212e81fd5993d30691c22d1d39f70bf53
[ "MIT" ]
null
null
null
src/appleseedmaya/attributeutils.cpp
wielandrochel/appleseed-maya
913b8e3212e81fd5993d30691c22d1d39f70bf53
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2016-2018 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any perso...
23.810811
80
0.665153
8b0b446d2c887a1218d2efe816f881484b09fa7d
31,000
cc
C++
library/common/extensions/filters/http/platform_bridge/filter.cc
Yannic/envoy-mobile
27fd74c88d71b2c91f484e3660c936948b2eb481
[ "Apache-2.0" ]
1
2021-06-24T15:10:49.000Z
2021-06-24T15:10:49.000Z
library/common/extensions/filters/http/platform_bridge/filter.cc
Yannic/envoy-mobile
27fd74c88d71b2c91f484e3660c936948b2eb481
[ "Apache-2.0" ]
null
null
null
library/common/extensions/filters/http/platform_bridge/filter.cc
Yannic/envoy-mobile
27fd74c88d71b2c91f484e3660c936948b2eb481
[ "Apache-2.0" ]
null
null
null
#include "library/common/extensions/filters/http/platform_bridge/filter.h" #include "envoy/server/filter_config.h" #include "source/common/buffer/buffer_impl.h" #include "source/common/common/assert.h" #include "source/common/common/dump_state_utils.h" #include "source/common/common/scope_tracker.h" #include "source/...
43.175487
100
0.734839
8b0c422928ab095f72a9c9e4c116577beb2722c0
12,545
cpp
C++
homework2/prt/src/accel.cpp
QRWells/Games-202-Homework
5308f57ffe4a1b2d011e43bd0e9890ad6501146d
[ "MIT" ]
1
2022-03-12T11:48:30.000Z
2022-03-12T11:48:30.000Z
homework2/prt/src/accel.cpp
QRWells/Games-202-Homework
5308f57ffe4a1b2d011e43bd0e9890ad6501146d
[ "MIT" ]
null
null
null
homework2/prt/src/accel.cpp
QRWells/Games-202-Homework
5308f57ffe4a1b2d011e43bd0e9890ad6501146d
[ "MIT" ]
null
null
null
/* This file is part of Nori, a simple educational ray tracer Copyright (c) 2015 by Wenzel Jakob Nori is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation. Nori is distributed in the...
40.208333
139
0.626305
8b0d0d5092ad2c186dc45eff5b1fc496f9fe7987
20,236
cpp
C++
test/entt/meta/meta_data.cpp
matthew-nagy/entt
2ef98e1787d150fb2561edf3cc61270f46a41386
[ "MIT" ]
77
2021-09-22T17:00:44.000Z
2022-03-18T03:47:47.000Z
test/entt/meta/meta_data.cpp
matthew-nagy/entt
2ef98e1787d150fb2561edf3cc61270f46a41386
[ "MIT" ]
63
2021-09-26T05:24:55.000Z
2022-03-27T04:15:52.000Z
test/entt/meta/meta_data.cpp
matthew-nagy/entt
2ef98e1787d150fb2561edf3cc61270f46a41386
[ "MIT" ]
18
2021-09-26T17:52:07.000Z
2022-02-19T12:25:15.000Z
#include <cstdlib> #include <string> #include <utility> #include <gtest/gtest.h> #include <entt/core/hashed_string.hpp> #include <entt/core/type_traits.hpp> #include <entt/meta/factory.hpp> #include <entt/meta/meta.hpp> #include <entt/meta/node.hpp> #include <entt/meta/resolve.hpp> struct base_t { virtual ~base_t(...
29.200577
132
0.636687
8b0f1c8242522b4f5d8cb091c79f98b379c39b34
7,208
cc
C++
third_party/nucleus/io/reference_test.cc
fo40225/deepvariant
c2167e7c90f016905f309f118eb3897935ee7c5f
[ "BSD-3-Clause" ]
1
2019-05-20T11:55:45.000Z
2019-05-20T11:55:45.000Z
third_party/nucleus/io/reference_test.cc
fo40225/deepvariant
c2167e7c90f016905f309f118eb3897935ee7c5f
[ "BSD-3-Clause" ]
null
null
null
third_party/nucleus/io/reference_test.cc
fo40225/deepvariant
c2167e7c90f016905f309f118eb3897935ee7c5f
[ "BSD-3-Clause" ]
1
2017-12-06T17:30:18.000Z
2017-12-06T17:30:18.000Z
/* * Copyright 2018 Google LLC. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disc...
38.752688
79
0.694784
8b1173553ef4a4d73318d1c1e9dae4110396c0e1
5,229
cc
C++
sw/device/silicon_creator/lib/drivers/otbn_unittest.cc
davidp135/opentitan
e261de277cec8088d1a0165ec8f9c7fcb1e31c28
[ "Apache-2.0" ]
1
2022-02-05T01:45:19.000Z
2022-02-05T01:45:19.000Z
sw/device/silicon_creator/lib/drivers/otbn_unittest.cc
seanpm2001/opentitan
0b1c23022f1d1f2d7e5836379d3dc30d2dc91d86
[ "Apache-2.0" ]
null
null
null
sw/device/silicon_creator/lib/drivers/otbn_unittest.cc
seanpm2001/opentitan
0b1c23022f1d1f2d7e5836379d3dc30d2dc91d86
[ "Apache-2.0" ]
null
null
null
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/otbn.h" #include <array> #include "gtest/gtest.h" #include "sw/device/silicon_creator/lib/base/mock_abs_mmio.h" #includ...
30.758824
78
0.757124
8b118d5923b101a336a65df34cb52e1d0087371b
36,090
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/phoenix/support/preprocessed/vector_20.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ios/Pods/boost-for-react-native/boost/phoenix/support/preprocessed/vector_20.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ios/Pods/boost-for-react-native/boost/phoenix/support/preprocessed/vector_20.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
/*============================================================================== Copyright (c) 2005-2010 Joel de Guzman Copyright (c) 2010 Thomas Heller 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) ===...
41.626298
723
0.577279
8b1419c5048c61d29f73ce4bead4e87922947b39
2,330
hpp
C++
include/glm/gtx/scalar_multiplication.hpp
Tumurtogtokh/FLAMEGPU
466a2ddc34091b034bbfb968b2a3561c90b969f7
[ "MIT" ]
55
2018-11-22T05:09:21.000Z
2021-12-20T05:15:41.000Z
include/glm/gtx/scalar_multiplication.hpp
Tumurtogtokh/FLAMEGPU
466a2ddc34091b034bbfb968b2a3561c90b969f7
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
include/glm/gtx/scalar_multiplication.hpp
Tumurtogtokh/FLAMEGPU
466a2ddc34091b034bbfb968b2a3561c90b969f7
[ "MIT" ]
12
2016-01-15T23:20:19.000Z
2021-02-10T06:18:00.000Z
/// @ref gtx /// @file glm/gtx/scalar_multiplication.hpp /// @author Joshua Moerman /// /// Include <glm/gtx/scalar_multiplication.hpp> to use the features of this extension. /// /// Enables scalar multiplication for all types /// /// Since GLSL is very strict about types, the following (often used) combination...
30.657895
191
0.71588
8b1435f20761c2c9c1d907efb4f2e50052a91d47
2,602
hpp
C++
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_convolution_utils.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_convolution_utils.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_convolution_utils.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "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.apa...
35.162162
80
0.709839
8b14cdfd6ba1b04fda690b1fc6e400128f3edbd1
7,610
cc
C++
base/helpers.cc
TeamNuclear/external_chromium_org_third_party_webrtc
5bd5c72d7c01872fea80698dac196ff9a01dfcba
[ "DOC", "BSD-3-Clause" ]
1
2019-02-22T05:37:57.000Z
2019-02-22T05:37:57.000Z
base/helpers.cc
TeamNuclear/external_chromium_org_third_party_webrtc
5bd5c72d7c01872fea80698dac196ff9a01dfcba
[ "DOC", "BSD-3-Clause" ]
null
null
null
base/helpers.cc
TeamNuclear/external_chromium_org_third_party_webrtc
5bd5c72d7c01872fea80698dac196ff9a01dfcba
[ "DOC", "BSD-3-Clause" ]
2
2016-04-27T21:12:18.000Z
2016-12-25T05:26:28.000Z
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
25.622896
77
0.64297
8b14f5bd20c5e135fa5dfb106b726c1149172438
13,923
cpp
C++
src/modules/ForcePlatforms.cpp
fbailly/ezc3d
33a8dff8ac03b2c0fe78685726dd917a378b8cd0
[ "MIT" ]
null
null
null
src/modules/ForcePlatforms.cpp
fbailly/ezc3d
33a8dff8ac03b2c0fe78685726dd917a378b8cd0
[ "MIT" ]
null
null
null
src/modules/ForcePlatforms.cpp
fbailly/ezc3d
33a8dff8ac03b2c0fe78685726dd917a378b8cd0
[ "MIT" ]
null
null
null
#define EZC3D_API_EXPORTS /// /// \file ForcePlatForm.cpp /// \brief Implementation of ForcePlatForm class /// \author Pariterre /// \version 1.0 /// \date March 25th, 2020 /// #include "modules/ForcePlatforms.h" #include "ezc3d_all.h" ezc3d::Modules::ForcePlatform::ForcePlatform() { } ezc3d::Modules::ForcePlatfor...
31.008909
85
0.54629
8b14fb85d5de2f5499b548bd5fba6b0883c8e558
2,897
cc
C++
chromeos/memory/pagemap.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/memory/pagemap.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/memory/pagemap.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/memory/pagemap.h" #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <string> #include "base/memory/aligned_mem...
28.401961
80
0.669313
8b16464ad45baf650cbef0b4316b226b640b5558
741,483
cpp
C++
makepad/ChakraCore/lib/Backend/GlobOpt.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
null
null
null
makepad/ChakraCore/lib/Backend/GlobOpt.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
null
null
null
makepad/ChakraCore/lib/Backend/GlobOpt.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //----------------------------...
38.806877
297
0.569813
8b16ca446e51ee7b1c7677d5ce84c53424deeaf6
754
cpp
C++
libs/pika/memory/tests/unit/ip_convertible.cpp
msimberg/pika
f86bc232bca88900dabd931de429f2d1cd3f4cc1
[ "BSL-1.0" ]
null
null
null
libs/pika/memory/tests/unit/ip_convertible.cpp
msimberg/pika
f86bc232bca88900dabd931de429f2d1cd3f4cc1
[ "BSL-1.0" ]
null
null
null
libs/pika/memory/tests/unit/ip_convertible.cpp
msimberg/pika
f86bc232bca88900dabd931de429f2d1cd3f4cc1
[ "BSL-1.0" ]
null
null
null
// wp_convertible_test.cpp // // Copyright (c) 2008 Peter Dimov // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include <pika/local/config.hpp> #include <pika/modules/...
15.08
62
0.675066
8b17dcbab2c43a33a89896af9b51f62f9dfd1e46
1,022
cpp
C++
Codeforces/CPP/School Team Contest #2 (Winter Computer School 2010/E.cpp
riship99/codeWith-hacktoberfest
f16fa9dc9a2af0009dea3dea3220e3eaa43d3d2b
[ "MIT" ]
29
2020-10-03T17:41:46.000Z
2021-10-04T17:59:22.000Z
Codeforces/CPP/School Team Contest #2 (Winter Computer School 2010/E.cpp
riship99/codeWith-hacktoberfest
f16fa9dc9a2af0009dea3dea3220e3eaa43d3d2b
[ "MIT" ]
117
2020-10-03T15:39:39.000Z
2021-10-06T08:21:37.000Z
Codeforces/CPP/School Team Contest #2 (Winter Computer School 2010/E.cpp
riship99/codeWith-hacktoberfest
f16fa9dc9a2af0009dea3dea3220e3eaa43d3d2b
[ "MIT" ]
160
2020-10-03T15:39:23.000Z
2021-10-13T09:07:05.000Z
// Tags: DP #include <bits/stdc++.h> #define ll long long #define IO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0) using namespace std; const int N = 205; int k, a, b, dp[N][N]; string s; int solve(int i, int l) { if(i == s.size()) return l == k; if(l == k) return 0; if(dp[i...
15.253731
62
0.410959
8b1906f6d20d17a6e22c455e25756175c8d62dd1
1,321
hpp
C++
boost/boost/fusion/view/nview/detail/distance_impl.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
71
2015-01-17T00:29:44.000Z
2021-02-09T02:59:16.000Z
boost/boost/fusion/view/nview/detail/distance_impl.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
38
2015-07-22T07:35:45.000Z
2019-03-14T16:03:06.000Z
boost/boost/fusion/view/nview/detail/distance_impl.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
44
2015-03-18T09:20:37.000Z
2021-12-21T08:09:17.000Z
/*============================================================================= Copyright (c) 2009 Hartmut Kaiser 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) ==============================================...
29.355556
90
0.530659
8b19920335abcfa8c4c1746aef97e948f21828ec
1,000
cpp
C++
Flick/src/Flick/Renderer/Buffer.cpp
firo1738/FLICK
a6ccb0f23c212d0f1b97f71520beb3a89be57f2d
[ "Apache-2.0" ]
null
null
null
Flick/src/Flick/Renderer/Buffer.cpp
firo1738/FLICK
a6ccb0f23c212d0f1b97f71520beb3a89be57f2d
[ "Apache-2.0" ]
null
null
null
Flick/src/Flick/Renderer/Buffer.cpp
firo1738/FLICK
a6ccb0f23c212d0f1b97f71520beb3a89be57f2d
[ "Apache-2.0" ]
null
null
null
#include "fipch.h" #include "Buffer.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLBuffer.h" namespace Flick { ///////////////////Index Buffer/////////////////// VertexBuffer* VertexBuffer::Create(float* verticies, uint32_t size) { switch (Renderer::GetAPI()) { case RendererAPI::API::None: FI_COR...
27.027027
121
0.679
8b1999ede9d43fe1e1f00f24b5de42b0c9718145
65,474
cc
C++
components/password_manager/core/browser/login_database_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
components/password_manager/core/browser/login_database_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
components/password_manager/core/browser/login_database_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/password_manager/core/browser/login_database.h" #include <stddef.h> #include <stdint.h> #include <memory> #include "base/files/fil...
38.787915
80
0.713505
8b1ba8c9a1f015dfe538c5ca55526f5b1addd0ba
27,437
cpp
C++
tess-two/jni/com_googlecode_tesseract_android/src/ccstruct/statistc.cpp
leejoo71/tess-two
2f3e2eec1d1cc61b0f27c31deb845fc460c78b00
[ "Apache-2.0" ]
3,479
2015-01-05T10:07:00.000Z
2022-03-31T06:00:43.000Z
tess-two/jni/com_googlecode_tesseract_android/src/ccstruct/statistc.cpp
skumailraza/Tess4OCR
26001172d5d856b0553cb36e3ae9eb64f1631cb0
[ "Apache-2.0" ]
207
2015-01-05T11:45:56.000Z
2019-10-20T00:53:21.000Z
tess-two/jni/com_googlecode_tesseract_android/src/ccstruct/statistc.cpp
skumailraza/Tess4OCR
26001172d5d856b0553cb36e3ae9eb64f1631cb0
[ "Apache-2.0" ]
1,287
2015-01-05T11:51:28.000Z
2022-03-29T03:36:11.000Z
/********************************************************************** * File: statistc.c (Formerly stats.c) * Description: Simple statistical package for integer values. * Author: Ray Smith * Created: Mon Feb 04 16:56:05 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed...
34.907125
80
0.528884
8b1be66bce0247c8e905c64bc6e1b9da52b86e43
980
cpp
C++
references/aoapc-book/BeginningAlgorithmContests/bookcodes/ch5/642_uva.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
BAC/bookcodes/ch5/642_uva.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC/bookcodes/ch5/642_uva.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
#include<stdio.h> #include<stdlib.h> #include<string.h> int n; char word[2000][10], sorted[2000][10]; int cmp_char(const void* _a, const void* _b) { char* a = (char*)_a; char* b = (char*)_b; return *a - *b; } int cmp_string(const void* _a, const void* _b) { char* a = (char*)_a; char* b = (char*)_b; return...
20.851064
64
0.514286
8b1c1c21fc787873b841c665aaa5db39f5cee350
12,440
cpp
C++
apps/linear_algebra/tests/test_halide_blas.cpp
josephwinston/Halide
039b743d901e8c60831046be79d1342f8125f0e1
[ "MIT" ]
2
2020-09-24T17:03:37.000Z
2022-02-03T10:48:14.000Z
apps/linear_algebra/tests/test_halide_blas.cpp
champyen/Halide
8c0dbba26971c4b2a0adbb4c45aac2688642401d
[ "MIT" ]
8
2015-07-21T10:06:12.000Z
2015-08-03T19:09:52.000Z
apps/linear_algebra/tests/test_halide_blas.cpp
champyen/Halide
8c0dbba26971c4b2a0adbb4c45aac2688642401d
[ "MIT" ]
1
2020-10-01T17:27:17.000Z
2020-10-01T17:27:17.000Z
#include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <random> #include <string> #include <cblas.h> #include <halide_blas.h> #include "Halide.h" #define RUN_TEST(method) \ std::cout << std::setw(30) << ("Testing " #method ": ") << std::flu...
39.744409
108
0.423955
8b1e4ab07b56c2014f36e5c645e1b7e8386b4de5
1,476
cpp
C++
controls.extend/SRatingBar.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
4
2018-01-06T13:16:50.000Z
2018-05-14T01:20:00.000Z
controls.extend/SRatingBar.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
null
null
null
controls.extend/SRatingBar.cpp
fengjixuchui/soui
360d9b63cab96e7c01d600ff772578c2fdc9af24
[ "MIT" ]
3
2017-10-12T05:50:15.000Z
2018-08-14T03:32:06.000Z
#include "stdafx.h" #include "SRatingBar.h" namespace SOUI { SRatingBar::SRatingBar(void):m_pStar(NULL),m_nStars(5),m_fValue(0.0f) { } SRatingBar::~SRatingBar(void) { } void SRatingBar::OnPaint(IRenderTarget *pRT) { CRect rcClient = GetClientRect(); int nWid = (int)(rc...
23.428571
76
0.584011
8b1f53a5afc248f3940158763926e017b884f9f0
1,033
cpp
C++
ceng213/hw2/mains/tpbst_case_19.cpp
zeynepozalp/Coursework
d2526229a757a926c311e49c7ffec995ebb9f365
[ "MIT" ]
null
null
null
ceng213/hw2/mains/tpbst_case_19.cpp
zeynepozalp/Coursework
d2526229a757a926c311e49c7ffec995ebb9f365
[ "MIT" ]
null
null
null
ceng213/hw2/mains/tpbst_case_19.cpp
zeynepozalp/Coursework
d2526229a757a926c311e49c7ffec995ebb9f365
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <cstdlib> #include "tpbst.hpp" /* * Case 19 : Empty tree, insert many items, create primary node with empty secondary tree, remove item with two children, print. */ int main() { TwoPhaseBST<int> tpbst; tpbst.insert("ceng351", "sec2", 32) ...
29.514286
128
0.514037
8b1ffff653407c7e8895c8aeb20113097d30754b
32,159
cpp
C++
src/ZNCString.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
1
2021-11-11T04:49:01.000Z
2021-11-11T04:49:01.000Z
src/ZNCString.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
null
null
null
src/ZNCString.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
1
2021-11-11T04:48:51.000Z
2021-11-11T04:48:51.000Z
/* * Copyright (C) 2004-2015 ZNC, see the NOTICE file for details. * * 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 requi...
22.823989
184
0.57225
8b213ad2833a648469eac24e9f08ffa5f882bd35
9,172
cpp
C++
src/qt/sendmessagesdialog.cpp
the1world/DeepOnion
e432ad5fc28960dc5b148a373c0811ff08283b0d
[ "MIT" ]
null
null
null
src/qt/sendmessagesdialog.cpp
the1world/DeepOnion
e432ad5fc28960dc5b148a373c0811ff08283b0d
[ "MIT" ]
2
2017-09-23T03:54:25.000Z
2018-01-17T18:20:38.000Z
src/qt/sendmessagesdialog.cpp
the1world/DeepOnion
e432ad5fc28960dc5b148a373c0811ff08283b0d
[ "MIT" ]
3
2017-11-02T05:45:07.000Z
2020-02-07T05:13:50.000Z
#include "sendmessagesdialog.h" #include "ui_sendmessagesdialog.h" //#include "init.h" #include "walletmodel.h" #include "messagemodel.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendmessagesentry.h" //#include "guiutil.h" #include <QMessageBox> #include <QLocale> #include <QTextDocument> #incl...
26.976471
128
0.638138
8b21cdf51788de20f811639ed0f7e4eeda1560b1
21,287
cpp
C++
opencl/source/helpers/task_information.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
1
2020-04-17T05:46:04.000Z
2020-04-17T05:46:04.000Z
opencl/source/helpers/task_information.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
opencl/source/helpers/task_information.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/source/helpers/task_information.h" #include "shared/source/command_stream/command_stream_receiver.h" #include "shared/source/command_stream/csr_deps.h" #include "shared/source/command_stream/linear_stream.h" #in...
51.047962
155
0.584864
8b2207ddb588860a7cbda8fe9b2e844b701cb641
7,396
cpp
C++
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
2
2018-01-25T04:29:57.000Z
2020-02-13T15:30:55.000Z
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
1
2019-05-26T17:51:57.000Z
2019-05-26T17:51:57.000Z
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
5
2018-02-17T11:32:37.000Z
2021-02-26T22:26:07.000Z
/* * 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 3 of the License, or * any later version. * * This program is distributed in the hope that it will be useful, * bu...
24.409241
123
0.70768
8b25238e89a48ce19f3ed57de0a4692b7f8ce2c5
50,386
cpp
C++
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "CloakCompiler/Mesh.h" #include "CloakEngine/Files/ExtendedBuffers.h" #include "Engine/TempHandler.h" #include "Engine/BoundingVolume.h" #include <assert.h> #include <sstream> //#define DEBUG_ENFORCE_STRIPS //#define DEBUG_ENFORCE_NO_STRIPS #define ALLOW_STRIP_LIST_MIX #de...
38.462595
296
0.575934
8b25b5b117dea936c9867a72fb89755fa9461ee2
1,870
cc
C++
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
1
2018-07-24T20:12:27.000Z
2018-07-24T20:12:27.000Z
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
null
null
null
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
null
null
null
#include <iostream> #include "mdc2250/mdc2250.h" #include "mdc2250/decode.h" void telemetry_callback(const std::string &telemetry) { std::cout << "Got telemetry: " << telemetry << std::endl; } int run() { mdc2250::MDC2250 my_mdc2250(true); my_mdc2250.connect("/dev/tty.USA49Wfd122P1.1"); // Disable echo my_...
31.166667
67
0.705348
8b2633dcefee9dc0b5ad9a4b7878986a5675fb66
927
cc
C++
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <utility> using namespace std; int main(){ int n; while (true) { cin>>n; cin.ignore(255,'\n'); if(n == 0){ break; } string s; pair<string,int> arr[n]; string raw[n]; for (int i = 0;...
20.152174
43
0.332255
8b2643b2dcbd8408f37c51fda66b99addd961d6e
3,478
hpp
C++
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
// Copyright (c) 2017 Denis Blank // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <hpx/functional/deferred_call.hpp> #include <hpx/futures/traits/ac...
33.442308
80
0.648936
8b269b265fdd89139337633dad2b80e826f3aed2
1,461
cc
C++
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/devtools/devtools_manager.h" #include "base/bind.h" #include "base/message_loop/message_loop.h" #include "content/browser/d...
28.096154
77
0.721424
8b29b1ce9bcceb73f0e8bd0d279e333787967fe9
1,696
cc
C++
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
5
2015-04-29T14:05:30.000Z
2021-03-26T19:27:13.000Z
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
1
2015-03-24T08:57:28.000Z
2015-03-24T08:57:28.000Z
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
4
2015-03-23T23:42:37.000Z
2020-07-09T08:23:13.000Z
/* * Copyright (c) 2013-2014, Julien Bernard * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
36.085106
111
0.685142
8b29f915938cd201b214ed8f2c2c872c9525dd05
4,619
cpp
C++
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
2
2021-12-29T12:35:04.000Z
2021-12-30T09:10:54.000Z
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
null
null
null
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
null
null
null
/******************************************************* * Copyright (C) 2022, Chen Jianqu, Shanghai University * * This file is part of is_slam. * * Licensed under the MIT License; * you may not use this file except in compliance with the License. *******************************************************/ #incl...
25.103261
109
0.688461
8b2a3bbb1bbd584e4ad0a7ebba277153f87c69d4
31,921
cc
C++
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2022 The Regents of the University of Michigan. // Part of HOOMD-blue, released under the BSD 3-Clause License. #include "UpdaterBoxMC.h" #include "hoomd/RNGIdentifiers.h" #include <numeric> #include <vector> /*! \file UpdaterBoxMC.cc \brief Definition of UpdaterBoxMC */ namespace hoomd ...
36.068927
100
0.53717
8b2b4ea1edf1d7f52c6c0a80f5cd2cc24224d672
3,489
inl
C++
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
#if !defined(BE_UTIL_STRING_BASE64_DECODE_HPP_) && !defined(DOXYGEN) #include "base64_decode.hpp" #elif !defined(BE_UTIL_STRING_BASE64_DECODE_INL_) #define BE_UTIL_STRING_BASE64_DECODE_INL_ namespace be::util { namespace detail { /////////////////////////////////////////////////////////////////////////////// template...
28.834711
109
0.4818
8b2bb95f3f9879c38eaabd0cf0635e78cb47e11a
83,980
cpp
C++
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "endpoints/developerMode/event/ATRequest.hpp" #include "handler/RawATHandler.hpp" #include "CellularUrcHandler.hpp" #include "service-cellular/CellularCall.hpp" #include "ser...
36.768827
126
0.651643
8b2bbd9da35d3774d949b40fdc27ec6110b0762c
20,461
hpp
C++
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
177
2021-02-19T02:01:04.000Z
2022-03-30T07:31:21.000Z
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
188
2021-02-19T04:15:55.000Z
2022-03-26T09:42:15.000Z
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
78
2021-03-05T03:01:13.000Z
2022-03-29T07:10:01.000Z
// // impl/compose.hpp // ~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_IMPL_COMPOSE_HPP...
32.070533
80
0.740335
8b2c1b5bd037e23bbecc217320ebef80a28d816b
288,039
cpp
C++
Chain/libraries/wallet/Wallet.cpp
Achaindev/Achain_ubuntu
8c6daad526c84fa513f119206e45f62eb68b8a86
[ "MIT" ]
27
2017-11-03T08:41:18.000Z
2018-06-07T03:15:31.000Z
Chain/libraries/wallet/Wallet.cpp
Achaindev/Achain_ubuntu
8c6daad526c84fa513f119206e45f62eb68b8a86
[ "MIT" ]
7
2017-11-02T10:45:48.000Z
2018-06-02T11:00:51.000Z
Chain/libraries/wallet/Wallet.cpp
Achaindev/Achain_ubuntu
8c6daad526c84fa513f119206e45f62eb68b8a86
[ "MIT" ]
25
2017-11-02T03:12:27.000Z
2021-11-06T02:43:32.000Z
#include <fc/real128.hpp> #include <wallet/Config.hpp> #include <wallet/Exceptions.hpp> #include <wallet/Wallet.hpp> #include <wallet/WalletImpl.hpp> #include <blockchain/Time.hpp> #include <cli/Pretty.hpp> #include <utilities/GitRevision.hpp> #include <utilities/KeyConversion.hpp> #include <algorithm> ...
50.453494
282
0.502665
8b2dc994901a53642a4b7d3101ba4968a5d21caa
4,922
cpp
C++
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
1
2020-11-09T09:08:02.000Z
2020-11-09T09:08:02.000Z
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
#include <Windows.h> #include <iostream> #include <fstream> #include <vector> #include <string> //const unsigned int SCREEN_WIDTH = 256; //const unsigned int SCREEN_HEIGHT = 224; const unsigned int SCREEN_WIDTH = 500; const unsigned int SCREEN_HEIGHT = 500; const unsigned int CELL_WIDTH = SCREEN_WIDTH; const unsigne...
28.287356
94
0.609102
8b303d6788c9887d1bc1f67344ad5b24afa0316d
8,330
cpp
C++
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Ryan Holtz, David Haywood #include "emu.h" #include "includes/spg2xx.h" class shredmjr_game_state : public spg2xx_game_state { public: shredmjr_game_state(const machine_config &mconfig, device_type type, const char *tag) : spg2xx_game_state(mconfig, type, tag), m_por...
33.32
301
0.72509
8b3114c6134d5018fee2d93708f7a6ce984dc7e6
2,625
cpp
C++
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
142
2018-12-10T10:12:50.000Z
2022-03-26T16:01:06.000Z
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
45
2018-11-29T13:13:59.000Z
2022-01-17T07:03:30.000Z
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
34
2018-11-29T14:03:59.000Z
2022-03-15T13:08:13.000Z
// Copyright (c) 2016-2021 Daniel Frey and Dr. Colin Hirsch // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #include "../getenv.hpp" #include "../macros.hpp" #include <tao/pq/connection.hpp> #if defined( _WIN32 ...
29.166667
105
0.670095
8b3142098669ae216ebb5d300178f723667b43e8
2,955
hpp
C++
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
13
2020-05-29T07:39:23.000Z
2021-11-22T14:01:28.000Z
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
8
2020-09-04T02:05:19.000Z
2021-12-24T02:18:37.000Z
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
24
2020-08-07T04:21:48.000Z
2021-12-09T02:03:35.000Z
/******************************************************************************* * Copyright 2020 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.o...
35.60241
80
0.720474
8b3287ce970f6aea0e3ce65b9b5531055ed91c25
875
cpp
C++
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
1
2021-11-24T05:25:42.000Z
2021-11-24T05:25:42.000Z
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
null
null
null
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> void rotate_image(int a[][4], int n) { for (int i = 0; i < n; i++) { std::reverse(a[i], a[i] + n); } //take transpose for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if(i<j) std::swap(a[i][...
19.886364
74
0.354286
8b332a497b549b146876074fef1a21a9bd77e6f6
8,748
cpp
C++
src/stt/src/pdr/src/pdrev.cpp
888Charles/OpenROAD
bf105c9f7b47538f4887aa2b00bf6b2f0dafee18
[ "BSD-3-Clause" ]
null
null
null
src/stt/src/pdr/src/pdrev.cpp
888Charles/OpenROAD
bf105c9f7b47538f4887aa2b00bf6b2f0dafee18
[ "BSD-3-Clause" ]
null
null
null
src/stt/src/pdr/src/pdrev.cpp
888Charles/OpenROAD
bf105c9f7b47538f4887aa2b00bf6b2f0dafee18
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
29.654237
91
0.63866
8b346aa9944149ba6214bd17c7a6126bb21c0115
392
cpp
C++
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <cstring> #include <queue> using namespace std; int flag, n; void dfs(unsigned long long x, int k){ if(flag) return; if(x % n == 0){ printf("%llu\n", x); flag = 1; return; } if(k == 19) return; dfs(x * 10, k + 1); dfs(x * 10 + 1, k + 1); } int main(){...
12.645161
38
0.540816
8b347c3494d34d4d749fdbc9eb8960a8cd5a10da
31,004
cpp
C++
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "QuadCFInterp.H" #include "BoxIterator.H" #include "QuadCFInterpF_F...
34.564103
89
0.505967
8b3656201ca82e44df019eb542cb94d58c49daca
2,195
hpp
C++
include/memoria/context/fixedsize_stack.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
include/memoria/context/fixedsize_stack.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/context/fixedsize_stack.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 Oliver Kowalke 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MEMORIA_CONTEXT_FIXEDSIZE_H #define MEMORIA_CONTEXT_FIXEDSIZE_H #include <cstddef> #include <cstdl...
23.858696
105
0.680182
8b37b2b67143965ce4f2db5fdd9c67c1cba7e4e4
579
hpp
C++
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UITSL_CHRONO_TIMEGUARD_HPP_INCLUDE #define UITSL_CHRONO_TIMEGUARD_HPP_INCLUDE #include <chrono> namespace uitsl { template<typename DurationType, typename Clock=std::chrono::steady_clock> class TimeGuard { DurationType &dest; const std::chrono::time_point<Clock> start; public: explicit...
18.09375
76
0.732297
8b3807485cad4609617e9017bb5fcb8d213dbb88
8,241
cpp
C++
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
400
2018-10-30T14:52:13.000Z
2022-03-29T11:46:24.000Z
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
126
2018-12-03T15:54:57.000Z
2022-03-23T17:11:53.000Z
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
316
2018-11-09T22:38:38.000Z
2022-03-25T13:35:09.000Z
#include "Utils.hpp" #define NOMINMAX #include <Windows.h> #include <stdio.h> #include <string> #include <vector> #include "../valve_sdk/csgostructs.hpp" #include "Math.hpp" HANDLE _out = NULL, _old_out = NULL; HANDLE _err = NULL, _old_err = NULL; HANDLE _in = NULL, _old_in = NULL; namespace Utils { std::vector<c...
27.47
158
0.522752
8b3983bd411a0009e438efb1d049f0c0a0ed2050
6,873
cpp
C++
cpp/src/test/recommender_data/TestShuffleIterator.cpp
rpalovics/Alpenglow
63472ce667d517d6c7f47c9d0559861392fca3f9
[ "Apache-2.0" ]
28
2017-07-23T22:47:44.000Z
2022-03-12T15:11:13.000Z
cpp/src/test/recommender_data/TestShuffleIterator.cpp
proto-n/Alpenglow
7a15d5c57b511787379f095e7310e67423159fa0
[ "Apache-2.0" ]
4
2017-05-10T10:23:17.000Z
2019-05-23T14:07:09.000Z
cpp/src/test/recommender_data/TestShuffleIterator.cpp
proto-n/Alpenglow
7a15d5c57b511787379f095e7310e67423159fa0
[ "Apache-2.0" ]
9
2017-05-04T09:20:58.000Z
2021-12-14T08:19:01.000Z
#include <vector> #include <gtest/gtest.h> #include "../../main/recommender_data/ShuffleIterator.h" namespace { class TestShuffleIterator : public ::testing::Test { public: RecommenderData rd; TestShuffleIterator() { EXPECT_TRUE(rd.initialize()); } virtual ~TestShuffleIterator() { // You can do clea...
32.885167
82
0.66332
8b3a96e837d481a05a97ecc4d1b5fe5bdebb373e
4,301
cpp
C++
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
1
2021-01-23T06:05:14.000Z
2021-01-23T06:05:14.000Z
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
null
null
null
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
23.762431
86
0.687515
8b3caed5e086b375e3f851f8eb858ac79e2db7df
9,916
cpp
C++
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
null
null
null
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
6
2021-10-14T15:38:06.000Z
2022-01-08T12:55:04.000Z
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2021-2022. Seungwoo Kang // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
40.145749
130
0.619907
8b3d56d6f717976bb780f72b942c32c9839a2262
945
cc
C++
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
4
2017-08-04T04:31:33.000Z
2019-11-01T06:32:23.000Z
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
2
2017-10-31T11:55:16.000Z
2018-02-01T10:33:39.000Z
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
null
null
null
/** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root directory of this source tree. */ #include "WebGLTexture...
29.53125
97
0.719577
8b3e21556e4ec325a557384cae395eda73b602c2
3,819
cpp
C++
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
46.012048
116
0.532338
8b3e4f0a9886e7b1a98fc35c7f3e579114ba0685
12,285
hpp
C++
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: Zenject.SubContainerCreatorB...
67.131148
347
0.745136
8b3f1722dddf3cac01b47221a64d5617d9507d60
40,349
cpp
C++
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
46.324914
124
0.667997
8b3f702a6b81cfdd8959c5c94baef649a2f9fa82
18,192
cc
C++
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include <memory> #include <string> #include <vector> #include "envoy/extensions/filters/network/ratelimit/v3/rate_limit.pb.h" #include "envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.pb.h" #include "envoy/stats/stats.h" #include "source/common/buffer/buffer_impl.h" #include "source/common/network/filter_man...
39.633987
100
0.711906
8b4044dfc93820f57b4efeb09353d3bd75fb4479
11,553
cpp
C++
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
/** *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 you under the Apache License, Version 2.0 (the *"License"); you may n...
26.93007
211
0.553882
8b4747e4710b7cca1bd4bea6ef6bc8b09e003976
5,173
cc
C++
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <utility> #include "base/command_line.h" #include "base/strings/utf_string_conversions.h" #include "mojo/public/cpp/bindings/binding.h" #include...
30.791667
80
0.727818
8b47a768f57943a5439417a4d261faa7a68a47b4
3,115
cpp
C++
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
4
2017-03-02T10:19:03.000Z
2020-03-05T03:29:28.000Z
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
null
null
null
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
2
2021-12-04T06:44:33.000Z
2021-12-08T15:14:42.000Z
// ListViewDialog.cpp #include "StdAfx.h" #include "ListViewDialog.h" #include "RegistryUtils.h" #ifdef LANG #include "LangUtils.h" #endif using namespace NWindows; bool CListViewDialog::OnInit() { #ifdef LANG LangSetDlgItems(*this, NULL, 0); #endif _listView.Attach(GetItem(IDL_LISTVIEW)); // FIXME if (...
21.335616
94
0.611878
8b493c1079d1ebbc4ee13a035bfc4be94fca4e05
2,724
cc
C++
components/services/app_service/public/cpp/icon_loader.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/services/app_service/public/cpp/icon_loader.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/services/app_service/public/cpp/icon_loader.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/services/app_service/public/cpp/icon_loader.h" #include <utility> #include "base/callback.h" namespace apps { IconLoader::Release...
34.05
77
0.676946
8b497b3621445471c08ac0031a630a4c1e176df9
188
cpp
C++
c++/ld/include/slice.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
5
2017-04-10T03:35:40.000Z
2020-11-26T10:00:57.000Z
c++/ld/include/slice.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
1
2015-04-09T13:45:25.000Z
2015-04-09T13:45:25.000Z
c++/ld/include/slice.cpp
baotiao/Asenal
102170aa92ae72b1d589dd74e8bbbc9ae27a8d97
[ "Apache-2.0" ]
15
2015-03-10T04:15:10.000Z
2021-03-19T13:00:48.000Z
#include <slice.h> namespace ld { bool Slice::starts_with(const Slice& rhs) const { return (size_ >= rhs.size_) && (memcmp(data_, rhs.data(), rhs.size_) == 0); } }
15.666667
83
0.574468
8b4f1b0fee4fbc0a88e890a4008cce88d17c4842
1,519
cpp
C++
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
42
2017-03-07T02:45:22.000Z
2019-02-26T15:26:25.000Z
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
null
null
null
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
11
2017-03-07T06:42:30.000Z
2019-03-06T03:15:46.000Z
#include "event_loop_base.h" #include <sys/event.h> #include <stdlib.h> namespace mevent { int EventLoopBase::Create() { return kqueue(); } int EventLoopBase::Add(int evfd, int fd, int mask, void *data) { struct kevent ev; if (mask & MEVENT_IN) { EV_SET(&ev, fd, EVFILT_READ, EV_ADD, 0, 0, d...
23.734375
95
0.520737
8b4f9229f18863d94803761c7014227131f0b0ec
7,863
hxx
C++
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
37
2020-01-20T21:50:21.000Z
2022-02-09T13:01:09.000Z
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
22
2020-04-03T21:59:52.000Z
2022-03-06T18:43:35.000Z
// Created on: 1996-12-11 // Created by: Robert COUBLANC // Copyright (c) 1996-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
50.403846
144
0.732926
332b529cc50e39e2da681bfc7adf5fbcaff7d7b6
352
cpp
C++
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,303
2015-01-02T12:04:37.000Z
2022-03-31T11:35:06.000Z
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,323
2015-01-01T13:31:25.000Z
2022-03-31T22:43:57.000Z
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
1,032
2015-01-12T12:50:16.000Z
2022-03-28T01:55:11.000Z
#include "Halide.h" #include <stdio.h> using namespace Halide; int main(int argc, char **argv) { Func f("f"), g("g"); Var x("x"); RDom r(0, 100, "r"); f(x) = x; g(x) = 0; g(x) = f(g(x - 1)) + r; f.compute_at(g, r.x); // Use of f is unbounded in g. g.realize({100}); printf...
14.08
34
0.485795
332d77eb71a4311cc316f682b76f34991f99d338
2,324
cpp
C++
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
nui-dali/dali-core
bc9255ec35bec7223cd6a18fb2b3a6fcc273936b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
nui-dali/dali-core
bc9255ec35bec7223cd6a18fb2b3a6fcc273936b
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
20.034483
99
0.770224
332ef21318659e715f1f6001ab794cc66f16270b
94,272
cpp
C++
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
3,804
2015-01-02T01:50:44.000Z
2022-03-31T23:28:19.000Z
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
3,131
2015-01-01T04:00:06.000Z
2022-03-31T19:41:33.000Z
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
1,349
2015-01-04T04:36:22.000Z
2022-03-31T08:56:50.000Z
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2016 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby grante...
43.403315
80
0.409761
332f0f13acb05d384ddc9992f6123529f29d7dcc
1,791
hpp
C++
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/transaction.hpp> #include "model.hpp" namespace fc { class variant; } namespace eosio { namespace account { /// Provides associate of wallet name to wallet and manages the interaction with each wallet. /// /// The name of ...
30.355932
118
0.726968
332fabc654220811b7f2a3fa3e8e4b966530a521
2,602
cpp
C++
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
themucha/protobuf-pbop-plugin
824b9db7d64d699f9c00fc79ea50b460345994d8
[ "MIT" ]
4
2020-09-10T08:38:40.000Z
2022-02-28T23:39:32.000Z
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
themucha/protobuf-pbop-plugin
824b9db7d64d699f9c00fc79ea50b460345994d8
[ "MIT" ]
15
2020-06-24T20:31:56.000Z
2020-07-25T16:30:56.000Z
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
end2endzone/protobuf-pipe-plugin
40dd2ba245fe0713f6b1f68622bc765711d3c7b8
[ "MIT-0", "MIT" ]
3
2021-07-16T21:22:38.000Z
2022-02-28T23:39:34.000Z
/********************************************************************************** * MIT License * * Copyright (c) 2018 Antoine Beauchamp * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the So...
30.611765
83
0.690623
332fd4ce8d394e1084a66c35b4bbbbef0b6c7d66
12,318
cpp
C++
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
8
2016-08-29T13:34:18.000Z
2020-12-04T15:20:36.000Z
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
221
2016-06-20T19:51:48.000Z
2022-03-29T20:46:46.000Z
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
13
2016-06-24T15:59:31.000Z
2022-01-01T11:48:20.000Z
#include "StdAfx.h" #include "Selection.h" // =========================================================================== class NoCaseCompare { public: bool operator ()(const std::_tstring & l, const std::_tstring & r) const { return _tcsicmp(l.c_str(), r.c_str()) < 0; } }; // ==================...
31.911917
196
0.632408
332feca63b89116619245c718a218cf790008234
3,347
hpp
C++
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
6
2020-03-13T16:45:13.000Z
2022-03-30T18:20:48.000Z
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
191
2020-03-02T14:47:19.000Z
2020-06-03T08:13:00.000Z
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
null
null
null
#ifndef SHADER_HPP_ #define SHADER_HPP_ #include <string> #include <fstream> #include <sstream> #include "includesOpengl.hpp" /** * @brief Shader class used to manage shader compilation * * It also adds some tools to set uniform and activate shader easier * Warning! before instantiating a Shader object you need ...
31.87619
107
0.683896
33301f730631c9963970e89bc7013687ccd13690
2,348
cc
C++
aws_robomaker_gazebo_bridge/src/perf_metrics_bridge.cc
hartmir/aws-robomaker-simulation-ros-pkgs
e7357c0a20cf287d7c0fec7818062452f3d58f6d
[ "Apache-2.0" ]
null
null
null
aws_robomaker_gazebo_bridge/src/perf_metrics_bridge.cc
hartmir/aws-robomaker-simulation-ros-pkgs
e7357c0a20cf287d7c0fec7818062452f3d58f6d
[ "Apache-2.0" ]
null
null
null
aws_robomaker_gazebo_bridge/src/perf_metrics_bridge.cc
hartmir/aws-robomaker-simulation-ros-pkgs
e7357c0a20cf287d7c0fec7818062452f3d58f6d
[ "Apache-2.0" ]
null
null
null
#include "aws_robomaker_gazebo_bridge/AwsPerfMetrics.h" #include "boost/shared_ptr.hpp" #include "gazebo/gazebo.hh" #include "gazebo/gazebo_client.hh" #include "ros/ros.h" using PerfMetrics = aws_robomaker_gazebo_bridge::AwsPerfMetrics; const std::string kDefaultGazeboPerfMetricsTopic = "/gazebo/aws/perf_metrics"; c...
36.123077
129
0.677172
3331757475cabab8b155d46b723b7294567871bc
1,570
hpp
C++
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
#pragma once #include "BaseAnimatedWithPhysicsGameObject.hpp" #include "Path.hpp" #include "FunctionFwd.hpp" enum class SwitchOp : s16; enum class FootSwitchTriggerBy : s16 { eOnlyAbe_0 = 0, eAnyone_1 = 1, }; struct Path_FootSwitch final : public Path_TLV { s16 field_10_id; Scale_short field_12_scal...
23.787879
71
0.751592
3332cd4f747431afa12ee581f73f6c5d4515a574
18,366
cc
C++
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
31.181664
97
0.67674
3334a81c2583860a639ea5e929b629572b6d3297
3,958
cpp
C++
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
1
2021-07-20T09:38:30.000Z
2021-07-20T09:38:30.000Z
// Copyright 2020 Tier IV, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
40.387755
98
0.755937
333598e821152bec2c7cb5871a80786fb60c2dd7
28,411
cpp
C++
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
42.723308
127
0.639189
333a7c80909dbe0c80e2f55ad224219311a575aa
2,983
cpp
C++
lib/ai/strategy.cpp
TaimoorRana/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
3
2016-05-23T09:39:08.000Z
2016-10-08T03:28:24.000Z
lib/ai/strategy.cpp
TaimoorRana/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
3
2017-09-11T00:51:55.000Z
2017-09-11T00:52:05.000Z
lib/ai/strategy.cpp
Taimoorrana1/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
1
2017-02-12T19:35:39.000Z
2017-02-12T19:35:39.000Z
#include "strategy.h" #include "librisk.h" Strategy::Strategy() { this->driver = GameDriver::getInstance(); } /** * @brief A signal sent to the Strategy class from the game driver to indicate * that a computer-controlled player should made their move. * * The AI strategy implementations override each of the fooP...
32.78022
99
0.712035
333be30b4764b335302c25d2b6dc8ac79f8e55f5
1,137
cpp
C++
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
8
2016-10-22T11:36:48.000Z
2021-02-03T07:09:54.000Z
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
3
2018-10-01T20:48:03.000Z
2018-10-25T12:11:25.000Z
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
3
2017-12-09T11:29:31.000Z
2020-11-09T15:19:25.000Z
// // Created by buran on 14/03/18. // #include <PeriodType.h> #include <TwitchException.h> std::string TwitchXX::PeriodType::toString(TwitchXX::PeriodType::Value v) { static const std::map<Value, std::string> strs{{Value::ALL, "all"}, {Value::DAY, "day"}, {Value::WEEK, "week"}, {Value::MONTH, "month"}}; try ...
27.071429
141
0.626209
333c389d97af347535bf2571053a19641ff8cb80
1,307
cpp
C++
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
1
2018-01-28T14:30:42.000Z
2018-01-28T14:30:42.000Z
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
// Copyright (c) Glyn Matthews 2010. // 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) //[ hello_world_client_main /*` This is a part of the 'Hello World' example. We create a client o...
27.229167
69
0.58378
33402a2eec18bba9e74289088e47168089f2333e
464
cpp
C++
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
// // Created by xmac on 18-10-17. // #include <bits/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <cerrno> #include <cstring> int inet_pton(int family, const char* strptr, void* addrptr) { if (family == AF_INET) { struct in_addr in_val; if (inet_aton(strptr, &in_val)) { ...
19.333333
62
0.586207
33406a33053a64a4375a14b8d09d72fab0ccf2d6
387
cpp
C++
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
2
2020-10-24T03:25:30.000Z
2021-08-01T05:18:18.000Z
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
2
2020-12-05T14:31:19.000Z
2020-12-06T05:09:43.000Z
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
4
2020-08-26T10:02:11.000Z
2020-10-22T05:55:18.000Z
#include <iostream> #include <vector> #include <utility> // pair using namespace std; // 동적 계획법 int pibonacci(int n) { if(n <= 1) { return n; } else { return pibonacci(n-1) + pibonacci(n-2); } } int main(void) { // int n; // cin>>n; for(int i = 0; i< 90;i++) ...
11.727273
47
0.472868
334518e6b1c62b6b6f2af9bd1a633e2cb1498c13
35,923
cxx
C++
main/sc/source/ui/dbgui/pvlaydlg.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/ui/dbgui/pvlaydlg.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/ui/dbgui/pvlaydlg.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...
37.694648
179
0.650725
33459a3e4d3f4d771d7a680d4943e8f3028c6087
2,673
hpp
C++
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
#pragma once #include"./graph_template.hpp" #include"../segment_tree/lazy_segment_tree.hpp" template<typename T,typename E,typename F,typename G,typename H> class HLD_lazy{ int child_size(const graph& v,int n,int p){ int cnt=0; for(auto t:v[n]){ if(t!=p)cnt+=child_size(v,t,n); } return sz[n]=cnt+1; } vo...
22.275
101
0.564908
3345f74f0df4da067d4ae5922f0dba006d80869e
676
cpp
C++
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
#include "PitchParameterField.h" PitchParameterField::PitchParameterField(const char* _name) : ParameterField(_name) { } void PitchParameterField::increment(int16_t amount) { value += amount; if(value > max) { value = max; } dirtyValue = true; } void PitchParameterField::decrement(int16_t...
21.125
61
0.613905
334643dd47c207e863046585a1cc5f7bdea0d79f
1,005
hpp
C++
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.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_Task_StunForestKaiju_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-------------------------------------------------...
29.558824
152
0.553234
33465f942ba9784413f05fae279e98d3edfb5ef4
4,878
cpp
C++
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
2
2020-04-23T11:32:45.000Z
2020-11-05T16:33:46.000Z
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
null
null
null
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string> #include "Engine.h" using namespace std; bool Engine::Init(string WindowTitle) { TTF_Init(); _graphics = new Graphics; if (_graphics->Init(WindowTitle) == false) return false; _textureManager = new TextureManager(_graphics->GetRenderer()); _time = new Time; if (_time->...
19.280632
98
0.709922
334786e68bc004796b29c2ee3ed234a180ba5a9b
1,182
hpp
C++
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
1
2020-11-20T03:12:02.000Z
2020-11-20T03:12:02.000Z
//-------------------------------------------------------------------------------- // EnemyProjectiles.hpp //-------------------------------------------------------------------------------- // The class that manages the projectiles fired by the enemies //-----------------------------------------------------------------...
25.695652
82
0.538071
334a491b4cee77ecb4bcce660376daef16196376
2,522
hpp
C++
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
255
2015-02-18T20:27:23.000Z
2022-03-18T18:55:35.000Z
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
350
2015-03-11T14:24:06.000Z
2022-03-29T03:54:10.000Z
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
wrf/stringtie
2e99dccd9a2e2ce51cfddcb3896984fa773697f7
[ "MIT" ]
66
2015-02-19T00:21:38.000Z
2022-03-30T09:52:23.000Z
/* This file is part of Jellyfish. Jellyfish 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 3 of the License, or (at your option) any later version. Jellyfish is distributed ...
28.337079
81
0.693101
334be7e3852fcf1c0eca1319c7605414027b5142
6,194
cc
C++
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-16T13:10:29.000Z
2021-11-16T13:10:29.000Z
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.h" #include <utility> #include "ash/public/cpp/app_list/app_list_config.h" #...
36.650888
80
0.733775
334d01c7077b5ab8b0418cc313ebb7b6942228d6
265,388
cpp
C++
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
1
2021-01-05T00:22:16.000Z
2021-01-05T00:22:16.000Z
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bslstl_stack.t.cpp -*-C++-*- #include <bslstl_stack.h> #include <bslstl_vector.h> #include <bsltf_stdstatefulallocator.h> #include <bsltf_stdtestallocator.h> #include <bsltf_templatetestfacility.h> #include <bsltf_testvaluesarray.h> #include <bslma_allocator.h> #inc...
37.389124
79
0.527254
334ddc2ac61746fa777a1e3134aec36a47bbdbc4
1,025
cc
C++
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
// -*- c++ -*- // // michael a.g. aïvázis <[email protected]> // (c) 1998-2021 all rights reserved // support #include <cassert> // get the grid #include <pyre/grid.h> // type alias using product_t = pyre::grid::product_t<4>; // exercise iterating over products int main(int argc, char * argv[]) { //...
19.339623
56
0.552195
3353681f4be9746c055cfc4add9289605ead21b8
2,060
cpp
C++
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
15
2021-09-20T17:33:52.000Z
2022-02-12T09:49:57.000Z
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
null
null
null
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
3
2021-10-06T19:55:41.000Z
2022-02-17T21:59:16.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
31.212121
132
0.689806
3353ff81d09048c05d9b81e88a697c3030074d58
7,859
cc
C++
source/common/http/codec_client.cc
spenceral/envoy
5333b928d8bcffa26ab19bf018369a835f697585
[ "Apache-2.0" ]
1
2020-10-27T21:20:41.000Z
2020-10-27T21:20:41.000Z
source/common/http/codec_client.cc
spenceral/envoy
5333b928d8bcffa26ab19bf018369a835f697585
[ "Apache-2.0" ]
137
2020-11-19T03:32:36.000Z
2022-03-28T21:14:14.000Z
source/common/http/codec_client.cc
baojr/envoy
fe62d976a26faa46efc590a48a734f11ee6545f9
[ "Apache-2.0" ]
1
2021-05-18T14:12:17.000Z
2021-05-18T14:12:17.000Z
#include "common/http/codec_client.h" #include <cstdint> #include <memory> #include "envoy/http/codec.h" #include "common/common/enum_to_int.h" #include "common/config/utility.h" #include "common/http/exception.h" #include "common/http/http1/codec_impl.h" #include "common/http/http2/codec_impl.h" #include "common/ht...
37.070755
97
0.706451
335429284fd1efb27cd28cc4ff339f1d8a761c44
1,173
hh
C++
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <[email protected]> see LICENSE for detail */ #ifndef BE_3D_SHADER_SHADER_SCRIPT_HH_ #define BE_3D_SHADER_SHADER_SCRIPT_HH_ /**************************************************************************************************/ #include <bugengine/plugin.graphics.3d/stdafx.h> #include <buge...
24.957447
101
0.599318
3354a84bee3d35265cbe663d2405c9cfa1adef30
11,427
hpp
C++
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
918
2016-12-22T02:53:08.000Z
2022-03-22T06:21:35.000Z
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
/*! @file Defines `boost::hana::tuple`. @copyright Louis Dionne 2013-2017 @copyright Jason Rice 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_TUPLE_HPP #define BOOST_HANA_TUPLE_HPP #include <boost/...
36.507987
105
0.548613
3359a6ae3816d07eb1feae546979c1f85c2c3098
578
cpp
C++
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
1
2021-08-30T20:33:43.000Z
2021-08-30T20:33:43.000Z
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
null
null
null
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
null
null
null
#include "RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialBase/BSLightingShaderMaterialLandscape.h" namespace RE { BSLightingShaderMaterialLandscape* BSLightingShaderMaterialLandscape::CreateMaterial() { auto material = malloc<BSLightingShaderMaterialLandscape>(); material->ctor(); return material; } ...
28.9
104
0.811419
335acd0f7e0fe3cd4c6f95b7aea5810746f8e5b3
31,089
cc
C++
src/gb/base/flags_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
1
2020-07-11T17:03:19.000Z
2020-07-11T17:03:19.000Z
src/gb/base/flags_test.cc
jpursey/gbits
4dfedd1297ca368ad1d80a03308fc4da0241f948
[ "MIT" ]
2
2021-12-10T13:38:51.000Z
2022-02-22T16:02:24.000Z
src/gb/base/flags_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
// Copyright (c) 2020 John Pursey // // Use of this source code is governed by an MIT-style License that can be found // in the LICENSE file or at https://opensource.org/licenses/MIT. #include "gb/base/flags.h" #include "gtest/gtest.h" namespace gb { namespace { enum BasicEnum { kBasicEnum_Zero, kBasicEnum_One,...
49.347619
80
0.650455
335ca6fb8a6661b107a94f833bbb91c34917de01
482
cpp
C++
vox.render/profiling/profiler_spy.cpp
ArcheGraphics/Arche-cpp
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
8
2022-02-15T12:54:57.000Z
2022-03-30T16:35:58.000Z
vox.render/profiling/profiler_spy.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
vox.render/profiling/profiler_spy.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "profiler_spy.h" namespace vox { ProfilerSpy::ProfilerSpy(const std::string &p_name) : nam...
22.952381
73
0.709544