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
e3bb27a4cdd7a4e50c8b9e2c0789a40e4d550080
1,538
cpp
C++
ScreenBuffer.cpp
TmCrafz/TetrisTerminal
1d527f068b356aafefeeffd669f61102cd7421c5
[ "MIT" ]
1
2021-03-16T13:54:52.000Z
2021-03-16T13:54:52.000Z
ScreenBuffer.cpp
TmCrafz/QuadrisTerminal
1d527f068b356aafefeeffd669f61102cd7421c5
[ "MIT" ]
null
null
null
ScreenBuffer.cpp
TmCrafz/QuadrisTerminal
1d527f068b356aafefeeffd669f61102cd7421c5
[ "MIT" ]
null
null
null
#include "ScreenBuffer.h" using namespace std; ScreenBuffer::ScreenBuffer(const int screenWidth, const int screenHeight): m_BufferHeight(screenHeight), m_BufferWidth(screenWidth), // Allocate the memory for the 2d array m_screenBuffer(new char *[m_BufferHeight]) { for (int i = 0; i != m_BufferHeight; i++) { m_scr...
18.53012
77
0.650845
TmCrafz
e3bcf4734063d93fd38fa42a924716d708151ee6
1,037
cpp
C++
src/test/02_memory/main.cpp
Ubpa/USTL
89acf7dbcb747d014516e7c67d632bbece22a184
[ "MIT" ]
1
2020-10-15T06:58:25.000Z
2020-10-15T06:58:25.000Z
src/test/02_memory/main.cpp
Ubpa/USTL
89acf7dbcb747d014516e7c67d632bbece22a184
[ "MIT" ]
null
null
null
src/test/02_memory/main.cpp
Ubpa/USTL
89acf7dbcb747d014516e7c67d632bbece22a184
[ "MIT" ]
1
2020-10-15T06:58:27.000Z
2020-10-15T06:58:27.000Z
#include <USTL/memory.h> #include <iostream> using namespace Ubpa::USTL; using namespace std; #include <memory> #include <map> #include <unordered_map> class A { public: virtual ~A() = default; float x, y; }; class B : public A { public: float z, w; }; int main() { { // shared shared_object<A> so0; share...
23.044444
95
0.648023
Ubpa
e3bdf25943a1aa35fc3e64d3c83ed601106d89b8
4,107
cc
C++
gitiles_test.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
2
2015-10-05T10:30:14.000Z
2018-09-10T05:35:04.000Z
gitiles_test.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
1
2015-10-04T16:58:10.000Z
2015-10-18T08:53:04.000Z
gitiles_test.cc
dancerj/gitlstreefs
f5eca366643a47814d3a12bc458e64a6a093e315
[ "BSD-3-Clause" ]
1
2015-09-28T04:25:20.000Z
2015-09-28T04:25:20.000Z
#include "base64decode.h" #include "jsonparser.h" #include "strutil.h" #include <assert.h> #include <fcntl.h> #include <sys/stat.h> #include <functional> #include <iostream> #include <memory> #include <string> // This returns base64 data in text format. // https://chromium.googlesource.com/chromiumos/third_party/ker...
35.405172
117
0.654005
dancerj
e3be0f5447d30f9fa2dd4edb10f1d1152c0dcb77
754
cpp
C++
geeksforgeeks/Subarray with given sum.cpp
him1411/algorithmic-coding-and-data-structures
685aa95539692daca68ce79c20467c335aa9bb7f
[ "MIT" ]
null
null
null
geeksforgeeks/Subarray with given sum.cpp
him1411/algorithmic-coding-and-data-structures
685aa95539692daca68ce79c20467c335aa9bb7f
[ "MIT" ]
null
null
null
geeksforgeeks/Subarray with given sum.cpp
him1411/algorithmic-coding-and-data-structures
685aa95539692daca68ce79c20467c335aa9bb7f
[ "MIT" ]
2
2018-10-04T19:01:52.000Z
2018-10-05T08:49:57.000Z
using namespace std; int main() { int t; cin>>t; while(t--) { int n,sum=0; cin>>n>>sum; vector<int> v(n,0); for(int i=0;i<n;i++) { cin>>v[i]; } int cursum=v[0],start=0; int flag =1; for(int i =1;i<=n;i++) { ...
19.333333
45
0.298408
him1411
e3bf9705ca79ecc27135a90b6f6aa53e5bd1ed6a
10,125
cpp
C++
Cbc/Cbc/examples/sample5.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/examples/sample5.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/examples/sample5.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
// $Id: sample5.cpp 2469 2019-01-06 23:17:46Z unxusr $ // Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #include "CbcConfig.h" #include "CoinPragma.hpp" #include <cassert> #include <io...
32.451923
98
0.660346
fadi-alkhoury
e3c1816d91d7faa2bcf93f381ed482e9d6bc7388
15,427
hpp
C++
Siv3D/include/Siv3D/Image.hpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Image.hpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Image.hpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <memory.h> # include "...
20.113429
106
0.586504
azaika
e3c4285bb9425bbeb1007299cd46aba3dc459ba1
1,832
hpp
C++
src/base/factory/AtmosphereFactory.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
1
2020-05-16T16:58:21.000Z
2020-05-16T16:58:21.000Z
src/base/factory/AtmosphereFactory.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
src/base/factory/AtmosphereFactory.hpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
//$Id: AtmosphereFactory.hpp 10639 2012-07-12 15:21:10Z djcinsb $ //------------------------------------------------------------------------------ // AtmosphereFactory //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Co...
28.625
81
0.582969
ddj116
e3c97f8161e298fb2458320d4cc636c60bc72d30
672
cpp
C++
Medusa/Medusa/Game/Settings/IJsonGameClientSettings.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2019-04-22T09:09:50.000Z
2019-04-22T09:09:50.000Z
Medusa/Medusa/Game/Settings/IJsonGameClientSettings.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
null
null
null
Medusa/Medusa/Game/Settings/IJsonGameClientSettings.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2021-06-30T14:08:03.000Z
2021-06-30T14:08:03.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "IJsonGameClientSettings.h" MEDUSA_BEGIN; IJsonGameClientSettings::IJsonGameClientSettings(const FileIdRef& fileId) { } IJs...
17.684211
73
0.784226
JamesLinus
e3ca57227dce7f550a974332d997d4e6a380c9d8
1,664
hpp
C++
src/winthread.hpp
leavinel/BPG-Plugins
1a017906bc1162779b95967f034d3b83bb730359
[ "MIT" ]
21
2015-09-09T13:45:08.000Z
2021-11-24T05:56:00.000Z
src/winthread.hpp
leavinel/bpg_plugins
1a017906bc1162779b95967f034d3b83bb730359
[ "MIT" ]
9
2015-11-23T12:46:36.000Z
2017-12-18T09:50:26.000Z
src/winthread.hpp
leavinel/bpg_plugins
1a017906bc1162779b95967f034d3b83bb730359
[ "MIT" ]
1
2017-01-23T23:38:33.000Z
2017-01-23T23:38:33.000Z
/** * @file * * * @author Leav Wu (leavinel@gmail.com) */ #ifndef _WINTHREAD_HPP_ #define _WINTHREAD_HPP_ #include <windows.h> #include <list> #include <functional> /** * Subset of windows thread synchronization C++ wrapper */ namespace winthread { /** * Wrapper of windows HANDLE */ class handle { protect...
13.528455
81
0.59976
leavinel
e3ca99b624052f24f397568dc621e294be99c1b5
23,102
hh
C++
Core/MarchingCubes.hh
ThibaultReuille/raindance
79f1f6aeeaf6cbe378e911cd510e6550ae34eb75
[ "BSD-2-Clause" ]
12
2015-01-15T03:30:10.000Z
2022-02-24T21:25:29.000Z
Core/MarchingCubes.hh
ThibaultReuille/raindance
79f1f6aeeaf6cbe378e911cd510e6550ae34eb75
[ "BSD-2-Clause" ]
1
2017-06-06T15:39:21.000Z
2017-06-06T15:39:21.000Z
Core/MarchingCubes.hh
ThibaultReuille/raindance
79f1f6aeeaf6cbe378e911cd510e6550ae34eb75
[ "BSD-2-Clause" ]
4
2015-07-02T22:06:56.000Z
2022-02-24T21:25:30.000Z
#pragma once #include <raindance/Core/Headers.hh> static int g_EdgeTable[256]= { 0x0 , 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c, 0x80c, 0x905, 0xa0f, 0xb06, 0xc0a, 0xd03, 0xe09, 0xf00, 0x190, 0x99 , 0x393, 0x29a, 0x596, 0x49f, 0x795, 0x69c, 0x99c, 0x895, 0xb9f, 0xa96, 0xd9a, 0xc93, 0xf99, 0xe90, 0x230, 0...
45.928429
182
0.407194
ThibaultReuille
e3cd0ee0048780f429888ecae49256d4ef095d7c
3,856
hpp
C++
include/UnityEngine/EventSystems/AxisEventData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/EventSystems/AxisEventData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/EventSystems/AxisEventData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.EventSystems.BaseEventData #include "UnityEngine/EventSyst...
51.413333
170
0.741961
darknight1050
e3d8a7ea15e6304f260f358d216549c0884bc5d7
53,201
cc
C++
components/exo/shell_surface_base.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/exo/shell_surface_base.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/exo/shell_surface_base.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2015 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/exo/shell_surface_base.h" #include <algorithm> #include "ash/frame/custom_frame_view_ash.h" #include "ash/public/cpp/config.h" #inc...
32.678747
80
0.679442
zipated
e3d8ca87b7ffd8735aa24d0b5e6d7f87e6cae262
5,434
cc
C++
drivers/bluetooth/lib/l2cap/pdu.cc
kong1191/garnet
609c727895e477ac086db38c1cee654dc10f2008
[ "BSD-3-Clause" ]
null
null
null
drivers/bluetooth/lib/l2cap/pdu.cc
kong1191/garnet
609c727895e477ac086db38c1cee654dc10f2008
[ "BSD-3-Clause" ]
null
null
null
drivers/bluetooth/lib/l2cap/pdu.cc
kong1191/garnet
609c727895e477ac086db38c1cee654dc10f2008
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "pdu.h" #include "garnet/drivers/bluetooth/lib/common/log.h" #include "garnet/drivers/bluetooth/lib/hci/acl_data_packet.h" namespace btlib { nam...
29.215054
78
0.667464
kong1191
e3deaf89af220730a8d634c149ac01b7ac64f888
1,215
cpp
C++
SPOJ/BLINNET.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
SPOJ/BLINNET.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
SPOJ/BLINNET.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define F first #define S second const int MAX = 10001; vector< pair< int, pair<int , int > > > adj; int parent[MAX]; int find(int u); int main() { int t; cin >> t; while(t--) { int n; cin >> n; adj.clear(); ...
17.608696
51
0.33251
Alipashaimani
e3df2d2d575b18eab4fb98cd299cba8372dc9e0a
860
cpp
C++
ProfilerHost/MetadataRegistry.cpp
varunramc/clr-profiling
461a9dc834ad2791c0889a7ec843674a2be2b47c
[ "MIT" ]
8
2018-03-27T09:35:23.000Z
2022-01-31T06:26:04.000Z
ProfilerHost/MetadataRegistry.cpp
varunramc/clr-profiling
461a9dc834ad2791c0889a7ec843674a2be2b47c
[ "MIT" ]
1
2018-08-07T11:00:26.000Z
2020-04-04T12:38:23.000Z
ProfilerHost/MetadataRegistry.cpp
varunramc/clr-profiling
461a9dc834ad2791c0889a7ec843674a2be2b47c
[ "MIT" ]
4
2018-10-11T17:43:49.000Z
2021-06-23T06:58:58.000Z
#include "stdafx.h" #include "MetadataRegistry.h" MetadataRegistry::MetadataRegistry() : tokenCounter(0) { } MetadataRegistry::~MetadataRegistry() { } MethodMetadata MetadataRegistry::RegisterMethod( std::wstring assemblyName, std::wstring typeName, std::wstring signature) { MethodMetadata metada...
23.243243
105
0.739535
varunramc
e3df90b8594e87e4a78002e94de2534eda4f5abc
1,368
cpp
C++
src/Users/User.cpp
DoStini/FEUP-AEDA-proj
ccd23c1aba4f041ea09cc5f5d75d555d8c1a591a
[ "MIT" ]
null
null
null
src/Users/User.cpp
DoStini/FEUP-AEDA-proj
ccd23c1aba4f041ea09cc5f5d75d555d8c1a591a
[ "MIT" ]
4
2021-01-22T09:26:24.000Z
2021-02-18T09:57:11.000Z
src/Users/User.cpp
DoStini/FEUP-AEDA-proj
ccd23c1aba4f041ea09cc5f5d75d555d8c1a591a
[ "MIT" ]
null
null
null
// // Created by andre on 10/17/2020. // #include "User.h" #include "InvalidPassword.h" #include "StreamZ.h" #include <utility> #include "StreamZ.h" User::User( std::string name, std::string nickName,std::string password, const Date &birthDate) : name(std::move(name)), nickName(std::move(nickName)),passw...
20.117647
118
0.682749
DoStini
e3e26925d34bd5cffa298f585bdd1bb7138735d7
976
cpp
C++
sources/2020/2020_25.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
2
2021-02-01T13:19:37.000Z
2021-02-25T10:39:46.000Z
sources/2020/2020_25.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
sources/2020/2020_25.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
#include "2020_24.h" namespace Day25_2020 { uintmax_t find_loop_size(uintmax_t key) { uintmax_t v = 1; uintmax_t sn = 7; uintmax_t i = 0; while (1) { v = (v * sn) % 20201227; i++; if (v == key) return i; } } uintmax_t calculate(uintmax_t key, uintmax_t loop) { uintmax_t v = 1; for (u...
20.765957
82
0.671107
tbielak
e3e395994946d108f173b5a54682b69d9c3f8233
10,552
cpp
C++
sources/apps/sample_apps/deepstream-transfer-learning-app/capture_time_rules.cpp
mdegans/deepstream-5.1
0e3a0bf4aab4bc957f73749d7b8e93c25f384360
[ "Apache-2.0" ]
2
2021-09-01T00:45:33.000Z
2021-09-01T23:47:58.000Z
sources/apps/sample_apps/deepstream-transfer-learning-app/capture_time_rules.cpp
mdegans/deepstream-5.1
0e3a0bf4aab4bc957f73749d7b8e93c25f384360
[ "Apache-2.0" ]
1
2022-01-07T05:38:17.000Z
2022-01-07T05:38:17.000Z
xcore/dsx/ds51/sample_apps/deepstream-transfer-learning-app/capture_time_rules.cpp
baidu-research/hydra-gocean
bbf7e749a995160cf19fe6c91fc06b3cc6f4a8ca
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * * 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...
37.024561
102
0.589367
mdegans
e3e71ac9a0114c2d0e799298dbaf28d42e4e8ffc
3,205
cpp
C++
bindings/python/src/OpenSpaceToolkitAstrodynamicsPy/Trajectory/Orbit/Model.cpp
oygx210/open-space-toolkit-astrodynamics
81b76d78bbe76719a34801778d4fb685cc67648f
[ "Apache-2.0" ]
13
2020-05-11T02:22:15.000Z
2022-01-27T09:42:18.000Z
bindings/python/src/OpenSpaceToolkitAstrodynamicsPy/Trajectory/Orbit/Model.cpp
oygx210/open-space-toolkit-astrodynamics
81b76d78bbe76719a34801778d4fb685cc67648f
[ "Apache-2.0" ]
10
2018-09-11T05:27:04.000Z
2020-01-06T03:48:28.000Z
bindings/python/src/OpenSpaceToolkitAstrodynamicsPy/Trajectory/Orbit/Model.cpp
open-space-collective/open-space-toolkit-astrodynamics
d709f5237f25e5ef40eafa5f87e39c00b8acbae1
[ "Apache-2.0" ]
4
2020-03-05T18:19:03.000Z
2021-06-24T04:25:05.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Astrodynamics /// @file bindings/python/src/OpenSpaceToolkitAstrodynamicsPy/Trajectory/Orbit/Model.cpp /// ...
53.416667
161
0.516381
oygx210
e3e8449efe48fa22a9cd1a203b74a038aa07f0e8
3,405
cpp
C++
torch_mlu/csrc/aten/operators/cnnl/internal/linspace_internal.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
20
2022-03-01T11:40:51.000Z
2022-03-30T08:17:47.000Z
torch_mlu/csrc/aten/operators/cnnl/internal/linspace_internal.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
torch_mlu/csrc/aten/operators/cnnl/internal/linspace_internal.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
/* All modification made by Cambricon Corporation: © 2022 Cambricon Corporation All rights reserved. All other contributions: Copyright (c) 2014--2022, the respective contributors All rights reserved. For the list of contributors go to https://github.com/pytorch/pytorch/graphs/contributors Redistribution and use in sou...
42.5625
91
0.717768
Cambricon
e3ece2fa5b3d964b1099df00f727e4f6ac9163c0
557
hpp
C++
B-OOP-400-LYN-4-1-tekspice/include/Tools.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
2
2022-02-07T12:44:51.000Z
2022-02-08T12:04:08.000Z
B-OOP-400-LYN-4-1-tekspice/include/Tools.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
null
null
null
B-OOP-400-LYN-4-1-tekspice/include/Tools.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
1
2022-01-23T21:26:06.000Z
2022-01-23T21:26:06.000Z
#ifndef _TOOLS_HPP_ #define _TOOLS_HPP_ #include <iostream> #include <sstream> #include <string> #include <fstream> class Tools { public: Tools(); ~Tools(); std::string f_line(std::string, int); int f_count(std::string); ...
21.423077
49
0.518851
Neotoxic-off
e3ef5e373754de7dba0179cef669d8f43bdf3d59
1,823
hpp
C++
src/engine/processing/PoissonFiller.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
399
2019-05-25T16:05:59.000Z
2022-03-31T23:38:04.000Z
src/engine/processing/PoissonFiller.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
3
2019-07-23T21:03:33.000Z
2020-12-14T12:47:51.000Z
src/engine/processing/PoissonFiller.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
20
2019-06-08T17:15:01.000Z
2022-03-21T11:20:14.000Z
#pragma once #include "processing/ConvolutionPyramid.hpp" #include "graphics/Framebuffer.hpp" #include "resources/ResourcesManager.hpp" #include "Common.hpp" /** \brief Solve a membrane interpolation ("Poisson filling") problem, using a filter as described in Convolution Pyramids, Farbman et al., 2011. \ingroup Proces...
36.46
141
0.740538
kosua20
e3f10b43fdc0dce476b1427b56e9596d234c78db
4,139
cpp
C++
src/task/search/bfs/BFSTaskRMAFetch.cpp
kilel/DGraphMark
e88418340b303434ccc75cd4079115e8d42fbeb5
[ "Apache-2.0" ]
1
2016-06-17T20:19:34.000Z
2016-06-17T20:19:34.000Z
src/task/search/bfs/BFSTaskRMAFetch.cpp
kilel/DGraphMark
e88418340b303434ccc75cd4079115e8d42fbeb5
[ "Apache-2.0" ]
null
null
null
src/task/search/bfs/BFSTaskRMAFetch.cpp
kilel/DGraphMark
e88418340b303434ccc75cd4079115e8d42fbeb5
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Kislitsyn Ilya * * 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 la...
27.593333
90
0.691955
kilel
e3f35bc6e91ca715d3671d61861844c681de74c2
2,109
cxx
C++
main/i18npool/source/transliteration/chartonum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/i18npool/source/transliteration/chartonum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/i18npool/source/transliteration/chartonum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.57377
82
0.734471
Grosskopf
e3fb06bd2f5686d0a607795eb0aebd6a461cff00
12,341
cpp
C++
Src/MainLib/ExtensionFunctionWrapper.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
468
2015-04-13T19:03:57.000Z
2022-03-23T00:11:24.000Z
Src/MainLib/ExtensionFunctionWrapper.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
12
2015-05-25T11:15:21.000Z
2020-10-26T02:46:50.000Z
Src/MainLib/ExtensionFunctionWrapper.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
67
2015-04-22T13:22:48.000Z
2022-03-05T01:11:02.000Z
/*============================================================================= GLIntercept - OpenGL intercept/debugging tool Copyright (C) 2011 Damian Trebilco Licensed under the MIT license - See Docs\license.txt for details. =============================================================================*/ #inc...
32.734748
132
0.704481
vinjn
e3feed3e7e64309efcf1cac87b03a060c0ee7d56
2,004
hpp
C++
core/base/log.hpp
bartbalaz/gentroller
b40c4fb5661619e9540f0d4b88f6f22aafb9156c
[ "BSD-3-Clause" ]
null
null
null
core/base/log.hpp
bartbalaz/gentroller
b40c4fb5661619e9540f0d4b88f6f22aafb9156c
[ "BSD-3-Clause" ]
null
null
null
core/base/log.hpp
bartbalaz/gentroller
b40c4fb5661619e9540f0d4b88f6f22aafb9156c
[ "BSD-3-Clause" ]
null
null
null
#ifndef BX_LOG_HPP #define BX_LOG_HPP #include <string> #include <vector> #include <fstream> #include <error.h> #include "parameters.hpp" #include "exception.hpp" namespace Bx { namespace Base { class Log { public: typedef enum { ftl = 0, err = 1, wrn = 2, ...
21.319149
78
0.590319
bartbalaz
54067ea9bf250b02ae2deff7bb0ec787e23771cd
1,512
cpp
C++
cpp/day7/day7.cpp
calewis/advent-of-code21
a4efc4c551122c1a48f334c7ead237919586de35
[ "MIT" ]
null
null
null
cpp/day7/day7.cpp
calewis/advent-of-code21
a4efc4c551122c1a48f334c7ead237919586de35
[ "MIT" ]
null
null
null
cpp/day7/day7.cpp
calewis/advent-of-code21
a4efc4c551122c1a48f334c7ead237919586de35
[ "MIT" ]
null
null
null
#include <fmt/core.h> #include <fmt/ranges.h> #include <algorithm> #include <array> #include <fstream> #include <iostream> #include <numeric> #include <sstream> #include <string> #include <vector> auto parseFile(char const *file_name) { auto file = std::ifstream(file_name); std::string line; std::getline(file, ...
22.909091
74
0.559524
calewis
540e937786d34e7246402afeef5e7c46e8c65296
2,046
cpp
C++
tests/pizza_tests.cpp
Harmos274/Plazza
ade41711f9d945f944276732a9df96442b2b4af8
[ "MIT" ]
null
null
null
tests/pizza_tests.cpp
Harmos274/Plazza
ade41711f9d945f944276732a9df96442b2b4af8
[ "MIT" ]
null
null
null
tests/pizza_tests.cpp
Harmos274/Plazza
ade41711f9d945f944276732a9df96442b2b4af8
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** plazza ** File description: ** unit test for pizzas */ #include "include/catch2.hpp" #include "pizzas/Ingredient.hpp" #include "pizzas/Pizza.hpp" #include "Marmiton.hpp" #include <chrono> #include <sstream> #include <string> TEST_CASE("Ingredient enum", "operators") { using plazza::...
22.483516
102
0.591398
Harmos274
5411fb6f49e5e29620b3644cd482e5d4f1e07abb
1,059
cpp
C++
Exercicios-Simples/ex05.cpp
raphaelcarmo/Praticando-C
ba2c926d2eeb4a00f24fef73281de1f937c90769
[ "MIT" ]
null
null
null
Exercicios-Simples/ex05.cpp
raphaelcarmo/Praticando-C
ba2c926d2eeb4a00f24fef73281de1f937c90769
[ "MIT" ]
null
null
null
Exercicios-Simples/ex05.cpp
raphaelcarmo/Praticando-C
ba2c926d2eeb4a00f24fef73281de1f937c90769
[ "MIT" ]
null
null
null
#include <iomanip> /*A biblioteca <iomanip> fornece recursos para manipular a formatação de saída, como a base usada ao formatar inteiros e a precisão dos valores de ponto flutuante .*/ #include <iostream> /*Cabeçalho que define os objetos de fluxo de entrada / saída padrão*/ using namespace std; /* Exercicio de Média...
29.416667
185
0.694995
raphaelcarmo
5414ced84d682975ff6aaa1dff8bd48cf592384a
12,463
cpp
C++
test/song_reader_test.cpp
joao18araujo/ly_parser
4daff56b5e86fb6616d6f71977a5e218edc88174
[ "MIT" ]
2
2019-03-18T12:25:17.000Z
2020-12-06T19:53:18.000Z
test/song_reader_test.cpp
joao18araujo/pierluigi
4daff56b5e86fb6616d6f71977a5e218edc88174
[ "MIT" ]
null
null
null
test/song_reader_test.cpp
joao18araujo/pierluigi
4daff56b5e86fb6616d6f71977a5e218edc88174
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "song_reader.h" #include "note.h" TEST_CASE("Song Reader can receive a string in lilypond format and return a note", "[single-file]"){ SECTION("when notes are without accidental"){ Note note = SongReader::string_to_note(Note(), "c'4"); REQUIRE(note.midi_number == 60); REQUI...
33.502688
100
0.631389
joao18araujo
5414d22f87d16d2e0af57cec858db609321fdbb0
996
hpp
C++
rsa_utils/include/wrapping_iterator.hpp
j-dax/functional-rsa
4e0a62fb7fd4b44b0ac925bfd9b2e757c58a45de
[ "MIT" ]
null
null
null
rsa_utils/include/wrapping_iterator.hpp
j-dax/functional-rsa
4e0a62fb7fd4b44b0ac925bfd9b2e757c58a45de
[ "MIT" ]
null
null
null
rsa_utils/include/wrapping_iterator.hpp
j-dax/functional-rsa
4e0a62fb7fd4b44b0ac925bfd9b2e757c58a45de
[ "MIT" ]
null
null
null
#pragma once #include <iterator> namespace rsa { template <typename T> class WrappingIterator : std::forward_iterator<T> { private: T *begin_it, *end_it; size_t index; public: // WrappingIterator(); // don't allow default WrappingIterator(T container) { ...
22.636364
59
0.480924
j-dax
541b0ad6007d332bbfced8b4e5bd7d42a967b30c
6,467
cpp
C++
Source/OpenWorldTutorial/Private/Section.cpp
TonyChoiMS/OpenWorldTutorial
550f179e71e7f5af2c78ab8e6419c8efccd00cec
[ "MIT" ]
1
2021-07-01T13:29:45.000Z
2021-07-01T13:29:45.000Z
Source/OpenWorldTutorial/Private/Section.cpp
TonyChoiMS/OpenWorldTutorial
550f179e71e7f5af2c78ab8e6419c8efccd00cec
[ "MIT" ]
null
null
null
Source/OpenWorldTutorial/Private/Section.cpp
TonyChoiMS/OpenWorldTutorial
550f179e71e7f5af2c78ab8e6419c8efccd00cec
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Section.h" #include "MyCharacter.h" #include "ABItemBox.h" #include "MyPlayerController.h" #include "OpenWorldGameMode.h" // Sets default values ASection::ASection() { PrimaryActorTick.bCanEverTick = false; Mesh = CreateDefau...
32.014851
208
0.761559
TonyChoiMS
541cc344174e53a72fb73bf72c9cf51c30c9d973
765
cpp
C++
Codeforces/545A Toy Cars.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
Codeforces/545A Toy Cars.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
Codeforces/545A Toy Cars.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
2
2018-11-06T19:37:56.000Z
2018-11-09T19:05:46.000Z
#include <bits/stdc++.h> using namespace std; const int MAXN = 100; int A[MAXN+2][MAXN+2]; vector < int > index; int main( int argc, char ** argv ) { // freopen( "input.txt", "r", stdin ); int n; cin >> n; for( int i = 1 ; i <= n ; ++i ) { for( int j = 1 ; j <= n ; ++j ) { cin ...
19.615385
60
0.393464
sreejonK19
541cd13da1421a0e21f92485651c4b9eb0ccf9b2
1,419
cpp
C++
android-31/android/net/TelephonyNetworkSpecifier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/net/TelephonyNetworkSpecifier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/net/TelephonyNetworkSpecifier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../os/Parcel.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./TelephonyNetworkSpecifier.hpp" namespace android::net { // Fields JObject TelephonyNetworkSpecifier::CREATOR() { return getStaticObjectField( "android.net.TelephonyNetworkSpecifier", "CREATOR", "Landroid/os/...
19.985915
110
0.691332
YJBeetle
541ddb032cf6b50125093b4bdd76f49fc615081e
2,328
cpp
C++
tests/vklayertests_best_practices.cpp
h3r2tic/Vulkan-ValidationLayers
4fde9b75099271ded2de6d1a5903cb57a0e93931
[ "Apache-2.0" ]
1
2021-07-15T23:36:20.000Z
2021-07-15T23:36:20.000Z
tests/vklayertests_best_practices.cpp
h3r2tic/Vulkan-ValidationLayers
4fde9b75099271ded2de6d1a5903cb57a0e93931
[ "Apache-2.0" ]
null
null
null
tests/vklayertests_best_practices.cpp
h3r2tic/Vulkan-ValidationLayers
4fde9b75099271ded2de6d1a5903cb57a0e93931
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015-2019 The Khronos Group Inc. * Copyright (c) 2015-2019 Valve Corporation * Copyright (c) 2015-2019 LunarG, Inc. * Copyright (c) 2015-2019 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
40.842105
99
0.743557
h3r2tic
541e705ab721be349fd37bd00818face09224a09
1,055
cpp
C++
src/pWolfEncrypt/WolfEncryptMain.cpp
scottsideleau/moos-ivp-umassd
fb7f533d907208b438e5489e98f92615a6bb3246
[ "Apache-2.0" ]
6
2017-01-02T16:40:04.000Z
2019-01-22T04:55:22.000Z
src/pWolfEncrypt/WolfEncryptMain.cpp
scottsideleau/moos-ivp-umassd
fb7f533d907208b438e5489e98f92615a6bb3246
[ "Apache-2.0" ]
null
null
null
src/pWolfEncrypt/WolfEncryptMain.cpp
scottsideleau/moos-ivp-umassd
fb7f533d907208b438e5489e98f92615a6bb3246
[ "Apache-2.0" ]
2
2017-06-02T18:31:07.000Z
2021-12-15T10:09:40.000Z
/****************************************************************************/ /* WolfEncryptMain.cpp */ /****************************************************************************/ // WolfEncrypt Includes #include "WolfEncrypt.h" /*************************************************************************//** * Th...
27.051282
78
0.543128
scottsideleau
5429d2a80df1fa829e7a8fb21af9d4631e27ffc5
12,514
cpp
C++
nfc/NfcCxSample/windows-drivertemplate-nfc/Device.cpp
galeksandrp/Windows-driver-samples
94de67aabfbc2a4e338d4d4eca838c918749fa7f
[ "MS-PL" ]
3,084
2015-03-18T04:40:32.000Z
2019-05-06T17:14:33.000Z
nfc/NfcCxSample/windows-drivertemplate-nfc/Device.cpp
galeksandrp/Windows-driver-samples
94de67aabfbc2a4e338d4d4eca838c918749fa7f
[ "MS-PL" ]
275
2015-03-19T18:44:41.000Z
2019-05-06T14:13:26.000Z
nfc/NfcCxSample/windows-drivertemplate-nfc/Device.cpp
galeksandrp/Windows-driver-samples
94de67aabfbc2a4e338d4d4eca838c918749fa7f
[ "MS-PL" ]
3,091
2015-03-19T00:08:54.000Z
2019-05-06T16:42:01.000Z
#include <new> #include "Device.h" // [Required] // Called when the device is provisioned during system boot or when a new device is plugged-in while the // system is running. // // https://docs.microsoft.com/windows-hardware/drivers/ddi/content/wdfdriver/nc-wdfdriver-evt_wdf_driver_device_add NTSTATUS Devic...
36.377907
220
0.719754
galeksandrp
542b037a3a3ecbb79e02b2580f03fde45c53b18a
1,685
cpp
C++
other_contest/yuruhuwa_onsite_3/d.cpp
zaurus-yusya/atcoder
5fc345b3da50222fa1366d1ce52ae58799488cef
[ "MIT" ]
3
2020-05-27T16:27:12.000Z
2021-01-27T12:47:12.000Z
other_contest/yuruhuwa_onsite_3/d.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
other_contest/yuruhuwa_onsite_3/d.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; #define rep(i,n) for(ll i=0;i<(n);i++) #define repr(i,n) for(ll i=(n-1);i>=0;i--) #define pb push_back #define mp make_pair #define all(x) x.begin(),x.end() #define br cout << endl; using namespace std; const int INF = 1e9; const int MOD = 1e9+7; using Graph = vector<vecto...
21.883117
95
0.409496
zaurus-yusya
542ba87482e729829ee49a56bf852a3f823cd7bc
914
hpp
C++
include/cppurses/widget/widgets/vertical_scrollbar.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
include/cppurses/widget/widgets/vertical_scrollbar.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
include/cppurses/widget/widgets/vertical_scrollbar.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
#ifndef CPPURSES_WIDGET_WIDGETS_VERTICAL_SCROLLBAR_HPP #define CPPURSES_WIDGET_WIDGETS_VERTICAL_SCROLLBAR_HPP #include <signals/signal.hpp> #include <cppurses/widget/layouts/vertical_layout.hpp> #include <cppurses/widget/widget.hpp> #include <cppurses/widget/widgets/push_button.hpp> #include <cppurses/widget/widgets/t...
29.483871
66
0.756018
jktjkt
542d4dbc420be1dc6e8d3ec946d4e96be49c98fa
3,412
cc
C++
fluxml/FluxMLPool.cc
csachs/FluxML
6a46492833a4f0660fc3f2fecd6c166e7de1d167
[ "MIT" ]
9
2019-05-27T18:01:09.000Z
2022-01-07T11:26:52.000Z
fluxml/FluxMLPool.cc
csachs/FluxML
6a46492833a4f0660fc3f2fecd6c166e7de1d167
[ "MIT" ]
17
2019-07-08T16:53:32.000Z
2022-02-23T07:20:45.000Z
fluxml/FluxMLPool.cc
csachs/FluxML
6a46492833a4f0660fc3f2fecd6c166e7de1d167
[ "MIT" ]
6
2019-07-12T10:26:22.000Z
2022-02-11T09:46:44.000Z
#include <cstdlib> #include <cerrno> #include <cstdio> #include <xercesc/dom/DOM.hpp> #include "Error.h" #include "cstringtools.h" #include "Notation.h" #include "Pool.h" #include "SimLimits.h" #include "UnicodeTools.h" #include "XMLElement.h" #include "FluxMLUnicodeConstants.h" #include "FluxMLPool.h" #include "fRegEx...
29.669565
136
0.661782
csachs
542dca45b8b1dccfd04973871657bcadc3ffd782
304
hpp
C++
compat/cqit/qitype/anyfunction.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
61
2015-01-08T08:05:28.000Z
2022-01-07T16:47:47.000Z
compat/cqit/qitype/anyfunction.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
30
2015-04-06T21:41:18.000Z
2021-08-18T13:24:51.000Z
compat/cqit/qitype/anyfunction.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
64
2015-02-23T20:01:11.000Z
2022-03-14T13:31:20.000Z
/* ** Author(s): ** - Cedric GESTES <gestes@aldebaran-robotics.com> ** ** Copyright (C) 2014 Aldebaran */ #ifndef _QITYPE_ANYFUNCTION_HPP_ # define _QITYPE_ANYFUNCTION_HPP_ #include <qi/anyfunction.hpp> #include <qi/macro.hpp> QI_DEPRECATED_HEADER("Please use qi/anyfunction.hpp instead"); #endif
16.888889
62
0.740132
arntanguy
542ede783f441df6159ce024b3ce24ab47e43e44
315
cpp
C++
test/doublelinkedlist_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
17
2019-01-03T11:17:31.000Z
2021-10-31T19:19:41.000Z
test/doublelinkedlist_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
106
2018-03-03T16:37:17.000Z
2020-08-31T09:24:52.000Z
test/doublelinkedlist_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
4
2018-05-21T13:30:01.000Z
2019-06-12T07:43:43.000Z
#include <gtest/gtest.h> #include "../src/collection/largedoublelinkedlist.h" using namespace Sealib; // NOLINT TEST(DoubleLinkedListTest, basic) { LargeDoubleLinkedList l(10); EXPECT_FALSE(l.isEmpty()); EXPECT_EQ(l.get(), 0); EXPECT_EQ(l.get(), 1); l.remove(2); EXPECT_EQ(l.get(), 3); }
22.5
52
0.663492
thm-mni-ii
54302d4e90422ee1f7b40d37518066f34bc68508
1,436
cc
C++
heyp/alg/rate-limits.cc
uluyol/heyp-agents
7e45bb636aa6a108e0e9d81a0e9f6e8c744798c6
[ "MIT" ]
5
2022-01-09T05:55:22.000Z
2022-03-28T00:21:23.000Z
heyp/alg/rate-limits.cc
uluyol/heyp-agents
7e45bb636aa6a108e0e9d81a0e9f6e8c744798c6
[ "MIT" ]
21
2021-08-30T03:22:20.000Z
2022-01-28T03:22:12.000Z
heyp/alg/rate-limits.cc
uluyol/heyp-agents
7e45bb636aa6a108e0e9d81a0e9f6e8c744798c6
[ "MIT" ]
null
null
null
#include "heyp/alg/rate-limits.h" namespace heyp { std::ostream& operator<<(std::ostream& os, const RateLimits& limits) { return os << "(" << limits.hipri_limit_bps << ", " << limits.lopri_limit_bps << ")"; } double BweBurstinessFactor(const proto::AggInfo& info) { double parent_demand_bps = info.parent().predic...
31.217391
89
0.680362
uluyol
f9ab184ece87f41cb9093a570a91f750ca128625
3,136
cpp
C++
test/plugins/condition/test_is_stuck.cpp
Adlink-ROS/nav2_behavior_tree
df7b3bf71eba930efa149d99ab4505d5595c1430
[ "Apache-2.0" ]
null
null
null
test/plugins/condition/test_is_stuck.cpp
Adlink-ROS/nav2_behavior_tree
df7b3bf71eba930efa149d99ab4505d5595c1430
[ "Apache-2.0" ]
null
null
null
test/plugins/condition/test_is_stuck.cpp
Adlink-ROS/nav2_behavior_tree
df7b3bf71eba930efa149d99ab4505d5595c1430
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 Intel Corporation // Copyright (c) 2020 Sarthak Mittal // // 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 // // Unl...
30.745098
92
0.738839
Adlink-ROS
f9ab887a9818e9fa3a2d15da97b21762827202fe
1,808
hpp
C++
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
1
2021-11-05T10:06:16.000Z
2021-11-05T10:06:16.000Z
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
24
2021-10-03T15:33:16.000Z
2021-11-29T22:24:57.000Z
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
null
null
null
#ifndef __EXPORT_CPP__ #define __EXPORT_CPP__ #include "exporter.hpp" #include <sstream> struct CppExporter : Exporter { CppExporter() { setName("C++"); setExtension("hpp"); } std::string generate(Editor* editor) { stringstream output; output << "//version " << editor->ve...
30.133333
100
0.400442
xiroV
f9acf061a969b56be116e9f4506f5b48d03977a4
788
hpp
C++
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V13_QUEUE_PROPERTIES_BAISC_QUEUE_PROPERTY_HPP #define CANARD_NET_OFP_V13_QUEUE_PROPERTIES_BAISC_QUEUE_PROPERTY_HPP #include <canard/net/ofp/detail/basic_queue_property.hpp> #include <canard/net/ofp/v13/openflow.hpp> namespace canard { namespace net { namespace ofp { namespace v13 { namespace qu...
27.172414
70
0.796954
amedama41
f9ae0c07f267178fe9e0d47a92d739f1423e4cf2
985
hpp
C++
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
1
2020-07-29T20:42:58.000Z
2020-07-29T20:42:58.000Z
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "saci/qt/base_widget.hpp" #include "saci/qt/radio_btn/detail/view_to_model.hpp" #include <Q...
24.02439
61
0.598985
ricardocosme
f9b3f5b5a0ad2fea452a20a10754d26251db1b3a
2,015
cpp
C++
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
2
2020-09-03T09:49:23.000Z
2021-06-11T09:20:13.000Z
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
null
null
null
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
1
2020-09-03T09:49:30.000Z
2020-09-03T09:49:30.000Z
// // main.cpp // Template // // Created by chenjie on 2020/7/15. // Copyright © 2020 chenjie. All rights reserved. // #include <iostream> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> void help(const char * argv[]) { std::cout << "\n" << "\nExample:...
26.866667
78
0.490819
StarryThrone
f9b4a1508c4c5b829284aee2916c8ea773395087
455
cpp
C++
CSCI-104/hw7/hw7-test/tests/rotate_test/stress2.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw7/hw7-test/tests/rotate_test/stress2.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw7/hw7-test/tests/rotate_test/stress2.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
1
2018-03-23T04:19:24.000Z
2018-03-23T04:19:24.000Z
#include "rotate_gtest_class.h" TEST_F(RotateTest, Stress2_RightRotate) { InsertFull(mBST1, 14); InsertFull(mBST2, 15); InsertFull(mBST3, 16); std::clock_t t1 = std::clock(); mBST1.exposedRightRotate(mBST1.getRoot()); std::clock_t t2 = std::clock(); mBST2.exposedRightRotate(mBST2.getRoot()); std::clock_t t...
21.666667
43
0.701099
liyang990803
f9b621e1b5224710b65b5ac0ba9c61a63ac17024
8,348
cpp
C++
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
#ifndef ACPL_I18N_CHARSETS_CHARSET_ISO_8859_16_2001_INC_CPP #define ACPL_I18N_CHARSETS_CHARSET_ISO_8859_16_2001_INC_CPP // WARNING: Do not modify this file because it was generated using i18nproc #include "../../Charsets.h" #include "../../_cp/Memory.inc.cpp" namespace acpl { namespace i18n { class Charset_ISO_8...
35.07563
121
0.575827
TheDoubleB
f9b841c6213e9dde8c55f85a4a06483e99ba95d9
1,939
cc
C++
swapmc/modules_swap.cc
muhammadhasyim/montecarlo-swap
d99b316ae3e8b08a056ec5f639cbb78b0d5848b3
[ "BSD-3-Clause" ]
null
null
null
swapmc/modules_swap.cc
muhammadhasyim/montecarlo-swap
d99b316ae3e8b08a056ec5f639cbb78b0d5848b3
[ "BSD-3-Clause" ]
null
null
null
swapmc/modules_swap.cc
muhammadhasyim/montecarlo-swap
d99b316ae3e8b08a056ec5f639cbb78b0d5848b3
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2019 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Include the defined classes that are to be exported to python //#include <hoomd/hpmc/IntegratorHPMC.h> //#include <hoomd/hpmc/IntegratorHPMCMono.h> #include "...
26.930556
113
0.741104
muhammadhasyim
f9ba535a534d174b4e4fe63eaf45c5f8e6fc2f59
7,950
cpp
C++
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
// // yas_playing_renderer.cpp // #include "yas_playing_renderer.h" #include <audio/yas_audio_graph_io.h> #include <audio/yas_audio_io.h> #include <playing/yas_playing_types.h> using namespace yas; using namespace yas::playing; renderer::renderer(audio::io_device_ptr const &device) : graph(audio::graph::make_s...
46.491228
120
0.653962
objective-audio
f9c0500254198312e8e26665062d2cba531b2a30
1,290
cpp
C++
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
2
2019-11-22T23:34:36.000Z
2019-11-27T10:27:35.000Z
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
#include "C_BoxCollider.h" #include "C_Mesh.h" #include "GameObject.h" C_BoxCollider::C_BoxCollider(GameObject* go) : C_Collider(go) { name.assign("Box Collider"); type = ComponentType::BOX_COLLIDER; size = float3::one; } void C_BoxCollider::CreateShape(C_Mesh* mesh) { if (is_loaded == false) { size = (mesh !=...
24.807692
88
0.710853
SOLID-TEAM
f9c0d26e22b18d634103e0f8cf7d527f96ac0048
56,128
cpp
C++
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
2
2015-07-02T17:31:10.000Z
2015-11-09T22:00:40.000Z
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
null
null
null
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
null
null
null
#include "myfs.h" #include <string.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <arpa/inet.h> #include <time.h> #include <QByteArray> #define READONLY_FS 0 #define DIR_BLOCK_SIZE 0x400 #define REG_BLOCK_SIZE 0x1000 #define MAX...
32.146621
137
0.510173
baz1
f9ca369eb57fcf984b3a7fd04161ad537301539a
8,940
cxx
C++
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
#include "StarKinematics.h" #include "StarGenerator/EVENT/StarGenEvent.h" #include "StarGenerator/EVENT/StarGenParticle.h" #include "StarGenerator/UTIL/StarParticleData.h" #include "StarGenerator/UTIL/StarRandom.h" #include <boost/algorithm/string.hpp> #include <vector> #include <string> #include <algorithm> #include ...
28.745981
141
0.518345
klendathu2k
f9cb223eea17f8f91336b2955df8ccb3d904d3d2
1,899
cpp
C++
src/gpgmm/common/IndexedMemoryPool.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
1
2022-02-13T15:48:36.000Z
2022-02-13T15:48:36.000Z
src/gpgmm/common/IndexedMemoryPool.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
16
2021-10-05T21:32:14.000Z
2022-03-30T11:39:21.000Z
src/gpgmm/common/IndexedMemoryPool.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The GPGMM 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 ...
32.186441
96
0.63981
intel
f9cc8435642f0ff0ef400e2d894893d08f80124c
2,102
cc
C++
chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_factory.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_factory.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_factory.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 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/extensions/api/safe_browsing_private/safe_browsing_private_event_router_factory.h" #include "chrome/browser/extensions/api/safe_...
35.033333
107
0.82255
zipated
f9ccb4d6ac0df11719166b96edbe8a9ee1467a72
1,462
cpp
C++
wumpus_expressions/autogenerated/src/Plans/SingleAgent/Behaviours/InitASPModel.cpp
dasys-lab/cnc-wumpus
da5c3b56f9dd6ef852c7fe5195ec6455d50d6142
[ "MIT" ]
null
null
null
wumpus_expressions/autogenerated/src/Plans/SingleAgent/Behaviours/InitASPModel.cpp
dasys-lab/cnc-wumpus
da5c3b56f9dd6ef852c7fe5195ec6455d50d6142
[ "MIT" ]
null
null
null
wumpus_expressions/autogenerated/src/Plans/SingleAgent/Behaviours/InitASPModel.cpp
dasys-lab/cnc-wumpus
da5c3b56f9dd6ef852c7fe5195ec6455d50d6142
[ "MIT" ]
null
null
null
using namespace std; #include "Plans/SingleAgent/Behaviours/InitASPModel.h" /*PROTECTED REGION ID(inccpp1536061745720) ENABLED START*/ //Add additional includes here #include <engine/AlicaEngine.h> /*PROTECTED REGION END*/ namespace alica { /*PROTECTED REGION ID(staticVars1536061745720) ENABLED START*/ //initialis...
37.487179
110
0.692886
dasys-lab
f9d1ed93dae68ffa66228391dfc9dbcc5cc41bf0
8,827
cpp
C++
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
571
2015-01-08T16:29:38.000Z
2022-03-16T06:45:42.000Z
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
45
2015-01-15T12:47:28.000Z
2022-03-04T09:22:32.000Z
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
136
2015-01-31T15:24:57.000Z
2022-02-17T19:26:24.000Z
#include "test.hpp" namespace { char const* VERT_SHADER_SOURCE("gl-320/buffer-uniform.vert"); char const* FRAG_SHADER_SOURCE("gl-320/buffer-uniform.frag"); struct vertex_v3fn3fc4f { vertex_v3fn3fc4f ( glm::vec3 const & Position, glm::vec3 const & Normal, glm::vec4 const & Color ) : Position(Posi...
28.940984
151
0.71066
galek
f9d74d219afb8904a906f72c4f7923276f721e35
527
cpp
C++
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string str = "TUSHAR"; // convert to upper strings for (int i=0; i<str.length(); i++) { if(str[i>='a' && str[i]<='z']) { str[i]-=32; cout<<str[i]; } } ...
15.5
38
0.421252
tushar-nath
f9d94848e645004809d14d815b501d0745c7dc62
8,506
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/CullStack.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/CullStack.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/CullStack.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with ...
27.980263
139
0.641312
UM-ARM-Lab
f9dd51dc663a65c0e9c2954e3f9a6bd117a80f77
10,537
cpp
C++
src/afv/VoiceSession.cpp
pierr3/afv-native
b85ddc102ae25600954f0f528169d701f685132f
[ "BSD-3-Clause" ]
2
2022-02-02T20:50:25.000Z
2022-02-27T09:21:44.000Z
src/afv/VoiceSession.cpp
xpilot-project/afv-native
afd4e4481a6a2eb373af36d2da322ad7ac104849
[ "BSD-3-Clause" ]
null
null
null
src/afv/VoiceSession.cpp
xpilot-project/afv-native
afd4e4481a6a2eb373af36d2da322ad7ac104849
[ "BSD-3-Clause" ]
1
2022-01-10T18:23:32.000Z
2022-01-10T18:23:32.000Z
/* afv/VoiceSession.cpp * * This file is part of AFV-Native. * * Copyright (c) 2019 Christopher Collins * * 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 abov...
36.842657
164
0.690329
pierr3
f9e0b6413b2ef2e1ae6b6723e406dc63f4a53f55
52,602
cpp
C++
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 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...
37.734577
100
0.675221
dAck2cC2
f9e5a60f7a735128de1122dc680f61d875f676bf
519
cpp
C++
Baekjoon/Problem_2566/Problem_2566.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
Baekjoon/Problem_2566/Problem_2566.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
Baekjoon/Problem_2566/Problem_2566.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> using namespace std; /* int main(void) { pair<int, int> p; int Maxv = 0; int matrix[9][9]; for(int i = 0; i < 9; i++) { for(int j = 0; j < 9; j++) { cin >> matrix[i][j]; if(matrix[i][j] > Maxv) { ...
18.535714
50
0.391137
ShinYoung-hwan
f9e7b6666e7721cd253c562107c7a71029b49ad3
2,789
cpp
C++
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
/** * 105. Construct Binary Tree from Preorder and Inorder Traversal * * Given two integer arrays preorder and inorder where preorder is the preorder traversal of a binary tree and inorder is the inorder traversal of the same tree, construct and return the binary tree. * * Constraints: * 1 <= preorder.length ...
30.315217
199
0.660452
Xinghui-Wu
f9eb6dde76294a6fed01b8ee185b4cd3d7d40988
20,516
cpp
C++
Server/Modules/InfoModule/src/InfoProcessor.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Modules/InfoModule/src/InfoProcessor.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Modules/InfoModule/src/InfoProcessor.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 list of condit...
33.522876
755
0.645155
wayfinder
f9ec0f6e56600ed22249c204b1a057766ca2955a
19,323
cc
C++
src/cymoca/compiler.cc
jgoppert/cymoca
45a991f56a397a7fea3429eacad6f33dfbf5a6d4
[ "BSD-3-Clause" ]
6
2018-06-24T17:49:33.000Z
2020-06-13T20:43:20.000Z
src/cymoca/compiler.cc
jgoppert/cymoca
45a991f56a397a7fea3429eacad6f33dfbf5a6d4
[ "BSD-3-Clause" ]
3
2018-07-01T10:15:00.000Z
2018-07-09T21:35:18.000Z
src/cymoca/compiler.cc
jgoppert/cymoca
45a991f56a397a7fea3429eacad6f33dfbf5a6d4
[ "BSD-3-Clause" ]
1
2018-07-01T10:10:31.000Z
2018-07-01T10:10:31.000Z
#include "compiler.h" namespace cymoca { Compiler::Compiler(std::ifstream &text) : ModelicaBaseListener(), m_parser(nullptr), m_input(text), m_lexer(&m_input), m_token_stream(&m_lexer), m_root(nullptr), m_verbose(false), m_ast() { m_token_stream.fill(); m_parser = std...
36.946463
80
0.657921
jgoppert
f9ed1a6ff70fbe1cad9b750ec3fc6ced9712456a
1,633
cpp
C++
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
#include <fstream> #include <sstream> #include <iostream> #include <opencv2/core/core.hpp> #include "PhraseManager.h" PhraseManager::PhraseManager() : default_phrase({ "this is a test", "" }), phrases(), next_phrase_index(0) { } PhraseManager::~PhraseManager() { } bool PhraseManager::load(const std::...
19.211765
78
0.478261
mwgit00
f9ef68b3f4a152704f40152de6f699cbe5575b07
726
hpp
C++
include/fcppt/detail/strong_typedef/assignment_operator.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/detail/strong_typedef/assignment_operator.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/detail/strong_typedef/assignment_operator.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_DETAIL_STRONG_TYPEDEF_ASSIGNMENT_OPERATOR_HPP_INCLUDED #define FCPPT_DETAIL_STRONG_T...
17.707317
68
0.684573
vinzenz
f9f330b47249d3ddf405e16784aa1468cc151bfa
1,339
cc
C++
client/components/ui/about_dialog.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
client/components/ui/about_dialog.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
client/components/ui/about_dialog.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2014 Google 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 in writing,...
31.880952
78
0.737117
zamorajavi
f9f3d2a2b250479d5d0ce89f366ed1fa5d9c6245
672
hpp
C++
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Types/generated/Vector2.hpp> namespace RED4ext { namespace ink { struct SingleDrawMetric { static constexpr con...
24
62
0.720238
Cyberpunk-Extended-Development-Team
f9f9a222a14c52510d075523aa03d36299b01e98
853
cpp
C++
CodeChef/Easy/LEBOMBS.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
29
2016-09-02T04:48:59.000Z
2016-09-08T18:13:05.000Z
CodeChef/Easy/LEBOMBS.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
2
2016-09-02T05:20:02.000Z
2016-10-13T06:31:31.000Z
CodeChef/Easy/LEBOMBS.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 s(n) scanf("%d",&n) # define sc(n) scanf("%c",&n) # define sl(n) scanf("%lld",&n) # define sf(n) scanf("%lf",&n) # define ss(n) scanf("%s",n) # define I...
17.06
53
0.410317
ritwik1503
f9f9d16de2b711be2cd02a3f67e4759abeabb55f
561
hh
C++
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once # include <Utils/OpenGL.hh> # include <unordered_map> struct PixelType { public: size_t size; public: PixelType() : size(0) { } PixelType(size_t size) : size(size) { } PixelType(PixelType const &copy) : size(copy.size) { } PixelType(PixelType &&move) : size(move.size) { } }; std:...
14.384615
60
0.673797
Another-Game-Engine
f9ffd4f894110e546edada31d6a467ef6443e7f9
953
cpp
C++
test/source/controllers/serial_test.cpp
kremi151/FunkyBoy
d70ea8724b2ca22c5af31305b7e4b09d5caa203f
[ "Apache-2.0" ]
2
2020-08-17T20:48:01.000Z
2020-10-04T15:02:11.000Z
test/source/controllers/serial_test.cpp
kremi151/FunkyBoy
d70ea8724b2ca22c5af31305b7e4b09d5caa203f
[ "Apache-2.0" ]
34
2020-07-25T17:10:24.000Z
2022-03-22T17:41:29.000Z
test/source/controllers/serial_test.cpp
kremi151/FunkyBoy
d70ea8724b2ca22c5af31305b7e4b09d5caa203f
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Michel Kremer (kremi151) * * 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 o...
32.862069
75
0.718783
kremi151
e6013180dcfd4783f0ec756ec1979cc001bb67b0
2,540
cpp
C++
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
5
2017-05-31T21:25:57.000Z
2020-01-14T14:11:41.000Z
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2017-11-13T14:32:21.000Z
2018-10-03T17:07:36.000Z
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2018-01-31T14:06:58.000Z
2018-10-02T11:46:34.000Z
#include "dialog.h" #include <Tempest/SystemAPI> #include <Tempest/Window> #include <Tempest/Layout> #include <Tempest/Application> using namespace Tempest; struct Dialog::LayShadow : Tempest::Layout { void applyLayout(){ for(Widget* w:widgets()){ Point pos = w->pos(); if(w->x()+w->w()>owner()->w...
18.676471
64
0.583071
enotio
e601af42c7968e56411ca1a9afbc905c6b1658c8
1,485
cpp
C++
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
2
2017-01-23T15:33:07.000Z
2017-01-23T17:51:24.000Z
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
null
null
null
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
2
2016-12-09T18:44:46.000Z
2017-08-30T00:02:15.000Z
/* * LocalFile.cpp * * Created on: Apr 8, 2016 * Author: shoops */ #include "LocalFile.h" #include "repast_hpc/RepastProcess.h" #include "grid/Properties.h" #include <sstream> using namespace ENISI; // static std::map< std::string, LocalFile * > LocalFile::INSTANCES; // static std::ofstream & LocalFile:...
20.342466
104
0.63165
NIMML
e6043b61083693edbce8bb0af6929e97e3dee1d4
15,611
cc
C++
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
#include "ObsDrivingModel.h" #include "Utilities.h" #include <cmath> #include <cstdlib> #include <random> #include <iostream> #include <array> using namespace std; const double Discount_ObsDrMdl = 0.95; const int NumCStateVar_ObsDrMdl = 2; // number of continuous state variables const int NumDState_ObsDrMdl = 8; ...
38.450739
219
0.637819
ppnathan
e604cad676c67c985b25e9bf86e5c0771f6d6ab4
243
cpp
C++
src/core/nes.cpp
yvbbrjdr/lwnes
3621dedb1f4871eb181109daee0c3020b4a2d5a8
[ "BSD-3-Clause" ]
null
null
null
src/core/nes.cpp
yvbbrjdr/lwnes
3621dedb1f4871eb181109daee0c3020b4a2d5a8
[ "BSD-3-Clause" ]
null
null
null
src/core/nes.cpp
yvbbrjdr/lwnes
3621dedb1f4871eb181109daee0c3020b4a2d5a8
[ "BSD-3-Clause" ]
null
null
null
#include "nes.h" using namespace std; NES::NES() : cpu(dma) {} void NES::load_rom(const string &filename) { rom.load_file(filename); dma.load_cartridge(rom.to_cartridge()); cpu.reset(); } void NES::start() { cpu.start(); }
13.5
43
0.633745
yvbbrjdr
e60eefd2a4367f50df8e934ceef2a4e4b7effb88
2,114
cpp
C++
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
// // ParametrosJogo.cpp // Jogo-SFML // // Created by Matheus Kunnen Ledesma on 11/15/19. // Copyright © 2019 Matheus Kunnen Ledesma. All rights reserved. // #include "ParametrosJogo.hpp" namespace Game { namespace Parametros { ParametrosJogo::ParametrosJogo(const string& filename): Parametro(filename), player_...
26.425
99
0.666982
MatheusKunnen
e60ff26bd5095b87dc0cb0d5aae014cd36140f54
3,146
hpp
C++
stapl_release/stapl/views/proxy/stl_vector_accessor.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/views/proxy/stl_vector_accessor.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/views/proxy/stl_vector_accessor.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
22.633094
78
0.657661
parasol-ppl
e610610c4ac6c02db0e766e301c853bd10a164ff
2,694
hpp
C++
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file byte.hpp * * @brief byte の定義 * * @author myoukaku */ #ifndef BKSGE_FND_CSTDDEF_BYTE_HPP #define BKSGE_FND_CSTDDEF_BYTE_HPP #include <cstddef> #if defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) namespace bksge { using std::byte; using std::to_integer; } // namespace b...
24.490909
95
0.732739
myoukaku
e6111ba72bcbbcd5f557f20d51683624e1914201
10,397
cpp
C++
hanoi/eis-core/common/libs/ConfigManager/tests/configmgr_tests.cpp
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
null
null
null
hanoi/eis-core/common/libs/ConfigManager/tests/configmgr_tests.cpp
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
null
null
null
hanoi/eis-core/common/libs/ConfigManager/tests/configmgr_tests.cpp
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 Intel Corporation. // // 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, merge, pub...
35.006734
493
0.665
emmanueltech1
e6112822a4a125b3bf17a44ecc3084b3f678223d
4,381
hpp
C++
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
3
2021-02-28T12:52:43.000Z
2021-12-31T00:12:48.000Z
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
#ifndef _HEADER_PROPANE_LITERALS #define _HEADER_PROPANE_LITERALS #include "propane_common.hpp" namespace propane { union literal_t { constexpr literal_t() : as_u64(0) {} constexpr literal_t(int8_t i8) : as_i8(i8) {} constexpr literal_t(uint8_t u8) : as_u8(u8) {} constexpr lite...
41.72381
127
0.642091
AggroBird
e611bcfcfc4c01f24dfade65f71ddfc63663f6b9
303
cpp
C++
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: int maxSubArray(vector<int>& nums) { int currmax=nums[0]; int finmax=nums[0]; for(int i=1;i<nums.size();i++){ currmax=max(nums[i],nums[i]+currmax); finmax=max(currmax,finmax); } return finmax; } };
23.307692
49
0.508251
Ananyaas
e615a38c81405eb59bcf0ca3526a29d44bbe194f
12,002
cpp
C++
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
2
2022-01-10T18:22:34.000Z
2022-02-23T23:18:36.000Z
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
null
null
null
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
null
null
null
#include "ParticleSystem.hpp" #include <array> #include <glad/glad.h> #include <imgui.h> #include <numeric> #include "graphics/my_gl_header.hpp" using namespace particle; ParticleSystem::ParticleSystem() { const std::filesystem::path proj_dir(PROJECT_DIR); const std::filesystem::path shad_dir = proj...
32.61413
128
0.754624
SirKoto
e61b0d53f655011679d4b9ee5117c177cf01e432
2,220
cpp
C++
Chernyshev/03/calc.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
16
2018-09-27T13:59:59.000Z
2019-10-01T21:33:40.000Z
Chernyshev/03/calc.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
2
2018-10-17T20:56:15.000Z
2018-10-24T00:02:42.000Z
Chernyshev/03/calc.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
22
2018-09-27T14:00:16.000Z
2019-12-17T19:44:33.000Z
#include <iostream> #include <string> #include <sstream> #include <stdexcept> template <class T> class Calculator { private: T unary_minus(std::istringstream &expr) const { char minus; expr >> minus; if (!expr) { throw std::invalid_argument(""); } if (minus =...
20.555556
76
0.454054
mtrempoltsev
e62412a371c674a02c9eca53c78e7d56f0f30e64
2,406
hh
C++
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
1
2020-09-10T16:47:09.000Z
2020-09-10T16:47:09.000Z
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
/// @file menon/bits/toctrans.hh /// 文字種変換関数の定義 /// @author @menonfled #ifndef MENON_BITS_TOCTRANS_HH_ #define MENON_BITS_TOCTRANS_HH_ #pragma once #include "menon/bits/sv.hh" #include "menon/bits/isctype.hh" #include <string> #include <algorithm> #include <iterator> namespace menon { /// 変換種別 using ctrans_t =...
23.821782
92
0.620116
menonfled
e62ceac8629f543e08ca01a587f2c9f076625fe9
8,083
cpp
C++
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32ComplexAddrFormLoader.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
8
2015-11-04T06:06:35.000Z
2021-07-04T13:47:36.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32ComplexAddrFormLoader.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
1
2021-10-17T13:07:28.000Z
2021-10-17T13:07:28.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32ComplexAddrFormLoader.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
13
2015-11-27T03:14:50.000Z
2022-02-26T15:12:20.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 You under the Apache License, Version 2.0 * (the "License"); you...
32.724696
214
0.590127
sirinath
e63072a5d3a0e0744932ff7bb0938786ca0d2037
301
hpp
C++
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
#pragma once namespace itis { struct TimSort { static const int RUN = 32; static void insertionSort(int arr[], int left, int right); static void merge(int arr[], int l, int m, int r); static void timSort(int arr[], int n); static void printArray(int arr[], int n); }; }
16.722222
62
0.627907
Algorithms-and-Data-Structures-2021
e6320df0947ee3ac02fffc5347ee4dc9e9f86578
354
hpp
C++
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
2
2015-06-26T04:32:19.000Z
2016-02-02T11:36:41.000Z
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
null
null
null
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "xigua/data.hpp" #include "xigua/string.hpp" namespace xig { class symbol : public base_string { public: symbol(std::string value) : base_string(value) {} virtual ~symbol() {} virtual data_type type() const; virtual const symbol &as_symbol() const; }; extern data_pt...
16.857143
51
0.711864
LiquidHelium
e63417cdc7cc8c0163219865231516a018739167
3,520
hpp
C++
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
1
2020-08-31T08:39:05.000Z
2020-08-31T08:39:05.000Z
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
null
null
null
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
null
null
null
#ifndef RHEA_AST_NODE_BASE_HPP #define RHEA_AST_NODE_BASE_HPP #include <string> #include <vector> #include <memory> #include <utility> #include <tao/pegtl.hpp> #include "../parse_tree_node.hpp" #include "../../types/types.hpp" #include "../../util/compat.hpp" #include "../../visitor/visitor_fwd.hpp" /* * The base ...
34.509804
82
0.663068
momikey
e637ca6c7bb4b91dc04c81efdba86baa4e826227
2,891
cpp
C++
tools/CoronaBuilder/Rtt_AppPackagerLinuxFactory.cpp
joehinkle11/corona
530320beaa518a2b82fa8beb2a92f3be6b56a00e
[ "MIT" ]
1,968
2018-12-30T21:14:22.000Z
2022-03-31T23:48:16.000Z
tools/CoronaBuilder/Rtt_AppPackagerLinuxFactory.cpp
joehinkle11/corona
530320beaa518a2b82fa8beb2a92f3be6b56a00e
[ "MIT" ]
303
2019-01-02T19:36:43.000Z
2022-03-31T23:52:45.000Z
tools/CoronaBuilder/Rtt_AppPackagerLinuxFactory.cpp
joehinkle11/corona
530320beaa518a2b82fa8beb2a92f3be6b56a00e
[ "MIT" ]
254
2019-01-02T19:05:52.000Z
2022-03-30T06:32:28.000Z
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // /////////////////////////...
30.114583
109
0.457973
joehinkle11
e63f3938979647ce2b55bf1bbc754db53ab5bbe7
1,760
cpp
C++
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
2
2017-06-03T01:07:16.000Z
2017-07-14T17:49:16.000Z
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
5
2017-04-24T20:29:04.000Z
2017-06-26T17:40:53.000Z
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
null
null
null
/* * PID.cpp * * Created on: 14. 7. 2017 * Author: michp */ #include <PID.h> namespace flyhero { // assume that PID will be computed at 1 kHz PID::PID(float i_max, float Kp, float Ki, float Kd) : d_term_lpf(Biquad_Filter::FILTER_LOW_PASS, 1000, 20) { this->last_t = 0; this->integrator =...
18.924731
65
0.586932
michprev
e645edf799785e82b1db9cdb60ec5f2b15a9d2f2
3,796
cpp
C++
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
Savraska2/GTS
78c8b4d634f1379eb3e33642716717f53bf7e1ad
[ "BSD-3-Clause" ]
61
2016-03-26T03:04:43.000Z
2021-09-17T02:11:18.000Z
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
92
2016-04-10T23:40:22.000Z
2022-03-11T21:49:12.000Z
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
18
2016-03-26T11:19:14.000Z
2021-08-07T00:26:02.000Z
#include "pri.h" #include "tw_win_l2_dss.h" /* get onevalue(container) */ int tw_win_l2_dss::_cap_get_ctnr_onevalue( TW_UINT16 ui16_cap, TW_ONEVALUE *p_tw_onevalue ) { TW_CAPABILITY tw_capability; TW_ONEVALUE *p_tw_ov; /* TWAIN機器からデータを取ってくる */ if (OK != this->_cap_get_ctnr( ui16_cap, &tw_capability ) ) { pri_fu...
23.288344
113
0.683878
Savraska2
e645fba834ebd867bce675d92fdaa987a003b6e0
195
cpp
C++
test/unit-tests/cli/array_info_command_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/cli/array_info_command_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/cli/array_info_command_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
#include "src/cli/array_info_command.h" #include <gtest/gtest.h> namespace pos_cli { TEST(ArrayInfoCommand, ArrayInfoCommand_) { } TEST(ArrayInfoCommand, Execute_) { } } // namespace pos_cli
12.1875
41
0.753846
YongJin-Cho
e647699d6383da70228636b92a12954a852576e0
5,309
cpp
C++
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
1
2021-06-16T15:49:07.000Z
2021-06-16T15:49:07.000Z
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
#include "bsa.hpp" #include "for_each.hpp" #include <fstream> #include <numeric> namespace libbsarch { /* Properties */ fs::path bsa::get_filename() const { wchar_t name[max_string_buffer_size]; bsa_filename_get(archive_.get(), max_string_buffer_size, name); return name; } bsa_archive_ty...
25.524038
109
0.661141
Guekka
e64a948846ce357c12da9d69298cc8eb2ba85662
1,677
cpp
C++
leetcode-cpp/GoatLatin_824.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/GoatLatin_824.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/GoatLatin_824.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <iostream> #include <climits> #include <algorithm> #include <queue> #include <stack> #include <map> #define Max(a, b) a > b ? a : b #define Min(a, b) a < b ? a : b using namespace std; class Solution { public: vector<string> splitByChar(string s, char c) { vector<string> resul...
22.662162
76
0.394156
emacslisp
e64bece9fc801f3f8e96ca46aa7fcf92b6f95146
2,101
cpp
C++
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
2
2021-06-10T21:17:17.000Z
2022-02-22T04:39:16.000Z
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
null
null
null
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
1
2021-02-19T13:35:55.000Z
2021-02-19T13:35:55.000Z
/** * @file gpio_reader.cpp * * @brief ROS2 Talker to read inputted digital signals. * **/ #include <chrono> #include <memory> #include <thread> #include <sstream> #include <iomanip> #include <pigpiod_if2.h> #include "rclcpp/rclcpp.hpp" #include "std_msgs/msg/bool.hpp" using namespace std::chrono_literals; class...
23.087912
77
0.62732
botamochi6277
e64dbd67c636d253f0b1b6b36fd59d69f0acf940
6,651
cpp
C++
src/EnterpriseStateClassify/enterprisestateclassify.cpp
microsoft/EnterpriseStateClassify
e7749641c308d8554f2a886cbe2a78282d9aab7d
[ "MIT" ]
1
2020-05-09T09:32:54.000Z
2020-05-09T09:32:54.000Z
src/EnterpriseStateClassify/enterprisestateclassify.cpp
microsoft/EnterpriseStateClassify
e7749641c308d8554f2a886cbe2a78282d9aab7d
[ "MIT" ]
null
null
null
src/EnterpriseStateClassify/enterprisestateclassify.cpp
microsoft/EnterpriseStateClassify
e7749641c308d8554f2a886cbe2a78282d9aab7d
[ "MIT" ]
3
2020-07-31T10:12:15.000Z
2021-11-10T08:25:02.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // // EnterpriseStateClassify Usage: // EnterpriseStateClassify Connect <FLAGS> <TARGET> - Get enterprise state of target // EnterpriseStateClassify ConnectLoop <FLAGS> <TARGET> - Get enterprise state of target 20 times every 1.5 seconds // ...
25.288973
117
0.616298
microsoft
e65354b81f42d1761eba0f59ee2aa38135a6c8a0
8,797
hpp
C++
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
2
2019-12-17T13:16:48.000Z
2019-12-17T13:16:51.000Z
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * *Copyright: armuxinxian@aliyun.com * *Author: f * *File name: csf_connect_buffer.hpp * *Version: 1.0 * *Date: 20-10月-2018 21:30:24 * *Description: Class(csf_connect_buffer) 为方便实现各种网络操作而定义的该结构,主要为网络连接发送接收而使用buffer信息。 该数据结构主要是对unsigned ch...
22.384224
87
0.585995
Kitty-Kitty