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
35b8397827a7b1f9700a9f9b2bba950c91fa569c
906
cpp
C++
10282.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10282.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10282.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
18.12
85
0.610375
felikjunvianto
35bfa942cddd463f93d90460ef7b939aae562857
1,972
cpp
C++
soruce/main.cpp
juyuanmao/pick-ghost
c0e9713d63c1428a93e64dd33497cb97a37758c1
[ "Unlicense" ]
null
null
null
soruce/main.cpp
juyuanmao/pick-ghost
c0e9713d63c1428a93e64dd33497cb97a37758c1
[ "Unlicense" ]
null
null
null
soruce/main.cpp
juyuanmao/pick-ghost
c0e9713d63c1428a93e64dd33497cb97a37758c1
[ "Unlicense" ]
null
null
null
// // main.cpp // pick-ghost // // Created by Ju Yuanmao on 2017/7/15. // Copyleft // #include <iostream> #include <fstream> #include <algorithm> #include "randi.hpp" #include "cards.hpp" #include "player.hpp" using std::cin; using std::cout; using std::endl; int main(int argc, const char * argv[]) { std::of...
21.911111
62
0.399594
juyuanmao
35c17388680166e4bd3c03c481724aa2ec6cba04
6,640
cpp
C++
src/unused/SceneData.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
src/unused/SceneData.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
src/unused/SceneData.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <osgDB/ReadFile> #include <osgDB/WriteFile> #include <osg/io_utils> #include <osg/UserDataContainer> #include <osg/ValueObject> #include "SceneData.h" #include "AssetsManager.h" #include "Logging.h" static void build_scene_data(const char *osgt_file) { char buf[20]; osg::Group *roo...
31.923077
106
0.578313
rampart5555
35c7abdfd708fda0bc43202b6a43ad8a27732f1e
391,712
cxx
C++
tools/MuPad/example_gmm_objective_mex_d10_K25.cxx
dsyme/ADBench
87af0219a568807f8432754688ceb636efac12c6
[ "MIT" ]
58
2019-12-30T16:22:01.000Z
2022-01-23T12:26:51.000Z
tools/MuPad/example_gmm_objective_mex_d10_K25.cxx
dsyme/ADBench
87af0219a568807f8432754688ceb636efac12c6
[ "MIT" ]
112
2019-05-25T07:26:58.000Z
2019-12-28T13:55:33.000Z
tools/MuPad/example_gmm_objective_mex_d10_K25.cxx
dsyme/ADBench
87af0219a568807f8432754688ceb636efac12c6
[ "MIT" ]
22
2020-03-12T16:37:55.000Z
2022-02-23T10:14:37.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #line 2 "au_autodiff_generate_template.cpp" #include <math.h> #include "au_mex.h" // Autogenerated by au_ccode // FROM: f // au_autodiff_template.cpp - outline code for au_autodiff* // awf@microsoft.com, Dec 13 void mlx_function(mlx_inputs& ...
43.933603
25,081
0.669681
dsyme
35cd08b80a1bb8dc98393a6ba045867b13c82f21
20,924
cpp
C++
ZF/ZFCore/zfsrc/ZFCore/ZFObjectDef/ZFObjectObserver.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
57
2016-06-12T11:05:55.000Z
2021-05-22T13:12:17.000Z
ZF/ZFCore/zfsrc/ZFCore/ZFObjectDef/ZFObjectObserver.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
null
null
null
ZF/ZFCore/zfsrc/ZFCore/ZFObjectDef/ZFObjectObserver.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
20
2016-05-26T04:47:37.000Z
2020-12-13T01:39:39.000Z
#include "ZFObjectCore.h" #include "ZFObjectImpl.h" #include "ZFCore/ZFSTLWrapper/zfstl_string.h" #include "ZFCore/ZFSTLWrapper/zfstl_map.h" #include "ZFCore/ZFSTLWrapper/zfstl_deque.h" ZF_NAMESPACE_GLOBAL_BEGIN // ============================================================ // ZFListenerData void ZFListenerData::ob...
29.721591
136
0.554626
ZFFrameworkDist
35d2173ca2be59980e583a529b38a31d63fc9d25
341
cpp
C++
sheldon_behaviors/take_object_behavior/src/behavior_plugin.cpp
zwartepoester/sheldon
7001551b65cd5b595a0a93e58528198d3d1e5553
[ "Apache-2.0" ]
1
2021-01-02T18:17:52.000Z
2021-01-02T18:17:52.000Z
sheldon_behaviors/take_object_behavior/src/behavior_plugin.cpp
zwartepoester/sheldon
7001551b65cd5b595a0a93e58528198d3d1e5553
[ "Apache-2.0" ]
null
null
null
sheldon_behaviors/take_object_behavior/src/behavior_plugin.cpp
zwartepoester/sheldon
7001551b65cd5b595a0a93e58528198d3d1e5553
[ "Apache-2.0" ]
4
2017-09-16T03:56:01.000Z
2018-09-19T02:15:57.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved #include <pluginlib/class_list_macros.h> #include <behavior_common/behavior.h> PYTHON_BEHAVIOR_PLUGIN(take_object_behavior, "TAKE_OBJECT"); PLUGINLIB_EXPORT_CLASS(take_object_behavior, behavior_comm...
37.888889
78
0.821114
zwartepoester
35db1fde2e1f3b753bde44f9c864d80b8bd50157
28,340
cpp
C++
src/CamMonitor/CamMonitor/LiveTab.cpp
infinicam/infinicam-samples
47c9c0dd79e1991d17fbcff91f49ab15a69c519a
[ "MIT" ]
null
null
null
src/CamMonitor/CamMonitor/LiveTab.cpp
infinicam/infinicam-samples
47c9c0dd79e1991d17fbcff91f49ab15a69c519a
[ "MIT" ]
null
null
null
src/CamMonitor/CamMonitor/LiveTab.cpp
infinicam/infinicam-samples
47c9c0dd79e1991d17fbcff91f49ab15a69c519a
[ "MIT" ]
1
2020-12-23T04:38:56.000Z
2020-12-23T04:38:56.000Z
#include "stdafx.h" #include "LiveTab.h" #include "resource.h" #include "AppDefine.h" #include "CamMonitor.h" #include "cih.h" #include "ChildView.h" #include "SelectCameraDialog.h" #include "SaveLiveDialog.h" #include "Util.h" IMPLEMENT_DYNAMIC(CLiveTab, CBaseTab) CLiveTab::CLiveTab(CWnd* pParent) : CBaseTab(CLive...
24.347079
123
0.749365
infinicam
e3028bc70fab84b4590d18f85286390ff3a83e29
1,797
hpp
C++
include/engine/utils/timing/Profiler.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
6
2018-08-05T21:45:23.000Z
2021-10-30T19:48:34.000Z
include/engine/utils/timing/Profiler.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
null
null
null
include/engine/utils/timing/Profiler.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
1
2021-11-01T20:15:38.000Z
2021-11-01T20:15:38.000Z
#ifndef UTILS_TIMING_PROFILER_HPP #define UTILS_TIMING_PROFILER_HPP #include <chrono> namespace engine::utils { /** * \brief Provides a simple way to profile arbitrary code. */ class Profiler { public: /** * \brief Starts a time measurement. */ void start() { ...
26.820896
83
0.558152
Ghabriel
e30649c2f07dd51ddd50ac43a2e71ebf3206462c
1,176
cpp
C++
chapter12/StrBlob_VS2017/StrBlob/StrBlob.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
chapter12/StrBlob_VS2017/StrBlob/StrBlob.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
chapter12/StrBlob_VS2017/StrBlob/StrBlob.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
#include "StrBlob.h" StrBlob::StrBlob() : data(std::make_shared<std::vector<std::string>>()) {}; StrBlob::StrBlob(std::initializer_list<std::string> il) : data(std::make_shared<std::vector<std::string>>(il)) { } void StrBlob::check(StrBlob::size_type sz, const std::string &msg) const { if (sz >= data->size()) th...
17.043478
110
0.668367
kingmax
e309c1e95eee4987d9f7c0a8851787e62ea609c2
573
cpp
C++
AIPaddle.cpp
deviant-zairus/pong
ae76c13c5801212051749bfcc967d231c1821920
[ "Apache-2.0" ]
null
null
null
AIPaddle.cpp
deviant-zairus/pong
ae76c13c5801212051749bfcc967d231c1821920
[ "Apache-2.0" ]
null
null
null
AIPaddle.cpp
deviant-zairus/pong
ae76c13c5801212051749bfcc967d231c1821920
[ "Apache-2.0" ]
null
null
null
#include "AIPaddle.h" #include "Ball.h" AIPaddle::AIPaddle(Ball* ball) : Paddle(irr::core::vector3df(25.0f, 0.0f, 0.0f)) { this->_ball = ball; } AIPaddle::~AIPaddle() { } bool AIPaddle::Update(float deltaTime, InputHandler* ih) { irr::core::vector3df ballPos = this->_ball->GetPosition(); irr::core::vector3df myP...
21.222222
80
0.673647
deviant-zairus
e30afdc6cf6d5316ced351011cd5310134ba338e
465
cpp
C++
src/28-bucket-sort/cpp/main.cpp
MichaelZalla/data-structures-review
4ef1a70cf28031160eafc81fe3557791c58aed32
[ "MIT" ]
null
null
null
src/28-bucket-sort/cpp/main.cpp
MichaelZalla/data-structures-review
4ef1a70cf28031160eafc81fe3557791c58aed32
[ "MIT" ]
null
null
null
src/28-bucket-sort/cpp/main.cpp
MichaelZalla/data-structures-review
4ef1a70cf28031160eafc81fe3557791c58aed32
[ "MIT" ]
null
null
null
#include <vector> #include "../../utils/cpp/Assert.h" #include "../../utils/cpp/PrintVector.h" #include "./BucketSort.h" int main(int argc, char** argv) { int unsorted[] = { 5,5,1,2,4,5,1,4,2,4,2,3,1,2,4,5,1 }; int sorted[] = { 1,1,1,1,2,2,2,2,3,4,4,4,4,5,5,5,5 }; int n = sizeof(unsorted)/sizeof(int); std::vec...
19.375
69
0.606452
MichaelZalla
e30f3f758f7d2715d8c7ab767c757482e7f5cd5c
852
cpp
C++
src/misaxx/core/misa_parameter_base.cpp
applied-systems-biology/misaxx-core
23d5523b75ef1a8870fba7a0363af2106924ca5f
[ "BSD-2-Clause" ]
null
null
null
src/misaxx/core/misa_parameter_base.cpp
applied-systems-biology/misaxx-core
23d5523b75ef1a8870fba7a0363af2106924ca5f
[ "BSD-2-Clause" ]
null
null
null
src/misaxx/core/misa_parameter_base.cpp
applied-systems-biology/misaxx-core
23d5523b75ef1a8870fba7a0363af2106924ca5f
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright by Ruman Gerst * Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Insitute (HKI) *...
40.571429
158
0.74061
applied-systems-biology
e3114210a4b46d76da8a8768405a17bd976435f6
407
hpp
C++
fts/fts_share/fts_define.hpp
iihiro/FHE-Table-Search
a035cf9af311a8cb123a08d5d1378acd739df4a4
[ "Apache-2.0" ]
2
2020-07-19T15:54:42.000Z
2020-08-20T06:35:05.000Z
fts/fts_share/fts_define.hpp
yamanalab/FHE-Table-Search
0104ace6e91409730cc6a58481a0f8459892d6dc
[ "Apache-2.0" ]
2
2020-07-09T01:41:40.000Z
2020-08-18T03:24:38.000Z
fts/fts_share/fts_define.hpp
iihiro/FHE-Table-Search
a035cf9af311a8cb123a08d5d1378acd739df4a4
[ "Apache-2.0" ]
1
2020-01-21T05:16:28.000Z
2020-01-21T05:16:28.000Z
#ifndef FTS_DEFINE_HPP #define FTS_DEFINE_HPP #define FTS_TIMEOUT_SEC (60) #define FTS_RETRY_INTERVAL_USEC (2000000) #define FTS_DEFAULT_MAX_CONCURRENT_QUERIES 128 #define FTS_DEFAULT_MAX_RESULTS 128 #define FTS_DEFAULT_MAX_RESULT_LIFETIME_SEC 50000 #define FTS_LUTFILE_EXT "csv" #define FTS_LUT_POSSIBLE_INPUT_NUM_O...
23.941176
49
0.847666
iihiro
e3136bb114d10a8599817c9a4b4a0b2273a949b4
1,288
cpp
C++
src/main/cpp/wpiliblua/dashboard.cpp
bvisness/FRCLuaTest
64fae7f258013af10d5d359fedf5c8902214730a
[ "BSD-3-Clause" ]
1
2021-11-11T23:18:58.000Z
2021-11-11T23:18:58.000Z
src/main/cpp/wpiliblua/dashboard.cpp
frc-2175/2021Lua
64fae7f258013af10d5d359fedf5c8902214730a
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/wpiliblua/dashboard.cpp
frc-2175/2021Lua
64fae7f258013af10d5d359fedf5c8902214730a
[ "BSD-3-Clause" ]
null
null
null
// Automatically generated by bindings.c. DO NOT EDIT. #include <wpi/StringRef.h> #include <wpi/ArrayRef.h> #include <frc/smartdashboard/SmartDashboard.h> #include "luadef.h" LUAFUNC void SmartDashboard_PutNumber(const char* keyName, double value) { frc::SmartDashboard::PutNumber((wpi::StringRef)keyName,...
40.25
130
0.738354
bvisness
e31434cb7ae51ebbbc0295413f7cbdb6a0fda312
8,424
cpp
C++
src/argss/modules/akeys.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
1
2015-02-12T01:24:04.000Z
2015-02-12T01:24:04.000Z
src/argss/modules/akeys.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
src/argss/modules/akeys.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // ARGSS - Copyright (c) 2009 - 2010, Alejandro Marzini (vgvgf) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // ar...
47.061453
78
0.647317
cstrahan
e3150079d1432cceb4c51ea2bda9e1f9307372bf
520
hpp
C++
library/ATF/_pvp_order_view_end_zoclInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_pvp_order_view_end_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_pvp_order_view_end_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_pvp_order_view_end_zocl.hpp> START_ATF_NAMESPACE namespace Info { using _pvp_order_view_end_zoclsize2_ptr = int (WINAPIV*)(struct _pvp_order_...
34.666667
135
0.776923
lemkova
e31570afb71316f7e4160f8369a6fe6a8f742191
1,457
cpp
C++
src/bullet.cpp
Harrand/Asteroids-Topaz
ce549802b0360f2554f4f6189d6ca0a486c4c928
[ "Apache-2.0" ]
null
null
null
src/bullet.cpp
Harrand/Asteroids-Topaz
ce549802b0360f2554f4f6189d6ca0a486c4c928
[ "Apache-2.0" ]
null
null
null
src/bullet.cpp
Harrand/Asteroids-Topaz
ce549802b0360f2554f4f6189d6ca0a486c4c928
[ "Apache-2.0" ]
null
null
null
// // Created by Harrand on 25/08/2018. // #include "bullet.hpp" #include "entity_manager.hpp" Bullet::Bullet(Vector2F position, Vector2F velocity, const Texture* bullet_texture, EntityManager& manager, DynamicSprite* shooter): DynamicSprite(1.0f, position, 0.0f, {Bullet::bullet_size, Bullet::bullet_size}, bullet_tex...
34.690476
313
0.716541
Harrand
e319f162f2ac133c1961311e5cfbf7466a3f887a
8,669
cpp
C++
src/vertexcover.cpp
manighahrmani/PACE2017-min-fill
496fffc8b61b3507611ab118f211dc06457e0855
[ "MIT" ]
1
2020-05-29T15:47:16.000Z
2020-05-29T15:47:16.000Z
src/vertexcover.cpp
manighahrmani/PACE2017-min-fill
496fffc8b61b3507611ab118f211dc06457e0855
[ "MIT" ]
null
null
null
src/vertexcover.cpp
manighahrmani/PACE2017-min-fill
496fffc8b61b3507611ab118f211dc06457e0855
[ "MIT" ]
1
2020-05-29T15:47:21.000Z
2020-05-29T15:47:21.000Z
#include "vertexcover.hpp" #include "graph.hpp" #include "timer.hpp" #include "global.hpp" #include <vector> #include <queue> #include <cassert> #include <iostream> #include <cstring> #include <algorithm> #include <map> #define F first #define S second using namespace std; namespace VertexCover { int uu[maxN]; int...
20.160465
85
0.484139
manighahrmani
e31cc4ed04daf4742c02d2081185cffe9397ed0c
3,136
cpp
C++
src/DataTransmit.cpp
jellysheep/spheresim
8475371f987c3c68ade1116ee7824adcfe702d35
[ "BSD-3-Clause" ]
1
2015-03-20T15:09:53.000Z
2015-03-20T15:09:53.000Z
src/DataTransmit.cpp
jellysheep/spheresim
8475371f987c3c68ade1116ee7824adcfe702d35
[ "BSD-3-Clause" ]
null
null
null
src/DataTransmit.cpp
jellysheep/spheresim
8475371f987c3c68ade1116ee7824adcfe702d35
[ "BSD-3-Clause" ]
null
null
null
/** \file * \author Max Mertens <max.mail@dameweb.de> * \section LICENSE * Copyright (c) 2013, Max Mertens. * All rights reserved. * This file is licensed under the "BSD 3-Clause License". * Full license text is under the file "LICENSE" provided with this code. */ #include "Sphere.hpp" #include "DataTransmit.hpp...
21.333333
76
0.661352
jellysheep
e321181c29b25910e4fcaec2e4a55f7475ca0b53
6,706
cpp
C++
ecmascript/interpreter/frame_handler.cpp
openharmony-sig-ci/ark_js_runtime
72fcff4c114fd8323c9a5d1a835efeac043e9a72
[ "Apache-2.0" ]
null
null
null
ecmascript/interpreter/frame_handler.cpp
openharmony-sig-ci/ark_js_runtime
72fcff4c114fd8323c9a5d1a835efeac043e9a72
[ "Apache-2.0" ]
null
null
null
ecmascript/interpreter/frame_handler.cpp
openharmony-sig-ci/ark_js_runtime
72fcff4c114fd8323c9a5d1a835efeac043e9a72
[ "Apache-2.0" ]
1
2021-09-13T12:12:04.000Z
2021-09-13T12:12:04.000Z
/* * Copyright (c) 2021 Huawei Device 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 law ...
33.19802
94
0.700268
openharmony-sig-ci
e3232cb7da6a0da1723a513c5499943d2cb043e1
1,277
hpp
C++
include/meevax/kernel/stack.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
13
2018-11-27T02:06:58.000Z
2022-01-01T16:07:12.000Z
include/meevax/kernel/stack.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
89
2017-11-24T23:58:06.000Z
2022-02-06T14:54:01.000Z
include/meevax/kernel/stack.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
4
2017-12-22T15:45:46.000Z
2020-01-12T19:50:45.000Z
/* Copyright 2018-2021 Tatsuya Yamasaki. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
26.061224
75
0.703994
yamacir-kit
e326c9f13c30636263244c06e30fc48f88dbb966
1,716
cpp
C++
dialog.cpp
mguludag/QtIFW_Frontend
1f670e4e633ed5fc92412d523a7365c6b16ade58
[ "BSL-1.0" ]
11
2020-12-28T13:53:16.000Z
2022-03-29T04:19:32.000Z
dialog.cpp
mguludag/QtIFW_Frontend
1f670e4e633ed5fc92412d523a7365c6b16ade58
[ "BSL-1.0" ]
null
null
null
dialog.cpp
mguludag/QtIFW_Frontend
1f670e4e633ed5fc92412d523a7365c6b16ade58
[ "BSL-1.0" ]
1
2020-12-28T13:53:24.000Z
2020-12-28T13:53:24.000Z
/***************************************************************************** * dialog.cpp * * Created: 12/20/2020 2020 by mguludag * * Copyright 2020 mguludag. All rights reserved. * * This file may be distributed under the terms of GNU Public License version * 3 (GPL v3) as defined by the Free Softwa...
39
80
0.626457
mguludag
e327f8aaa69d6be9637dd6975423007026dd67e8
59
cpp
C++
src/base/shape.cpp
wzhhh123/SimpleRT
e2ff1a2773eecbc388568fdc2b5c20ead45d262d
[ "Apache-2.0" ]
null
null
null
src/base/shape.cpp
wzhhh123/SimpleRT
e2ff1a2773eecbc388568fdc2b5c20ead45d262d
[ "Apache-2.0" ]
null
null
null
src/base/shape.cpp
wzhhh123/SimpleRT
e2ff1a2773eecbc388568fdc2b5c20ead45d262d
[ "Apache-2.0" ]
null
null
null
#include "shape.h" FLOAT Shape::Area() { return 0; }
6.555556
33
0.576271
wzhhh123
e32921ab796018ed3107d779fbe74a96a7df96b3
5,673
cpp
C++
src/stream_transformer_payload_to_payload.cpp
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
src/stream_transformer_payload_to_payload.cpp
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
src/stream_transformer_payload_to_payload.cpp
luibass92/mqttraffic-warden
a421b04aff99927e92f0bda4c0543af91abef6c5
[ "MIT" ]
null
null
null
#include "stream_transformer_payload_to_payload.h" #include <iostream> #include "cast.h" #include "exceptions.h" #include "json_utilities.h" #include "spdlog/spdlog.h" #include "utilities.h" namespace tw { void StreamTransformerPayloadToPayload::setup(const nlohmann::json& p_json) { if (!is_valid_setup(p_json)) {...
36.365385
80
0.624008
luibass92
e32967d92a125756460bf2a3ea5989ca1e3dba94
285
cpp
C++
beaker/decl.cpp
thehexia/beaker2
ca6c563c51be4a08d78e4eda007967bc4ae812a2
[ "Apache-2.0" ]
null
null
null
beaker/decl.cpp
thehexia/beaker2
ca6c563c51be4a08d78e4eda007967bc4ae812a2
[ "Apache-2.0" ]
null
null
null
beaker/decl.cpp
thehexia/beaker2
ca6c563c51be4a08d78e4eda007967bc4ae812a2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2015 Andrew Sutton // All rights reserved #include "decl.hpp" #include "type.hpp" Function_type const* Function_decl::type() const { return cast<Function_type>(Decl::type()); } Type const* Function_decl::return_type() const { return type()->return_type(); }
13.571429
43
0.705263
thehexia
e32c1ce60e57de950f6115d4dabe6096d7616f2a
382
cpp
C++
Lowercase villains/main.cpp
ThusharaX/Algothon-Entrance-Test-2021
f4e743286ed66b3b25dbfde16b6c418b4fe56c16
[ "MIT" ]
null
null
null
Lowercase villains/main.cpp
ThusharaX/Algothon-Entrance-Test-2021
f4e743286ed66b3b25dbfde16b6c418b4fe56c16
[ "MIT" ]
null
null
null
Lowercase villains/main.cpp
ThusharaX/Algothon-Entrance-Test-2021
f4e743286ed66b3b25dbfde16b6c418b4fe56c16
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { string word; int strLen = 0; int count = 0; getline (cin, word); strLen = word.length(); for (int i = 0; i < strLen+1; i++) { if (islower(word[i])) { ...
14.692308
40
0.526178
ThusharaX
e32d0195642344abdc5e1f7144acfba601f3fb66
8,475
cc
C++
src/ActProdXSecData.cc
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:23.000Z
2020-11-04T08:32:23.000Z
src/ActProdXSecData.cc
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
null
null
null
src/ActProdXSecData.cc
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:30.000Z
2020-11-04T08:32:30.000Z
// Class for defining the production cross-section data for // a specific target isotope. It stores a map of ActXSecGraphs // for the target isotope. #include "Activia/ActProdXSecData.hh" #include "Activia/ActBeamSpectrum.hh" #include "Activia/ActProdNuclideList.hh" #include "Activia/ActProdNuclide.hh" #include "Activ...
30.706522
92
0.688732
UniversityofWarwick
e3326e1d70ba23df0af2595682eeb96335c58dd9
1,145
cpp
C++
tests/benchmark/src/main.cpp
typesAreSpaces/AXDInterpolator
e0759c806480ff54b7a4f878e007b534a71dad44
[ "MIT" ]
null
null
null
tests/benchmark/src/main.cpp
typesAreSpaces/AXDInterpolator
e0759c806480ff54b7a4f878e007b534a71dad44
[ "MIT" ]
1
2021-06-24T18:55:46.000Z
2021-06-24T18:55:46.000Z
tests/benchmark/src/main.cpp
typesAreSpaces/AXDInterpolator
e0759c806480ff54b7a4f878e007b534a71dad44
[ "MIT" ]
null
null
null
#include "UAutomizerFileReader.h" #include <sys/stat.h> inline bool exists_file (const std::string& name) { struct stat buffer; return (stat (name.c_str(), &buffer) == 0); } int main(int argc, char * argv[]){ if(argc != 6){ std::cerr << "Invalid number of inputs.\n"; return 0; } // argv[1] -> ...
20.818182
67
0.583406
typesAreSpaces
e33317d73edf89d40fd046ce25f1f608f05a5438
2,754
cpp
C++
Board.cpp
ahmadabed1/messageboard-b
05b154801690250737f56a31b71359ae71c0cdbb
[ "MIT" ]
null
null
null
Board.cpp
ahmadabed1/messageboard-b
05b154801690250737f56a31b71359ae71c0cdbb
[ "MIT" ]
null
null
null
Board.cpp
ahmadabed1/messageboard-b
05b154801690250737f56a31b71359ae71c0cdbb
[ "MIT" ]
null
null
null
#include <iostream> #include "Board.hpp" using namespace std; using namespace ariel; const char defaultChar = '_'; namespace ariel { void Board::update(unsigned int row, unsigned int col, bool flag, unsigned int num){ if(this->maxR!=0 || this->minR!=INT32_MAX || this->maxC!=0 || this->minC!=INT32_MAX)...
23.142857
93
0.439361
ahmadabed1
e3350eedf98cd11ade84d8706ee7ac6f3ac32187
346
cpp
C++
5659.删除字符串两端相同字符后的最短长度/minimumLength.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2019-10-21T14:40:39.000Z
2019-10-21T14:40:39.000Z
5659.删除字符串两端相同字符后的最短长度/minimumLength.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
null
null
null
5659.删除字符串两端相同字符后的最短长度/minimumLength.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2020-11-04T07:33:34.000Z
2020-11-04T07:33:34.000Z
class Solution { public: int minimumLength(string s) { int l = 0, r = s.size() - 1; while(l < r) { if(s[l]!=s[r]) break; while(l<r-1 && s[l+1]==s[r])l++; while(r>l+1 && s[r-1]==s[l])r--; if(r-l+1>=2&&l<s.size()-1){l++;r--;} } ...
21.625
48
0.358382
YichengZhong
e337577a783f4092f5d786c771233083f63ddc04
1,316
hpp
C++
src/time_advance.hpp
ckendrick/asgard
ed4fc90d240466e9ca0473071e8f64f84ad14462
[ "MIT" ]
null
null
null
src/time_advance.hpp
ckendrick/asgard
ed4fc90d240466e9ca0473071e8f64f84ad14462
[ "MIT" ]
null
null
null
src/time_advance.hpp
ckendrick/asgard
ed4fc90d240466e9ca0473071e8f64f84ad14462
[ "MIT" ]
null
null
null
#pragma once #include "batch.hpp" #include "boundary_conditions.hpp" #include "distribution.hpp" #include "kronmult.hpp" #include "program_options.hpp" #include "tensors.hpp" #include "timer.hpp" #include <mutex> // this function executes a time step using the current solution // vector x (in host_space). // on exit, ...
41.125
80
0.6231
ckendrick
e337c22c4c1c20ba19d6e4f5eb50e92950a8c5a7
8,818
cxx
C++
simplify/src/ModifySrc.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
simplify/src/ModifySrc.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
simplify/src/ModifySrc.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
23.961957
90
0.48934
kit-transue
e33862ce3570187180e966f9528856dfc2184844
926
cpp
C++
cpp/templates/25187583_single.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/templates/25187583_single.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/templates/25187583_single.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
#include <complex> #include <tuple> #include <type_traits> #include <vector> // Question: https://stackoverflow.com/questions/25187323/how-can-i-get-the-innermost-template-parameter-type // adapted from https://stackoverflow.com/a/25187583 template<typename T> struct inner_impl { using type = T; }; template<tem...
24.368421
109
0.699784
berquist
e3393fcf86a950ee192dfa381e4be20d3f3dfb74
55
hpp
C++
misc/tower.hpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
1
2020-05-14T20:52:56.000Z
2020-05-14T20:52:56.000Z
misc/tower.hpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
null
null
null
misc/tower.hpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
null
null
null
extern void loopTower(ConfigurableSettings& settings);
27.5
54
0.854545
reubn
e33ae9b05e963577dceb99300623f4577c4e1bc0
2,616
cc
C++
CalibPPS/ESProducers/plugins/PrintTotemDAQMapping.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibPPS/ESProducers/plugins/PrintTotemDAQMapping.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibPPS/ESProducers/plugins/PrintTotemDAQMapping.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/**************************************************************************** * * This is a part of TOTEM offline software. * Authors: * Jan Kašpar (jan.kaspar@gmail.com) * ****************************************************************************/ #include "FWCore/Framework/interface/one/EDAnalyzer.h" #inc...
40.246154
114
0.59633
Purva-Chaudhari
e33e420a4ac7ced8bdea543120a6f2f766a0d193
3,511
hpp
C++
generator/road_access_generator.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
null
null
null
generator/road_access_generator.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
1
2019-05-14T15:26:55.000Z
2019-05-16T11:00:33.000Z
generator/road_access_generator.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "generator/collector_interface.hpp" #include "generator/feature_builder.hpp" #include "generator/intermediate_elements.hpp" #include "generator/osm_element.hpp" #include "routing/road_access.hpp" #include "routing/vehicle_mask.hpp" #include <array> #include <cstdint> #include <fstream> #include...
30.267241
98
0.767588
vmihaylenko
e33e59c48289d6f00ecb5a7a86acfab1568e6907
3,074
cpp
C++
src/base/Uri.cpp
webosose/com.webos.service.intent
5e10a5affe450f0bb1eea197c92c65c884874427
[ "Apache-2.0" ]
null
null
null
src/base/Uri.cpp
webosose/com.webos.service.intent
5e10a5affe450f0bb1eea197c92c65c884874427
[ "Apache-2.0" ]
null
null
null
src/base/Uri.cpp
webosose/com.webos.service.intent
5e10a5affe450f0bb1eea197c92c65c884874427
[ "Apache-2.0" ]
1
2021-06-19T14:46:13.000Z
2021-06-19T14:46:13.000Z
// Copyright (c) 2020-2021 LG Electronics, 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...
26.730435
120
0.52635
webosose
e34857efb9134554d767f7548f519dbb3a161ba2
8,179
cpp
C++
src/main.cpp
ak1211/m5stack-azure-iot
179a474acde159c689ab359dba804c886402794a
[ "MIT" ]
null
null
null
src/main.cpp
ak1211/m5stack-azure-iot
179a474acde159c689ab359dba804c886402794a
[ "MIT" ]
null
null
null
src/main.cpp
ak1211/m5stack-azure-iot
179a474acde159c689ab359dba804c886402794a
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Akihiro Yamamoto. // Licensed under the MIT License <https://spdx.org/licenses/MIT.html> // See LICENSE file in the project root for full license information. // #include "credentials.h" #include "iothub_client.hpp" #include "peripherals.hpp" #include <ArduinoOTA.h> #include <M5Core2.h> #...
28.106529
80
0.643477
ak1211
e34bcf849e9e1153293bfc6d958987ee9d211b80
7,494
cc
C++
imglib/imgtrace.cc
gitter-badger/iulib
b2b66dbcbbbfcb4aac0784ea9f07db998077dbc1
[ "Apache-2.0" ]
19
2015-01-22T09:53:53.000Z
2019-05-16T09:01:23.000Z
imglib/imgtrace.cc
bygreencn/iulib
75072ef90585bdc503f66ef682a7a585e394298e
[ "Apache-2.0" ]
2
2016-10-20T00:56:10.000Z
2017-07-06T14:40:31.000Z
imglib/imgtrace.cc
bygreencn/iulib
75072ef90585bdc503f66ef682a7a585e394298e
[ "Apache-2.0" ]
14
2015-01-09T01:33:52.000Z
2019-02-03T03:58:41.000Z
// -*- C++ -*- // Copyright 2006-2007 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz // or its licensors,as applicable. // Copyright 1995-2005 Thomas M. Breuel // // You may not use this file except under the terms of the accompanying license. // // Licensed under the Apache License,Version 2.0 (the "Lice...
29.976
84
0.475047
gitter-badger
e350dd64000e7be1b0395f4ca64d97228808c94b
2,518
cpp
C++
openbr/plugins/metadata/croprect.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
1,883
2015-01-04T07:04:24.000Z
2022-03-30T13:33:37.000Z
openbr/plugins/metadata/croprect.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
272
2015-01-02T09:53:20.000Z
2022-03-29T08:04:33.000Z
openbr/plugins/metadata/croprect.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
718
2015-01-02T18:51:07.000Z
2022-03-29T08:10:53.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2012 The MITRE Corporation * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
44.964286
111
0.534154
kassemitani
e351892e77f867273d711f5895538a2bef0775de
2,133
hpp
C++
series2_workbench/hyp_sys_1d/include/ancse/boundary_condition.hpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2020-01-05T22:38:47.000Z
2020-01-05T22:38:47.000Z
series2_handout/hyp_sys_1d/include/ancse/boundary_condition.hpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
null
null
null
series2_handout/hyp_sys_1d/include/ancse/boundary_condition.hpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2019-12-08T20:43:27.000Z
2019-12-08T20:43:27.000Z
#ifndef HYPSYS1D_BOUNDARY_CONDITION_HPP #define HYPSYS1D_BOUNDARY_CONDITION_HPP #include <Eigen/Dense> #include <memory> /// Interface for enforcing boundary conditions through ghost-cells. class BoundaryCondition { public: // BoundaryCondition is an abstract base class. It needs a virtual // destructor. ...
30.042254
73
0.662916
BeatHubmann
e352a93167800c714270a7844e7efbd780891caf
1,319
cc
C++
media/mojo/mojom/encoded_audio_buffer_traits.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/mojo/mojom/encoded_audio_buffer_traits.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
media/mojo/mojom/encoded_audio_buffer_traits.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "media/mojo/mojom/encoded_audio_buffer_traits.h" #include "mojo/public/cpp/base/time_mojom_traits.h" namespace mojo { // static bool StructTra...
29.977273
78
0.709629
zealoussnow
e358559a3caa8d098753bf701165bc2bc379231c
1,250
cpp
C++
BinarySearchTree/BinarySearchTree/BinarySearchTree.cpp
epoll31/DataStructuresCpp
bfd93bad226bb5175d6b74f8dd9beb60150bb055
[ "MIT" ]
null
null
null
BinarySearchTree/BinarySearchTree/BinarySearchTree.cpp
epoll31/DataStructuresCpp
bfd93bad226bb5175d6b74f8dd9beb60150bb055
[ "MIT" ]
null
null
null
BinarySearchTree/BinarySearchTree/BinarySearchTree.cpp
epoll31/DataStructuresCpp
bfd93bad226bb5175d6b74f8dd9beb60150bb055
[ "MIT" ]
null
null
null
#include <iostream> #include "BinarySearchTree.h" #include <vector> int main() { BinarySearchTree<int> tree; //tree.Add(4); //tree.Add(2); //tree.Add(6); //tree.Add(1); //tree.Add(3); //tree.Add(5); //tree.Add(7); tree.Add(25); tree.Add(15); tree.Add(50); tree.Add(10); tree.Add(22); tree.Add(35); tree...
19.230769
73
0.5936
epoll31
e358d037e97c4c009f282a6b167ec8697d69edf7
3,734
cc
C++
conf_crawler/url_dedup/static_dedup.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
null
null
null
conf_crawler/url_dedup/static_dedup.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
null
null
null
conf_crawler/url_dedup/static_dedup.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
2
2020-09-12T13:50:38.000Z
2020-09-16T15:55:14.000Z
/** * @Copyright 2011 GanJi Inc. * @file ganji/crawler/conf_crawler/url_dedup/static_dedup.cc * @namespace ganji::crawler::conf_crawler::dedup * @version 1.0 * @author lisizhong * @date 2012-03-31 * * 改动程序后, 请使用tools/cpplint/cpplint.py 检查代码是否符合编码规范! * 遵循的编码规范请参考: http://google-styleguide.googlecode.com/...
23.192547
80
0.676219
WinterW
e35ace38829eb4a5af369c76826cb2dab3632292
12,095
cpp
C++
android/android_42/base/media/jni/android_media_Utils.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/base/media/jni/android_media_Utils.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/base/media/jni/android_media_Utils.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright 2011, 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 applica...
29.864198
80
0.553038
yakuizhao
e35dab71a80c6647065063a1917a3fd189f69d4f
685
cpp
C++
cpp/tests/RemoveDuplicatesFromSortedArrayIITest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
cpp/tests/RemoveDuplicatesFromSortedArrayIITest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
cpp/tests/RemoveDuplicatesFromSortedArrayIITest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include "RemoveDuplicatesFromSortedArrayII.h" #include "gtest/gtest.h" using namespace lcpp; TEST(RemoveDuplicatesFromSortedArrayII, Solution81_1) { std::vector<int> Nums1{1, 1, 1, 2, 2, 3}; const int Size1 = 5; ASSERT_EQ(Size1, Solution80_1().removeDuplicates(Nums1)); const std::vector<int> Expected1{1, 1, ...
38.055556
79
0.687591
qianbinbin
e3607de65830fbfb4162683c6b99e87abfd468f3
3,168
cpp
C++
cpp/src/opendnp3/LogTypes.cpp
cverges/adnp3
2a07f364bec8f1ad46e33cc8b6b8ef37b9005f3a
[ "MS-PL", "Naumen", "Condor-1.1", "Apache-1.1" ]
2
2016-08-31T23:03:06.000Z
2017-07-26T01:57:01.000Z
cpp/src/opendnp3/LogTypes.cpp
dupes/dnp3-automatak
08348d21738ae93e9a7f02ec46933934b6b463af
[ "Naumen", "Condor-1.1", "Apache-1.1", "MS-PL" ]
null
null
null
cpp/src/opendnp3/LogTypes.cpp
dupes/dnp3-automatak
08348d21738ae93e9a7f02ec46933934b6b463af
[ "Naumen", "Condor-1.1", "Apache-1.1", "MS-PL" ]
1
2020-01-20T08:23:27.000Z
2020-01-20T08:23:27.000Z
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one or // more contributor license agreements. See the NOTICE file distributed // with this work for additional information regarding copyright ownership. // Green Energy Corp licenses this file to you under the Apache License, // Version 2.0 (the "Li...
25.344
79
0.718119
cverges
e3616c347f069bbae2093bca66d1b14e91cd1a34
565
cpp
C++
396.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
396.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
396.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2022/4/22. // #include <iostream> #include <algorithm> #include <vector> using namespace std; class Solution { public: int maxRotateFunction(vector<int> &nums) { int n = nums.size(); int numSum = 0, f = 0; for (int i = 0; i < n; i++) { numSum += nums[i...
17.121212
46
0.446018
pengzhezhe
e36299db653d094110285453e6f864c66fdce7fa
510
cpp
C++
usage/cl_11_array_no_exception_of_out_index.cpp
conncui/CProject
f2786e8cfad1b590154af9167cbc218332e4e71f
[ "Apache-2.0" ]
null
null
null
usage/cl_11_array_no_exception_of_out_index.cpp
conncui/CProject
f2786e8cfad1b590154af9167cbc218332e4e71f
[ "Apache-2.0" ]
null
null
null
usage/cl_11_array_no_exception_of_out_index.cpp
conncui/CProject
f2786e8cfad1b590154af9167cbc218332e4e71f
[ "Apache-2.0" ]
null
null
null
# include <iostream> using namespace std; void test_1(); void test_2(); int main() { // test_1(); test_2(); } void test_1(){ int a[2]; a[0] = 1; a[1] = 2; int i = 2; a[i] = 10; for (int i = 0; i <=2; i++){ cout << a[i] << " "; } cout << endl; for (int i = 0; ...
12.75
33
0.401961
conncui
e362d27fd7885d9acd562aac7fc0d89a0a335bb3
1,869
cpp
C++
kernel/kernel/worker.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
44
2017-02-16T20:48:09.000Z
2022-03-14T17:58:57.000Z
kernel/kernel/worker.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
72
2017-02-16T20:22:10.000Z
2022-03-31T21:17:06.000Z
kernel/kernel/worker.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
10
2017-04-07T19:20:14.000Z
2021-12-16T03:31:14.000Z
/* * Copyright (c) 2017 Pedro Falcato * This file is part of Onyx, and is released under the terms of the MIT License * check LICENSE at the root directory for more information */ #include <stdlib.h> #include <string.h> #include <errno.h> #include <onyx/worker.h> #include <onyx/scheduler.h> #include <onyx/thread.h> #i...
22.25
79
0.708935
heatd
e365db498c6099afa4cad6311ab653c85460ca15
239
cpp
C++
chapter3/Proj325.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter3/Proj325.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter3/Proj325.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
#include<vector> #include<iostream> using namespace::std; int main() { vector<unsigned> v(11,0); unsigned score; auto it = v.begin(); while(cin>>score) ++*(it + score/10); for(auto &w:v) cout<<w<<" "; cout<<endl; return 0; }
14.058824
26
0.610879
basstal
e3669fd03da8bba8f9fe97c2e9e0c35a0cca2e07
10,556
cpp
C++
lib/BitArray.cpp
kampersanda/cda-tries
9f372f4e004d7f91e387297dfc7a0d2798c82779
[ "MIT" ]
4
2017-09-15T23:53:19.000Z
2021-03-31T02:21:18.000Z
lib/BitArray.cpp
kampersanda/cda-tries
9f372f4e004d7f91e387297dfc7a0d2798c82779
[ "MIT" ]
null
null
null
lib/BitArray.cpp
kampersanda/cda-tries
9f372f4e004d7f91e387297dfc7a0d2798c82779
[ "MIT" ]
2
2020-04-22T23:24:12.000Z
2021-03-01T11:06:52.000Z
#include "BitArray.hpp" namespace { constexpr uint8_t SELECT_TABLE[9][256] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
35.069767
74
0.390678
kampersanda
e36af33ce8839e9f0975f24dc9ad01e5b9f19012
7,772
cpp
C++
blast/src/util/transmissionrw.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/util/transmissionrw.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/util/transmissionrw.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: transmissionrw.cpp 583834 2019-04-02 19:20:44Z sadyrovr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Governm...
25.735099
93
0.636902
mycolab
e36cf94d6f0dfa569ccdf34744f802dd5b933c03
4,572
cpp
C++
src/multimedia/AudioOutObject.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
1
2016-03-26T13:25:08.000Z
2016-03-26T13:25:08.000Z
src/multimedia/AudioOutObject.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
src/multimedia/AudioOutObject.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
#include "AudioOutObject.h" #include "AudioOutObject_p.h" namespace Magna{ namespace MultiMedia{ AudioOutObject & AudioOutObject::getAudioOutObject(){ static AudioOutObject o; return o; } AudioOutObject::AudioOutObject() :m_data( new PrivateData( *this ) ){ } ...
27.709091
129
0.554243
0of
e3717fa7cf16cda5b6a3b951c2a5298affb407ec
5,617
cpp
C++
src/generic_cubic_gadget/generic_cubic_gadget.cpp
AntoineRondelet/libsnark-playground
a67e20379decf42ae4b6189900ff0001e3936fc9
[ "MIT" ]
8
2018-08-31T08:51:30.000Z
2021-05-10T17:30:34.000Z
src/generic_cubic_gadget/generic_cubic_gadget.cpp
AntoineRondelet/libsnark-playground
a67e20379decf42ae4b6189900ff0001e3936fc9
[ "MIT" ]
1
2018-09-03T20:57:49.000Z
2018-09-03T20:57:49.000Z
src/generic_cubic_gadget/generic_cubic_gadget.cpp
AntoineRondelet/libsnark-playground
a67e20379decf42ae4b6189900ff0001e3936fc9
[ "MIT" ]
4
2018-08-31T08:51:33.000Z
2021-04-04T01:56:33.000Z
/* * While the "cubic_gadget" aims to provide a circuit for the statement: * (E) x**3 + x + 5 = 35 * This gadget ("generic_cubic_gagdet") is more generic, and provides a circuit for the statement: * (E') A*x**3 + B*x**2 + C*x + D = E * where, A, B, C, D, and E are fields elements of the field we are working on (Fi...
34.460123
100
0.582339
AntoineRondelet
e3728c5be08255e4dfa725d8da087daeb3de8b98
66,271
cpp
C++
B2G/gecko/js/src/ion/IonCaches.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/js/src/ion/IonCaches.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/js/src/ion/IonCaches.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=4 sw=4 et tw=99: * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #i...
34.002565
117
0.630351
wilebeast
e3747249d8bc1d18aba1920d752546bc0aedd0ac
1,599
hpp
C++
components/scream/src/share/field/field_property_checks/field_upper_bound_check.hpp
ngam/scream
676f7469b9b33120cb0810c3ab8d9a214746286b
[ "BSD-3-Clause" ]
22
2018-12-12T17:44:55.000Z
2022-03-11T03:47:38.000Z
components/scream/src/share/field/field_property_checks/field_upper_bound_check.hpp
ngam/scream
676f7469b9b33120cb0810c3ab8d9a214746286b
[ "BSD-3-Clause" ]
1,440
2018-07-10T16:49:55.000Z
2022-03-31T22:41:25.000Z
components/scream/src/share/field/field_property_checks/field_upper_bound_check.hpp
ngam/scream
676f7469b9b33120cb0810c3ab8d9a214746286b
[ "BSD-3-Clause" ]
24
2018-11-12T15:43:53.000Z
2022-03-30T18:10:52.000Z
#ifndef SCREAM_FIELD_UPPER_BOUND_CHECK_HPP #define SCREAM_FIELD_UPPER_BOUND_CHECK_HPP #include "share/field/field_property_checks/field_within_interval_check.hpp" #include "ekat/util/ekat_math_utils.hpp" namespace scream { // This field property check returns true if all data in a given field are // bounded above b...
34.76087
110
0.74359
ngam
e3779febe31176a42fc57f1b3bd9031e6c082404
1,155
cpp
C++
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Majority_Element/Majority_Element.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Majority_Element/Majority_Element.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Majority_Element/Majority_Element.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
/* A majority element in an array arr of size n is an element that appears more than n/2 times. Example: N = 9, arr = {1, 2, 2, 2, 4, 2, 2, 1, 5} Majority Element = 2 as count[2] = 5 which is greater than n/2 i.e 4 */ #include<bits/stdc++.h> using namespace std; int checkMajorityElement(int arr[], int N) { map<i...
19.25
53
0.548052
rajatenzyme
e37a971eb35e30e821bbcf805c8b0f41d2501931
1,651
cpp
C++
string-test/main.cpp
tsmoreland/cpp-misc
a82b9206bafbf67b8b5bdddab54328e49dacadd6
[ "MIT" ]
null
null
null
string-test/main.cpp
tsmoreland/cpp-misc
a82b9206bafbf67b8b5bdddab54328e49dacadd6
[ "MIT" ]
null
null
null
string-test/main.cpp
tsmoreland/cpp-misc
a82b9206bafbf67b8b5bdddab54328e49dacadd6
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <Windows.h> #include <processenv.h> #include <algorithm> #include <ranges> int main(int argc, char** argv) { if (argc < 2) { std::cout << "insufficient args\n"; } std::string const arg{argv[1]}; std::string env_path{}; env_path.reserve(2048); ...
31.75
126
0.540279
tsmoreland
e37c905fe4d4832904103614d131bce6ec4073b7
14,808
cpp
C++
src/tools.cpp
teamclouday/VkSelfLearn
da9ee713cedcbf9a7f6bb3ae8c8340817b56e2a1
[ "MIT" ]
null
null
null
src/tools.cpp
teamclouday/VkSelfLearn
da9ee713cedcbf9a7f6bb3ae8c8340817b56e2a1
[ "MIT" ]
null
null
null
src/tools.cpp
teamclouday/VkSelfLearn
da9ee713cedcbf9a7f6bb3ae8c8340817b56e2a1
[ "MIT" ]
null
null
null
#include "tools.hpp" extern GLOB_VARS globVar; bool isDeviceSuitable(VkPhysicalDevice device) { QueueFamilyIndices indices = findQueueFamilies(device); bool indiceComplete = indices.graphicsFamilyFound && indices.presentFamilyFound; bool extensionSupport = checkDeviceExtensionSupport(device); bool swa...
42.188034
148
0.761345
teamclouday
e37d586f11df6440712c0b38140276ac072d136c
3,799
cpp
C++
17_2_FEB17/MAKETRI.cpp
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
17_2_FEB17/MAKETRI.cpp
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
17_2_FEB17/MAKETRI.cpp
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define forall(i,a,b) for(int i=a;i<b;i++) #define miN(a,b) ( (a) < (b) ? (a) : (b)) #define maX(a,b) ( (a) > (b) ? (a) : (b)) #define ll long long int #define llu long long unsigned #define mod 1000000007 struct in...
21.833333
65
0.304817
parthlathiya
be6b6527f236cafe21149bc0329c3881d6c0c9c2
864
cpp
C++
EasyCppTest/BsonSerializer.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCppTest/BsonSerializer.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCppTest/BsonSerializer.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include <gtest/gtest.h> #include <Serialize/BsonSerializer.h> using namespace EasyCpp; namespace EasyCppTest { TEST(BsonSerializer, BuildDocument) { Bundle b; b.set("hello", "world"); Serialize::BsonSerializer bson; auto result = bson.serialize(b); ASSERT_EQ(result.size(), 22); ASSERT_EQ(result, std::s...
30.857143
138
0.662037
Thalhammer
be6c4eaf37d60ba75fab79da7107d6dc40176665
1,330
cpp
C++
Hackerrank/Algorithms/Implementation/emas_supercomputer.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
29
2016-09-02T04:48:59.000Z
2016-09-08T18:13:05.000Z
Hackerrank/Algorithms/Implementation/emas_supercomputer.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
2
2016-09-02T05:20:02.000Z
2016-10-13T06:31:31.000Z
Hackerrank/Algorithms/Implementation/emas_supercomputer.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
7
2017-04-01T20:07:03.000Z
2020-10-16T12:28:54.000Z
#include "bits/stdc++.h" using namespace std; # define MOD 1000000007 int main() { int i,j,k,l,m,n,r=0,c=0,ans=0; scanf("%d %d",&n,&m); char a[20][20]; for(i=0;i<n;i++){ for(j=0;j<m;j++){ scanf(" %c",&a[i][j]); } } for (int x = 1; x <= n; x++) { for (int y = 1;y <= m; y++){ int r =...
27.708333
76
0.240602
ritwik1503
be7344d2191bacb706b24cdc4ce662ada7cefe20
33,709
cc
C++
test/service_recorder_test.cc
epgdatacapbon/mirakc-arib
f50851ac1869599e95dcbefe115624b95e8274de
[ "Apache-2.0", "MIT" ]
null
null
null
test/service_recorder_test.cc
epgdatacapbon/mirakc-arib
f50851ac1869599e95dcbefe115624b95e8274de
[ "Apache-2.0", "MIT" ]
null
null
null
test/service_recorder_test.cc
epgdatacapbon/mirakc-arib
f50851ac1869599e95dcbefe115624b95e8274de
[ "Apache-2.0", "MIT" ]
null
null
null
#include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <tsduck/tsduck.h> #include "ring_file_sink.hh" #include "service_recorder.hh" #include "test_helper.hh" namespace { constexpr size_t kNumBuffers = 2; constexpr size_t kNumChunks = 2; constexpr size_t kChunkSize = RingFileSink::kBufferSize ...
38.218821
88
0.531164
epgdatacapbon
be74d9f31957871c5ec0ed8e2688577af6d8c731
3,484
cpp
C++
src/core/parsing/ll1_definition_analyzer.cpp
cxc6922/vegetable_script
e6906cc7c733d217d33537d5d30a94f84f94e956
[ "MIT" ]
null
null
null
src/core/parsing/ll1_definition_analyzer.cpp
cxc6922/vegetable_script
e6906cc7c733d217d33537d5d30a94f84f94e956
[ "MIT" ]
null
null
null
src/core/parsing/ll1_definition_analyzer.cpp
cxc6922/vegetable_script
e6906cc7c733d217d33537d5d30a94f84f94e956
[ "MIT" ]
null
null
null
#include "./ll1_definition_analyzer.h" #include "./ll1_expression_analyzer.h" #include "./ll1_statement_analyzer.h" namespace vegetable_script { bool Ll1DefinitionAnalyzer::Parse(Lexer* lexer, Definition::Ptr* definition, Exception* exception) { return ParseDefinition(lexer, definition, exception); } boo...
30.034483
124
0.641504
cxc6922
be7537cdbac94fb91e2b4b0ab7ef40b6bd78b3c4
1,643
cpp
C++
Algorithms/Dynamic Programming/The Longest Common Subsequence/solution.cpp
kitarp29/ds-algo-solutions
c06effdaec2ff014248ca399268934cd8a639b5a
[ "MIT" ]
48
2020-12-04T17:48:47.000Z
2022-02-26T17:56:52.000Z
Algorithms/Dynamic Programming/The Longest Common Subsequence/solution.cpp
kitarp29/ds-algo-solutions
c06effdaec2ff014248ca399268934cd8a639b5a
[ "MIT" ]
465
2020-12-04T02:12:56.000Z
2021-12-07T16:09:51.000Z
Algorithms/Dynamic Programming/The Longest Common Subsequence/solution.cpp
kitarp29/ds-algo-solutions
c06effdaec2ff014248ca399268934cd8a639b5a
[ "MIT" ]
199
2020-12-04T02:39:56.000Z
2021-12-07T10:10:50.000Z
#include <iostream> #include <algorithm> #include <iterator> #include <vector> using namespace std; #define N 111 // upper bound on n and m int A[N]; int B[N]; int f[N][N]; vector<int> res; //first we're going to create a table which calculates the length of the Largest Common Subsequence which is done in the main() ...
31
136
0.529519
kitarp29
be763134536426ecf7084093584e54cbce837787
343
hpp
C++
cpp/minsk/include/minsk/analysis/binding/nodes/expressions/unary/kind.hpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
null
null
null
cpp/minsk/include/minsk/analysis/binding/nodes/expressions/unary/kind.hpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
1
2022-03-23T03:34:48.000Z
2022-03-24T06:47:30.000Z
cpp/minsk/include/minsk/analysis/binding/nodes/expressions/unary/kind.hpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
null
null
null
#ifndef MINSK_ANALYSIS_BINDING_NODES_EXPRESSIONS_UNARY_KIND_HPP #define MINSK_ANALYSIS_BINDING_NODES_EXPRESSIONS_UNARY_KIND_HPP namespace minsk::analysis::binding { enum class bound_unary_operator_kind { identity, negation, logical_negation, bitwise_negation, }; } #endif // MINSK_ANALYSIS_BINDING_NODES_EXPR...
21.4375
65
0.854227
Phytolizer
be76932b86247e733145e24159a40c3f80deeb2e
13,694
cxx
C++
graalvm/transactions/fork/narayana/blacktie/tx/src/main/cpp/HttpTxManager.cxx
nmcl/wfswarm-example-arjuna-old
c2344f4780cd59caf37dd806e492efe1973ad2ff
[ "Apache-2.0" ]
1
2019-05-23T18:19:26.000Z
2019-05-23T18:19:26.000Z
graalvm/transactions/fork/narayana/blacktie/tx/src/main/cpp/HttpTxManager.cxx
nmcl/scratch
2a068fa6eb2f14c5338a332d3b624d5c91c42c07
[ "Apache-2.0" ]
65
2016-01-24T19:44:46.000Z
2022-02-09T01:00:07.000Z
graalvm/transactions/fork/narayana/blacktie/tx/src/main/cpp/HttpTxManager.cxx
nmcl/wfswarm-example-arjuna
c2344f4780cd59caf37dd806e492efe1973ad2ff
[ "Apache-2.0" ]
1
2019-05-02T14:23:43.000Z
2019-05-02T14:23:43.000Z
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc., and others contributors as indicated * by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishin...
29.13617
114
0.659997
nmcl
be7a877749ef68ad816e2b0d816e9dfc2b1451ee
5,384
cpp
C++
src/ProtocolCompat.cpp
zsalab/ilms7
7b64b450fcb0999f6f3d08c004017e0c3d81aa38
[ "BSD-3-Clause" ]
null
null
null
src/ProtocolCompat.cpp
zsalab/ilms7
7b64b450fcb0999f6f3d08c004017e0c3d81aa38
[ "BSD-3-Clause" ]
null
null
null
src/ProtocolCompat.cpp
zsalab/ilms7
7b64b450fcb0999f6f3d08c004017e0c3d81aa38
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (C) 2004-2011 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistribut...
31.121387
144
0.664747
zsalab
be7c81fda2431801fa41313c1d4a8df4fecbe8bd
4,066
cpp
C++
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
null
null
null
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
null
null
null
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
null
null
null
#include <DB/Storages/MergeTree/SimpleMergeSelector.h> #include <DB/Common/interpolate.h> #include <cmath> namespace DB { namespace { /** Estimates best set of parts to merge within passed alternatives. */ struct Estimator { using Iterator = SimpleMergeSelector::PartsInPartition::const_iterator; void consider...
28.236111
126
0.715691
rudneff
be7df6dd1c4e64c658312aab616f39e541c3669d
571
hpp
C++
libs/plugin/include/sge/plugin/declare_iterator.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/plugin/include/sge/plugin/declare_iterator.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/plugin/include/sge/plugin/declare_iterator.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_PLUGIN_DECLARE_ITERATOR_HPP_INCLUDED #define SGE_PLUGIN_DECLARE_ITERATOR_HPP_INCLUDED ...
35.6875
99
0.789842
cpreh
be7fb5335f3eda9c48d12d50908772b6474463c7
788
cpp
C++
2017.8.12/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.8.12/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.8.12/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<string> #include<cstring> #include<cstdlib> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<queue> #include<map> #include<set> #include<stack> #define ll long long #define read(a) scanf("%d",&a); using namespace std; char s[1010]; int main(){ freopen("test.txt...
16.416667
31
0.572335
1980744819
be86f72bd1f1212dee0c5a70f20d545ed6264096
4,366
cpp
C++
yasc/protector.cpp
ChanJLee/jni-protector
c2673e4ae8c54868f1673c511bb76d96e39dd354
[ "Apache-2.0" ]
null
null
null
yasc/protector.cpp
ChanJLee/jni-protector
c2673e4ae8c54868f1673c511bb76d96e39dd354
[ "Apache-2.0" ]
null
null
null
yasc/protector.cpp
ChanJLee/jni-protector
c2673e4ae8c54868f1673c511bb76d96e39dd354
[ "Apache-2.0" ]
1
2021-07-23T02:51:21.000Z
2021-07-23T02:51:21.000Z
#ifdef __cplusplus extern "C" { #endif const char SO_FILE_VERSION[] __attribute__((section(".bugly_version"))) = "<1.1.0>"; #ifdef __cplusplus } #endif #include <stdlib.h> #include <string.h> #include <jni.h> #include <stdio.h> #include <dirent.h> #include "protector.h" #include <sstream> #include <sys/types.h> #inc...
22.389744
124
0.579936
ChanJLee
be87cf60c0f5f5afdf4cd80fc26190f3f9fb351c
5,623
cpp
C++
config-window.cpp
kmzbrnoI/xn-lib-cpp-qt
176ef47adff3db81c745febb4c8c4d1549199762
[ "Apache-2.0" ]
null
null
null
config-window.cpp
kmzbrnoI/xn-lib-cpp-qt
176ef47adff3db81c745febb4c8c4d1549199762
[ "Apache-2.0" ]
10
2018-10-18T13:31:26.000Z
2021-02-23T20:28:16.000Z
config-window.cpp
kmzbrnoI/xn-lib-cpp-qt
176ef47adff3db81c745febb4c8c4d1549199762
[ "Apache-2.0" ]
null
null
null
#include <QSerialPortInfo> #include <QMessageBox> #include "lib-main.h" /* Implementations of GUI functions from lib-main.h */ namespace Xn { void LibMain::guiInit() { QObject::connect(form.ui.cb_interface_type, SIGNAL(currentIndexChanged(int)), this, SLOT(cb_interface_type_changed(int))); QObject::connect(...
30.394595
99
0.699627
kmzbrnoI
be887f825a7bb0fc8afeb7845cdb25670b291458
4,320
cc
C++
m3/epoll.cc
Barkhausen-Institut/M3-musl
d57e48aa0f99349c8f6e56fdcaea4588c8e858e9
[ "MIT" ]
null
null
null
m3/epoll.cc
Barkhausen-Institut/M3-musl
d57e48aa0f99349c8f6e56fdcaea4588c8e858e9
[ "MIT" ]
null
null
null
m3/epoll.cc
Barkhausen-Institut/M3-musl
d57e48aa0f99349c8f6e56fdcaea4588c8e858e9
[ "MIT" ]
null
null
null
/* * Copyright (C) 2022 Nils Asmussen, Barkhausen Institut * * This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores). * * M3 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Founda...
28.993289
96
0.583102
Barkhausen-Institut
be8addff449010803fd33fbc107d3a0a7504c351
1,730
hpp
C++
apps/MatrixGenerator/TranslationObject.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
13
2015-09-15T17:28:25.000Z
2022-03-22T20:26:47.000Z
apps/MatrixGenerator/TranslationObject.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
apps/MatrixGenerator/TranslationObject.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
9
2015-09-14T20:52:07.000Z
2022-03-08T12:18:18.000Z
/* * TranslationObject.hpp * * Created on: Apr 20, 2017 * Author: scsmdk */ #ifndef TRANSLATIONOBJECT_HPP_ #define TRANSLATIONOBJECT_HPP_ #include <vector> #include <iostream> #include "Coordinates.hpp" #include "Mesh.hpp" #include "pugixml.hpp" namespace TwoDLib { struct Translation { double _v; do...
26.615385
135
0.726012
dekamps
be8decd271b23fec17ea31015c559bfd90c1b25d
4,135
cc
C++
c++-stl/random-number-engines.cc
deyuan/coding-practice
82bdf719397507601e582ab6d5693e4e50e96a3a
[ "MIT" ]
null
null
null
c++-stl/random-number-engines.cc
deyuan/coding-practice
82bdf719397507601e582ab6d5693e4e50e96a3a
[ "MIT" ]
null
null
null
c++-stl/random-number-engines.cc
deyuan/coding-practice
82bdf719397507601e582ab6d5693e4e50e96a3a
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Deyuan Guo. All rights reserved. // This file is subject to the terms and conditions defined // in file 'LICENSE' in this source code package. #include <iostream> #include <random> // Engine: std::random_device // Algorithm: True-RNG if entropy() is non-zero, pseudo-RNG otherwise // Note: Non-de...
40.539216
80
0.58549
deyuan
be9382e0028be1e8abf2be05a94625d75b012b59
1,972
cpp
C++
src/plugins/monocle/plugins/postrus/postrus.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/monocle/plugins/postrus/postrus.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/monocle/plugins/postrus/postrus.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
19.919192
83
0.646552
Maledictus
be9aea33c1dd3e5e41e625280ea311c225213135
752
cpp
C++
engine/calculators/source/RangedPhysicalDamageCalculator.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/calculators/source/RangedPhysicalDamageCalculator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/calculators/source/RangedPhysicalDamageCalculator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "RangedPhysicalDamageCalculator.hpp" RangedPhysicalDamageCalculator::RangedPhysicalDamageCalculator(const PhaseOfMoonType new_pom) : PhysicalDamageCalculator(AttackType::ATTACK_TYPE_RANGED, new_pom) { } int RangedPhysicalDamageCalculator::get_statistic_based_damage_modifier(CreaturePtr attacking_creature) { ...
25.931034
103
0.785904
sidav
be9c5052b288578c0fc376c780e021103f05883e
285
hpp
C++
include/flexui/Layout/TextLayoutObject.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
23
2020-12-20T01:41:56.000Z
2021-11-14T20:26:40.000Z
include/flexui/Layout/TextLayoutObject.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
2
2020-12-23T16:29:55.000Z
2021-11-29T05:35:12.000Z
include/flexui/Layout/TextLayoutObject.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
4
2020-12-23T16:02:25.000Z
2021-09-30T08:37:51.000Z
#pragma once #include "flexui/Layout/LayoutObject.hpp" namespace flexui { class Text; class TextLayoutObject : public LayoutObject { public: TextLayoutObject(Text* text); ~TextLayoutObject(); Text* getTextNode() const { return m_Text; } private: Text* m_Text; }; }
13.571429
47
0.708772
mlomb
be9fe7b42a35e45684e70f7b6325144722d5bcf5
967
hpp
C++
algorithms/p475/475.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
9
2017-06-05T15:10:35.000Z
2021-06-08T03:10:46.000Z
algorithms/p475/475.hpp
baishuai/leetcode
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
3
2017-07-12T14:08:39.000Z
2017-10-11T03:08:15.000Z
algorithms/p475/475.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
1
2017-07-21T03:51:51.000Z
2017-07-21T03:51:51.000Z
#ifndef LEETCODE_475_HPP #define LEETCODE_475_HPP #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <unordered_map> #include <unordered_set> #include <set> #include <numeric> #include <stack> #include <string> using namespace std; class Solution { public: int findRadius(vector...
24.794872
75
0.567735
baishuai
bea22392664416aacba57e1ec2c161350ba0766a
2,751
hpp
C++
back/project2/include/ast_terminal.hpp
wht-github/CS323-Compilers
d49c8e61f17b18503504d11e0eca58b1f89997c4
[ "MIT" ]
null
null
null
back/project2/include/ast_terminal.hpp
wht-github/CS323-Compilers
d49c8e61f17b18503504d11e0eca58b1f89997c4
[ "MIT" ]
null
null
null
back/project2/include/ast_terminal.hpp
wht-github/CS323-Compilers
d49c8e61f17b18503504d11e0eca58b1f89997c4
[ "MIT" ]
null
null
null
#ifndef AST_TERMINAL_HPP #define AST_TERMINAL_HPP #include "ast.hpp" #include <string> #include <iostream> class Terminal : public Base { public: std::string symbol; Terminal(const std::string &_symbol) : symbol(_symbol) {} virtual void print(int idt = 0) const { for (int i = 0; i < idt...
20.377778
76
0.519084
wht-github
bea449ef8b9f73d67cc1795b47b70625c93d379d
2,361
cpp
C++
src/common.cpp
psg-mit/leto
e39312e33a309df6dd01c70a170926aa4ecaabfb
[ "MIT" ]
null
null
null
src/common.cpp
psg-mit/leto
e39312e33a309df6dd01c70a170926aa4ecaabfb
[ "MIT" ]
null
null
null
src/common.cpp
psg-mit/leto
e39312e33a309df6dd01c70a170926aa4ecaabfb
[ "MIT" ]
null
null
null
#include "common.h" z3::expr* binop(z3::context* context, operator_t op, type_t type, z3::expr* lhs, z3::expr* rhs) { Z3_ast rm = Z3_mk_fpa_rne(*context); z3::expr *res = nullptr; switch (op) { case RPLUS: case OPLUS: switch (type) { ...
23.147059
66
0.466751
psg-mit
bea5412932ae445664a243bc6db51fb808638852
616
hpp
C++
Code/Engine/Math/RigidBodyBucket.hpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
1
2021-01-25T23:53:44.000Z
2021-01-25T23:53:44.000Z
Code/Engine/Math/RigidBodyBucket.hpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
null
null
null
Code/Engine/Math/RigidBodyBucket.hpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
1
2021-01-25T23:53:46.000Z
2021-01-25T23:53:46.000Z
//------------------------------------------------------------------------------------------------------------------------------ #pragma once #include <vector> #include "Engine/Math/PhysicsTypes.hpp" //---------------------------------------------------------------------------------------------------------------------...
36.235294
128
0.287338
pronaypeddiraju
bea5eee63b0ceec1509be64925c74c24d88fb744
1,964
cpp
C++
toonz/sources/tnztools/inputstate.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
36
2020-05-18T22:26:35.000Z
2022-02-19T00:09:25.000Z
toonz/sources/tnztools/inputstate.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
16
2020-05-14T17:51:08.000Z
2022-02-11T01:49:38.000Z
toonz/sources/tnztools/inputstate.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
8
2020-06-12T17:01:20.000Z
2021-09-15T07:03:12.000Z
#include <tools/inputstate.h> //***************************************************************************************** // TKey static members //***************************************************************************************** const TKey TKey::shift(Qt::Key_Shift, true); const TKey TKey::control(Qt::Ke...
28.057143
91
0.535642
morevnaproject-org
bea71ffa482ff76d6c4ef7897f0d4ce830dc5fa1
34,635
cc
C++
test/TestStratum.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
null
null
null
test/TestStratum.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
null
null
null
test/TestStratum.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
1
2021-11-05T08:36:28.000Z
2021-11-05T08:36:28.000Z
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
35.269857
99
0.640739
vpashka
beb0d6ff680cac5f823633fd8fed15abceef505f
1,556
cc
C++
physicalrobots/player/client_libs/libplayerc++/test/test_speech.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/client_libs/libplayerc++/test/test_speech.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/client_libs/libplayerc++/test/test_speech.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* * Player - One Hell of a Robot Server * Copyright (C) Andrew Howard 2003 * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at y...
23.223881
77
0.705013
parasol-ppl
beb0e6d6183bbf6bb8da617438c661f83e3ccafe
1,691
cpp
C++
BZOJ/4896.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
BZOJ/4896.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
BZOJ/4896.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> #include <vector> using namespace std; typedef long long lint; #define ni (next_num<int>()) #define nl (next_num<lint>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool flag=c...
18.182796
64
0.583678
sshockwave
beb86b042dc547fbe7ac9c8cc6a4a39888c5251a
6,646
cpp
C++
Common/utils/iStyle/ASResource.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/utils/iStyle/ASResource.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/utils/iStyle/ASResource.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
// $Id: ASResource.cpp,v 1.2 2004/02/04 07:35:10 devsolar Exp $ // -------------------------------------------------------------------------- // // Copyright (c) 1998,1999,2000,2001,2002 Tal Davidson. All rights reserved. // // compiler_defines.h // by Tal Davidson (davidsont@bigfoot.com) // // This file is a part of "...
43.437908
84
0.671532
testdrive-profiling-master
beb879e76be433f8d05e2a88d7fabb47b17c7273
13,202
cpp
C++
example/FieldContainer/example_01.cpp
Sandia2014/intrepid
9a310ddc033da1dda162a09bf80cca6c2dde2d6b
[ "MIT" ]
null
null
null
example/FieldContainer/example_01.cpp
Sandia2014/intrepid
9a310ddc033da1dda162a09bf80cca6c2dde2d6b
[ "MIT" ]
null
null
null
example/FieldContainer/example_01.cpp
Sandia2014/intrepid
9a310ddc033da1dda162a09bf80cca6c2dde2d6b
[ "MIT" ]
null
null
null
// @HEADER // ************************************************************************ // // Intrepid Package // Copyright (2007) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of the ...
41.127726
196
0.522269
Sandia2014
beba7f22985606f3d10d46aa8181f390f0d1d17c
6,940
hpp
C++
src/si_derived.hpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
src/si_derived.hpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
src/si_derived.hpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
#pragma once /// @file si_derived.hpp /// @brief Derived SI units #include "si_base.hpp" #include <utility> namespace Si { /// @brief Derived SI units namespace Derived { /// @tparam T Any number type such as float, double or long double used as a /// container template <typename T> using Hertz = decltype(std::declv...
38.131868
80
0.692507
DarthPigrum
bebb061abaa5720627f10a235f9cc4065b56a1fb
4,500
cpp
C++
rviz-groovy-devel/src/test/fun_display.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
9
2017-12-17T07:43:15.000Z
2021-10-10T15:03:39.000Z
rviz-groovy-devel/src/test/fun_display.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
null
null
null
rviz-groovy-devel/src/test/fun_display.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
6
2016-01-27T03:40:58.000Z
2021-06-15T08:12:14.000Z
/* * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
32.608696
119
0.677778
tuw-cpsg
bebcf0902de4b69fe2a506c8136d4c024ee247d5
3,274
cpp
C++
Source/Array-1-RemoveDups.cpp
KarateSnoopy/LeetCodeSubmissions
6da0c71e4104a43aea7a5029597685739b9f31b2
[ "MIT" ]
null
null
null
Source/Array-1-RemoveDups.cpp
KarateSnoopy/LeetCodeSubmissions
6da0c71e4104a43aea7a5029597685739b9f31b2
[ "MIT" ]
null
null
null
Source/Array-1-RemoveDups.cpp
KarateSnoopy/LeetCodeSubmissions
6da0c71e4104a43aea7a5029597685739b9f31b2
[ "MIT" ]
null
null
null
// LeetCode.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include <iostream> //int x = input[inputSize - 1]; //for (int i = inputSize - 1; i > 0; i--) //{ // input[i] = input[i - 1]; //} //input[0] = x; //while (numsSize > 0) //{ // numsSize -= 1; //}...
21.682119
101
0.442578
KarateSnoopy
bec3cdfdc085fb7a2f2997c3cc209c5ba9794212
410
cc
C++
src/tools/hot_backup/sync_fault_state.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
3
2021-08-18T09:59:42.000Z
2021-09-07T03:11:28.000Z
src/tools/hot_backup/sync_fault_state.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
src/tools/hot_backup/sync_fault_state.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
#include "sync_fault_state.h" FaultState::FaultState(SyncStateManager* pSyncStateManager) : SyncStateBase() { m_pSyncStateManager = pSyncStateManager; } FaultState::~FaultState() { } void FaultState::Enter() { log_error("Here is ErrorState"); } void FaultState::Exit() { // do nothing } void FaultS...
14.137931
59
0.682927
jdisearch
bec528bdccaf409b043f71101ac596fdadec3888
1,431
hpp
C++
nd-coursework/books/cpp/C++MoveSemantics/basics/card.hpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++MoveSemantics/basics/card.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++MoveSemantics/basics/card.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2020 by Nicolai Josuttis. All rights reserved. // Licensed under the CCA-4.0 International License. See the LICENSE file in the project root for more information. // // Name: card.hpp // Author: crdrisko // Date: 08/08/2021-07:22:39 // Description: A class for the cards of a card game where each object...
31.8
115
0.621244
crdrisko
bec673d7073fe18807d852a87afb6c56bc84cb75
2,024
hpp
C++
code/source/util/parallel_buffer.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/util/parallel_buffer.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/util/parallel_buffer.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_UTIL_PARALLEL_BUFFER_HPP #define CLOVER_UTIL_PARALLEL_BUFFER_HPP #include "build.hpp" #include "hardware/clstate.hpp" namespace clover { namespace visual { /// @todo Shouldn't be in util >:( class BaseVertexArrayObject; class Framebuffer; class Texture; } // visual namespace util { class ParallelQue...
25.620253
97
0.755435
crafn
bec90fa1a37ccc0f1313f73c188b4b4ca7998b28
328
cpp
C++
crack project/Keygen/1.2.cpp
IceIce1ce/Crack-project
4bb3b35aad9efa5ff6f41886dc0f5efc169a44de
[ "MIT" ]
null
null
null
crack project/Keygen/1.2.cpp
IceIce1ce/Crack-project
4bb3b35aad9efa5ff6f41886dc0f5efc169a44de
[ "MIT" ]
null
null
null
crack project/Keygen/1.2.cpp
IceIce1ce/Crack-project
4bb3b35aad9efa5ff6f41886dc0f5efc169a44de
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int id; cout << "Enter number from 0 to 9999: "; cin >> id; int serial = 0; serial += id + 76 + 1 + 907; serial += serial; serial *= 3; serial -= 1; cout << "Serial: "<< serial << endl; system("pause"); retu...
19.294118
45
0.496951
IceIce1ce
bed3fd7ab77b0348ee635ae3c37007cd43ebd1be
920
cpp
C++
FFmpegMediaCodecDemo/app/src/main/cpp/player_main.cpp
xhunmon/AFPlayer
ded67bb09e1606e7b105b5d1a8cec1e6ccda9b75
[ "Apache-2.0" ]
11
2021-01-30T01:52:20.000Z
2022-01-23T19:19:03.000Z
FFmpegMediaCodecDemo/app/src/main/cpp/player_main.cpp
xhunmon/AFPlayer
ded67bb09e1606e7b105b5d1a8cec1e6ccda9b75
[ "Apache-2.0" ]
null
null
null
FFmpegMediaCodecDemo/app/src/main/cpp/player_main.cpp
xhunmon/AFPlayer
ded67bb09e1606e7b105b5d1a8cec1e6ccda9b75
[ "Apache-2.0" ]
3
2021-07-24T16:17:27.000Z
2021-12-14T08:43:55.000Z
#include <jni.h> #include <string> extern "C"{ #include "libavcodec/jni.h" } #include "core/hw_mediacodec.h" extern "C" JNIEXPORT jstring JNICALL Java_com_xhunmon_ffmpegmediacodecdemo_core_Player_getFFVersion(JNIEnv *env, jobject type) { return env->NewStringUTF(av_version_info()); } extern "C" JNIEXPORT void JNI...
29.677419
106
0.711957
xhunmon
bed523490f6d089862452166226f5b9b085e44cc
2,691
cpp
C++
cpp/cpp_libs/src/pcl_icp.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
cpp/cpp_libs/src/pcl_icp.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
cpp/cpp_libs/src/pcl_icp.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
/** * @file pcl_icp.cpp * @author Maximilian Harr <maximilian.harr@daimler.com> * @date 22.04.2017 * * @brief Point cloud library [http://www.pointclouds.org/] * Comes with ROS [http://wiki.ros.org/pcl/] * ICP (Iterative Closest Point) Tutorial [ http://pointclouds.org/documentation/tutorials/iter...
35.407895
128
0.622445
maximilianharr
bede311bcd84c89fdf5538666aed61f014d642c4
5,855
cpp
C++
source/lib/memory/mmu_factory.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/memory/mmu_factory.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/memory/mmu_factory.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
#include "lib/memory/mmu_factory.hpp" // Initial values come from the Gambatte source code // https://github.com/sinamas/gambatte/blob/master/libgambatte/src/initstate.cpp namespace gb_lib { MMU* MMUFactory::create(uint8_t* rom, uint32_t romSize, DMAMediator* dmaMediator, DMAMediator* hdmaMediator, MemorySpace* tim...
42.122302
186
0.641674
olduf