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
8202a2d19ed1893d8b732124980ab260f9c8a3bb
6,251
cpp
C++
tests/unit_tests/boundaries/test_distributed_boundaries.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/boundaries/test_distributed_boundaries.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/boundaries/test_distributed_boundaries.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <gridtools/boundaries/distributed_boundaries.hpp> #include <functional> #include <gtest/gtest.h> #include <mpi.h> #in...
38.115854
118
0.550952
tehrengruber
8208c06db473a046db0f796a9ac38e76ee938c09
6,519
cpp
C++
src/cvkb/vkbinputlayout.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
src/cvkb/vkbinputlayout.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
src/cvkb/vkbinputlayout.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (C) 2020 CELLINK AB <info@cellink.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
28.343478
124
0.700414
CELLINKAB
8209e2ef8491b4ce3bb1b7c65433a0643530ec5b
8,396
cpp
C++
modules/ti.UI/win32/win32_menu_item_impl.cpp
pjunior/titanium
2d5846849fb33291afd73d79c117ea990b54db77
[ "Apache-2.0" ]
3
2016-03-15T23:50:35.000Z
2016-05-09T09:36:10.000Z
modules/ti.UI/win32/win32_menu_item_impl.cpp
pjunior/titanium
2d5846849fb33291afd73d79c117ea990b54db77
[ "Apache-2.0" ]
null
null
null
modules/ti.UI/win32/win32_menu_item_impl.cpp
pjunior/titanium
2d5846849fb33291afd73d79c117ea990b54db77
[ "Apache-2.0" ]
null
null
null
/** * Appcelerator Titanium - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include "win32_menu_item_impl.h" #include <windows.h> #include <shellapi.h> #include "../ui_module.h" #define STU...
23.452514
131
0.685565
pjunior
820a94cb0e53991069651071f1be3a9c7f31b118
8,309
cpp
C++
src/Molassembler/RankingInformation.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
null
null
null
src/Molassembler/RankingInformation.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
null
null
null
src/Molassembler/RankingInformation.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
null
null
null
/*!@file * @copyright This code is licensed under the 3-clause BSD license. * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. * See LICENSE.txt for details. */ #include "Molassembler/RankingInformation.h" #include "Molassembler/Temple/Adaptors/Zip.h" #include "Molassembler/Temple/Function...
28.95122
97
0.676134
Dom1L
820e23ceb531d3721628e697aaad19e291464065
35,418
tpp
C++
src/hypro/representations/TaylorModel/TaylorModel.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/hypro/representations/TaylorModel/TaylorModel.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/hypro/representations/TaylorModel/TaylorModel.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
/* * TaylorModel.cpp * * Created on: Sep 8, 2014 * Author: chen */ #include "TaylorModel.h" namespace hypro { template <typename Number> TaylorModel<Number>::TaylorModel() { carl::Interval<Number> intZero( 0 ); remainder = intZero; } template <typename Number> TaylorModel<Number>::~TaylorModel() { } t...
26.372301
131
0.689085
hypro
8213c2610908d184cec52c29641ea2d98cf43bc6
40,322
cpp
C++
fallen/DDLibrary/Source/MFX_Miles.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
fallen/DDLibrary/Source/MFX_Miles.cpp
dizzy2003/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
fallen/DDLibrary/Source/MFX_Miles.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
#if 0 // MFX_Miles.cpp // // Miles Sound System // Making it asynchronous: // // 1. Keep everything the same. vptr->smp points to sample, sptr->dptr points to data, only "pending" is marked for sample // 2. When IO completes, go through voices and trigger/modify according to data in vptr #define ASYNC_FILE_IO 1 #...
19.283596
142
0.651307
inco1
8216b2ad8d36f682cea3517ed4e58d711e06e6df
11,620
cpp
C++
modules/registration/src/noise_model_based_cloud_integration.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
17
2015-11-16T14:21:10.000Z
2020-11-09T02:57:33.000Z
modules/registration/src/noise_model_based_cloud_integration.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
35
2015-07-27T15:04:43.000Z
2019-08-22T10:52:35.000Z
modules/registration/src/noise_model_based_cloud_integration.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
18
2015-08-06T09:26:27.000Z
2020-09-03T01:31:00.000Z
/****************************************************************************** * Copyright (c) 2013 Aitor Aldoma, Thomas Faeulhammer * * 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 wi...
36.199377
131
0.615749
ToMadoRe
82198c49da3946fa600def6400d63c0bed9b5110
3,495
hh
C++
src/c++/librecordio/exception.hh
darhieus/mapreduce
cd81823732f76baefdff58421082c7f16ddab238
[ "Apache-2.0" ]
194
2015-01-07T11:12:52.000Z
2022-03-14T09:19:24.000Z
src/c++/librecordio/exception.hh
darhieus/mapreduce
cd81823732f76baefdff58421082c7f16ddab238
[ "Apache-2.0" ]
10
2019-11-13T06:03:05.000Z
2021-08-02T17:05:22.000Z
src/c++/librecordio/exception.hh
darhieus/mapreduce
cd81823732f76baefdff58421082c7f16ddab238
[ "Apache-2.0" ]
172
2015-01-14T19:25:48.000Z
2022-02-24T02:42:02.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...
26.884615
78
0.650358
darhieus
821a12d3fe1b2174645fd078ae8e84cca86a772c
5,525
cpp
C++
tests/data/TestFluidDataSet.cpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
tests/data/TestFluidDataSet.cpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
tests/data/TestFluidDataSet.cpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
#define APPROVALS_CATCH #define CATCH_CONFIG_MAIN // #include <catch2/catch.hpp> #include <ApprovalTests.hpp> // #include <catch2/catch_test_macros.hpp> #include <data/FluidTensor.hpp> #include <data/FluidMeta.hpp> #include <data/FluidDataSet.hpp> #include <CatchUtils.hpp> #include <array> #include <vector> #in...
29.545455
83
0.595294
jamesb93
821f44999ec58d8df9d789bdcfee8fb49c5c37a0
2,546
hpp
C++
include/Nazara/Core/Stream.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Core/Stream.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Core/Stream.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CORE_STREAM_HPP #define NAZARA_CORE_STREAM_HPP #include <Nazara/Prerequisites.hpp> #in...
29.264368
115
0.737235
NazaraEngine
8222ff5954619fc2fb0ca42c5acabd3f5937683e
630
cpp
C++
src_ref/main.cpp
Joilnen/rge
df20a68a9f86239d9801fcd77f2131e8977a594e
[ "MIT" ]
null
null
null
src_ref/main.cpp
Joilnen/rge
df20a68a9f86239d9801fcd77f2131e8977a594e
[ "MIT" ]
null
null
null
src_ref/main.cpp
Joilnen/rge
df20a68a9f86239d9801fcd77f2131e8977a594e
[ "MIT" ]
null
null
null
#include "ECS.h" #include "GameNode.h" #include <string> #include "Actor.h" #include <OGRE/Ogre.h> #include "GameManager.h" #include "SceneManager.h" #include "RootGame.h" using namespace Ogre; int main() { auto world { World::createWorld() }; auto gameSystem { world->registerSystem(new GameManager) }; a...
21
80
0.684127
Joilnen
8228d12f592107df1ad1433e86cc3713d187a42e
671
cpp
C++
Array/Insertion Sort/Sol.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
19
2021-04-28T13:32:15.000Z
2022-03-08T11:52:59.000Z
Array/Insertion Sort/Sol.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Array/Insertion Sort/Sol.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
27
2021-01-18T22:35:01.000Z
2022-02-22T19:52:19.000Z
#include<iostream> using namespace std; class sort { private : int a[20],n,pos,i,j,temp; public: void input(); void process(); void output(); }; void sort :: input() { cout<<"Input the number of array elements :"; cin>>n; cout<<"Input "<<n<<" elements for the array:\n"; for(i=0;i<n;i+...
13.156863
65
0.532042
shouryagupta21
822987537b56a0d7dcc43e424c62bb3f87ff087b
552
hh
C++
RecoDataProducts/inc/ExtMonFNALRawClusterCollection.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
RecoDataProducts/inc/ExtMonFNALRawClusterCollection.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
RecoDataProducts/inc/ExtMonFNALRawClusterCollection.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // $Id: ExtMonFNALRawClusterCollection.hh,v 1.1 2012/09/19 03:29:45 gandr Exp $ // $Author: gandr $ // $Date: 2012/09/19 03:29:45 $ // // Original author Andrei Gaponenko // #ifndef RecoDataProducts_ExtMonFNALRawClusterCollection_hh #define RecoDataProducts_ExtMonFNALRawClusterCollection_hh #include <vector> #incl...
25.090909
79
0.791667
bonventre
822f6162d32a407af7c9116c9d2a24d8cd8aed1e
5,392
hpp
C++
PlayRho/Dynamics/Joints/TargetJoint.hpp
godinj/PlayRho
f6f19598a8fca67e10a574faa9bc732d1bd20a2e
[ "Zlib" ]
null
null
null
PlayRho/Dynamics/Joints/TargetJoint.hpp
godinj/PlayRho
f6f19598a8fca67e10a574faa9bc732d1bd20a2e
[ "Zlib" ]
null
null
null
PlayRho/Dynamics/Joints/TargetJoint.hpp
godinj/PlayRho
f6f19598a8fca67e10a574faa9bc732d1bd20a2e
[ "Zlib" ]
null
null
null
/* * Original work Copyright (c) 2006-2007 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * a...
33.91195
94
0.727745
godinj
4361f1349b01b2aa209a0db6087d5caddd1d54b2
1,551
cpp
C++
2020-11-25/friday.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-25/friday.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-25/friday.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
/* ID: pufepro1 LANG: C++ TASK: friday */ #include <cstdio> #include <cstdlib> int week[7]; // sat=0, sun=1, mon=2 ... fri=6 int month[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int regular_year[7]; int leap_year[7]; bool is_leap(int year) { if (year % 400 == 0) return tr...
18.914634
46
0.462927
pufe
436387615b72e3f1b95618b03ee2605695bdf702
60,498
cpp
C++
Editor/_src/PhysicsStudio.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
2
2022-02-11T11:59:44.000Z
2022-02-16T20:33:25.000Z
Editor/_src/PhysicsStudio.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
Editor/_src/PhysicsStudio.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
#include "all.h" #include <win_res.h> #include <Insanity\PhysTemplate.h> #include <windows.h> #include "winstuff.h" #include "..\..\Source\IEditor\resource.h" #include "common.h" //---------------------------- //we use -0 to mark 'default float value for some params //const float DEFAULT...
34.025872
999
0.484066
mice777
4363b83d413603e467f495715fca5c031c7a1b73
40,006
hpp
C++
libs/c3ga/src/c3ga/InnerExplicit.hpp
qcoumes/GA-physics
be72e0959620973ab29cd9e4705e97eda4356fe9
[ "MIT" ]
null
null
null
libs/c3ga/src/c3ga/InnerExplicit.hpp
qcoumes/GA-physics
be72e0959620973ab29cd9e4705e97eda4356fe9
[ "MIT" ]
null
null
null
libs/c3ga/src/c3ga/InnerExplicit.hpp
qcoumes/GA-physics
be72e0959620973ab29cd9e4705e97eda4356fe9
[ "MIT" ]
1
2020-03-23T19:17:06.000Z
2020-03-23T19:17:06.000Z
// Copyright (c) 2018 by University Paris-Est Marne-la-Vallee // InnerExplicit.hpp // This file is part of the Garamon for c3ga. // Authors: Stephane Breuils and Vincent Nozick // Contact: vincent.nozick@u-pem.fr // // Licence MIT // A a copy of the MIT License is given along with this program /// \file InnerExplicit....
70.185965
300
0.691996
qcoumes
43645317dac1cc9e6156bd8dba90d8f7ce9f3915
1,214
hpp
C++
.vscode/cquery_cached_index/@Users@erichamilton@Development@Robotics@VEX-2018-2019@CART-2019-PROS-V5/include@motorControlFuncs.hpp
ehami/CART-2019-PROS-V5
d02f302a214a633ceb8abd73fb5fed0348340007
[ "MIT" ]
1
2019-01-22T02:16:34.000Z
2019-01-22T02:16:34.000Z
.vscode/cquery_cached_index/@Users@erichamilton@Development@Robotics@VEX-2018-2019@CART-2019-PROS-V5/include@motorControlFuncs.hpp
ehami/CART-2019-PROS-V5
d02f302a214a633ceb8abd73fb5fed0348340007
[ "MIT" ]
1
2019-03-01T14:47:26.000Z
2019-03-01T14:47:26.000Z
include/motorControlFuncs.hpp
ehami/CART-2019-PROS-V5
d02f302a214a633ceb8abd73fb5fed0348340007
[ "MIT" ]
null
null
null
// resets all motor encoder positions to zero void resetMotorEncoderPositions(); // initializes all motors with correct settings void initMotors(); void setDriveWheelsToPower(int left, int right); // Sets the left motors to a specific velocity. (positive values go forward) void setLeftWheelsToPower(int power); // ...
24.28
76
0.762768
ehami
43661fec3da366448856d105a8b4e9fb7127c93d
390
hh
C++
src/timer.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/timer.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/timer.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
1
2019-01-24T16:14:56.000Z
2019-01-24T16:14:56.000Z
// timer.hh // // A timer class #ifndef TIMER_HEADER #define TIMER_HEADER #include <ctime> class Timer { public: Timer(); //!< construct and start void Start(); //!< start clock double Stop(); //!< reset clock & return time in seconds //! return time in seconds double Dtime() const; private: std::...
15.6
59
0.638462
maciejwlodek
4366226fbc670d2c61d95a71fc3f2bccabe5b77b
744
cpp
C++
algorithm-challenges/baekjoon-online-judge/challenges/9000/9942.cpp
nbsp1221/algorithm
a227bbc7cf43dbf2cadc8d47052b9a92875dfa77
[ "MIT" ]
null
null
null
algorithm-challenges/baekjoon-online-judge/challenges/9000/9942.cpp
nbsp1221/algorithm
a227bbc7cf43dbf2cadc8d47052b9a92875dfa77
[ "MIT" ]
null
null
null
algorithm-challenges/baekjoon-online-judge/challenges/9000/9942.cpp
nbsp1221/algorithm
a227bbc7cf43dbf2cadc8d47052b9a92875dfa77
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); vector<int> inputs; int maxInput = 0; while (true) { int n; cin >> n; if (cin.fail() || cin.eof()) { break; } ...
18.146341
68
0.456989
nbsp1221
4367112792a638f77c87350852f965347958b654
437
cpp
C++
OO/[OO] Folha de Pagamento/OrcamentoEstouradoException.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
OO/[OO] Folha de Pagamento/OrcamentoEstouradoException.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
OO/[OO] Folha de Pagamento/OrcamentoEstouradoException.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
#include "OrcamentoEstouradoException.hpp" #include <iostream> OrcamentoEstouradoException::OrcamentoEstouradoException(double total){ //std::cout << "OrcamentoEstouradoException " << total << std::endl; valorCapturado = total; } std::string OrcamentoEstouradoException::getMessage(){ char texto[50]; s...
31.214286
72
0.723112
JovemPedr0
43674e03267b79bb9bc44ba8ae72ce92758983b4
375
cpp
C++
chapter-19/19.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-19/19.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-19/19.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
#include "Screen.hpp" int main() { // legal; auto pmf = &Screen::get_cursor; // pmf is a member function pointer points to Screen::get_cursor, which is a member function which accepts no parameter and return type as char; pmf = &Screen::get; // now pmf points to Screen::get, which has same function type as S...
34.090909
146
0.72
zero4drift
43678c48cca4b1030020002e6f4f84823c1f544e
308
cpp
C++
src/crypt.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
null
null
null
src/crypt.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
8
2018-07-12T14:10:53.000Z
2020-09-17T11:15:52.000Z
src/crypt.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
null
null
null
#include "crypt.h" #include <cstring> namespace scythe { void Encrypt(char* buffer_out, const char* buffer_in, size_t length, const char* key) { size_t key_size = strlen(key); for (size_t i = 0; i < length; ++i) { buffer_out[i] = buffer_in[i] ^ key[i % key_size]; } } } // namespace scythe
19.25
86
0.646104
Shtille
436861f85c4c3c2caa5c4b1cc510c741b110e4da
1,821
cpp
C++
source/playthrough.cpp
Dani88alv/OoT3D_Randomizer
93b0117672acc0775c164026f71e772c5089e1b8
[ "MIT" ]
null
null
null
source/playthrough.cpp
Dani88alv/OoT3D_Randomizer
93b0117672acc0775c164026f71e772c5089e1b8
[ "MIT" ]
null
null
null
source/playthrough.cpp
Dani88alv/OoT3D_Randomizer
93b0117672acc0775c164026f71e772c5089e1b8
[ "MIT" ]
null
null
null
#include "playthrough.hpp" #include "fill.hpp" #include "location_access.hpp" #include "logic.hpp" #include "random.hpp" #include "spoiler_log.hpp" #include "../code/src/item_override.h" #include <3ds.h> #include <unistd.h> namespace Playthrough { int Playthrough_Init(u32 seed) { Random_Ini...
23.960526
59
0.531027
Dani88alv
436eb109cf174314f0cbb599e87f49be17501c84
905
cpp
C++
src/mapper/s3/S3MapperNaive.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
1
2019-04-06T08:43:15.000Z
2019-04-06T08:43:15.000Z
src/mapper/s3/S3MapperNaive.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
1
2019-04-15T09:49:13.000Z
2019-04-15T09:49:13.000Z
src/mapper/s3/S3MapperNaive.cpp
akougkas/iris
ae8b077afa6cec7ce3ea845dc7caad9b5e105c9d
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** *include files ******************************************************************************/ #include "../../utils/tools/city.h" #include "S3MapperNaive.h" /****************************************************************************** *...
33.518519
79
0.472928
akougkas
436f67f30b6bd0bad01e21b0a5f1d95257e73447
1,147
cpp
C++
libvast/test/system/sink.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
249
2019-08-26T01:44:45.000Z
2022-03-26T14:12:32.000Z
libvast/test/system/sink.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
586
2019-08-06T13:10:36.000Z
2022-03-31T08:31:00.000Z
libvast/test/system/sink.cpp
satta/vast
6c7587effd4265c4a5de23252bc7c7af3ef78bee
[ "BSD-3-Clause" ]
37
2019-08-16T02:01:14.000Z
2022-02-21T16:13:59.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2016 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/system/sink.hpp" #include "vast/error.hp...
28.675
64
0.681779
lava
4372dcffd6dbdb3702036e1c592e860f950b5881
545
cpp
C++
source/Engine/GameObject.cpp
rincew1nd/Minesweeper-Switch
6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467
[ "MIT" ]
8
2018-06-27T00:34:11.000Z
2018-09-07T06:56:20.000Z
source/Engine/GameObject.cpp
rincew1nd/Minesweeper-Switch
6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467
[ "MIT" ]
null
null
null
source/Engine/GameObject.cpp
rincew1nd/Minesweeper-Switch
6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467
[ "MIT" ]
2
2018-06-28T03:02:07.000Z
2019-01-26T06:02:17.000Z
#include "GameObject.hpp" GameObject::GameObject(int x, int y, int w, int h) { _rect = new SDL_Rect(); _rect->x = x; _rect->y = y; _rect->w = w; _rect->h = h; } void GameObject::Move(int dx, int dy) { _rect->x += dx; _rect->y += dy; }; void GameObject::SetAction(std::function<void()> func...
20.185185
77
0.572477
rincew1nd
4377417baf9a1e949e6080bb1ae99dcf9ff202fb
1,753
cpp
C++
Hw3/Hw3.cpp
dumblole/CMSC-140
00e8ad5f273fe7414e2b15eb28b7e39b25ab188a
[ "MIT" ]
1
2022-03-01T00:30:34.000Z
2022-03-01T00:30:34.000Z
Hw3/Hw3.cpp
dumblole/CMSC-140
00e8ad5f273fe7414e2b15eb28b7e39b25ab188a
[ "MIT" ]
null
null
null
Hw3/Hw3.cpp
dumblole/CMSC-140
00e8ad5f273fe7414e2b15eb28b7e39b25ab188a
[ "MIT" ]
null
null
null
/* Hw3.cpp CMSC 140, CRN 24381, Dr. Kuijt Max C. Develop a program that calculates the final score and the average score for a student from his/her (1)class participation, (2) test, (3) assignment, (4) exam, and (5) practice scores. The user should enter the name of the student and scores ranging from 0 to 100 for...
29.216667
285
0.600685
dumblole
4377bfd06ea872fe4b8744feef0eef10ca39c8b9
1,420
cpp
C++
test/gc_ptr_test.cpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
test/gc_ptr_test.cpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
2
2017-01-17T16:24:59.000Z
2017-06-08T17:39:26.000Z
test/gc_ptr_test.cpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <liballocgc/liballocgc.hpp> using namespace allocgc; using namespace allocgc::serial; TEST(gc_ptr_test, test_gc_ptr) { static const size_t SIZE = 8; gc_ptr<int[]> ptr1 = gc_new<int[]>(SIZE); gc_ptr<int[]> ptr2 = ptr1; ASSERT_EQ(ptr1, ptr2); ++ptr2; ASSERT_N...
16.705882
66
0.592254
eucpp
4378ba0b8f929a843112c7e2c8bd518b6da63414
1,133
hh
C++
inc/grayvalley/common/OrderID.hh
grayvalley/common
fb5547898ae71c6a86bae6630e7193f5e1cff5db
[ "Apache-2.0" ]
null
null
null
inc/grayvalley/common/OrderID.hh
grayvalley/common
fb5547898ae71c6a86bae6630e7193f5e1cff5db
[ "Apache-2.0" ]
null
null
null
inc/grayvalley/common/OrderID.hh
grayvalley/common
fb5547898ae71c6a86bae6630e7193f5e1cff5db
[ "Apache-2.0" ]
null
null
null
/* * 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, software * distribut...
29.051282
84
0.671668
grayvalley
437d5bac8c129c549f047fdfe612cb984c49449a
17,434
cpp
C++
tests/validation/CL/DirectConvolutionLayer.cpp
giorgio-arena/ComputeLibraryBinary
b8bb65f0dc2561907e566908e102aabcb7d41d61
[ "MIT" ]
1
2019-05-14T11:36:51.000Z
2019-05-14T11:36:51.000Z
tests/validation/CL/DirectConvolutionLayer.cpp
giorgio-arena/ComputeLibraryBinary
b8bb65f0dc2561907e566908e102aabcb7d41d61
[ "MIT" ]
null
null
null
tests/validation/CL/DirectConvolutionLayer.cpp
giorgio-arena/ComputeLibraryBinary
b8bb65f0dc2561907e566908e102aabcb7d41d61
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
69.18254
270
0.568774
giorgio-arena
437ec2a6c333555098af52656b472e9308b860cd
2,963
cpp
C++
Lithium/vendor/assimp/contrib/openddlparser/code/OpenDDLStream.cpp
ayoubbelatrous/LithiumEngine
bc24d277058b12cce3d95c8494fe366acda48462
[ "MIT" ]
1
2021-12-04T18:07:22.000Z
2021-12-04T18:07:22.000Z
Lithium/vendor/assimp/contrib/openddlparser/code/OpenDDLStream.cpp
ayoubbelatrous/LithiumEngine
bc24d277058b12cce3d95c8494fe366acda48462
[ "MIT" ]
null
null
null
Lithium/vendor/assimp/contrib/openddlparser/code/OpenDDLStream.cpp
ayoubbelatrous/LithiumEngine
bc24d277058b12cce3d95c8494fe366acda48462
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2014-2015 Kim Kulling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal i...
30.546392
98
0.649342
ayoubbelatrous
43814f2e2070c02daaf4c8cd41be59bcb25ab2db
79,366
cpp
C++
src/hardware/vga.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
3
2022-02-20T11:06:29.000Z
2022-03-11T08:16:55.000Z
src/hardware/vga.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
src/hardware/vga.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2002-2021 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This p...
36.490115
200
0.646876
mediaexplorer74
438b794f6cb9e99fad368b51b68d6fe50c5867cd
4,498
cpp
C++
src/plugins/map/plugin.cpp
osen/openradiant
47f0b65006e3e3325003f65cddbc7f1c78b5f138
[ "BSD-3-Clause" ]
11
2021-01-04T16:27:48.000Z
2022-01-22T00:37:31.000Z
src/plugins/map/plugin.cpp
osen/openradiant
47f0b65006e3e3325003f65cddbc7f1c78b5f138
[ "BSD-3-Clause" ]
6
2021-01-05T04:47:45.000Z
2021-11-30T09:25:11.000Z
src/plugins/map/plugin.cpp
osen/openradiant
47f0b65006e3e3325003f65cddbc7f1c78b5f138
[ "BSD-3-Clause" ]
1
2021-04-01T20:57:22.000Z
2021-04-01T20:57:22.000Z
/* Copyright (C) 1999-2007 id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
33.073529
130
0.714095
osen
438e1d3d425b8b6c961db3db7a1a633c067c5780
107
cpp
C++
docs/mfc/codesnippet/CPP/coledispatchdriver-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/codesnippet/CPP/coledispatchdriver-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/codesnippet/CPP/coledispatchdriver-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-11-01T12:33:08.000Z
2021-11-16T13:21:19.000Z
void IMyComObject::SetString(DISPID dispid, LPCTSTR propVal) { SetProperty(dispid, VT_BSTR, propVal); }
26.75
60
0.766355
jmittert
438fc1a650a8ae6c233503a005fea5fdead5bdca
838
hh
C++
RecoDataProducts/inc/ExtMonFNALRawCluster.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
null
null
null
RecoDataProducts/inc/ExtMonFNALRawCluster.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
26
2019-11-08T09:56:55.000Z
2020-09-09T17:25:33.000Z
RecoDataProducts/inc/ExtMonFNALRawCluster.hh
ryuwd/Offline
92957f111425910274df61dbcbd2bad76885f993
[ "Apache-2.0" ]
null
null
null
// "Raw" pixel clusters are groups of adjacent hits. // // // Original author Andrei Gaponenko // #ifndef RecoDataProducts_ExtMonFNALRawCluster_hh #define RecoDataProducts_ExtMonFNALRawCluster_hh #include <ostream> #include "canvas/Persistency/Common/PtrVector.h" #include "Offline/RecoDataProducts/inc/ExtMonFNALRaw...
21.487179
76
0.73747
michaelmackenzie
439155803f776aff9ed957924626335410bba550
6,644
cc
C++
bpnn/bpnn.cc
ruoshuiwyl/Machine-Learning
22d835ae63a84855472f0f0de8b31a9ce637ba21
[ "Apache-2.0" ]
null
null
null
bpnn/bpnn.cc
ruoshuiwyl/Machine-Learning
22d835ae63a84855472f0f0de8b31a9ce637ba21
[ "Apache-2.0" ]
null
null
null
bpnn/bpnn.cc
ruoshuiwyl/Machine-Learning
22d835ae63a84855472f0f0de8b31a9ce637ba21
[ "Apache-2.0" ]
null
null
null
// // Created by ruoshui on 9/22/16. // #include <algorithm> #include <iostream> #include "bpnn.h" BackPropNNetwork::BackPropNNetwork(std::vector<int> &sizes, double eta, int max_iters, int batch_num) : sizes_(sizes), eta_(eta), max_iters_(max_iters), batch_num_(batch_num) { for (int i = 1; i < sizes.si...
36.505495
116
0.587748
ruoshuiwyl
439978ea5aab64eece3b54072e90ff01c90d04e0
27,564
cpp
C++
main.cpp
MrBlinky/ard-drivin
eef17d856f8b7bb982802b038333b7738691f647
[ "MIT" ]
null
null
null
main.cpp
MrBlinky/ard-drivin
eef17d856f8b7bb982802b038333b7738691f647
[ "MIT" ]
null
null
null
main.cpp
MrBlinky/ard-drivin
eef17d856f8b7bb982802b038333b7738691f647
[ "MIT" ]
null
null
null
/* Buttons example June 11, 2015 Copyright (C) 2015 David Martinez All rights reserved. This code is the most basic barebones code for showing how to use buttons in Arduboy. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pub...
31.429875
1,064
0.638333
MrBlinky
439ae0eb804f8d50081015165e6f2eca28df520f
7,925
cpp
C++
src/slave/containerizer/mesos/provisioner/appc/store.cpp
yisun99/yisun
0bef3cdd0de61d4c5e10e1f995caffbaff0c6856
[ "Apache-2.0" ]
null
null
null
src/slave/containerizer/mesos/provisioner/appc/store.cpp
yisun99/yisun
0bef3cdd0de61d4c5e10e1f995caffbaff0c6856
[ "Apache-2.0" ]
null
null
null
src/slave/containerizer/mesos/provisioner/appc/store.cpp
yisun99/yisun
0bef3cdd0de61d4c5e10e1f995caffbaff0c6856
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
27.61324
77
0.678738
yisun99
439da1bc1b5bf79319b4896c69518f39bba2a09f
744
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDocumentationSection.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDocumentationSection.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
2
2022-01-13T04:03:55.000Z
2022-03-12T01:02:31.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDocumentationSection.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmDocumentationSection.h" void cmDocumentationSection::Append(const char* data[][2]) { int i = 0; while (data[i][1]) { this->Entries.emplace_back(data[i]...
25.655172
77
0.665323
duonglvtnaist
439f18a3d19efd2e1b3df1bd6bfea4ec20459971
8,239
cpp
C++
sp/src/game/client/hl2/c_rotorwash.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
2,268
2015-01-01T19:31:56.000Z
2022-03-31T20:15:31.000Z
sp/src/game/client/hl2/c_rotorwash.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
241
2015-01-01T15:26:14.000Z
2022-03-31T22:09:59.000Z
sp/src/game/client/hl2/c_rotorwash.cpp
DimasDSF/SMI
76cc2df8d1f51eb06743d66169524c3493b6d407
[ "Unlicense" ]
2,174
2015-01-01T08:18:05.000Z
2022-03-31T10:43:59.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "particlemgr.h" #include "particle_prototype.h" #include "particle_util.h" #include "c_te_partic...
26.837134
159
0.609419
joshmartel
439f2ba39bab3a52dfdcb9144b7f700ce9578e8a
782
hh
C++
src/pindefs.hh
klaus-liebler/smopla-dps
ab92c73d16769a09d70b5519792c29a4276543c5
[ "MIT" ]
null
null
null
src/pindefs.hh
klaus-liebler/smopla-dps
ab92c73d16769a09d70b5519792c29a4276543c5
[ "MIT" ]
null
null
null
src/pindefs.hh
klaus-liebler/smopla-dps
ab92c73d16769a09d70b5519792c29a4276543c5
[ "MIT" ]
null
null
null
#pragma once #include "gpio.hh" constexpr Pin DBGPIN = Pin::PA06; constexpr Pin SW_ONOFF = Pin::PB04; constexpr Pin SW_DOWN = Pin::PA01; constexpr Pin SW_SET = Pin::PA02; constexpr Pin SW_UP = Pin::PA03; constexpr Pin ROTENC_SW = Pin::PB05; constexpr Pin ROTENC_A = Pin::PB08; constexpr Pin ROTENC_B = Pin::PB09; ...
23.69697
46
0.734015
klaus-liebler
439f8f5ac427167ccaf20dc36390c8d1073e5763
1,379
cpp
C++
ros/src/computing/perception/detection/vision_detector/libs/dpm_ttic/common/common.cpp
filiperinaldi/Autoware
9fae6cc7cb8253586578dbb62a2f075b52849e6e
[ "Apache-2.0" ]
20
2019-05-21T06:14:17.000Z
2021-11-03T04:36:09.000Z
ros/src/computing/perception/detection/vision_detector/libs/dpm_ttic/common/common.cpp
anhnv3991/autoware
d5b2ed9dc309193c8a2a7c77a2b6c88104c28328
[ "Apache-2.0" ]
18
2019-04-08T16:09:37.000Z
2019-06-05T15:24:40.000Z
ros/src/computing/perception/detection/vision_detector/libs/dpm_ttic/common/common.cpp
anhnv3991/autoware
d5b2ed9dc309193c8a2a7c77a2b6c88104c28328
[ "Apache-2.0" ]
8
2019-04-28T13:15:18.000Z
2021-06-03T07:05:16.000Z
/* * Copyright 2015-2019 Autoware Foundation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
27.58
99
0.693981
filiperinaldi
43a02f4e18a8c0e3c5e1296f7692bce70bb11a1e
411
cpp
C++
pi/pi.cpp
anydream/PerfTest
b22d0e4463036cda5c20b55681f28dfc36caf356
[ "MIT" ]
2
2018-12-31T13:13:43.000Z
2019-01-04T02:58:36.000Z
pi/pi.cpp
anydream/PerfTest
b22d0e4463036cda5c20b55681f28dfc36caf356
[ "MIT" ]
null
null
null
pi/pi.cpp
anydream/PerfTest
b22d0e4463036cda5c20b55681f28dfc36caf356
[ "MIT" ]
1
2018-12-28T05:30:09.000Z
2018-12-28T05:30:09.000Z
#include <stdio.h> #include <time.h> int main() { time_t start = clock(); double s = 1; double pi = 0; double i = 1.0; double n = 1.0; for (int x = 0; x < 500000000; ++x) { pi += i; n = n + 2; s = -s; i = s / n; } volatile double result = 4 * pi; time_t elapsed = clock() - start...
16.44
72
0.520681
anydream
43a23e25b179e4aca7994855a71772c5d5cbbbdc
37
cpp
C++
ProceduralGeneration/VertexBufferLayout.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
ProceduralGeneration/VertexBufferLayout.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
ProceduralGeneration/VertexBufferLayout.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
#include "VertexBufferLayout.h"
5.285714
31
0.702703
cristi191096
43a31b0cfaa145640d1d7deadecfbecb6b119a3b
6,134
cpp
C++
SDK/Extras/Textify3DMF/Source/TypeHandlers/Geometries/TriMesh.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Extras/Textify3DMF/Source/TypeHandlers/Geometries/TriMesh.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Extras/Textify3DMF/Source/TypeHandlers/Geometries/TriMesh.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
/* * TriMesh.cpp * Textify3DMF * * Created by James Walker on 4/7/12. * Copyright (c) 2012 James W. Walker. * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from the * use of this software. * * Permis...
25.991525
80
0.659439
h-haris
43a78b6a53f338ce7efe3f42ece9b9178f2cba87
7,408
cpp
C++
Firmware/OTPManagerFirmware/gui_ssd1306_i2c.cpp
DarkCaster/ArduinoOTP
ce6ff3b041abe3b38647c0ded9caa64b750891fa
[ "MIT" ]
1
2018-12-10T18:03:45.000Z
2018-12-10T18:03:45.000Z
Firmware/OTPManagerFirmware/gui_ssd1306_i2c.cpp
DarkCaster/ArduinoOTP
ce6ff3b041abe3b38647c0ded9caa64b750891fa
[ "MIT" ]
null
null
null
Firmware/OTPManagerFirmware/gui_ssd1306_i2c.cpp
DarkCaster/ArduinoOTP
ce6ff3b041abe3b38647c0ded9caa64b750891fa
[ "MIT" ]
null
null
null
#include <U8g2lib.h> #include "configuration.h" #include "gui_ssd1306_i2c.h" #include "debug.h" static U8G2_SSD1306_128X64_NONAME_2_HW_I2C u8g2(U8G2_R0, U8X8_PIN_NONE); GuiSSD1306_I2C::GuiSSD1306_I2C(uint8_t displayPowerPin, uint8_t displayAddr, ClockHelper &clockHelper, ProfileManager &profileManager, CodeGenAggrega...
25.111864
174
0.734746
DarkCaster
43a9f1107ff31eab3ebfd60f9b0fd5dc33f2a02d
2,544
cc
C++
public/util/thread/rate_limited_shared_queue_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-05-18T14:52:47.000Z
2018-11-12T07:51:00.000Z
public/util/thread/rate_limited_shared_queue_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
null
null
null
public/util/thread/rate_limited_shared_queue_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-08-04T05:58:18.000Z
2018-11-12T07:51:01.000Z
// Copyright 2013 Room77, Inc. // Author: Nicholas Edelman (edelman) #include <thread> #include "test/cc/test_main.h" #include "util/thread/rate_limited_shared_queue.h" namespace util { namespace threading { namespace test { uint64_t TimestampMs() { return chrono::duration_cast<chrono::milliseconds>( chrono::...
29.929412
85
0.717767
room77
43bbc69c75c395bbdfb99dc3cdae7134657af51a
2,699
cpp
C++
Tools/ShaderCompiler/src/DEMShaderCompilerDLL.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
Tools/ShaderCompiler/src/DEMShaderCompilerDLL.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
Tools/ShaderCompiler/src/DEMShaderCompilerDLL.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include "DEMShaderCompilerDLL.h" /* #define WIN32_LEAN_AND_MEAN #include <windows.h> static HMODULE hDLL = nullptr; static FDEMShaderCompiler_InitCompiler pInitCompiler = nullptr; static FDEMShaderCompiler_GetLastOperationMessages pGetLastOperationMessages = nullptr; static FDEMShaderCompiler_CompileShader pCompileS...
34.164557
133
0.718414
niello
43c1086c9cce804f080e1726bf128619abd2ce42
18,031
cpp
C++
src/generate_dynamic_scene/generate_obstacle.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
1
2021-07-31T12:34:11.000Z
2021-07-31T12:34:11.000Z
src/generate_dynamic_scene/generate_obstacle.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
null
null
null
src/generate_dynamic_scene/generate_obstacle.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
2
2021-05-08T13:27:31.000Z
2021-09-24T07:59:04.000Z
#include "generate_dynamic_scene/generate_obstacle.hpp" namespace hdi_plan { GenerateObstacle::GenerateObstacle(const ros::NodeHandle &nh, const ros::NodeHandle &pnh) : nh_(nh), pnh_(pnh) { // load parameters if (!this->load_params()) { ROS_WARN("[%s] Could not load all parameters in motion planner.", ...
38.201271
156
0.72941
test-bai-cpu
43c88c3fea02760d482c72abaff5c32fd5dacf78
7,110
cpp
C++
Eunoia-Engine/Src/Eunoia/Core/Input.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
Eunoia-Engine/Src/Eunoia/Core/Input.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
Eunoia-Engine/Src/Eunoia/Core/Input.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
#include "Input.h" #include <cstring> #ifdef EU_PLATFORM_WINDOWS #include "../Platform/Win32/DisplayWin32.h" #include <Xinput.h> #endif namespace Eunoia { u8 EUInput::s_Keys[]; u8 EUInput::s_LastKeys[]; u8 EUInput::s_Buttons[]; u8 EUInput::s_LastButtons[]; u16 EUInput::s_GamepadButtons[]; u16 EUInput::s_LastGa...
34.019139
179
0.696624
EunoiaGames
43cadcd456e0e1111e6607e5d3880b571da0f6fb
46,798
cpp
C++
Src/C_BaseLib/FabArray.cpp
dappelha/BoxLib-omp4-Hackathon2016
d35c11aaa85eed03baa04317c346921a349fdfcf
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/C_BaseLib/FabArray.cpp
dappelha/BoxLib-omp4-Hackathon2016
d35c11aaa85eed03baa04317c346921a349fdfcf
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/C_BaseLib/FabArray.cpp
dappelha/BoxLib-omp4-Hackathon2016
d35c11aaa85eed03baa04317c346921a349fdfcf
[ "BSD-3-Clause-LBNL" ]
1
2019-08-06T13:09:09.000Z
2019-08-06T13:09:09.000Z
#include <winstd.H> #include <iterator> #include <numeric> #ifdef BL_LAZY #include <Lazy.H> #endif #include <Utility.H> #include <FabArray.H> #include <ParmParse.H> #include <Geometry.H> #ifdef BL_MEM_PROFILING #include <MemProfiler.H> #endif // // Set default values in Initialize()!!! // bool FabArrayBase::do_...
26.559591
101
0.627698
dappelha
43cbe292b91de2b6acce12950bda6388ad7b3cb1
3,937
cpp
C++
FlowchartEditor/FlowchartLabel.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
null
null
null
FlowchartEditor/FlowchartLabel.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
33
2018-09-14T21:58:20.000Z
2022-01-12T21:39:22.000Z
FlowchartEditor/FlowchartLabel.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
null
null
null
/* ========================================================================== CFlowchartLabel Author : Johan Rosengren, Abstrakt Mekanik AB Date : 2004-04-29 Purpose : CFlowchartLabel is a CDiagramEntity-derived class. It is a non-linkable transparent box with no border and the title attribute disp...
25.732026
106
0.566675
pmachapman
43cc4cc39a455fe655a2a1c148055992d5f959af
3,618
hpp
C++
include/bitflag/bitflag.hpp
EmilyMansfield/cpp-bitflag
158cc25f8d94ee93fb93e86b76a7d078c1b48ba1
[ "CC0-1.0" ]
null
null
null
include/bitflag/bitflag.hpp
EmilyMansfield/cpp-bitflag
158cc25f8d94ee93fb93e86b76a7d078c1b48ba1
[ "CC0-1.0" ]
null
null
null
include/bitflag/bitflag.hpp
EmilyMansfield/cpp-bitflag
158cc25f8d94ee93fb93e86b76a7d078c1b48ba1
[ "CC0-1.0" ]
null
null
null
#ifndef EM_CPPBITFLAG_BITFLAG_HPP #define EM_CPPBITFLAG_BITFLAG_HPP #include <bitset> #include <type_traits> namespace em { struct BitflagMarker {}; // Alternative to scoped enums for implementing bit flags, without using macros. // Usage is // // struct MyFlags : Bitflag<32, MyFlags> { // static constexpr enum_t...
24.951724
80
0.668878
EmilyMansfield
43ccc581478c0a371fb766a28030ff37a4124547
335
cpp
C++
Solutions/6.cpp
Ignatoff/Project-Euler
75e2bb74b30ddfe15fc07887c6d9943aa8ddbd87
[ "MIT" ]
1
2018-07-09T14:44:51.000Z
2018-07-09T14:44:51.000Z
Solutions/6.cpp
Ignatoff/Project-Euler
75e2bb74b30ddfe15fc07887c6d9943aa8ddbd87
[ "MIT" ]
null
null
null
Solutions/6.cpp
Ignatoff/Project-Euler
75e2bb74b30ddfe15fc07887c6d9943aa8ddbd87
[ "MIT" ]
null
null
null
/* TASK 6: Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. */ #include <iostream> int main() { int lim = 100; int sqrOfSum = lim * lim * (lim + 1) * (lim + 1) / 4; int sumOfSqr = (2 * lim + 1)*(lim + 1)*lim / 6; std::cout << sqrOfSum - sumO...
19.705882
118
0.614925
Ignatoff
43d22218e00c98b7c05feeb973b9aa6ffd975a29
1,866
hh
C++
spot/spot/tl/snf.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
spot/spot/tl/snf.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
null
null
null
spot/spot/tl/snf.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2012, 2013, 2014, 2015 Laboratoire de Recherche et // Developpement de l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as publis...
33.927273
72
0.661308
mcc-petrinets
43d5588b5e46c983a36043a44655d71fd9be6eef
6,784
hpp
C++
util.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
util.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
util.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
#ifndef UTIL_HPP #define UTIL_HPP #include <algorithm> #include <cassert> #include <functional> #include <numeric> #include <omp.h> __inline__ int get_num_omp_threads() { int num_threads = 1; //get available number of threads #pragma omp parallel { #pragma omp master num_threads = omp_get_num_thre...
34.612245
146
0.666421
darksky1605
43ddc07451870ff6a173576e39f907af6e76bfc4
394
cpp
C++
src/gl_test/Helper.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
5
2020-03-26T11:55:55.000Z
2021-07-30T04:14:21.000Z
src/gl_test/Helper.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
3
2020-12-05T06:02:07.000Z
2021-06-02T03:42:34.000Z
src/gl_test/Helper.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
null
null
null
#include "pch.h" #include "Helper.h" namespace Helper { bool Helper::matrix_is_similar(const glm::mat4& result, const glm::mat4& expected, float tolerance) { bool is_similar = true; for (auto i = 0; i < 4; ++i) { for (auto j = 0; j < 4; ++j) { if ((std::abs(result[i][j] - expected[i][j])) > toleranc...
17.909091
100
0.576142
russkev
43dee39c446827cec6fb8b4b32dbc9a4fdd96987
330
cpp
C++
CodeForces/ChatRoom.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
CodeForces/ChatRoom.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
CodeForces/ChatRoom.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * 58A ChatRoom * Jiawei Wang * 19 May 2021 */ #include <iostream> #include <string> using namespace::std; int main() { string s; cin >> s; string hello = "hello"; int index = 0; // to find for (char c : s) if (c == hello[index]) index++; if (index == 5) cout << "YES"; else cout <...
14.347826
52
0.533333
a4org
43e2d972ddc4b6d1f73b722733a5a16a9b6837c9
4,049
cpp
C++
src/backends/sdl/system/event/original_processor.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/sdl/system/event/original_processor.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/sdl/system/event/original_processor.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#include <awl/exception.hpp> #include <awl/backends/sdl/system/event/original_processor.hpp> #include <awl/backends/sdl/system/event/poll.hpp> #include <awl/backends/sdl/system/event/processor.hpp> #include <awl/backends/sdl/system/event/register.hpp> #include <awl/backends/sdl/system/event/translate.hpp> #include <awl...
35.831858
98
0.71104
freundlich
43e3079be3ba0de4b400df152fce403d54fe8f1f
314
hpp
C++
src/audio/decoder.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
31
2020-09-25T06:48:51.000Z
2022-03-23T10:34:19.000Z
src/audio/decoder.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
17
2021-01-13T04:07:21.000Z
2021-11-25T01:58:25.000Z
src/audio/decoder.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
2
2022-02-19T14:42:41.000Z
2022-03-08T10:47:51.000Z
#pragma once #include <cstddef> #include <cstdint> #include <utility> namespace hisui::audio { class Decoder { public: virtual ~Decoder() = default; virtual std::pair<const std::int16_t*, const std::size_t> decode( const unsigned char*, const std::size_t) = 0; }; } // namespace hisui::audio
17.444444
67
0.66879
kounoike
43ef8e33b26ff4a0209ef6640729abbc7e629e1d
4,636
cc
C++
node_modules/nodegit/src/diff_hunk.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
node_modules/nodegit/src/diff_hunk.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
node_modules/nodegit/src/diff_hunk.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
// This is a generated file, modify: generate/templates/class_content.cc. #include <nan.h> #include <string.h> #include <chrono> #include <thread> extern "C" { #include <git2.h> } #include "../include/functions/copy.h" #include "../include/macros.h" #include "../include/diff_hunk.h" #include <iostream> using n...
28.09697
139
0.653149
jiumx60rus
43f0205db308bcee718c97b8fcda3bc73557b629
74,819
cpp
C++
SCARD-v3/4DPlugin-SCARD.cpp
miyako/4d-plugin-scard-v3
02c8ab02c1b26a44131023bad0302a755b6a26e9
[ "MIT" ]
null
null
null
SCARD-v3/4DPlugin-SCARD.cpp
miyako/4d-plugin-scard-v3
02c8ab02c1b26a44131023bad0302a755b6a26e9
[ "MIT" ]
null
null
null
SCARD-v3/4DPlugin-SCARD.cpp
miyako/4d-plugin-scard-v3
02c8ab02c1b26a44131023bad0302a755b6a26e9
[ "MIT" ]
null
null
null
/* -------------------------------------------------------------------------------- # # 4DPlugin-SCARD.cpp # source generated by 4D Plugin Wizard # Project : SCARD # author : miyako # 2021/11/04 # # --------------------------------------------------------------------------------*/ #include "4DPlug...
43.024152
181
0.345233
miyako
43f021543f14e0202a2c5e5a337d935ab0df4774
8,222
cpp
C++
src/main.cpp
bmstu-gaming/SquaresAndPairs
9f52b0e509c5f46971264ce8f23acf700f184dce
[ "Apache-2.0" ]
null
null
null
src/main.cpp
bmstu-gaming/SquaresAndPairs
9f52b0e509c5f46971264ce8f23acf700f184dce
[ "Apache-2.0" ]
null
null
null
src/main.cpp
bmstu-gaming/SquaresAndPairs
9f52b0e509c5f46971264ce8f23acf700f184dce
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * * @file main.cpp * * @brief This file contains the game logic * * Group: BMSTU GaminG * Target Device: PC * ****************************************************************************** Copyright (c) 2019, BMSTU GaminG Incorporated All ...
33.422764
98
0.585016
bmstu-gaming
43f3d40f5b6bd59d9cdb75e306a2a7a60c0cf550
2,099
cc
C++
src/lib/fast_erosion.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
15
2015-03-18T18:07:30.000Z
2020-10-15T16:59:19.000Z
src/lib/fast_erosion.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
null
null
null
src/lib/fast_erosion.cc
jube/mapmaker
e2eb6b1fbc3d803d56817aea86b350bd26ad5fa4
[ "ISC" ]
1
2020-01-16T17:37:11.000Z
2020-01-16T17:37:11.000Z
/* * Copyright (c) 2014, Julien Bernard * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DIS...
33.854839
127
0.655074
jube
43f41f1c212f5509167cfc327c221c92834db095
138
hpp
C++
src/gameworld/gameworld/effect/sceneeffect/sceneskill.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/effect/sceneeffect/sceneskill.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/effect/sceneeffect/sceneskill.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __SCENE_SKILL_HPP__ #define __SCENE_SKILL_HPP__ #include "effect/sceneeffect/sceneskillbase.hpp" #endif // __SCENE_SKILL_HPP__
17.25
48
0.833333
mage-game
43f4aff944b278f80081e25b812db90d3c7c0927
19,496
inl
C++
opencl/test/unit_test/api/cl_get_kernel_sub_group_info_tests.inl
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
opencl/test/unit_test/api/cl_get_kernel_sub_group_info_tests.inl
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
opencl/test/unit_test/api/cl_get_kernel_sub_group_info_tests.inl
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/test/unit_test/fixtures/hello_world_fixture.h" #include "opencl/test/unit_test/test_macros/test_checks_ocl.h" using namespace NEO; struct KernelSubGroupInfoFixture : HelloWorldFixture<HelloWorldFixtureFactory> ...
33.212947
169
0.690501
troels
43fa97fe09d6d1b3145683f98b27e17a7c802436
2,261
hpp
C++
Sources/Models/Model.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
1
2019-03-13T08:26:38.000Z
2019-03-13T08:26:38.000Z
Sources/Models/Model.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
Sources/Models/Model.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "Renderer/Buffers/IndexBuffer.hpp" #include "Renderer/Buffers/VertexBuffer.hpp" #include "Resources/Resources.hpp" #include "IVertex.hpp" namespace acid { /// <summary> /// Class that represents a OBJ model. /// </summary> class ACID_EXPORT Model : publi...
27.240964
107
0.688633
hhYanGG
43fef5d10e4d4fc82f09d5468593b67c60f98ed9
6,812
cpp
C++
ventana_03/ventana_03.cpp
asm128/101_graphics
8bcdc6cdd7c471e6fdb00df777a05f6afdb7f986
[ "Apache-2.0" ]
1
2020-02-06T00:48:35.000Z
2020-02-06T00:48:35.000Z
ventana_03/ventana_03.cpp
asm128/101_graphics
8bcdc6cdd7c471e6fdb00df777a05f6afdb7f986
[ "Apache-2.0" ]
null
null
null
ventana_03/ventana_03.cpp
asm128/101_graphics
8bcdc6cdd7c471e6fdb00df777a05f6afdb7f986
[ "Apache-2.0" ]
null
null
null
#include <Windows.h> #include "framework.h" // Callback for window events (required to handle window events such as click or closing the window) LRESULT WINAPI WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_DESTROY: // Catch the window's DESTROY message which is p...
43.948387
181
0.659718
asm128
43fffefb06ef4149b1f413c347bf67e6badaf05e
4,990
cpp
C++
nanosrv/nanosoft/snmp/snmpparser.cpp
zolotov-av/nanosoft
2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0
[ "MIT" ]
1
2019-11-19T14:31:37.000Z
2019-11-19T14:31:37.000Z
nanosrv/nanosoft/snmp/snmpparser.cpp
zolotov-av/nanosoft
2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0
[ "MIT" ]
null
null
null
nanosrv/nanosoft/snmp/snmpparser.cpp
zolotov-av/nanosoft
2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0
[ "MIT" ]
1
2020-01-14T10:30:59.000Z
2020-01-14T10:30:59.000Z
#include <nanosoft/snmp/snmpparser.h> #include <stdio.h> #include <string.h> SNMPParser::SNMPParser() { } SNMPParser::~SNMPParser() { } /** * Обработчик чтения переменной */ void SNMPParser::onGetValue(const int *oid, size_t len) { printf(" GET(%d.%d", oid[0], oid[1]); for(size_t i = 2; i < len; i++) pr...
21.324786
94
0.635872
zolotov-av
a103d8269181b254d00b4da00abb8df864503e76
115,230
cpp
C++
asm/vm.cpp
janm31415/skiwi
851a006c2964d527cc38b7a71f3e835b8dab52b5
[ "MIT" ]
4
2020-10-06T14:09:13.000Z
2020-10-24T17:34:53.000Z
asm/vm.cpp
janm31415/skiwi
851a006c2964d527cc38b7a71f3e835b8dab52b5
[ "MIT" ]
null
null
null
asm/vm.cpp
janm31415/skiwi
851a006c2964d527cc38b7a71f3e835b8dab52b5
[ "MIT" ]
null
null
null
#include "vm.h" #include <iostream> #include <sstream> #include <cassert> #include <cmath> #include <algorithm> ASM_BEGIN namespace { bool is_8_bit(uint64_t number) { int8_t b = int8_t(number); return int64_t(b) == (int64_t)number; } bool is_16_bit(uint64_t number) { int16_t b = int16...
34.366239
209
0.599835
janm31415
a10c117e24c6cea7a02aa70464d14205d11f468b
145
hpp
C++
src/common.hpp
caobo1994/FourierSeries
e6b3cab9409aaaa8071adc82276dc22d82c0575c
[ "MIT" ]
null
null
null
src/common.hpp
caobo1994/FourierSeries
e6b3cab9409aaaa8071adc82276dc22d82c0575c
[ "MIT" ]
35
2019-09-18T21:51:33.000Z
2019-12-20T17:54:25.000Z
src/common.hpp
caobo1994/FourierSeries
e6b3cab9409aaaa8071adc82276dc22d82c0575c
[ "MIT" ]
null
null
null
#ifndef FSL_COMMON_HPP #define FSL_COMMON_HPP #include <vector> namespace FSL { template<class T> using seq = std::vector<T>; } #endif
12.083333
31
0.703448
caobo1994
a10c444fbdb2c3018a6326464180e471a6f102a8
3,988
cpp
C++
LTSketchbook/libraries/LTC2482/LTC2482.cpp
LinduinoBob/Linduino
a6465b549ee8daee4eec11c36cabf5487bd2a3bc
[ "FSFAP" ]
null
null
null
LTSketchbook/libraries/LTC2482/LTC2482.cpp
LinduinoBob/Linduino
a6465b549ee8daee4eec11c36cabf5487bd2a3bc
[ "FSFAP" ]
null
null
null
LTSketchbook/libraries/LTC2482/LTC2482.cpp
LinduinoBob/Linduino
a6465b549ee8daee4eec11c36cabf5487bd2a3bc
[ "FSFAP" ]
null
null
null
/*! LTC2482: 16-Bit Delta-Sigma ADC with Easy Drive Input Current Cancellation. @verbatim The LTC2480 is a 16-Bit Delta-Sigma ADC with Easy Drive Input Current Cancellation. The LTC2482 allows a wide common mode input range (0V to VCC) independent of the reference voltage. The reference can be as low as 100mV ...
42.88172
128
0.759027
LinduinoBob
e16041a1d927d389dbe71b359bd05553877b2c3c
1,374
cpp
C++
Adapter/adapter.cpp
UbertoNowak/Head-First_Design-Patterns_cpp
2dd3ddcc981c2f31f5a4fc087337a501da69a7a1
[ "MIT" ]
null
null
null
Adapter/adapter.cpp
UbertoNowak/Head-First_Design-Patterns_cpp
2dd3ddcc981c2f31f5a4fc087337a501da69a7a1
[ "MIT" ]
null
null
null
Adapter/adapter.cpp
UbertoNowak/Head-First_Design-Patterns_cpp
2dd3ddcc981c2f31f5a4fc087337a501da69a7a1
[ "MIT" ]
null
null
null
#include <iostream> #include "adapter.h" int EuropeanSocket::voltage() { return 230; } int EuropeanSocket::frequency() { return 50; } int AmericanSocket::voltage_110() { return 110; } int AmericanSocket::voltage_120() { return 120; } double AmericanSocket::freq_60Hz() { return 60.001; } void B...
16.554217
108
0.697962
UbertoNowak
e162a8cd78ec5c93a05bb704957b29674d6e7a90
1,973
hpp
C++
src/include/client/input/input_processor.hpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
6
2018-05-11T23:16:02.000Z
2019-06-13T01:35:07.000Z
src/include/client/input/input_processor.hpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
33
2018-05-11T14:12:22.000Z
2022-03-12T00:55:25.000Z
src/include/client/input/input_processor.hpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
1
2018-12-06T23:39:55.000Z
2018-12-06T23:39:55.000Z
#pragma once /** * Input processor * Processes SDL inputs, and convert them to actions, so * we do not have to fill the code with SDL-specific functions. * * However, we retain SDL keycode constants, because it is easier * * Copyright (C) 2020 Arthur Mendes */ #include <queue> #include <thread> #include <stri...
22.168539
73
0.635073
arthurmco
e1648c7b55885ab619d951a42f2a8345f5d89bc0
167
cpp
C++
Ch01/Ex1_16.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
4
2015-04-20T10:04:49.000Z
2018-04-19T12:46:01.000Z
Ch01/Ex1_16.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
null
null
null
Ch01/Ex1_16.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
null
null
null
#include <iostream> int main(){ int val = 0, sum = 0; while (std::cin >> val) sum += val; std::cout << "The sum is " << sum << std::endl; return 0; }
18.555556
51
0.508982
boscotsang
e1698007a0b467b16c84c26e2d880463aa27d035
2,496
cpp
C++
mbed-os/events/mbed_shared_queues.cpp
h7ga40/LycheeCam
10ee0ed948a02ccbe5f9a008e7c371ba5bd84478
[ "Apache-2.0" ]
1
2019-12-13T05:51:34.000Z
2019-12-13T05:51:34.000Z
mbed-os/events/mbed_shared_queues.cpp
h7ga40/LycheeCam
10ee0ed948a02ccbe5f9a008e7c371ba5bd84478
[ "Apache-2.0" ]
null
null
null
mbed-os/events/mbed_shared_queues.cpp
h7ga40/LycheeCam
10ee0ed948a02ccbe5f9a008e7c371ba5bd84478
[ "Apache-2.0" ]
1
2021-09-17T15:41:36.000Z
2021-09-17T15:41:36.000Z
/* events * Copyright (c) 2017 ARM Limited * * 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 applicab...
34.191781
152
0.733173
h7ga40
e16b8a3e9a8c4f75207c37b3f1fa5424bf6574d8
1,903
cpp
C++
game/tileview/tileobject_scenery.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
game/tileview/tileobject_scenery.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
game/tileview/tileobject_scenery.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
#include "game/tileview/tileobject_scenery.h" #include "game/rules/scenerytiledef.h" namespace OpenApoc { void TileObjectScenery::draw(Renderer &r, TileView &view, Vec2<float> screenPosition, TileViewMode mode) { std::ignore = view; // Mode isn't used as TileView::tileToScreenCoords alr...
28.833333
97
0.71361
AndO3131
e16d7d221aaa897e8c315bef28ecff50c0e05667
2,018
hpp
C++
src/modbuscli/ModbusWriteRegisterCommand.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
2
2017-04-24T10:11:27.000Z
2019-09-20T10:37:35.000Z
src/modbuscli/ModbusWriteRegisterCommand.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
null
null
null
src/modbuscli/ModbusWriteRegisterCommand.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
1
2020-03-23T01:12:14.000Z
2020-03-23T01:12:14.000Z
#ifndef MODBUS_WRITE_REGISTER_COMMAND_HPP #define MODBUS_WRITE_REGISTER_COMMAND_HPP class ModbusWriteRegisterCommand : public ModbusCommand { public: ModbusWriteRegisterCommand(); void exec(ModbusClient& client, const std::vector<std::string>& args) ov...
33.081967
110
0.671457
gkarvounis
e16faace971697339d2bb9d6ceb6ede170ca3351
3,028
cpp
C++
src/filebrowser/progress-dialog.cpp
vitlav/seafile-client
911aaf69ab10d65c6a6d461c1d6ca0722364098b
[ "Apache-2.0" ]
null
null
null
src/filebrowser/progress-dialog.cpp
vitlav/seafile-client
911aaf69ab10d65c6a6d461c1d6ca0722364098b
[ "Apache-2.0" ]
null
null
null
src/filebrowser/progress-dialog.cpp
vitlav/seafile-client
911aaf69ab10d65c6a6d461c1d6ca0722364098b
[ "Apache-2.0" ]
1
2021-11-02T18:40:14.000Z
2021-11-02T18:40:14.000Z
#include <QLabel> #include <QVBoxLayout> #include <QHBoxLayout> #include <QProgressBar> #include <QPushButton> #include <QDesktopServices> #include <QDebug> #include "utils/utils.h" #include "progress-dialog.h" FileBrowserProgressDialog::FileBrowserProgressDialog(FileNetworkTask *task, QWidget *parent) : QPro...
27.527273
92
0.672391
vitlav
e173212699457f957d7207982633b679834dfac5
3,065
hpp
C++
tests/src/Mocks/Griddly/Core/MockGrid.hpp
Thaigun/Griddly
de5972a608a2928172510a0ac81a977c48af6b1f
[ "MIT" ]
null
null
null
tests/src/Mocks/Griddly/Core/MockGrid.hpp
Thaigun/Griddly
de5972a608a2928172510a0ac81a977c48af6b1f
[ "MIT" ]
null
null
null
tests/src/Mocks/Griddly/Core/MockGrid.hpp
Thaigun/Griddly
de5972a608a2928172510a0ac81a977c48af6b1f
[ "MIT" ]
null
null
null
#pragma once #include "Griddly/Core/Grid.hpp" #include "gmock/gmock.h" namespace griddly { class MockGrid : public Grid { public: MockGrid() : Grid() {} MOCK_METHOD(void, resetMap, (uint32_t width, uint32_t height), ()); MOCK_METHOD(void, setGlobalVariables, ((std::unordered_map<std::string, std::unordered_ma...
54.732143
192
0.726917
Thaigun
e179b9a60acaea8b164a6b4fc47e39e8eb06e432
1,919
cpp
C++
Olympiad Programs/Helli Lader #2/C.cpp
mirtaba/ACMICPC-INOI_Archive
ea06e4e40e984f0807410e4f9b5f7042580da2e3
[ "MIT" ]
1
2020-12-08T11:21:34.000Z
2020-12-08T11:21:34.000Z
Olympiad Programs/Helli Lader #2/C.cpp
mirtaba/ACMICPC-INOI_Archive
ea06e4e40e984f0807410e4f9b5f7042580da2e3
[ "MIT" ]
null
null
null
Olympiad Programs/Helli Lader #2/C.cpp
mirtaba/ACMICPC-INOI_Archive
ea06e4e40e984f0807410e4f9b5f7042580da2e3
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #include <sstream> #include <cmath> #include <bitset> #include <utility> #include <set> #include <numeric> #include <cmath>...
18.27619
45
0.576863
mirtaba
e17b6ccd750b277f5978ca6dd64c20553a812599
2,053
cpp
C++
LoginServer/Source/ServerGroupManager.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
4
2019-08-30T22:58:41.000Z
2020-10-20T06:27:08.000Z
LoginServer/Source/ServerGroupManager.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
null
null
null
LoginServer/Source/ServerGroupManager.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
1
2020-02-29T02:50:31.000Z
2020-02-29T02:50:31.000Z
#include "ServerGroupManager.hpp" #include <Common/Xml/rapidxml.hpp> #include <Common/Xml/rapidxml_utils.hpp> ServerGroupManager::ServerGroupManager() {} ServerGroupManager::~ServerGroupManager() {} void ServerGroupManager::Initialize() { LoadAllServerGroup(); } void ServerGroupManager::Finalize() { Remove...
26.320513
91
0.687287
KaleoFeng
e187acc78dc5fcb2c592a755d2fcaef31f9ce098
20,328
cpp
C++
pedump/COMMON.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
1
2020-10-22T12:58:55.000Z
2020-10-22T12:58:55.000Z
pedump/COMMON.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
null
null
null
pedump/COMMON.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
//================================== // PEDUMP - Matt Pietrek 1997 // FILE: COMMON.C //================================== #include <windows.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include "common.h" #include "symboltablesupport.h" #include "extrnvar.h" PIMAGE_DEBUG_MISC g_pMis...
33.655629
80
0.618752
sarangbaheti
e189671ea5b6c4efaf7b130103fa21e6851569e5
5,821
hpp
C++
plugins/parcelport/verbs/header.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
plugins/parcelport/verbs/header.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
plugins/parcelport/verbs/header.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2015-2016 John Biddiscombe // Copyright (c) 2013-2015 Thomas Heller // Copyright (c) 2013-2014 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0....
30.962766
87
0.573956
McKillroy
e18e7d918425e71109652cbd9727fa70f5c5ceeb
4,117
cpp
C++
Modules/Meshing/VolumeFromSTL/src/surfacefromimage_main.cpp
vivabrain/angiotk
56187d726691576bc90ac727f28ed08bb0633830
[ "Apache-2.0" ]
4
2016-06-26T18:47:22.000Z
2020-06-20T20:54:38.000Z
Modules/Meshing/VolumeFromSTL/src/surfacefromimage_main.cpp
feelpp/angiotk
3faac75cc6eeeb49e9c85dc20ad44038f185e5f6
[ "Apache-2.0" ]
7
2018-05-10T18:31:22.000Z
2018-07-20T09:19:31.000Z
Modules/Meshing/VolumeFromSTL/src/surfacefromimage_main.cpp
feelpp/angiotk
3faac75cc6eeeb49e9c85dc20ad44038f185e5f6
[ "Apache-2.0" ]
3
2015-07-06T08:07:46.000Z
2021-02-01T16:01:25.000Z
#include <feel/feelcore/environment.hpp> #include <volumefromstl.hpp> int main( int argc, char** argv ) { using namespace AngioTk; std::ostringstream oss; for( int i = 1; i < argc; i++) { oss << argv[i] << " "; } std::cout << "SurfaceFromImage: Using the following commandline argumen...
36.433628
145
0.721642
vivabrain
e18f5e0fe6b3dcb7b0850e87184b720c43dcbac4
7,405
hpp
C++
simple_demo_chain_version/main_program_logic/MainProgramLogicProvider.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
1
2020-05-22T08:47:00.000Z
2020-05-22T08:47:00.000Z
simple_demo_chain_version/main_program_logic/MainProgramLogicProvider.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
simple_demo_chain_version/main_program_logic/MainProgramLogicProvider.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
#ifndef MAIN_PROGRAM_LOGIC_PROVIDER_HPP_ #define MAIN_PROGRAM_LOGIC_PROVIDER_HPP_ #include "simple_demo_chain_version/main_program_logic/MainProgramStateFolder.hpp" #include "simple_demo_chain_version/main_program_logic/MainProgramFacilityInputHandler.hpp" #include "simple_demo_chain_version/main_program_logic/Operati...
41.368715
128
0.617151
cd606
e1932d34ad2ad1e4ccad1105e9bc7c1ab62661f2
13,036
hpp
C++
plugins/style_charcoal.hpp
Yleroimar/3D-Comic-Rendering
8c3221625dfbb5a4d5efc92b235d547a4e6e66ad
[ "MIT" ]
1
2021-10-05T09:22:39.000Z
2021-10-05T09:22:39.000Z
plugins/style_charcoal.hpp
Yleroimar/3D-Comic-Rendering
8c3221625dfbb5a4d5efc92b235d547a4e6e66ad
[ "MIT" ]
null
null
null
plugins/style_charcoal.hpp
Yleroimar/3D-Comic-Rendering
8c3221625dfbb5a4d5efc92b235d547a4e6e66ad
[ "MIT" ]
null
null
null
#pragma once /////////////////////////////////////////////////////////////////////////////////// // _ _ // ___| |__ __ _ _ __ ___ ___ __ _| | // / __| '_ \ / _` | '__/ __/ _ \ / _` | | // | (__| | | | (_| | | | (_| (_) | (_| | | // \___|_| |_|\__,_|_| \___\___/ \_...
59.798165
130
0.629641
Yleroimar
e1975f4f02ab0837e2de074a022fcfd8f2c46930
477
cc
C++
BOJ/2606.cc
Yaminyam/Algorithm
fe49b37b4b310f03273864bcd193fe88139f1c01
[ "MIT" ]
1
2019-05-18T00:02:12.000Z
2019-05-18T00:02:12.000Z
BOJ/2606.cc
siontama/Algorithm
bb419e0d4dd09682bd4542f90038b492ee232bd2
[ "MIT" ]
null
null
null
BOJ/2606.cc
siontama/Algorithm
bb419e0d4dd09682bd4542f90038b492ee232bd2
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<algorithm> using namespace std; vector<int> node[101]; bool check[101]; int cnt = 0; void dfs(int idx) { check[idx] = true; cnt++; for (int i = 0; i < node[idx].size(); i++) { if (!check[node[idx][i]]) { dfs(node[idx][i]); } } } int main() { int n; cin >> n;...
13.628571
45
0.538784
Yaminyam
e19b77cb4f23486d5a964a10ed1a77c029d423fe
3,673
cpp
C++
src/main/cpp/widgets/Text.cpp
Dalphat/blame
567a75c1d0d0306e8b28b750556de77646d9d0f9
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/widgets/Text.cpp
Dalphat/blame
567a75c1d0d0306e8b28b750556de77646d9d0f9
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/widgets/Text.cpp
Dalphat/blame
567a75c1d0d0306e8b28b750556de77646d9d0f9
[ "BSD-3-Clause" ]
null
null
null
#include <styles/StyleText.hpp> #include "Text.hpp" // TODO: Add support for multiple text caret's // TODO: Add support for selecting text Blame::Widgets::Text::Text(Blame::Console *console, Blame::Widgets::Widget *parent) : Widget(console, parent) { this->height = 6; this->width = 12; this->symbol_caret ...
29.861789
133
0.556493
Dalphat
e19ba8d4cb3a227241847bc55880e07d6e30f1bc
607
cpp
C++
vcp.cpp
mimaki/momo-mruby
8b17212cc375a8c83d2516c01daa88e1d08e4a59
[ "MIT" ]
3
2017-10-11T13:11:47.000Z
2018-12-29T01:56:10.000Z
vcp.cpp
mimaki/momo-mruby
8b17212cc375a8c83d2516c01daa88e1d08e4a59
[ "MIT" ]
null
null
null
vcp.cpp
mimaki/momo-mruby
8b17212cc375a8c83d2516c01daa88e1d08e4a59
[ "MIT" ]
null
null
null
#include "mbed.h" #include "BufferedSerial.h" #include <stdio.h> #include <stdarg.h> #include "mbedapi.h" static BufferedSerial vcp(USBTX, USBRX, 1024); MBEDAPI int mbedPrintf(const char *format, ...) { va_list args; int len; static char buf[1024]; va_start(args, format); len = vsnprintf(buf, sizeof(buf), ...
13.795455
50
0.667216
mimaki
e1a45977d9820a01082d3f3f3bf2eb3d529043cc
2,192
hpp
C++
include/elp_camera.hpp
matheusns/ros_elp_stereo_camera
ff54f3a0e66247ce4830fb7b9439f598372ca4b7
[ "BSD-3-Clause" ]
null
null
null
include/elp_camera.hpp
matheusns/ros_elp_stereo_camera
ff54f3a0e66247ce4830fb7b9439f598372ca4b7
[ "BSD-3-Clause" ]
null
null
null
include/elp_camera.hpp
matheusns/ros_elp_stereo_camera
ff54f3a0e66247ce4830fb7b9439f598372ca4b7
[ "BSD-3-Clause" ]
null
null
null
#ifndef ELIR_STEREO_CAMERA_ELP_CAMERA_HPP #define ELIR_STEREO_CAMERA_ELP_CAMERA_HPP #include <thread> #include <exception> #include "opencv2/core/core.hpp" #include "opencv2/core/version.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/opencv.hpp" #include <ros/ros.h> namespace elp { class ElpCameraE...
21.076923
101
0.609033
matheusns
e1a55b5b7e1696b959e375faa3d16aa29556ecce
5,717
cpp
C++
ScriptHookDotNet/Main.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-14T20:59:58.000Z
2021-12-16T16:41:31.000Z
ScriptHookDotNet/Main.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
2
2021-11-29T14:41:23.000Z
2021-11-30T13:13:51.000Z
ScriptHookDotNet/Main.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-21T12:41:55.000Z
2021-12-22T16:17:52.000Z
/* * Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX) * * 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 * ...
30.736559
110
0.737275
HazardX
e1a89e7030568d81b79ecf4459748f061537629c
920
cpp
C++
ftp_client/Buffer.cpp
wxk6b1203/ftp_exercise
a17ea519d1725b2c3f6b5454fda889604593138f
[ "MIT" ]
null
null
null
ftp_client/Buffer.cpp
wxk6b1203/ftp_exercise
a17ea519d1725b2c3f6b5454fda889604593138f
[ "MIT" ]
null
null
null
ftp_client/Buffer.cpp
wxk6b1203/ftp_exercise
a17ea519d1725b2c3f6b5454fda889604593138f
[ "MIT" ]
null
null
null
#include "Buffer.h" using std::move; local::Buffer::Buffer(size_t s) : len(s), buf(new char[s]) { memset(buf.get(), 0, sizeof(char) * len); } string local::Buffer::ReadString() { string a = buf.get(); return a; } unique_ptr<char> local::Buffer::Read() { unique_ptr<char> uchstring(new char[len]); m...
22.439024
73
0.558696
wxk6b1203
e1ac09692a53c78ca0aeabf67662b63f17db200b
1,874
cpp
C++
TESTS/assumptions/DigitalIO/DigitalIO.cpp
vmedcy/ci-test-shield
befdcc2a4ea758122a0d4326c8893b062e79bab9
[ "Apache-2.0" ]
11
2016-10-25T13:33:43.000Z
2020-11-14T17:51:01.000Z
TESTS/assumptions/DigitalIO/DigitalIO.cpp
vmedcy/ci-test-shield
befdcc2a4ea758122a0d4326c8893b062e79bab9
[ "Apache-2.0" ]
79
2016-10-07T03:10:21.000Z
2021-06-03T08:10:57.000Z
TESTS/assumptions/DigitalIO/DigitalIO.cpp
vmedcy/ci-test-shield
befdcc2a4ea758122a0d4326c8893b062e79bab9
[ "Apache-2.0" ]
40
2016-10-17T13:19:42.000Z
2021-09-22T14:42:42.000Z
#include "mbed.h" #include "greentea-client/test_env.h" #include "unity.h" #include "utest.h" using namespace utest::v1; template <PinName d_pin> void test_DigitalIO_NC() { TEST_ASSERT_MESSAGE(d_pin != NC, "Pin is NC"); } utest::v1::status_t test_setup(const size_t number_of_cases) { // Setup Greentea using...
39.87234
110
0.771612
vmedcy
e1af42740cad31f5a331e06dd55c82a3633669b4
18,711
cpp
C++
GPUPerfStudio/Server/Common/NamedEvent.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
1
2017-03-25T02:09:15.000Z
2017-03-25T02:09:15.000Z
GPUPerfStudio/Server/Common/NamedEvent.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
null
null
null
GPUPerfStudio/Server/Common/NamedEvent.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
3
2017-03-15T03:35:13.000Z
2022-02-23T06:29:02.000Z
//============================================================================== // Copyright (c) 2013-2015 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file /// \brief a named event class. The event is /// global systemwide, so can be accessed across threads and ...
29.7
128
0.497194
davidlee80
e1af4fb4a82db28d4218e5e45343f4bb77d4d5d2
6,357
cc
C++
cryptohome/stateful_recovery.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
null
null
null
cryptohome/stateful_recovery.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
null
null
null
cryptohome/stateful_recovery.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Provides the implementation of StatefulRecovery. #include "cryptohome/stateful_recovery.h" #include <linux/reboot.h> #include <sys/reboot.h>...
27.759825
80
0.674689
kalyankondapally
e1b426a47a288e3c5bf1306615c4f1f015fd325d
1,443
cpp
C++
test/testlist.cpp
zenomt/rtmfp-cpp
e85d8928d5192c5e16f963ca281a4c5a701dae7b
[ "MIT" ]
21
2021-01-25T07:33:12.000Z
2022-02-09T08:08:51.000Z
test/testlist.cpp
zenomt/rtmfp-cpp
e85d8928d5192c5e16f963ca281a4c5a701dae7b
[ "MIT" ]
2
2021-04-25T15:30:27.000Z
2021-06-26T22:56:31.000Z
test/testlist.cpp
zenomt/rtmfp-cpp
e85d8928d5192c5e16f963ca281a4c5a701dae7b
[ "MIT" ]
null
null
null
#include <cstdio> #include <cassert> #include "rtmfp/List.hpp" using namespace com::zenomt; static size_t mysize(const int& val) { return 2 * (val < 0 ? -val : val); } int main(int argc, char *argv[]) { SumList<int> l(mysize, 0); printf("%ld ", l.prepend(1)); printf("%ld ", l.prepend(2)); printf("%ld ", l.prep...
20.041667
63
0.550243
zenomt
e1b4c0141e6f0e57072b8e2954cbb0f9a6d2da0e
1,462
hpp
C++
include/cglass/definitions.hpp
Betterton-Lab/C-GLASS
56f7b93cd7383e4487b4c6ba5a1d8c556d9937cc
[ "BSD-3-Clause" ]
4
2020-05-23T18:56:31.000Z
2022-01-13T04:06:50.000Z
include/cglass/definitions.hpp
Betterton-Lab/C-GLASS
56f7b93cd7383e4487b4c6ba5a1d8c556d9937cc
[ "BSD-3-Clause" ]
5
2020-06-30T17:32:03.000Z
2021-04-02T20:18:33.000Z
include/cglass/definitions.hpp
Betterton-Lab/C-GLASS
56f7b93cd7383e4487b4c6ba5a1d8c556d9937cc
[ "BSD-3-Clause" ]
2
2020-11-11T19:57:11.000Z
2021-03-18T01:55:37.000Z
#ifndef _CGLASS_DEFINITIONS_H_ #define _CGLASS_DEFINITIONS_H_ #include "macros.hpp" #include "logger.hpp" #include <math.h> #define BETTER_ENUMS_DEFAULT_CONSTRUCTOR(Enum) \ public: \ Enum() = default; #include "enum.hpp" #if defined(_OPENMP) #define ENABLE_OPENMP #endif BETT...
26.107143
77
0.716826
Betterton-Lab
e1ba1d3488e1e68c30c9bc60436b7f1d6d995de5
3,331
cpp
C++
Active/CodeForces/C_Pair_Programming.cpp
pawan-nirpal-031/Algorithms-And-ProblemSolving
24ce9649345dabe7275920f6912e410efc2c8e84
[ "Apache-2.0" ]
2
2021-03-05T08:40:01.000Z
2021-04-25T13:58:42.000Z
Active/CodeForces/C_Pair_Programming.cpp
pawan-nirpal-031/Algorithms-And-ProblemSolving
24ce9649345dabe7275920f6912e410efc2c8e84
[ "Apache-2.0" ]
null
null
null
Active/CodeForces/C_Pair_Programming.cpp
pawan-nirpal-031/Algorithms-And-ProblemSolving
24ce9649345dabe7275920f6912e410efc2c8e84
[ "Apache-2.0" ]
null
null
null
// Problem Link : https://codeforces.com/contest/1547/problem/C #include <bits/stdc++.h> using namespace std; typedef unsigned long long int ull; typedef long long int ll; typedef long double ld; #define Mod 1000000007 #define Infinity (ll)1e18 #define Append(a) push_back(a) #define Pair(a,b) make_pair(a,b) #define Cle...
49.716418
363
0.732213
pawan-nirpal-031