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
109
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
48.5k
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
427863563be023e695f3a36765258b8e9f11ca10
547
cpp
C++
Source/10.0.18362.0/ucrt/string/wcsncpy_s.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/string/wcsncpy_s.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/string/wcsncpy_s.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // wcsncpy_s.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // Defines wcsncpy_s(), which appends n characters of the source string onto the // end of the destination string. // #include <corecrt_internal_string_templates.h> #include <string.h> extern "C" errno_t __cdecl wcsncpy_s( ...
26.047619
80
0.696527
825126369
4279e527bc7cae141d05c0dcd924abd2c7cffaa2
10,269
cpp
C++
src/accelerators/bvh/RecursiveBuilder.cpp
IDragnev/pb-ray-tracer
d522a55da643261234cf0393824b6eeec2b7cd8e
[ "MIT" ]
null
null
null
src/accelerators/bvh/RecursiveBuilder.cpp
IDragnev/pb-ray-tracer
d522a55da643261234cf0393824b6eeec2b7cd8e
[ "MIT" ]
null
null
null
src/accelerators/bvh/RecursiveBuilder.cpp
IDragnev/pb-ray-tracer
d522a55da643261234cf0393824b6eeec2b7cd8e
[ "MIT" ]
null
null
null
#include "pbrt/accelerators/bvh/RecursiveBuilder.hpp" #include "pbrt/functional/Functional.hpp" namespace idragnev::pbrt::accelerators::bvh { std::size_t partitionPrimitivesInfoInEqualSubsets( const std::size_t splitAxis, const std::span<PrimitiveInfo> primsInfoRange); Optional<std::size_t> par...
41.743902
80
0.51972
IDragnev
427c9478ec85d3f30acb5c3a9f3fe87a921ad42b
7,314
hpp
C++
src/scene/sample/wavefront_runner.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/scene/sample/wavefront_runner.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/scene/sample/wavefront_runner.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
2
2021-03-15T18:51:32.000Z
2021-07-19T23:45:49.000Z
#ifndef CPP_ENGINE_WAVEFRONT_RUNNER_HPP #define CPP_ENGINE_WAVEFRONT_RUNNER_HPP #include <array> #include <execution> #include <numbers> #include <numeric> #include <ranges> #include <type_traits> #include <utility> #include <fmt/core.h> #include <SFML/Graphics.hpp> #include "../../geometry/core.hpp" #include "../....
37.126904
124
0.517637
IsraelEfraim
427fa53ef03aa10f117b2bcbaf5382d4bc951a0a
1,598
cpp
C++
S-Stack/NextGreaterElement/nge.cpp
riyasingh240601/LearnCPP
5dc75a4d7cd1a1c4519018bc4ef1f54151c0a8ed
[ "MIT" ]
2
2022-03-12T08:00:10.000Z
2022-03-28T10:15:06.000Z
S-Stack/NextGreaterElement/nge.cpp
riyasingh240601/LearnCPP
5dc75a4d7cd1a1c4519018bc4ef1f54151c0a8ed
[ "MIT" ]
null
null
null
S-Stack/NextGreaterElement/nge.cpp
riyasingh240601/LearnCPP
5dc75a4d7cd1a1c4519018bc4ef1f54151c0a8ed
[ "MIT" ]
1
2022-03-26T08:23:30.000Z
2022-03-26T08:23:30.000Z
// Print the Next Greater Element (NGE) for each element in an array. The first greater element on the right side of x in the array is the Next greater Element for an element x. Consider the next greater element as -1 for elements for which there is no greater element. #include <bits/stdc++.h> using namespace std; /...
24.584615
269
0.60826
riyasingh240601
429ca9c51b1836de92bd6c8bcd59a124339255bd
1,170
hpp
C++
src/public/photonmap.hpp
jnbmoffa/raytracer
aae9d84e621b53f6ab424f9687a921b18144026e
[ "MIT" ]
1
2015-07-21T18:22:37.000Z
2015-07-21T18:22:37.000Z
src/public/photonmap.hpp
jnbmoffa/raytracer
aae9d84e621b53f6ab424f9687a921b18144026e
[ "MIT" ]
null
null
null
src/public/photonmap.hpp
jnbmoffa/raytracer
aae9d84e621b53f6ab424f9687a921b18144026e
[ "MIT" ]
null
null
null
#pragma once #include "array.h" #include "algebra.hpp" #include "ray.h" #include "kdtree.h" #include "photon.h" #include <memory> #include <vector> class SceneContainer; class PhotonMap { public: using photon_stg_type = std::vector<Photon*>; using size_type = photon_stg_type::size_type; private: SceneContainer* S...
27.857143
123
0.766667
jnbmoffa
42a3950ab15ada1381c1cabb597aa781e4fd0d13
379
cc
C++
src/leveldb/util/filter_policy.cc
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
13
2019-01-23T04:36:05.000Z
2022-02-21T11:20:25.000Z
src/leveldb/util/filter_policy.cc
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
null
null
null
src/leveldb/util/filter_policy.cc
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
3
2019-01-24T07:48:15.000Z
2021-06-11T13:34:44.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2012 LevelDB作者。版权所有。 //此源代码的使用受可以 //在许可证文件中找到。有关参与者的名称,请参阅作者文件。 #include "leveldb/filter_policy.h" namespace le...
18.95
55
0.775726
yinchengtsinghua
42ab2926a5bfc457ebabb068c0d74e7d6aec2b9d
2,445
cpp
C++
ext/apache2/CreateDirConfig.cpp
danzilio/passenger
c9795699f212c8700543a2e4a42f083e182a5c47
[ "MIT" ]
null
null
null
ext/apache2/CreateDirConfig.cpp
danzilio/passenger
c9795699f212c8700543a2e4a42f083e182a5c47
[ "MIT" ]
null
null
null
ext/apache2/CreateDirConfig.cpp
danzilio/passenger
c9795699f212c8700543a2e4a42f083e182a5c47
[ "MIT" ]
null
null
null
/* * Phusion Passenger - https://www.phusionpassenger.com/ * Copyright (c) 2010-2013 Phusion * * "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"...
39.435484
81
0.732515
danzilio
42ade6e84bac13713b6c2c622b29befd6c472366
855
cpp
C++
C Programs/addition of two arrays.cpp
deepanshuchajgotra26/C-_Programs
aa2fed45b8c18ff1859fc3f209c26d0b50d0dc98
[ "MIT" ]
3
2018-07-18T14:30:55.000Z
2018-10-04T14:48:18.000Z
C Programs/addition of two arrays.cpp
deepanshuchajgotra26/C-_Programs
aa2fed45b8c18ff1859fc3f209c26d0b50d0dc98
[ "MIT" ]
1
2019-10-19T07:36:39.000Z
2019-10-19T07:36:39.000Z
C Programs/addition of two arrays.cpp
deepanshuchajgotra26/C-_Programs
aa2fed45b8c18ff1859fc3f209c26d0b50d0dc98
[ "MIT" ]
1
2019-10-17T07:23:58.000Z
2019-10-17T07:23:58.000Z
// C code to add two arrays /* User information Avinash koshal Univ. Roll.No-1655/16 Branch-CSE Section-A2 */ #include<stdio.h> // Headerphiles #include<conio.h> int main() { int a[30],b[30],sum[30]; //declaration of a character type variable int i,n; printf("enter the value of n")...
27.580645
91
0.528655
deepanshuchajgotra26
42ae83736f804020ac96abc122fc61226127590b
1,081
cpp
C++
4-Array/21.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
4
2021-12-03T06:26:06.000Z
2022-01-15T12:15:23.000Z
4-Array/21.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
4-Array/21.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { int n, x; int a[1004]; cin >> n; for (int i = 0; i < n; i++) cin >> a[i]; cin >> x; bool find = false; int low = 0, high = n, middle = 0; while (low < high) { middle = (low + high) / 2; if (x == a[middle]...
22.520833
62
0.309898
chshzhe
42af1966aec12c0bed7c838599c194e46b4b93f9
2,168
hpp
C++
master/opsplitter.hpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
9
2017-02-28T08:14:42.000Z
2019-07-16T19:20:12.000Z
master/opsplitter.hpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
13
2017-01-03T08:29:05.000Z
2017-06-05T11:03:57.000Z
master/opsplitter.hpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
6
2017-01-05T02:14:19.000Z
2020-01-22T04:07:17.000Z
// Copyright 2016 Husky Team // // 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 writi...
31.42029
114
0.717251
husky-team
42bbf8fe9e63fbca3dbd166f01ff0399dfcdec3c
3,453
cpp
C++
HelperFunctions/populateVkPipelineExecutableStatisticKHRCollection.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/populateVkPipelineExecutableStatisticKHRCollection.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/populateVkPipelineExecutableStatisticKHRCollection.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 Douglas Kaip * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
35.234694
159
0.688677
dkaip
42bd4dd99b215b5ca5fea0a66a5561d15c2881d0
1,376
cpp
C++
Gpu_Rvd/src/basic/line_stream.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
Gpu_Rvd/src/basic/line_stream.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
Gpu_Rvd/src/basic/line_stream.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
/* implementation of the line reader */ #include <basic\line_stream.h> namespace Gpu_Rvd{ LineInput::LineInput(const std::string& filename): file_name_(filename), line_num_(0) { F_ = fopen(filename.c_str(), "r"); ok_ = (F_ != nil); line_[0] = '\0'; //end char } LineInput::~LineInput(){ if (F_ != ni...
18.346667
53
0.590843
stormHan
42c0464ee0ef47c2363ead2b88da9928acc0b8e1
334
cpp
C++
MXG/Application.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
MXG/Application.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
MXG/Application.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
#include "MXG/Application.hpp" namespace mxg { int Application::run() { create(); while (running_) { tick(); } destroy(); return errorCode_; } void Application::exit() { exit(0); } void Application::exit(int errorCode) { errorCode_ = errorCode; running_ = false; } } /* nam...
12.846154
39
0.592814
emersonmx
42c4b0c33121336c821a18093ab50aec9866401a
1,656
cpp
C++
libs/liboaf-core/src/TypeUtils.cpp
SpectrumSoft/liboaf
2c2213f54378d3a8228c1bc99e2dc1a1d1e95746
[ "Apache-2.0" ]
null
null
null
libs/liboaf-core/src/TypeUtils.cpp
SpectrumSoft/liboaf
2c2213f54378d3a8228c1bc99e2dc1a1d1e95746
[ "Apache-2.0" ]
null
null
null
libs/liboaf-core/src/TypeUtils.cpp
SpectrumSoft/liboaf
2c2213f54378d3a8228c1bc99e2dc1a1d1e95746
[ "Apache-2.0" ]
null
null
null
/** * @file * @brief Реализация вспомогательных функций для работы с типами * @author Sergey N. Yatskevich <syatskevich@gmail.com> * @copyright SpectrumSoft. All rights reserved. This file is part of liboaf, * distributed under the GNU GPL v2 with a Linking Exception. For * full terms see th...
31.846154
85
0.724034
SpectrumSoft
42cbdec311e0c1732f30a8a0927ca91f594717df
6,110
cpp
C++
core/fxcrt/xml/cxml_element.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
1
2019-01-12T07:00:46.000Z
2019-01-12T07:00:46.000Z
core/fxcrt/xml/cxml_element.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
core/fxcrt/xml/cxml_element.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/xml/cxml_element.h" #include "core/fxcrt/xml/cxml_conten...
29.660194
80
0.647954
jamespayor
42ccccb0663ce0a72851775bccba987f5e61b1c1
1,290
hpp
C++
include/opentxs/ui/Contact.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/ui/Contact.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/ui/Contact.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // 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/. #ifndef OPENTXS_UI_CONTACT_HPP #define OPENTXS_UI_CONTACT_HPP ...
25.294118
76
0.703101
nopdotcom
42ce8b95419ca7b375e6cf3040f2ffdf7209c321
9,765
cpp
C++
build/linux-build/Sources/src/zpp_nape/space/ZPP_AABBPair.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/space/ZPP_AABBPair.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/space/ZPP_AABBPair.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_zpp_nape_dynamics_ZPP_Arbiter #include <hxinc/zpp_nape/dynamics/ZPP_Arbiter.h> #endif #ifndef INCLUDED_zpp_nape_space_ZPP_AABBNode #include <hxinc/zpp_nape/space/ZPP_AABBNode.h> #endif #ifndef INCLUDED_zpp_nape_space_ZPP_AABBPair #include <hxinc/...
35.252708
189
0.727291
HedgehogFog
42d23e40bdfdc77f817b31e9e6acbb045c30fdc1
3,096
cpp
C++
Puddle3D/Puddle3D/src/world/Cube.cpp
Puddlestomper/Puddle3D
4099fcfd34b8dcf33bfbba79cfbfe16fc2b1dfbc
[ "MIT" ]
null
null
null
Puddle3D/Puddle3D/src/world/Cube.cpp
Puddlestomper/Puddle3D
4099fcfd34b8dcf33bfbba79cfbfe16fc2b1dfbc
[ "MIT" ]
null
null
null
Puddle3D/Puddle3D/src/world/Cube.cpp
Puddlestomper/Puddle3D
4099fcfd34b8dcf33bfbba79cfbfe16fc2b1dfbc
[ "MIT" ]
null
null
null
#include "Cube.h" #include "SFML/Graphics/RenderTarget.hpp" //#include <iostream> Cube::Cube(const Eigen::RowVector3f& position, const Eigen::Matrix3f& transform) : Object3D(position, transform, 24) { m_points = Eigen::Matrix<float, 8, 3>(); m_points << 0.5f, 0.5f, 0.5f, -0.5f, 0.5f, 0.5f, 0.5f, -0....
28.934579
108
0.633075
Puddlestomper
42d2e955966f9f257fa1f36ac2de29f8930639d8
239
cpp
C++
Ishita/Problems/kth_smallest.cpp
ishi0301/Algorithmic-Treasure-1
3e61ab6990749bb372da55ca5c5f1f7328ea628e
[ "MIT" ]
13
2020-08-04T15:26:21.000Z
2021-11-26T16:06:49.000Z
Ishita/Problems/kth_smallest.cpp
ishi0301/Algorithmic-Treasure-1
3e61ab6990749bb372da55ca5c5f1f7328ea628e
[ "MIT" ]
19
2020-07-27T05:41:56.000Z
2020-10-26T01:52:44.000Z
Ishita/Problems/kth_smallest.cpp
ishi0301/Algorithmic-Treasure-1
3e61ab6990749bb372da55ca5c5f1f7328ea628e
[ "MIT" ]
20
2020-07-25T14:12:21.000Z
2021-09-12T07:43:08.000Z
#include<iostream> #include<algorithm> using namespace std; int main() { int t; cin>>t; while(t--) { int n,k; cin>>n>>k; int a[n]; for(int i=0;i<n;i++) cin>>a[i]; sort(a,a+n); int key=a[k-1]; cout<<key; } }
11.95
22
0.514644
ishi0301
42d726168aa546acb29b9182bc9c643bdbeb54ad
4,422
cpp
C++
RedWolfTests/src/gl/SpriteTest.cpp
DavidePistilli173/RedWolf
1ca752c8e4c6becfb9de942d6059f6076384f3af
[ "Apache-2.0" ]
null
null
null
RedWolfTests/src/gl/SpriteTest.cpp
DavidePistilli173/RedWolf
1ca752c8e4c6becfb9de942d6059f6076384f3af
[ "Apache-2.0" ]
null
null
null
RedWolfTests/src/gl/SpriteTest.cpp
DavidePistilli173/RedWolf
1ca752c8e4c6becfb9de942d6059f6076384f3af
[ "Apache-2.0" ]
null
null
null
/* Tests for rw::gl::Sprite */ #include "utility.hpp" #include <RedWolf/gl/Sprite.hpp> #include <RedWolf/gl/error.hpp> #include <RedWolf/shapes.hpp> #include <gtest/gtest.h> namespace gl_sprite_test { constexpr std::string_view tt_tex_png{ "texture.png" }; constexpr float rounding_error{ 10e-4 }; constexpr ...
28.714286
103
0.598146
DavidePistilli173
42d7eddf56c1e57df3a2fad3a5751dd35ad8ed92
1,622
cpp
C++
source/tokens.cpp
Chronix/ashbot
ff8db996a73074dcfb49a92dec54e1675d52cd1c
[ "Apache-2.0" ]
null
null
null
source/tokens.cpp
Chronix/ashbot
ff8db996a73074dcfb49a92dec54e1675d52cd1c
[ "Apache-2.0" ]
null
null
null
source/tokens.cpp
Chronix/ashbot
ff8db996a73074dcfb49a92dec54e1675d52cd1c
[ "Apache-2.0" ]
null
null
null
#include "tokens.h" #include "db/db.h" namespace ashbot { namespace tokens { namespace { enum { TOKEN_TWITCH_SECRET = 0, TOKEN_YOUTUBE_UNUSED = 1, TOKEN_YOUTUBE = 2, TOKEN_TWITCH_USER = 3, TOKEN_SOUNDCLOUD_ID = 4, TOKEN_SOUNDCLOUD_SECRET = 5, TOKEN_TWITCH_CHAT = 6, TOKEN_VIMEO = 7, ...
16.55102
64
0.679408
Chronix
42d82a1732753955cfc33c0d9a2d4cfdb89a599a
7,701
cpp
C++
ome-xml/src/test/cpp/transform.cpp
ngladitz/ome-model
6a0c3f7f0de7224b75d6dd27f7f8c6d969604cbb
[ "BSD-2-Clause" ]
null
null
null
ome-xml/src/test/cpp/transform.cpp
ngladitz/ome-model
6a0c3f7f0de7224b75d6dd27f7f8c6d969604cbb
[ "BSD-2-Clause" ]
null
null
null
ome-xml/src/test/cpp/transform.cpp
ngladitz/ome-model
6a0c3f7f0de7224b75d6dd27f7f8c6d969604cbb
[ "BSD-2-Clause" ]
null
null
null
/* * #%L * OME-XML C++ library for working with OME-XML metadata structures. * %% * Copyright © 2016 Open Microscopy Environment: * - Massachusetts Institute of Technology * - National Institutes of Health * - University of Dundee * - Board of Regents of the University of Wisconsin-Madison * - Glenco...
33.482609
112
0.660044
ngladitz
42da3f0a20ab684f9c911f85d5e794fc9a338622
332
hpp
C++
include/xnn/xnn.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
include/xnn/xnn.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
include/xnn/xnn.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
#ifndef __XNN_XNN_HPP__ #define __XNN_XNN_HPP__ #include "xnn/function.hpp" #include "xnn/functions.hpp" #include "xnn/layer.hpp" #include "xnn/layers.hpp" #include "xnn/initializer.hpp" #include "xnn/initializers.hpp" #include "xnn/optimizer.hpp" #include "xnn/optimizers.hpp" #include "xnn/utils.hpp" #endif // __XN...
22.133333
31
0.76506
ktnyt
42db7bd083c393be35a79b98f9257152d125d3a5
5,091
cpp
C++
src/Scenario/DIALOGS/CameraDlg.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
2
2016-04-03T23:57:54.000Z
2019-12-05T17:50:37.000Z
src/Scenario/DIALOGS/CameraDlg.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
null
null
null
src/Scenario/DIALOGS/CameraDlg.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
2
2015-06-20T19:22:47.000Z
2021-11-15T15:22:14.000Z
/*************** * MODULE: CameraDlg.cpp * PROJECT: Scenario * DESCRIPTION: camera dialog * AUTHORS: Mike Hesser * HISTORY: DATE NAME COMMENT * 07.09.1996 mh comment * 03.10.1996 mh added to settings sheet ***************/ #include "typedefs.h" #include "CamView.h" #include "CameraDlg.h" ...
21.2125
76
0.669613
privatosan
42e24aa2efbfe76ab08114b6ea62deef1098b933
11,457
cpp
C++
Control.cpp
scedeov/ProyectoMonopoly
9376cc43da3fb2f299f264e2a33aaf05e02ae0c1
[ "MIT" ]
null
null
null
Control.cpp
scedeov/ProyectoMonopoly
9376cc43da3fb2f299f264e2a33aaf05e02ae0c1
[ "MIT" ]
null
null
null
Control.cpp
scedeov/ProyectoMonopoly
9376cc43da3fb2f299f264e2a33aaf05e02ae0c1
[ "MIT" ]
null
null
null
#include "Control.h" void Control::inicio() { gameover = false; i.menuInicio(); while (cin.get() != '\n') { cin.get(); } //inicializadores t = new Tablero(); m = new Mazo(); system("cls"); cout << "Ingrese el nombre del Jugador 1 -> "; _flushall(); string Jugador1; getline(cin, Juga...
26.398618
181
0.56664
scedeov
42e5e3a1c4911dcca9756eab8255b92e47eaad09
368
hpp
C++
jmax/Entity3d.hpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
jmax/Entity3d.hpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
jmax/Entity3d.hpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
#ifndef ENTITY3D_HPP_ #define ENTITY3D_HPP_ #include "math.hpp" namespace jmax { class Entity3d { public: Entity3d(); virtual ~Entity3d(); void translate(vec3 const& v); void rotate(vec3 const& rotate); mat4 getTransformation() const; void drawUI(); vec3 position; vec3 rotation; vec3 scale; }; } ...
14.72
34
0.692935
JeanGamain
42e8f90be607f5354acaee6ee99da2b13f8444a3
24,943
cpp
C++
DemoFramework/FslBase/source/FslBase/Bits/ByteArrayUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslBase/source/FslBase/Bits/ByteArrayUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslBase/source/FslBase/Bits/ByteArrayUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
37.11756
161
0.628593
alejandrolozano2
42ece361439b755c0141aa4805f59ab4b4eb6a14
20,642
hpp
C++
include/GlobalNamespace/OVRGLTFAccessor.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/OVRGLTFAccessor.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/OVRGLTFAccessor.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: OVRGLTFType #include "GlobalNamespa...
60.180758
274
0.749927
RedBrumbler
42eec7da62a464d90367d80e3fc45e68b295469d
2,723
hpp
C++
src/input/include/input/input_key.hpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
2
2019-03-11T11:26:52.000Z
2019-09-26T07:50:55.000Z
src/input/include/input/input_key.hpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
1
2020-10-29T15:44:47.000Z
2020-10-29T15:44:47.000Z
src/input/include/input/input_key.hpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
1
2020-10-28T18:56:46.000Z
2020-10-28T18:56:46.000Z
/// Copyright (c) 2019 Joni Louhela /// /// 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...
19.875912
80
0.655527
Sampas
0cd4f9e87d4c703ff24def65d8c82ff90f897abb
1,082
cpp
C++
cf1654C.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1654C.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1654C.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; for (int tc=1; tc<=t; tc++) { int n; long long sum = 0; cin >> n; vector<int> v(n, 0); for(int i=0; i<n; i++) { cin >> v[i]; sum += v[i]; } std::sort(v...
26.390244
65
0.351201
yonghuatang
0cdb29a19a824369fff6944c862e69b5346aab18
1,757
hpp
C++
shared/bit_getter.hpp
DeNiCoN/TIK
3f622e1a18cc217ff702020f065587e3d10ad1e3
[ "Unlicense" ]
null
null
null
shared/bit_getter.hpp
DeNiCoN/TIK
3f622e1a18cc217ff702020f065587e3d10ad1e3
[ "Unlicense" ]
null
null
null
shared/bit_getter.hpp
DeNiCoN/TIK
3f622e1a18cc217ff702020f065587e3d10ad1e3
[ "Unlicense" ]
null
null
null
#pragma once #include <iostream> #include <bitset> namespace tik { namespace utils { class BitGetter { public: BitGetter(std::istream& in) : m_in(in), m_current(in.get()) {} bool get() { if (m_length >= 8) ...
25.1
70
0.324986
DeNiCoN
0ce2219272513f25e535cd9d8db1103883d1c181
2,401
cpp
C++
app/main.cpp
traviezo/ObstacleAvoidance
1a164abea2b70fed00d783d42d9c9c359af21d6d
[ "MIT" ]
1
2018-03-02T02:23:29.000Z
2018-03-02T02:23:29.000Z
app/main.cpp
traviezo/ObstacleAvoidance
1a164abea2b70fed00d783d42d9c9c359af21d6d
[ "MIT" ]
null
null
null
app/main.cpp
traviezo/ObstacleAvoidance
1a164abea2b70fed00d783d42d9c9c359af21d6d
[ "MIT" ]
null
null
null
/* * main.cpp * Copyright 2017 Christian Ramos * Created on: Mar 6, 2017 * Author: christian */ #include "UltrasonicSensor.h" #include "LaserSensor.h" #include "SensorFusion.h" #include "ObstacleAvoidanceModule.h" #include "MotorController.h" int main() { MotorController mCtrl; mCtrl.initializeMotorCon...
38.725806
151
0.633486
traviezo
0ce3e92956c937578b9603c07ba35160b65fa748
234
cpp
C++
src/model/RawModel.cpp
Estebanan/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
3
2019-07-31T06:13:41.000Z
2021-04-04T15:32:40.000Z
src/model/RawModel.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
src/model/RawModel.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
#include "RawModel.h" RawModel::RawModel(int vaoID, int vertexCount) : vaoID(vaoID), vertexCount(vertexCount) {} int RawModel::getVaoID() const { return vaoID; } int RawModel::getVertexCount() const { return vertexCount; }
19.5
90
0.717949
Estebanan
0ce772492bf37ddd438deaa26c5666253daeae60
9,449
cpp
C++
tf2_bot_detector/SetupFlow/AddonManagerPage.cpp
moebkun/tf2_bot_detector
fcb1e49c9ce152dcce46c0362e00b549b0ad47c0
[ "MIT" ]
372
2020-06-05T20:37:47.000Z
2022-03-29T15:06:34.000Z
tf2_bot_detector/SetupFlow/AddonManagerPage.cpp
moebkun/tf2_bot_detector
fcb1e49c9ce152dcce46c0362e00b549b0ad47c0
[ "MIT" ]
333
2020-06-05T19:16:01.000Z
2022-03-31T22:13:55.000Z
tf2_bot_detector/SetupFlow/AddonManagerPage.cpp
moebkun/tf2_bot_detector
fcb1e49c9ce152dcce46c0362e00b549b0ad47c0
[ "MIT" ]
96
2020-06-05T21:03:49.000Z
2022-03-30T18:53:05.000Z
#include "AddonManagerPage.h" #include "SetupFlow/ISetupFlowPage.h" #include "Config/Settings.h" #include "Platform/Platform.h" #include "UI/ImGui_TF2BotDetector.h" #include "Util/JSONUtils.h" #include "Filesystem.h" #include <mh/algorithm/algorithm.hpp> #include <mh/error/ensure.hpp> #include <mh/io/filesystem_helper...
26.10221
161
0.699757
moebkun
0ceb57efde6023c89a10d03d13a966c7a62dc5f1
1,650
cpp
C++
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/ListNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
3
2020-03-25T01:59:20.000Z
2020-06-02T17:58:05.000Z
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/ListNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
null
null
null
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/ListNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
1
2020-11-05T23:04:05.000Z
2020-11-05T23:04:05.000Z
#ifndef _MADARA_NO_KARL_ #include "madara/expression/Visitor.h" #include "madara/expression/ListNode.h" #include "madara/utility/Utility.h" #include <string> #include <sstream> madara::expression::ListNode::ListNode( madara::knowledge::ThreadSafeContext& context) : ComponentNode(context.get_logger()), list_()...
28.947368
77
0.741818
jredmondson
0cf01a289728e6b8b98a1affe3e2760a743463c9
219
cpp
C++
src/forge/forge_test/TestDirectoryApi.cpp
willmbaker/forge
99c39bf44d8ff875cefb68161b1306072f7f4cc9
[ "MIT" ]
9
2018-11-15T01:02:10.000Z
2021-12-10T07:57:18.000Z
src/forge/forge_test/TestDirectoryApi.cpp
willmbaker/forge
99c39bf44d8ff875cefb68161b1306072f7f4cc9
[ "MIT" ]
14
2018-08-15T08:39:49.000Z
2022-01-11T07:04:04.000Z
src/forge/forge_test/TestDirectoryApi.cpp
cwbaker/sweet_build_tool
afb675641a6dc88a4680fa6bc582a2ae1b1adc90
[ "MIT" ]
1
2020-11-16T00:06:22.000Z
2020-11-16T00:06:22.000Z
// // TestDirectoryApi.cpp // Copyright (c) Charles Baker. All rights reserved. // #include "stdafx.hpp" #include <UnitTest++/UnitTest++.h> SUITE( TestDirectoryApi ) { TEST( TestHome ) { } }
14.6
53
0.598174
willmbaker
0cf78e2af2f0eae81c71a4019846864db06fa91b
1,549
hpp
C++
include/ldap/session_factory.hpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
null
null
null
include/ldap/session_factory.hpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
1
2019-06-17T00:47:55.000Z
2019-06-17T03:41:14.000Z
include/ldap/session_factory.hpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
null
null
null
#ifndef TT4G_LDAP_SESSION_FACTORY_HPP_ #define TT4G_LDAP_SESSION_FACTORY_HPP_ #include "ldap/ldap_result.hpp" #include "ldap/ldap_session.hpp" #include "ldap/protocol_version.hpp" #include <memory> #include <string> #include <string_view> namespace tt4g { namespace ldap { class session_factory { public: /** ...
22.779412
72
0.64816
tt4g
49011f539648e5834a13e1d3a7a61abfe80e1990
79
hpp
C++
BookClub/ClubOperations.hpp
krchoi-listen/LaurieBookClub
da46c68ca28cfe5481e468ca26c0fc7edd877c2c
[ "MIT" ]
null
null
null
BookClub/ClubOperations.hpp
krchoi-listen/LaurieBookClub
da46c68ca28cfe5481e468ca26c0fc7edd877c2c
[ "MIT" ]
null
null
null
BookClub/ClubOperations.hpp
krchoi-listen/LaurieBookClub
da46c68ca28cfe5481e468ca26c0fc7edd877c2c
[ "MIT" ]
null
null
null
#include <iostream> class ClubOperations { public: ClubOperations(); };
7.9
21
0.683544
krchoi-listen
49075c6ff87d821cd08f3b4854463750fdbac02b
348
cpp
C++
191106Zad07/zad07.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
191106Zad07/zad07.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
191106Zad07/zad07.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
/* * zad07.cpp * * Created on: Nov 6, 2019 * Author: eli */ #include <iostream> using namespace std; int main() { int M; int a; int b; int c; cin >> M; cin >> a; cin >> b; cin >> c; int g; g = (M - (a + b + c)) / 3; int e; int d; int f; e = a + g; d = b + g; f = c + g; cout << e << " " << d ...
11.225806
35
0.431034
elenazaharieva
490d2e6eed379119dc63108af4aacf10737c9972
4,368
cpp
C++
SceneEditor/renderwidget.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
40
2015-09-12T17:13:29.000Z
2022-02-14T21:54:56.000Z
SceneEditor/renderwidget.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-01-08T15:17:23.000Z
2018-11-04T19:56:59.000Z
SceneEditor/renderwidget.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-07-08T15:36:14.000Z
2021-01-23T16:17:03.000Z
#include <iostream> #include <QMessageBox> #include <QTimer> #include <QFileDialog> #include <QDir> #include <QMouseEvent> #include "fast2dquad.h" #include "renderwidget.h" #include "core.h" RenderWidget::RenderWidget(QWidget *parent) : QGLWidget(parent) { QTimer *timer = new QTimer(this); connect(timer, SIG...
24.132597
114
0.516712
XT95
4910d7509cb7bad2258a24aa40a9b6b535eb3c75
376
cpp
C++
Source/Flow/Private/LevelSequence/FlowLevelSequenceActor.cpp
Drakynfly/FlowGraph
4bf00a286b31ffa44a468e6f63f4015ca0b9f96d
[ "MIT" ]
null
null
null
Source/Flow/Private/LevelSequence/FlowLevelSequenceActor.cpp
Drakynfly/FlowGraph
4bf00a286b31ffa44a468e6f63f4015ca0b9f96d
[ "MIT" ]
null
null
null
Source/Flow/Private/LevelSequence/FlowLevelSequenceActor.cpp
Drakynfly/FlowGraph
4bf00a286b31ffa44a468e6f63f4015ca0b9f96d
[ "MIT" ]
null
null
null
// Copyright https://github.com/MothCocoon/FlowGraph/graphs/contributors #include "LevelSequence/FlowLevelSequenceActor.h" #include "LevelSequence/FlowLevelSequencePlayer.h" AFlowLevelSequenceActor::AFlowLevelSequenceActor(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer .SetDefaultSubobject...
34.181818
93
0.845745
Drakynfly
4914771b98c82b0c24ee914059bfef346771e6fb
6,995
cpp
C++
Sandbox/gtwindow.cpp
Rubius/Caboodle
75b267208a124a7e372b1d704fcae3699cf4ed43
[ "MIT" ]
null
null
null
Sandbox/gtwindow.cpp
Rubius/Caboodle
75b267208a124a7e372b1d704fcae3699cf4ed43
[ "MIT" ]
null
null
null
Sandbox/gtwindow.cpp
Rubius/Caboodle
75b267208a124a7e372b1d704fcae3699cf4ed43
[ "MIT" ]
null
null
null
#include "gtwindow.h" #include "ui_gtwindow.h" #include "ComputeGraphModule/inputframestream.h" #include <QComboBox> #include <QKeyEvent> #include "GraphicsToolsModule/gtcamera.h" #include "computenodestreemodel.h" #include "ComputeGraphModule/computegraphcore.h" #include "ComputeGraphModule/computenodedepthfakesenso...
30.814978
109
0.66862
Rubius
491e4083b24f2d9ad9c3d76adac07a59715204ae
16,653
hpp
C++
include/fluxions_gte_color4.hpp
microwerx/fluxions-gte
a072ff7efa190f8a350438f305c8f51620e4b356
[ "MIT" ]
null
null
null
include/fluxions_gte_color4.hpp
microwerx/fluxions-gte
a072ff7efa190f8a350438f305c8f51620e4b356
[ "MIT" ]
null
null
null
include/fluxions_gte_color4.hpp
microwerx/fluxions-gte
a072ff7efa190f8a350438f305c8f51620e4b356
[ "MIT" ]
null
null
null
#ifndef FLUXIONS_GTE_COLOR4_HPP #define FLUXIONS_GTE_COLOR4_HPP #include <fluxions_gte_base.hpp> #include <fluxions_gte_color3.hpp> #include <fluxions_gte_vector3.hpp> #include <fluxions_gte_vector4.hpp> namespace Fluxions { template <typename T> class TColor3; template <typename T> class TVector3; ...
29.113636
147
0.618387
microwerx
491ed2f4e070feb19ab239f7b421cd9541a1bb86
230
cpp
C++
Final/Final.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
7
2015-01-18T13:30:09.000Z
2021-08-21T19:50:26.000Z
Final/Final.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-03-13T21:26:37.000Z
2016-03-13T21:26:37.000Z
Final/Final.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-02-16T04:56:25.000Z
2016-02-16T04:56:25.000Z
#include <iostream> struct Base { virtual void DoThing() const final { } }; struct Derived final : Base { void DoThing() const final { } }; struct FurtherDerived : Derived { }; int main(int argc, char* argv[]) { }
9.583333
36
0.630435
jbcoe
4924a577b5b948ab3d3dd8754e15156d717cdfe9
995
hpp
C++
lib/PDB.hpp
atfrank/LarmorD_New
d1d166c699f26be523557a10523be0f37cb188f5
[ "BSD-4-Clause-UC" ]
7
2021-06-16T00:48:08.000Z
2022-03-22T11:21:55.000Z
lib/PDB.hpp
atfrank/LarmorD_New
d1d166c699f26be523557a10523be0f37cb188f5
[ "BSD-4-Clause-UC" ]
2
2022-01-10T09:56:21.000Z
2022-01-24T13:22:51.000Z
lib/PDB.hpp
atfrank/Metallo
0bce801cb127fb8557bf2599ae31d2611ebb0256
[ "BSD-4-Clause-UC" ]
2
2021-08-28T01:48:28.000Z
2021-11-24T23:05:28.000Z
/* Copyright University of Michigan. This file is part of the Larmor software suite and is made available under license. University of Michigan (UM) TECHtransfer: phone: 734-763-0614 email: techtransfer@umich.edu. Author: Sean M. Law and Aaron T. Frank */ #ifndef PDB_H #define PDB_H #include <map>...
26.891892
154
0.717588
atfrank
492529385de96f06173db87a5624e575e43a8175
2,681
cpp
C++
src/SharpSvn/SvnRepositoryClient.cpp
matherm-aboehm/SharpSvn
11b1889ab71985b08c9a7338c9237ef8ef5c9e41
[ "Apache-2.0" ]
17
2021-04-08T13:54:54.000Z
2022-03-08T07:43:30.000Z
src/SharpSvn/SvnRepositoryClient.cpp
AnkhSVN/SharpSvn
8ed5ae9d2c8a1f3d61a5a5c2186524d83d47886d
[ "Apache-2.0" ]
24
2021-05-18T09:23:45.000Z
2022-03-28T09:55:42.000Z
src/SharpSvn/SvnRepositoryClient.cpp
matherm-aboehm/SharpSvn
11b1889ab71985b08c9a7338c9237ef8ef5c9e41
[ "Apache-2.0" ]
8
2021-05-25T19:11:06.000Z
2022-03-17T08:29:14.000Z
// Copyright 2007-2008 The SharpSvn 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 applicable law...
25.778846
171
0.723611
matherm-aboehm
49294d07bd8506a9266182ce3a26df5e810cf288
1,022
cpp
C++
src/asmjit/asmjit/core/callconv.cpp
ZehMatt/x86box
7ee2f4e245d4a166df88388c61ef200537064fca
[ "MIT" ]
2
2021-11-16T13:33:29.000Z
2022-02-22T16:54:24.000Z
src/asmjit/asmjit/core/callconv.cpp
ZehMatt/x86box
7ee2f4e245d4a166df88388c61ef200537064fca
[ "MIT" ]
null
null
null
src/asmjit/asmjit/core/callconv.cpp
ZehMatt/x86box
7ee2f4e245d4a166df88388c61ef200537064fca
[ "MIT" ]
1
2021-11-16T13:33:31.000Z
2021-11-16T13:33:31.000Z
// [AsmJit] // Complete x86/x64 JIT and Remote Assembler for C++. // // [License] // ZLIB - See LICENSE.md file in the package. // [Export] #define ASMJIT_EXPORTS // [Dependencies] #include "../core/arch.h" #include "../core/func.h" #include "../core/type.h" #ifdef ASMJIT_BUILD_X86 #include "../x86/x86callconv_p.h...
22.217391
79
0.600783
ZehMatt
492ee253d822a4e268a750881544b4b0a79f6799
268
cpp
C++
kth_smallest.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
null
null
null
kth_smallest.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
null
null
null
kth_smallest.cpp
umanggoel2001/Hacktoberfest2021-1
8dc2338df89db68b03d89dc2052b6f5166a5a413
[ "MIT" ]
1
2021-10-08T06:17:40.000Z
2021-10-08T06:17:40.000Z
#include<bits/stdc++.h> using namespace std; int main() { vector<int> v={7,10,4,3,20,15}; priority_queue<int> maxheap; int k; cin>>k; for(int i=0;i<v.size();i++) { maxheap.push(v[i]); if(maxheap.size()>k) maxheap.pop(); } cout<<maxheap.top()<<endl; }
14.105263
32
0.600746
umanggoel2001
4934b1b9487a245c5b61d4422ef8f0ccd812daea
209
cpp
C++
Hackerrank/ProblemSolving/Maximum Draws.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Hackerrank/ProblemSolving/Maximum Draws.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Hackerrank/ProblemSolving/Maximum Draws.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int tests, pairs; cin >> tests; for (int i = 0; i < tests; ++i) { cin >> pairs; cout << pairs + 1 << endl; } return 0; }
12.294118
35
0.502392
willingtonortiz
493804d6387e73e27b463591b85cfef60ff54278
2,728
hxx
C++
source/os/win32/windows_directory_scanner.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
source/os/win32/windows_directory_scanner.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
source/os/win32/windows_directory_scanner.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017, Arthur N. Klassen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions...
35.894737
79
0.655425
ANSAKsoftware
4939f05bf76cbdd412b43bcc03ad67937c9fa128
2,692
cpp
C++
main.cpp
JacobLCarter/Fantasy-Combat
2bd4bfe9ab095e20ddb8b459b843f5d725433840
[ "MIT" ]
null
null
null
main.cpp
JacobLCarter/Fantasy-Combat
2bd4bfe9ab095e20ddb8b459b843f5d725433840
[ "MIT" ]
null
null
null
main.cpp
JacobLCarter/Fantasy-Combat
2bd4bfe9ab095e20ddb8b459b843f5d725433840
[ "MIT" ]
null
null
null
/******************************************************************************* * Program Name: fantasy * Author: Jacob Carter * Date Last Modified: 2/20/2018 * Description: This program is a fantasy combat game in which two teams of five * selectable characters fight in a tournament. * To run, create your tea...
28.946237
81
0.419762
JacobLCarter
493f14e4d37349632837d29f9355a81055ec90ee
4,173
cpp
C++
momentumopt/src/momentumopt/dynopt/DynamicsState.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
26
2019-11-18T17:39:43.000Z
2021-12-18T00:38:22.000Z
momentumopt/src/momentumopt/dynopt/DynamicsState.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
25
2019-11-11T19:54:51.000Z
2021-04-07T13:41:47.000Z
momentumopt/src/momentumopt/dynopt/DynamicsState.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
10
2019-12-15T14:36:51.000Z
2021-09-29T10:42:19.000Z
/** * @file DynamicsState.cpp * @author Brahayam Ponton (brahayam.ponton@tuebingen.mpg.de) * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck Gesellschaft. * @date 2019-10-08 */ #include <momentumopt/dynopt/DynamicsState.hpp> namespace momentumopt { // Dynamic...
38.638889
138
0.649892
ferdinand-wood
4942dbbb5fa655958c337cf020acd8fd6dd4d3df
1,985
hpp
C++
systems/walls.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
systems/walls.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
systems/walls.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
1
2020-06-16T10:32:06.000Z
2020-06-16T10:32:06.000Z
#pragma once #include <memory> #include <vector> #include <unordered_map> #include <ogl/buffers/posTexCoordBuffers.hpp> namespace Components { struct Wall; } namespace Systems { class Walls { public: Walls(); void initializationFinalize(); void step(); void render() const; private: void initGraphic...
33.083333
90
0.815617
piotrplaza
4947776138589735faf944c7a83dcfeb31fb1f54
2,015
cpp
C++
dataset/test/modification/1487_rename/43/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1487_rename/43/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1487_rename/43/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int,int> pii; typedef pair<long long,long long> pll; typedef vector<long long> fll; typedef vector<int> fi; #define pb push_back #define in cin #define out cout #define fektor vector #define ma max #define si...
21.902174
79
0.555831
Karina5005
494c466714be0f1a6b02aa489822b905f5ea7a8b
4,644
cpp
C++
00084_largest-rectangle-in-histogram/200127-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
6
2019-10-23T01:07:29.000Z
2021-12-05T01:51:16.000Z
00084_largest-rectangle-in-histogram/200127-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
null
null
null
00084_largest-rectangle-in-histogram/200127-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
1
2021-12-03T06:54:57.000Z
2021-12-03T06:54:57.000Z
// https://leetcode-cn.com/problems/largest-rectangle-in-histogram/ #include <cstdio> #include <vector> using namespace std; class Solution { public: int largestRectangleArea(vector<int>& heights) { //printf("============\n"); for (auto e : heights) { printf(" %d", e); }; printf("\n"); int n = heights.size(); i...
30.552632
239
0.502799
yanlinlin82
4951c562da3d5f9b4577715c5f8da8edd343c868
3,301
hpp
C++
src/hsrb_gazebo_plugins/hsrb_bumper.hpp
hsr-project/hsrb_gazebo_plugins
6828843eaa6e5a183b62c306c3256204dbc11d4f
[ "BSD-3-Clause-Clear" ]
null
null
null
src/hsrb_gazebo_plugins/hsrb_bumper.hpp
hsr-project/hsrb_gazebo_plugins
6828843eaa6e5a183b62c306c3256204dbc11d4f
[ "BSD-3-Clause-Clear" ]
1
2021-04-06T01:22:36.000Z
2021-04-06T07:39:25.000Z
src/hsrb_gazebo_plugins/hsrb_bumper.hpp
hsr-project/hsrb_gazebo_plugins
6828843eaa6e5a183b62c306c3256204dbc11d4f
[ "BSD-3-Clause-Clear" ]
null
null
null
/* Copyright (c) 2018 TOYOTA MOTOR CORPORATION All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above...
32.048544
88
0.788549
hsr-project
49532453f562a7b5a435ddbb6aa7a825032c2d67
1,764
hpp
C++
src/ForestOnlineRegression.hpp
vitorpavinato/abcranger
71f950817bedeebed12d13610d8747c6dcc75a72
[ "MIT" ]
1
2020-07-29T13:31:43.000Z
2020-07-29T13:31:43.000Z
src/ForestOnlineRegression.hpp
vitorpavinato/abcranger
71f950817bedeebed12d13610d8747c6dcc75a72
[ "MIT" ]
null
null
null
src/ForestOnlineRegression.hpp
vitorpavinato/abcranger
71f950817bedeebed12d13610d8747c6dcc75a72
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <vector> #include "globals.h" #include "ForestOnline.hpp" namespace ranger { class ForestOnlineRegression: public ForestOnline { public: ForestOnlineRegression() = default; ForestOnlineRegression(const ForestOnlineRegression&) = delete; ForestOnlineReg...
32.666667
84
0.756803
vitorpavinato
495500702c68396b3d8fd6fac8a47120ff8df4f2
3,189
cpp
C++
tests/tests.cpp
M-slibi/oxts_ros2_driver
c619d110536235bd8cb2e8afb10e21550aa42526
[ "Apache-2.0" ]
null
null
null
tests/tests.cpp
M-slibi/oxts_ros2_driver
c619d110536235bd8cb2e8afb10e21550aa42526
[ "Apache-2.0" ]
null
null
null
tests/tests.cpp
M-slibi/oxts_ros2_driver
c619d110536235bd8cb2e8afb10e21550aa42526
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Oxford Technical Solutions 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 ...
34.290323
80
0.648479
M-slibi
495b16a2aacc9fa9a6d39a84598e565e7ba0920e
1,274
hpp
C++
include/SDLShaderProgram.hpp
mattfbacon/sdl-glew-demo
b574a1c99f31936b17e5b98061160a725bcb3cd8
[ "WTFPL" ]
null
null
null
include/SDLShaderProgram.hpp
mattfbacon/sdl-glew-demo
b574a1c99f31936b17e5b98061160a725bcb3cd8
[ "WTFPL" ]
null
null
null
include/SDLShaderProgram.hpp
mattfbacon/sdl-glew-demo
b574a1c99f31936b17e5b98061160a725bcb3cd8
[ "WTFPL" ]
null
null
null
#pragma once #include <span> #include "SDLShader.hpp" namespace SDL { /** * An RAII wrapper around a GLEW Program. * Allows the creation of a shader program with vertex and fragment shaders. */ class ShaderProgram { public: struct LinkerError : public std::exception { /** * Initialized with a null byte to ...
24.037736
91
0.704082
mattfbacon
495e71b6f2cd0d439858b5897ccbc526750fcf1d
780
cpp
C++
turret/plugin/native_plugin_factory_proxy.cpp
hemantranvir/turret
bc3df21541ce2f808c749c985db47a210149f22c
[ "MIT" ]
4
2019-03-14T18:27:33.000Z
2021-07-05T05:34:30.000Z
turret/plugin/native_plugin_factory_proxy.cpp
hemantranvir/turret
bc3df21541ce2f808c749c985db47a210149f22c
[ "MIT" ]
1
2019-06-07T06:03:04.000Z
2019-06-07T06:03:04.000Z
turret/plugin/native_plugin_factory_proxy.cpp
hemantranvir/turret
bc3df21541ce2f808c749c985db47a210149f22c
[ "MIT" ]
4
2019-10-30T10:30:47.000Z
2019-10-30T11:15:40.000Z
#include <iostream> #include "native_plugin_factory_proxy.hpp" #include "plugin_factory_proxy_bridge_api.h" #include "../error.hpp" namespace turret { NativePluginFactoryProxy::NativePluginFactoryProxy() : m_impl(nullptr) { } NativePluginFactoryProxy::NativePluginFactoryProxy(PyObject *impl) : m_impl(nullptr) { i...
22.285714
73
0.780769
hemantranvir
4968b9dcf81352a1858b12486a0ea1781cb01d2f
1,235
cc
C++
libiqxmlrpc/request_parser.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
12
2016-01-20T15:25:30.000Z
2022-03-02T20:21:01.000Z
libiqxmlrpc/request_parser.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
11
2016-06-07T11:48:47.000Z
2021-01-24T14:20:15.000Z
libiqxmlrpc/request_parser.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
9
2016-05-02T16:05:27.000Z
2020-10-09T07:43:03.000Z
// Libiqxmlrpc - an object-oriented XML-RPC solution. // Copyright (C) 2011 Anton Dedov #include <stdexcept> #include <boost/lexical_cast.hpp> #include "except.h" #include "request_parser.h" #include "value_parser.h" namespace iqxmlrpc { enum RequestBuilderState { NONE, METHOD_CALL, METHOD_NAME, PARAMS, ...
20.245902
66
0.684211
kborkows
49691b25eb044af194ebbc4ca3a2e6d1c5143083
1,461
cpp
C++
archived/Advertising/cpp/Scenario1_XamlAdControl.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
archived/Advertising/cpp/Scenario1_XamlAdControl.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
archived/Advertising/cpp/Scenario1_XamlAdControl.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
37.461538
126
0.674196
dujianxin
4969b3b39aa7e4f0bc84f783970191b659e06ac4
4,107
cc
C++
src/mpi/wrap_mpi_status.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
src/mpi/wrap_mpi_status.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
src/mpi/wrap_mpi_status.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
/////////////////////////////////////////////////////////////////////////// // // INCLUDE FILES // /////////////////////////////////////////////////////////////////////////// #include "orbit_mpi.hh" //this header is from Python package #include "structmember.h" //c++ header for cerr and cout #include <iostream> #inc...
29.76087
88
0.587777
LeoRya
496b8828ab5837e762e47892e46f46ee83bd4fda
505
cpp
C++
aoc2015/aoc150802.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2015/aoc150802.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2015/aoc150802.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
#include <range/v3/all.hpp> #include <fstream> #include <fmt/format.h> #include <string> #include <string_view> namespace views = ranges::views; auto escapelen(std::string_view sv) { auto n = ranges::count(sv, '\\') + ranges::count(sv, '\"'); n += 2; return n; } int main(int argc, char **argv) { if (argc > 1)...
19.423077
61
0.580198
jiayuehua
4982776181c31e39600c535f8153474551d8223b
410
hpp
C++
src/sn_Builtin.hpp
Airtnp/SuperNaiveCppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
4
2017-04-01T08:09:09.000Z
2017-05-20T11:35:58.000Z
src/sn_Builtin.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
src/sn_Builtin.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
#ifndef SN_BUILTIN_H #define SN_BUILTIN_H #include "sn_CommonHeader.h" #include "sn_Builtin/wrapper.hpp" #include "sn_Builtin/observer_ptr.hpp" #include "sn_Builtin/shared_ptr.hpp" #include "sn_Builtin/intrusive_ptr.hpp" namespace sn_Builtin { template <typename T> void safe_delete(T* p) { usin...
17.826087
40
0.721951
Airtnp
21a4b53ab069f79372d124ae7f5a2fc364c6c89d
6,493
cpp
C++
example-Advanced/src/ofApp.cpp
moebiussurfing/ofxChannelFx
a583283dc78eeaec6ba937774b1840cf13f019de
[ "MIT" ]
4
2020-12-04T20:42:28.000Z
2021-12-27T09:37:24.000Z
example-Advanced/src/ofApp.cpp
moebiussurfing/ofxChannelFx
a583283dc78eeaec6ba937774b1840cf13f019de
[ "MIT" ]
1
2021-01-21T14:12:59.000Z
2021-02-08T06:11:12.000Z
example-Advanced/src/ofApp.cpp
moebiussurfing/ofxChannelFx
a583283dc78eeaec6ba937774b1840cf13f019de
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { #ifdef USE_ofxWindowApp windowApp.setFrameRate(60); windowApp.setVerticalSync(true); #endif setupScene(); //-- //webcam setupWebcamDevice(); //-- //ofxChannelFx channelFx.setup(); channelFx.setGuiPo...
19.795732
88
0.546589
moebiussurfing
21aac5636dc98ab984615223c1e190836498e00a
278
cpp
C++
test/28_VisitorPattern/ObjectStructure.cpp
dss875914213/DesignPatterns
411e446d5e6ada1d87e04fa29b3e22ec9569ef85
[ "MIT" ]
null
null
null
test/28_VisitorPattern/ObjectStructure.cpp
dss875914213/DesignPatterns
411e446d5e6ada1d87e04fa29b3e22ec9569ef85
[ "MIT" ]
null
null
null
test/28_VisitorPattern/ObjectStructure.cpp
dss875914213/DesignPatterns
411e446d5e6ada1d87e04fa29b3e22ec9569ef85
[ "MIT" ]
null
null
null
#include "ObjectStructure.h" void ObjectStructure::Attach(Person* element) { elements.push_back(element); } void ObjectStructure::Detach(Person* element) { // TODO } void ObjectStructure::Display(Action* visitor) { for (auto& it : elements) { it->Accept(visitor); } }
13.9
46
0.71223
dss875914213
21ab35feb465a968df0ef422dbe64922a5dfda31
10,518
tpp
C++
Core/srcdoc.tpp/Moveable$en-us.tpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2018-09-28T17:04:11.000Z
2018-09-28T17:04:11.000Z
Core/srcdoc.tpp/Moveable$en-us.tpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2021-04-06T21:57:39.000Z
2021-04-06T21:57:39.000Z
Core/srcdoc.tpp/Moveable$en-us.tpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
3
2017-08-26T12:06:05.000Z
2019-11-22T16:57:47.000Z
topic "Moveable"; [2 $$0,0#00000000000000000000000000000000:Default] [l288;i704;a17;O9;~~~.992;2 $$1,0#10431211400427159095818037425705:param] [a83;*R6 $$2,5#31310162474203024125188417583966:caption] [b83;*2 $$3,5#07864147445237544204411237157677:title] [b167;a42;C2 $$4,6#40027414424643823182269349404212:item] [b42;a42...
43.283951
77
0.656969
koz4k
21abbcca7e58a2ab18960df7a85ccdfc37a1ce7e
1,436
cc
C++
nimrod/dev_graph/lca.cc
kyomukyomupurin/nimrod
ac211d6775ed57cb8e3b5019cd9e424b10a15753
[ "CC0-1.0" ]
null
null
null
nimrod/dev_graph/lca.cc
kyomukyomupurin/nimrod
ac211d6775ed57cb8e3b5019cd9e424b10a15753
[ "CC0-1.0" ]
3
2021-10-02T01:01:01.000Z
2022-01-10T11:49:17.000Z
nimrod/dev_graph/lca.cc
kyomukyomupurin/nimrod
ac211d6775ed57cb8e3b5019cd9e424b10a15753
[ "CC0-1.0" ]
null
null
null
#include <bit> #include <vector> #include "./graph.cc" template <class T> class lca_forest : public forest<T> { public: using forest<T>::n_; using forest<T>::edges_; lca_forest(int n) : forest<T>(n), lg_(32 - std::__countl_zero(n)) { dep_.resize(n); par_.assign(lg_, std::vector<int>(n, -1)); } vo...
20.811594
69
0.456825
kyomukyomupurin
21b14151c10f7b0c27ada9ad8ee7a7e622b061ef
1,247
cpp
C++
test/generator/extended_buffer_t_generator.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
7
2017-04-05T20:52:57.000Z
2018-11-26T10:07:10.000Z
test/generator/extended_buffer_t_generator.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
10
2017-04-11T02:55:38.000Z
2019-06-27T18:13:36.000Z
test/generator/extended_buffer_t_generator.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
1
2020-07-10T16:00:39.000Z
2020-07-10T16:00:39.000Z
#include "Halide.h" #include "extended_buffer_t_common.h" using namespace Halide; namespace { // The extern call that gets the extra_field from a fancy_buffer_t HalideExtern_1(int, fancy_buffer_t_get_extra_field, fancy_buffer_t *); class FancyImageParam : public ImageParam { public: FancyImageParam(Type t, int ...
30.414634
94
0.693665
jwitz54
21bc1bd451376639c66f27d9b4d81f3ee2420950
84,943
cpp
C++
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValue.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValue.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValue.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "win32inc.hpp" using namespace System; using namespace System::IO; using namespace System::Collect...
18.968959
96
0.566003
txlos
21bd75f4fc9c2d459890b23055d0ffe89fd804a6
878
cpp
C++
Chapter5/Practice/1114.cpp
flics04/XXXASYBT_CppBase
0086df68497197f40286889b18f2d8c28eb833bb
[ "MIT" ]
1
2022-02-13T02:22:39.000Z
2022-02-13T02:22:39.000Z
Chapter5/Practice/1114.cpp
flics04/XXXASYBT_CppBase
0086df68497197f40286889b18f2d8c28eb833bb
[ "MIT" ]
null
null
null
Chapter5/Practice/1114.cpp
flics04/XXXASYBT_CppBase
0086df68497197f40286889b18f2d8c28eb833bb
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> #include <cstring> using namespace std; int main() { int n, tx = 0, ti = 0; double x, max, min, sum = 0, ave; cin >> n; double a[n]; memset(a, 0, sizeof(a)); cin >> a[0]; max = min = a[0]; sum += a[0]; for (i...
21.414634
70
0.374715
flics04
21be2b72de35a6ef2746bdae4fee91a92c5cc006
250
cpp
C++
Recursion/factorial.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
1
2021-11-27T06:57:22.000Z
2021-11-27T06:57:22.000Z
Recursion/factorial.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
Recursion/factorial.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void factorial(int val){ if(val==0){ return; } cout<<val<<endl; factorial(val-1); cout<<val<<endl; } int main() { // cout<<"Hello World"; factorial(5); return 0; }
13.888889
27
0.548
shitesh2607
21c6a4b87ce4710bb07b92ab8cd3268c2b181327
9,669
hh
C++
testData/parser/Types/Arrays2.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
3
2016-03-05T13:24:29.000Z
2016-09-20T11:54:06.000Z
testData/parser/Types/Arrays2.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
1
2016-05-04T23:30:45.000Z
2016-06-10T13:36:27.000Z
testData/parser/Types/Arrays2.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
null
null
null
<?hh // strict namespace NS_arrays; function v(): void {} class C1 {} class C2 { // the bool key initialiers are implicitly converted to int public array<bool, bool> $pr_bool_bool = array(true => true, false => true, true => false, false => false); public array<bool, int> $pr_bool_int = array(true => 25, false ...
46.485577
112
0.663461
jhsx
21cb9ea13d36e3fae58979c74d18fb8bfed1f41e
2,752
cc
C++
grammar-example/examples/grammar.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/examples/grammar.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/examples/grammar.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #pragma warning(disable:4503) // `silence compiler complaints about generated names being too long' #endif #include <algorithm> #include <cstdlib> #include <iostream> #include <map> #include <stdexcept> #include <string> #include <vector> #include "split.h" #include <time.h> using std::istream; ...
21.333333
104
0.645712
monadplus
21ce9d3701b85891efcf03e161e68e5ed3d564e6
1,833
cpp
C++
src/simple_disparity_map.cpp
shawnhanna/simple_disparity_map
f6f78b4bdd64f3be86804c8952d8da6f8eb002db
[ "MIT" ]
null
null
null
src/simple_disparity_map.cpp
shawnhanna/simple_disparity_map
f6f78b4bdd64f3be86804c8952d8da6f8eb002db
[ "MIT" ]
null
null
null
src/simple_disparity_map.cpp
shawnhanna/simple_disparity_map
f6f78b4bdd64f3be86804c8952d8da6f8eb002db
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <fstream> #include <vector> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> #include "SimpleDisparity.hpp" bool readImage(std::string &filename, cv::Mat &mat) { // read image mat = cv::imread(filename);...
25.458333
116
0.63557
shawnhanna
21e0f5b85f34a57b75da2b6b178ecf1003a07b11
3,461
cpp
C++
Classes/entity_ext/builder.cpp
yukuntan/ArcaneBox
1f921bd8a5c0664ebbaf2dc397c1172b5512b4d6
[ "MIT" ]
1
2017-03-08T11:17:38.000Z
2017-03-08T11:17:38.000Z
Classes/entity_ext/builder.cpp
yukuntan/ArcaneBox
1f921bd8a5c0664ebbaf2dc397c1172b5512b4d6
[ "MIT" ]
null
null
null
Classes/entity_ext/builder.cpp
yukuntan/ArcaneBox
1f921bd8a5c0664ebbaf2dc397c1172b5512b4d6
[ "MIT" ]
null
null
null
/* the entity builder is used for creating prefabs, and duplicate the instances. Author: yukun tan (codecraft@163.com) (C) Copyright tanyukun 2015. Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "a...
27.039063
106
0.656747
yukuntan
21e3ebc204e0ecac7cdfd568096c7533ada391e1
6,045
hpp
C++
inc/StaticArray.hpp
jeffreyhunter77/cpp-objects
5c6bad7ba2f860e8744318d1d84c590e119a686a
[ "MIT" ]
null
null
null
inc/StaticArray.hpp
jeffreyhunter77/cpp-objects
5c6bad7ba2f860e8744318d1d84c590e119a686a
[ "MIT" ]
null
null
null
inc/StaticArray.hpp
jeffreyhunter77/cpp-objects
5c6bad7ba2f860e8744318d1d84c590e119a686a
[ "MIT" ]
null
null
null
#ifndef __included_Objects_StaticArray_hpp__ #define __included_Objects_StaticArray_hpp__ #include <Sequence.hpp> namespace Objects { extern const Class StaticArrayClass; template <class T> class StaticArrayWithErrorHandling; template <class T> class StaticArray : public Sequence<T> { public: typedef t...
27.729358
133
0.641356
jeffreyhunter77
21e5f328aec0db432c5caf6a3a02764d7d540cec
1,072
hpp
C++
obsoleted/old/server-obsolete/hex-font.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
1
2021-12-23T13:50:53.000Z
2021-12-23T13:50:53.000Z
obsoleted/old/server-obsolete/hex-font.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
null
null
null
obsoleted/old/server-obsolete/hex-font.hpp
cppcoder123/led-server
8ebac31e1241bb203d2cedfd644fe52619007cd6
[ "MIT" ]
null
null
null
// // // #ifndef LED_D_HEX_FONT_HPP #define LED_D_HEX_FONT_HPP #include "font-name.hpp" #include "font.hpp" namespace led_d { namespace hex { class font_t { public: typedef core::font_name_t font_name_t; typedef font_name_t::id_t id_t; static bool fill (led_d::font_t &font...
20.226415
76
0.63153
cppcoder123
21f08df5352ae19dbd094aa64b1b264c3fca9ae8
1,478
hpp
C++
src/include/zombye/rendering/framebuffer.hpp
kasoki/project-zombye
30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05
[ "MIT" ]
1
2019-05-29T01:37:44.000Z
2019-05-29T01:37:44.000Z
src/include/zombye/rendering/framebuffer.hpp
atomicptr/project-zombye
30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05
[ "MIT" ]
1
2015-08-31T22:44:27.000Z
2015-08-31T22:44:27.000Z
src/include/zombye/rendering/framebuffer.hpp
kasoki/project-zombye
30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05
[ "MIT" ]
null
null
null
#ifndef __ZOMBYE_FRAMEBUFFER_HPP__ #define __ZOMBYE_FRAMEBUFFER_HPP__ #include <memory> #include <unordered_map> #include <GL/glew.h> namespace zombye { class texture; } namespace zombye { class framebuffer { private: GLuint id_; std::unordered_map<GLenum, std::unique_ptr<texture>> attachments_; public: ...
25.929825
118
0.716509
kasoki
21f81db775a070dc7f2df7dbb4d9fe5813de1cd9
1,957
hpp
C++
external/boost_1_60_0/qsboost/archive/detail/decl.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/archive/detail/decl.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/archive/detail/decl.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#ifndef QSBOOST_ARCHIVE_DETAIL_DECL_HPP #define QSBOOST_ARCHIVE_DETAIL_DECL_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2///////// 3/////////4/////////5/////////6/////////7/////////8 // decl.hpp // // (c) Copyright Robert Ramey 2004 // Use, mo...
32.616667
81
0.715381
wouterboomsma
21faf1f970583becac4c815f39dc549b473efd98
1,176
cpp
C++
Chapter4/Exercise-4-2/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter4/Exercise-4-2/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter4/Exercise-4-2/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { cout << "Exercise 4.2" << endl; cout << "If we define the median of a sequence as “a number so that exactly as" << endl; cout << "many elements come before it in the sequence as come after it” find media...
25.565217
105
0.543367
kozborn
21fbba0ac4c4851cac8acb40851f54e42bc7bc26
1,612
cpp
C++
src/SceneManager.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
src/SceneManager.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
src/SceneManager.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
#include "SceneManager.h" #include "GameScene.h" #include "EndScene.h" #include "TitleScene.h" #include "Game.h" using namespace Battleship; SceneManager* SceneManager::instance = nullptr; SceneManager::SceneManager() { instance = this; scale = Game::gameScale; currentScene = nullptr; p2API = ne...
18.11236
78
0.675558
cjmar
1d062738b7d0637f707d1938bd1ed3ea45795629
1,024
hpp
C++
modules/string/include/string/compil.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
29
2016-01-27T09:43:44.000Z
2020-03-12T04:16:02.000Z
modules/string/include/string/compil.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
20
2016-01-22T15:59:33.000Z
2016-10-28T10:22:45.000Z
modules/string/include/string/compil.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
6
2016-02-11T14:09:04.000Z
2018-03-17T00:18:35.000Z
#ifndef AVERSIVE_STRING_COMPIL_HPP #define AVERSIVE_STRING_COMPIL_HPP #include "string.hpp" #include <string.h> namespace Aversive { namespace String { template<char... CHARS> class CompilString : public Interface<String, CompilString<CHARS...>> { private: template<char ARG1, char... ARGS> struct Helper { st...
19.692308
71
0.652344
aversiveplusplus
1d107f96231185e490ed7aa1d8d483d86f12f63b
10,787
cpp
C++
MSVC/14.24.28314/crt/src/vcruntime/mgdframe.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
MSVC/14.24.28314/crt/src/vcruntime/mgdframe.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
MSVC/14.24.28314/crt/src/vcruntime/mgdframe.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
/*** * mgdframe.cpp - Managed exception frame support. * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * These routines are called by managed code during exception propagation. * ****/ #include <eh.h> // User-visible routines for eh #include <ehassert.h> // This project'...
33.088957
84
0.544174
825126369
1d1bbf60a51c9ab0bfbfb2832cc9a89c92b0cb56
3,322
cpp
C++
distributions/univariate/continuous/InverseGammaRand.cpp
StochasticEngineer/RandLib
fff111968f5369b7ddaffac44289bbb26cc5c0f3
[ "MIT" ]
61
2017-11-01T16:29:54.000Z
2020-06-20T01:34:30.000Z
distributions/univariate/continuous/InverseGammaRand.cpp
vishalbelsare/RandLib
fff111968f5369b7ddaffac44289bbb26cc5c0f3
[ "MIT" ]
8
2015-07-01T21:30:22.000Z
2017-10-18T22:15:43.000Z
distributions/univariate/continuous/InverseGammaRand.cpp
vishalbelsare/RandLib
fff111968f5369b7ddaffac44289bbb26cc5c0f3
[ "MIT" ]
8
2017-11-05T19:33:44.000Z
2020-06-20T01:34:28.000Z
#include "InverseGammaRand.h" template < typename RealType > InverseGammaRand<RealType>::InverseGammaRand(double shape, double rate) { SetParameters(shape, rate); } template < typename RealType > String InverseGammaRand<RealType>::Name() const { return "Inverse-Gamma(" + this->toStringWithPrecision(GetShape()...
25.358779
124
0.678808
StochasticEngineer
1d1d4c6ab1924599a2cbf12cd756292c312fc49c
13,346
cpp
C++
sp/src/gameui/matchmaking/sessionoptionsdialog.cpp
URAKOLOUY5/source-sdk-2013
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
2
2022-02-18T18:16:37.000Z
2022-02-23T21:21:37.000Z
sp/src/gameui/matchmaking/sessionoptionsdialog.cpp
URAKOLOUY5/u5-maps
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
null
null
null
sp/src/gameui/matchmaking/sessionoptionsdialog.cpp
URAKOLOUY5/u5-maps
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
null
null
null
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Dialog for setting customizable game options // //=============================================================================// #include "sessionoptionsdialog.h" #include "engine/imatchmaking.h" #include "EngineInterface.h" #...
31.700713
117
0.580548
URAKOLOUY5
1d20209d107782b85333ff256999fedf2326871f
4,571
cc
C++
build/X86_MESI_Two_Level/python/m5/util/attrdict.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/util/attrdict.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/util/attrdict.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_util_attrdict[] = { 120,156,181,85,221,143,219,68,16,159,93,39,118,146,251,104, 64,112,165,39,21,140,42,161,72,133,6,168,14,129,104,43, 62,10,119,47,189,7,223,67,33,18,114,141,189,151,219,83, 108,71,222,53,16,116,188,112,252,87,252,115,204,140,1...
53.151163
67
0.663312
hoho20000000
1d21d7de1607a2f67b8199fda48b8a5e103923e1
1,076
cpp
C++
Day 03 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2016-cpp
729bc5c2d7c054c98212b692ea45ae70ed35a24c
[ "Unlicense" ]
null
null
null
Day 03 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2016-cpp
729bc5c2d7c054c98212b692ea45ae70ed35a24c
[ "Unlicense" ]
null
null
null
Day 03 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2016-cpp
729bc5c2d7c054c98212b692ea45ae70ed35a24c
[ "Unlicense" ]
null
null
null
#include <fstream> #include <iostream> #include <iterator> #include <numeric> #include <string> struct Triangle { std::uint64_t a, b, c; }; struct TripleTriangle { Triangle A, B, C; }; auto& operator>>(std::istream& in, TripleTriangle& tt) { return in >> tt.A.a >> tt.B.a >> tt.C.a >> tt.A.b >> tt.B.b >> tt.C...
21.098039
114
0.596654
Miroslav-Cetojevic
1d2233c8bb85579e16edce3376700bba8bec3c6a
1,001
cpp
C++
12250.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
12250.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
12250.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...
20.854167
65
0.616384
felikjunvianto
1d2367c42687cb8c9684d6d94c4a99f5bf18caa3
1,113
cpp
C++
Axis.Physalis/application/factories/collectors/CollectorBuildResult.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Physalis/application/factories/collectors/CollectorBuildResult.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Physalis/application/factories/collectors/CollectorBuildResult.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "CollectorBuildResult.hpp" namespace aafc = axis::application::factories::collectors; namespace aaoc = axis::application::output::collectors; namespace aslp = axis::services::language::parsing; aafc::CollectorBuildResult::CollectorBuildResult( aaoc::EntityCollector *collector, ...
39.75
102
0.61186
renato-yuzup
918fe21e12fff7233e840703c56943ab1c2d9739
3,691
cpp
C++
src/worker.cpp
Fanteria/photo-worker
7fe433cfc877227522db884a30e86982157fded2
[ "MIT" ]
null
null
null
src/worker.cpp
Fanteria/photo-worker
7fe433cfc877227522db884a30e86982157fded2
[ "MIT" ]
null
null
null
src/worker.cpp
Fanteria/photo-worker
7fe433cfc877227522db884a30e86982157fded2
[ "MIT" ]
null
null
null
#include "worker.hpp" namespace fs = std::filesystem; using std::set, std::map, std::pair, std::vector; using std::string; inline fs::path Worker::new_path(const fs::path &path, const string &name) { return path.parent_path() / name; } inline set<fs::path> Worker::get_sorted_files(const fs::path &path, ...
30.254098
80
0.651043
Fanteria
919298e15c95995ac06e238166ba1a7dfc59a770
509
hpp
C++
ishtar/include/types/WaveRuntimeType.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
ishtar/include/types/WaveRuntimeType.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
ishtar/include/types/WaveRuntimeType.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
#pragma once #include "compatibility.types.hpp" #include "WaveArray.hpp" #include "WaveModificator.hpp" #include <WaveTypeCode.hpp> #include <types/WaveModificator.hpp> struct ModifiedType; struct WaveClass; struct WaveMethodSignature; struct WaveRuntimeType { WaveTypeCode type; union { WaveClass* klass; WaveRunt...
19.576923
39
0.779961
Djelnar
9192e605b29d3fa400b7e154c4beec24f294cd05
9,966
cpp
C++
LibRaw/src/metadata/leica.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
497
2019-06-20T09:52:58.000Z
2022-03-31T12:56:49.000Z
LibRaw/src/metadata/leica.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
58
2019-06-19T10:53:49.000Z
2022-02-14T22:43:18.000Z
LibRaw/src/metadata/leica.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
57
2019-07-08T16:08:01.000Z
2022-03-12T15:00:04.000Z
/* -*- C++ -*- * Copyright 2019-2020 LibRaw LLC (info@libraw.org) * LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for deta...
27.837989
80
0.562212
lcsteyn
91972c6db7282c1989680f24547137c0cdb7f843
3,483
cpp
C++
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-kevin-hub2020
e4cafbe5e0938ffec6843bc09894eed0f97075f7
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-kevin-hub2020
e4cafbe5e0938ffec6843bc09894eed0f97075f7
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-kevin-hub2020
e4cafbe5e0938ffec6843bc09894eed0f97075f7
[ "MIT" ]
null
null
null
//cpp #include"tic_tac_toe.h" #include<iostream> using std::cout; std::ostream& operator<<(std::ostream& out, const tiktaktoeGame& game) { if (game.pegs.size() == 9) { out<<game.pegs[0]<<" | "<<game.pegs[1]<<" | "<<game.pegs[2]<<"\n"; out<<"--+---+--"<<"\n"; out<<game.pegs[3]<<" | "<<...
20.368421
115
0.485501
acc-cosc-1337-spring-2021
9197bd83e8e31d0cd6057cc2896b8665e011eaca
762
hpp
C++
client/client/src/hlib/hpcb.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
3
2019-07-03T03:16:39.000Z
2019-12-02T08:08:43.000Z
client/client/src/hlib/hpcb.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
null
null
null
client/client/src/hlib/hpcb.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
null
null
null
/* * hpcb.hpp * * Created on: 2013-9-25 * Author: root */ #ifndef HPCB_HPP_ #define HPCB_HPP_ #include "global.hpp" #include "hpasutils.hpp" const int CB_DEFAULT_SIZE = 4096; class THCB { private: pByte m_pBuffer; pByte m_pReadPos; pByte m_pWritePos; int m_nBufSize; int m_nReadCounter; int m...
19.05
93
0.715223
oracleloyall
919d7d96793e47698ce21454308616428b2e1454
26,771
cpp
C++
artifact/storm/src/storm/storage/jani/Automaton.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/jani/Automaton.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/jani/Automaton.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/storage/jani/Automaton.h" #include "storm/storage/jani/Edge.h" #include "storm/storage/jani/TemplateEdge.h" #include "storm/storage/jani/Location.h" #include "storm/storage/jani/expressions/JaniExpressionSubstitutionVisitor.h" #include "storm/storage/expressions/ExpressionManager.h" #include "storm/ut...
42.026688
267
0.563296
glatteis
919fd92d7a6f160849f4c925db5953f66459481a
461
cpp
C++
UIntEdit.cpp
PMK3D/bim_viewer_tutorial
9005094a4cb3d32c1a398f82188c3201ab8600df
[ "MIT" ]
1
2021-01-12T01:32:00.000Z
2021-01-12T01:32:00.000Z
UIntEdit.cpp
PMK3D/bim_viewer_tutorial
9005094a4cb3d32c1a398f82188c3201ab8600df
[ "MIT" ]
null
null
null
UIntEdit.cpp
PMK3D/bim_viewer_tutorial
9005094a4cb3d32c1a398f82188c3201ab8600df
[ "MIT" ]
2
2021-06-25T15:18:09.000Z
2021-06-26T03:01:01.000Z
#include "StdAfx.h" #include "UIntEdit.h" namespace FilterEdit { bool CUIntEdit::m_bInitialised = false; CRegEx CUIntEdit::m_RegEx; CUIntEdit::CUIntEdit () : CBaseEdit (&m_RegEx) { if (!m_bInitialised) { CString strRegEx (_T("0|[1-9][0-9]*")); m_RegEx.assign (strRegEx); m_bInitialised = true; } } CUIntEdi...
13.969697
41
0.689805
PMK3D
91a44b6f6673244aa4392470e00ff7585da7c828
659
hpp
C++
Libraries/Zilch/Project/Zilch/MultiPrimitive.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
1
2019-08-31T00:45:45.000Z
2019-08-31T00:45:45.000Z
Libraries/Zilch/Project/Zilch/MultiPrimitive.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
5
2020-04-13T00:17:11.000Z
2021-04-20T23:11:42.000Z
Libraries/Zilch/Project/Zilch/MultiPrimitive.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
null
null
null
/**************************************************************\ * Author: Andrew Colean * Copyright 2016, DigiPen Institute of Technology \**************************************************************/ #pragma once #ifndef ZILCH_MULTIPRIMITIVE_HPP #define ZILCH_MULTIPRIMITIVE_HPP namespace Zilch { // Represents a...
25.346154
84
0.629742
jodavis42
91a4549db5428fbf0a1bae37ee40e6bd059fb074
415
cpp
C++
7.MDF-Majordomo Protocol/worker/mdworker.cpp
pvthuyet/ZeroMQ-RFC-Implementation
b0f80a28f1367b9d6095fdc609bf69ef6c2903f5
[ "BSL-1.0" ]
null
null
null
7.MDF-Majordomo Protocol/worker/mdworker.cpp
pvthuyet/ZeroMQ-RFC-Implementation
b0f80a28f1367b9d6095fdc609bf69ef6c2903f5
[ "BSL-1.0" ]
null
null
null
7.MDF-Majordomo Protocol/worker/mdworker.cpp
pvthuyet/ZeroMQ-RFC-Implementation
b0f80a28f1367b9d6095fdc609bf69ef6c2903f5
[ "BSL-1.0" ]
null
null
null
#include "mdworker.hpp" #include "logger/logger_define.hpp" #include "admin/sub_admin.hpp" SAIGON_NAMESPACE_BEGIN mdworker::mdworker(zmqpp::context_t& ctx, std::string_view brokerep, std::string_view adminep, std::string_view service_name, std::string_view identity ): iworker(ctx, adminep), session_(ctx, broker...
23.055556
48
0.780723
pvthuyet