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
feea6d93c4b2a76f63baa3b9912ccd3b26ae96b2
15,495
cpp
C++
WebArborEmail/NSQuotedPrintable.cpp
klanglie/WebArborEmail
71459e76f6d67b66b5856f093d260d9d4ae245a7
[ "Apache-2.0" ]
null
null
null
WebArborEmail/NSQuotedPrintable.cpp
klanglie/WebArborEmail
71459e76f6d67b66b5856f093d260d9d4ae245a7
[ "Apache-2.0" ]
null
null
null
WebArborEmail/NSQuotedPrintable.cpp
klanglie/WebArborEmail
71459e76f6d67b66b5856f093d260d9d4ae245a7
[ "Apache-2.0" ]
null
null
null
// NSQuotedPrintable.cpp // v2.0.1.72 2005/11/30 // Updated 10/5/2005 // (c) 2003 - 2005 Langlie Systems, Inc. www.langliesystems.com // All rights reserved. // You may not re-use this code without permission from Langlie Systems, Inc. #include "stdafx.h" #include "NSQuotedPrintable.h" // http://rfc-2045.rfclist.net/r...
22.853982
119
0.566183
klanglie
feee31d87e36fd843eb33de4339f330046427253
2,822
cpp
C++
src/util/ResourceUsage.cpp
kunisura/algorithms2012
49867c897fbca7d2b21f602428ea1a67a79f4a75
[ "MIT" ]
2
2016-08-17T01:49:36.000Z
2019-02-27T13:07:04.000Z
src/util/ResourceUsage.cpp
kunisura/algorithms2012
49867c897fbca7d2b21f602428ea1a67a79f4a75
[ "MIT" ]
null
null
null
src/util/ResourceUsage.cpp
kunisura/algorithms2012
49867c897fbca7d2b21f602428ea1a67a79f4a75
[ "MIT" ]
1
2021-05-14T00:16:52.000Z
2021-05-14T00:16:52.000Z
/* * CPU Resource Usage * Hiroaki Iwashita <iwashita@erato.ist.hokudai.ac.jp> * Copyright (c) 2011 Japan Science and Technology Agency * $Id: ResourceUsage.cpp 9 2011-11-16 06:38:04Z iwashita $ */ #include "ResourceUsage.hpp" #include <cctype> #include <algorithm> #include <fstream> #include <iomanip> #include <...
24.754386
71
0.589298
kunisura
feeee202d47083c0356065ddbfaddbc7c3c54976
5,289
cpp
C++
Source/SoundEngine/CListener.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
3
2019-04-12T15:22:53.000Z
2022-01-05T02:59:56.000Z
Source/SoundEngine/CListener.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
null
null
null
Source/SoundEngine/CListener.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
2
2019-04-10T22:46:21.000Z
2020-05-27T16:21:37.000Z
#include "SoundEngineException.h" #include "CListener.h" #include "OgreNode.h" template<> Sound::CListener* Ogre::Singleton<Sound::CListener>::msSingleton = 0; namespace Sound { CListener* CListener::Listener = nullptr; CListener* CListener::Instance() { if(Listener == nullptr) Listener = new CListener();...
22.995652
116
0.7128
shanefarris
fef0683d7df839c8e0a4b51377a60a644beede39
11,401
cpp
C++
src/util/gdal_timesnap.cpp
umr-dbs/mapping-core
1651e1c1bc887214d9f525536f6bdf79a8c464de
[ "MIT" ]
null
null
null
src/util/gdal_timesnap.cpp
umr-dbs/mapping-core
1651e1c1bc887214d9f525536f6bdf79a8c464de
[ "MIT" ]
10
2018-03-02T13:58:32.000Z
2020-06-05T11:12:42.000Z
src/util/gdal_timesnap.cpp
umr-dbs/mapping-core
1651e1c1bc887214d9f525536f6bdf79a8c464de
[ "MIT" ]
3
2018-02-26T14:01:43.000Z
2019-12-09T10:03:17.000Z
#include "gdal_timesnap.h" #include <boost/filesystem.hpp> #include "util/concat.h" #include "util/log.h" constexpr int MAX_FILE_NAME_LENGTH = 255; const std::map<std::string, TimeUnit> GDALTimesnap::string_to_TimeUnit = { {"Second", TimeUnit::Second}, {"Minute", TimeUnit::Minute}, {"Hour", ...
40.429078
136
0.626787
umr-dbs
fef390320457c133f4fe32d56a61a07ae6a4be61
1,356
cpp
C++
lib/VM/JSDate.cpp
calebmackdavenport/hermes
13fc688865ee9bf8a41b7cef93f613853401f453
[ "MIT" ]
2
2022-02-21T00:02:22.000Z
2022-02-21T00:02:28.000Z
lib/VM/JSDate.cpp
calebmackdavenport/hermes
13fc688865ee9bf8a41b7cef93f613853401f453
[ "MIT" ]
null
null
null
lib/VM/JSDate.cpp
calebmackdavenport/hermes
13fc688865ee9bf8a41b7cef93f613853401f453
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/JSDate.h" #include "hermes/VM/BuildMetadata.h" #include "hermes/VM/Runtime-inline.h" namespace hermes { nam...
27.673469
80
0.688053
calebmackdavenport
fef42d0a42330c36969b90dd899141f108aeb0b9
9,120
hpp
C++
NWNXLib/API/Constants/Animation.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
NWNXLib/API/Constants/Animation.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
NWNXLib/API/Constants/Animation.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#pragma once #include <cstdint> namespace NWNXLib::API::Constants { namespace Animation { enum TYPE { Pause = 0, Ready = 1, Walking = 2, WalkingBackwards = 3, Running ...
35.625
65
0.304715
summonFox
67972f21b5fbc149b3213a382ff8c6a7294ff1da
1,169
cpp
C++
apal_cxx/src/polynomial.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
apal_cxx/src/polynomial.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
15
2019-05-23T07:18:19.000Z
2019-12-17T08:01:10.000Z
apal_cxx/src/polynomial.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
#include "polynomial.hpp" #include <stdexcept> #include <sstream> using namespace std; void Polynomial::add_term(double new_coeff, const PolynomialTerm &new_term){ if (new_term.get_dim() != dim){ stringstream ss; ss << "Dimension of new term does not match the dimension "; ss << "of the po...
28.512195
82
0.615911
davidkleiven
67988e2cc2901f7e9b1432355d9600b480b06670
4,026
hpp
C++
discovery/l496g/l496gSystem.hpp
shangaoren/bsp
ea05ebee7d897f793587da1c2d0940a9aefcc13d
[ "MIT" ]
1
2018-11-28T08:56:55.000Z
2018-11-28T08:56:55.000Z
discovery/l496g/l496gSystem.hpp
shangaoren/bsp
ea05ebee7d897f793587da1c2d0940a9aefcc13d
[ "MIT" ]
null
null
null
discovery/l496g/l496gSystem.hpp
shangaoren/bsp
ea05ebee7d897f793587da1c2d0940a9aefcc13d
[ "MIT" ]
null
null
null
/*MIT License Copyright (c) 2018 Florian GERARD 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, publish, ...
26.142857
113
0.722305
shangaoren
67a4b7dee66e749e390364275703a894eee4b281
9,494
cpp
C++
src/modules/processes/ImageIntegration/ImageIntegrationProcess.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/ImageIntegration/ImageIntegrationProcess.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/ImageIntegration/ImageIntegrationProcess.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard ImageIntegration Process Module Version 1.2.33 // ------------------...
37.231373
97
0.642616
fmeschia
67a5b1080e522ea75b6e93a684906914e5f895d3
1,242
hpp
C++
SDEngine/include/Graphics/OpenGL/GLTranslator.hpp
xubury/SDEngine
31e44fc5c78ce6b8f0c3b128fd5e0158150590e8
[ "BSD-3-Clause" ]
null
null
null
SDEngine/include/Graphics/OpenGL/GLTranslator.hpp
xubury/SDEngine
31e44fc5c78ce6b8f0c3b128fd5e0158150590e8
[ "BSD-3-Clause" ]
4
2021-12-10T05:01:49.000Z
2022-03-19T10:16:14.000Z
SDEngine/include/Graphics/OpenGL/GLTranslator.hpp
xubury/SDEngine
31e44fc5c78ce6b8f0c3b128fd5e0158150590e8
[ "BSD-3-Clause" ]
null
null
null
#ifndef SD_GL_TRANSLATOR_HPP #define SD_GL_TRANSLATOR_HPP #include <GL/glew.h> #include "Utility/Export.hpp" #include "Graphics/Graphics.hpp" namespace SD { GLenum SD_GRAPHICS_API Translate(BufferLayoutType data_type); GLenum SD_GRAPHICS_API Translate(MeshTopology mesh_type); GLenum SD_GRAPHICS_API Translate(Polyg...
25.875
74
0.838164
xubury
67a6b7469c6b610e34cabd183d4f9635c40bc796
1,177
cpp
C++
src/events/MyIMUSample.cpp
LinuxDroneLab/MyDrone
33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e
[ "Apache-2.0" ]
2
2021-05-31T09:46:39.000Z
2022-02-17T12:33:43.000Z
src/events/MyIMUSample.cpp
LinuxDroneLab/MyLinuxDrone
33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e
[ "Apache-2.0" ]
17
2018-09-03T05:41:37.000Z
2018-11-15T07:48:20.000Z
src/events/MyIMUSample.cpp
LinuxDroneLab/MyLinuxDrone
33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e
[ "Apache-2.0" ]
null
null
null
/* * MyIMUSample.cpp * * Created on: 17 dic 2015 * Author: andrea */ #include <commons/MyPriority.h> #include <events/MyIMUSample.h> MyIMUSample::MyIMUSample(boost::uuids::uuid origin, boost::math::quaternion<float> q, float yaw, float pitch, float roll, VectorFloat gravity, VectorInt16 accel, VectorInt16 ...
24.520833
212
0.720476
LinuxDroneLab
67af2745ed3bcb2e5bc1bf5c91c5421c2f4b90f2
2,201
cpp
C++
15/12.cpp
riuri/adventofcode
6e839972162f99a702359f94b275af0d717c7ea3
[ "MIT" ]
1
2021-12-05T16:31:50.000Z
2021-12-05T16:31:50.000Z
15/12.cpp
riuri/adventofcode
6e839972162f99a702359f94b275af0d717c7ea3
[ "MIT" ]
1
2021-12-05T18:27:26.000Z
2021-12-05T18:54:06.000Z
15/12.cpp
riuri/adventofcode
6e839972162f99a702359f94b275af0d717c7ea3
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <set> #include <string> #include <tuple> #include <vector> using namespace std; typedef pair<int, int> Location; bool valid(Location l, int size) { return l.first >= 0 && l.second >= 0 && l.first < size && l.second < size; } int astar(Location l, int size) { return 2 ...
25.011364
77
0.567015
riuri
67b1f6621765e44dbd391fd1bae723a9755202d8
4,745
cpp
C++
tests/xrt/11_fp_mmult256/main.cpp
pranjalv-xilinx/XRT
34e2ac16e9368c887a271959d1bb5778913e6a1c
[ "Apache-2.0" ]
1
2020-09-24T09:43:25.000Z
2020-09-24T09:43:25.000Z
tests/xrt/11_fp_mmult256/main.cpp
pranjalv-xilinx/XRT
34e2ac16e9368c887a271959d1bb5778913e6a1c
[ "Apache-2.0" ]
4
2021-04-14T22:58:18.000Z
2021-04-18T07:04:11.000Z
tests/xrt/11_fp_mmult256/main.cpp
pranjalv-xilinx/XRT
34e2ac16e9368c887a271959d1bb5778913e6a1c
[ "Apache-2.0" ]
3
2021-03-12T00:39:52.000Z
2021-03-25T20:42:22.000Z
/** * Copyright (C) 2016-2020 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
25.510753
111
0.598946
pranjalv-xilinx
67b4025f7be4405802f041b3b7ff6d6a4b44ceed
292
hpp
C++
include/daqi/redis-client/redis_command.hpp
hl4/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
166
2019-04-15T03:19:31.000Z
2022-03-26T05:41:12.000Z
include/daqi/redis-client/redis_command.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
9
2019-07-18T06:09:59.000Z
2021-01-27T04:19:04.000Z
include/daqi/redis-client/redis_command.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
43
2019-07-03T05:41:57.000Z
2022-02-24T14:16:09.000Z
#ifndef DAQI_REDIS_COMMAND_HPP #define DAQI_REDIS_COMMAND_HPP #include <vector> #include <deque> #include "daqi/redis-client/redis_buffer.hpp" namespace da4qi4 { std::vector<char> MakeCommand(std::deque<RedisBuffer> const& items); } // namespace da4qi4 #endif // DAQI_REDIS_COMMAND_HPP
17.176471
68
0.780822
hl4
67b418311db0ecf4386a8cc75d5ddca7aced6f14
145
cpp
C++
ForEach/ForEach.cpp
renatoas77/CursoDeCMaisPlus
232efee2dba211dd9d001701aa5207f929934948
[ "MIT" ]
null
null
null
ForEach/ForEach.cpp
renatoas77/CursoDeCMaisPlus
232efee2dba211dd9d001701aa5207f929934948
[ "MIT" ]
null
null
null
ForEach/ForEach.cpp
renatoas77/CursoDeCMaisPlus
232efee2dba211dd9d001701aa5207f929934948
[ "MIT" ]
null
null
null
#include <iostream> int main() { for (auto Ano : { 1998,2011,2014,2017,2020 }) { std::cout << Ano << "\n"; } system("PAUSE"); return 0; }
13.181818
46
0.558621
renatoas77
67b804cdd61a2b6e2ce5c23eaed90b09e4e334e1
31,064
cpp
C++
src/WEDMap/WED_MapPane.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/WEDMap/WED_MapPane.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/WEDMap/WED_MapPane.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
35.542334
169
0.732488
den-rain
67bb95e4ff351bc5d7671fa872ccc4fe11f26d51
6,755
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/audio_player_screen/Equalizer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/audio_player_screen/Equalizer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/audio_player_screen/Equalizer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
32.320574
138
0.646632
ramkumarkoppu
67bbb6c2d67e1b47a7f919377fbddf9733a77fd2
4,565
cpp
C++
FireRender.Max.Plugin/parser/Synchronizer_RenderSettings.cpp
Vsevolod1983/RadeonProRenderMaxPlugin
d5393fd04e45dd2c77c8b17fac4e10b20df55285
[ "Apache-2.0" ]
6
2020-05-24T12:00:43.000Z
2021-07-13T06:22:49.000Z
FireRender.Max.Plugin/parser/Synchronizer_RenderSettings.cpp
Vsevolod1983/RadeonProRenderMaxPlugin
d5393fd04e45dd2c77c8b17fac4e10b20df55285
[ "Apache-2.0" ]
4
2020-09-17T17:05:38.000Z
2021-06-23T14:29:14.000Z
FireRender.Max.Plugin/parser/Synchronizer_RenderSettings.cpp
Vsevolod1983/RadeonProRenderMaxPlugin
d5393fd04e45dd2c77c8b17fac4e10b20df55285
[ "Apache-2.0" ]
8
2020-05-15T08:29:17.000Z
2021-07-14T08:38:07.000Z
/********************************************************************** Copyright 2020 Advanced Micro Devices, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/L...
29.451613
99
0.725958
Vsevolod1983
67be5896142e95b56876cb46626c06046019d70e
5,805
cpp
C++
Source/API/Vulkan/FrameBufferVk.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
5
2020-11-25T05:05:13.000Z
2022-02-09T09:35:21.000Z
Source/API/Vulkan/FrameBufferVk.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
5
2020-11-11T09:52:59.000Z
2021-12-15T13:27:37.000Z
Source/API/Vulkan/FrameBufferVk.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
null
null
null
#include "Buma3DPCH.h" #include "FramebufferVk.h" namespace buma3d { B3D_APIENTRY FramebufferVk::FramebufferVk() : ref_count { 1 } , name {} , device {} , desc {} , desc_data {} , vkdevice {} , inspfn {} , devpfn {} , framebuffer {} , render_...
24.087137
136
0.680276
KawBuma
67c05949960445fba00a15b56983d4aca3431dfe
5,077
hpp
C++
ionFinder/include/geometry.hpp
ajmaurais/ms2_annotator
103fa6bef497589005c7fd264a9b68355d4fc056
[ "MIT" ]
4
2021-09-14T03:03:49.000Z
2022-01-04T21:16:48.000Z
ionFinder/include/geometry.hpp
ajmaurais/ms2_annotator
103fa6bef497589005c7fd264a9b68355d4fc056
[ "MIT" ]
null
null
null
ionFinder/include/geometry.hpp
ajmaurais/ms2_annotator
103fa6bef497589005c7fd264a9b68355d4fc056
[ "MIT" ]
1
2021-06-04T00:11:33.000Z
2021-06-04T00:11:33.000Z
// // geometry.hpp // ionFinder // ----------------------------------------------------------------------------- // MIT License // Copyright 2020 Aaron Maurais // ----------------------------------------------------------------------------- // Permission is hereby granted, free of charge, to any person obtaining a copy...
21.331933
80
0.602915
ajmaurais
67c320d021e4ed2d0d29930809c53e303fcff1df
2,837
cc
C++
renderer/gl/camera.cc
rrobbyflya330/House3D
258d155ba4d6c7399ed463de73bb1f1fae52979f
[ "Apache-2.0" ]
1,163
2017-12-07T17:45:44.000Z
2022-03-29T13:34:42.000Z
renderer/gl/camera.cc
rrobbyflya330/House3D
258d155ba4d6c7399ed463de73bb1f1fae52979f
[ "Apache-2.0" ]
55
2018-01-11T20:01:48.000Z
2021-03-10T08:41:01.000Z
renderer/gl/camera.cc
harunpehlivan/House3D
dea99540cf8edde41820718863429c58d9189b3f
[ "Apache-2.0" ]
181
2017-12-07T18:25:31.000Z
2022-03-25T12:51:43.000Z
// Copyright 2017-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. //File: camera.cc #include <functional> #include "camera.hh" #include "gl/glfw++.hh" #include "lib/debugutils.hh" namespace {...
26.514019
92
0.657032
rrobbyflya330
67c75eed412594454536114180a4cf37094d5590
1,018
cpp
C++
static-loop-unrollers/loop_unroller_examples.cpp
ammarhusain/cpp-sandbox
ff69ebfe55020b33ddc418928080b86f84d7539f
[ "MIT" ]
null
null
null
static-loop-unrollers/loop_unroller_examples.cpp
ammarhusain/cpp-sandbox
ff69ebfe55020b33ddc418928080b86f84d7539f
[ "MIT" ]
null
null
null
static-loop-unrollers/loop_unroller_examples.cpp
ammarhusain/cpp-sandbox
ff69ebfe55020b33ddc418928080b86f84d7539f
[ "MIT" ]
null
null
null
// Copyright (C) 2016 Ammar Husain. All Rights Reserved. #include <iostream> // std::cout #include <string> #include "loop_unroller.h" struct MyFunc { template<typename I> void operator()(I, int val) { std::cout << "Functor " << I::value*val << std::endl; } }; int main(int argc, char** argv) { // Using...
32.83871
82
0.562868
ammarhusain
67c7c50f736884e02f036cea6cc81c8692d85a01
8,471
cpp
C++
wxWidgets/src/gtk/glcanvas.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
86
2015-08-06T11:30:01.000Z
2022-02-28T04:50:22.000Z
wxWidgets/src/gtk/glcanvas.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
6
2016-01-04T19:36:22.000Z
2021-08-08T02:43:48.000Z
wxWidgets/src/gtk/glcanvas.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
22
2015-11-04T04:04:54.000Z
2022-02-28T04:50:24.000Z
///////////////////////////////////////////////////////////////////////////// // Name: src/gtk/glcanvas.cpp // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK // Author: Robert Roebling // Modified by: // Created: 17/08/98 // Copyright: (c) Robert Roebling // Licence: wxWindo...
30.803636
214
0.574312
VonaInc
67c8d513a51971b65d602738bc44fddf11f21cf2
1,062
hpp
C++
src/nudb/extras/beast/include/beast/http/resume_context.hpp
gyas-kk/JBcoin
b2cdc126d4db4f2913dac34ad3ba83c4e1543ce6
[ "BSL-1.0" ]
2
2020-03-03T12:46:29.000Z
2020-11-14T09:52:14.000Z
include/beast/http/resume_context.hpp
somayeghahari/beast
999e2fa0318b5982736d3ea01a418770ea802671
[ "BSL-1.0" ]
1
2016-06-22T17:13:44.000Z
2016-06-22T17:13:44.000Z
include/beast/http/resume_context.hpp
somayeghahari/beast
999e2fa0318b5982736d3ea01a418770ea802671
[ "BSL-1.0" ]
1
2019-03-25T01:54:42.000Z
2019-03-25T01:54:42.000Z
// // Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BEAST_HTTP_RESUME_CONTEXT_HPP #define BEAST_HTTP_RESUME_CONTEXT_HPP #inc...
30.342857
79
0.742938
gyas-kk
67d0d7db9c33a916b76be22c9042cb36aec32ccd
1,549
cpp
C++
gtasa_render_hook_rt/gta3_geometry_proxy.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
gtasa_render_hook_rt/gta3_geometry_proxy.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
gtasa_render_hook_rt/gta3_geometry_proxy.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
#include "gta3_geometry_proxy.h" RpGeometryRw35::~RpGeometryRw35() {} void *RpGeometryRw35::GetResEntry() { return static_cast<RpGeometryGTA3 *>( m_pGeometryImpl )->repEntry; } RwResEntry *&RpGeometryRw35::GetResEntryRef() { return static_cast<RpGeometryGTA3 *>( m_pGeometryImpl )->repEntry; } int32_t RpGeom...
24.203125
78
0.759199
HermanLederer
67d19e236cd3a1005d743daed6995749a2a55fa5
6,328
cpp
C++
src/util/HSet.cpp
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
null
null
null
src/util/HSet.cpp
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
null
null
null
src/util/HSet.cpp
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
31.172414
80
0.545038
chrhansk
67d259930c44851e0083f1c3db196db3d70f9814
44,540
cpp
C++
code/cheonsa/cheonsa_reflection_types.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa_reflection_types.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa_reflection_types.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
#include "cheonsa_reflection_types.h" #include "cheonsa_reflection_property.h" #include "cheonsa_reflection_object.h" #include "cheonsa_reflection_class.h" #include "cheonsa__ops.h" #include <cassert> namespace cheonsa { reflection_value_container_c::reflection_value_container_c() : uint64{} , string8() , stri...
37.87415
222
0.677818
Olaedaria
67d3371e362cceaf991e66b40c0eb657f575c035
12,020
cxx
C++
Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest_2.cxx
rmukh/ITK
0fcfaf1288928a76c3ef2b3fcc8b6e53246bfbba
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest_2.cxx
rmukh/ITK
0fcfaf1288928a76c3ef2b3fcc8b6e53246bfbba
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest_2.cxx
rmukh/ITK
0fcfaf1288928a76c3ef2b3fcc8b6e53246bfbba
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * 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 * * https://www.apache.o...
29.104116
115
0.613228
rmukh
67d3606c09323fc3d79d2122b15bbac6aafd012a
61
hh
C++
extern/polymesh/src/polymesh/impl/impl_iterators.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/impl/impl_iterators.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/impl/impl_iterators.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
#pragma once #include "../Mesh.hh" namespace polymesh { }
6.777778
21
0.655738
huzjkevin
67d370745e7175c7ffb641e02eebf878d6ec6d96
378
cpp
C++
src/SSceneInitParameters.cpp
h2r0x/ZHM5Randomizer-1
8bf6a9676a88374cd82cd85fd3ada659cd08d63a
[ "MIT" ]
null
null
null
src/SSceneInitParameters.cpp
h2r0x/ZHM5Randomizer-1
8bf6a9676a88374cd82cd85fd3ada659cd08d63a
[ "MIT" ]
null
null
null
src/SSceneInitParameters.cpp
h2r0x/ZHM5Randomizer-1
8bf6a9676a88374cd82cd85fd3ada659cd08d63a
[ "MIT" ]
null
null
null
#include "SSceneInitParameters.h" void SSceneInitParameters::print() const { printf("\nSSceneInitParameter hash: 0x%I64X\n", std::hash<SSceneInitParameters>()(*this)); printf("\t%s\n", m_SceneResource.to_string().c_str()); for (int i = 0; i < m_aAdditionalBrickResources.size(); ++i) printf("\t\t%s\n...
37.8
75
0.690476
h2r0x
67d4cfab0dd43e4dd96bd4dbb941498408d1be45
460
cpp
C++
all_domains/data_structures/trees/tree_top_view.cpp
ejspeiro/HackerRank
2e489588e8d7102acb676cc49fe07ee83e4f66e9
[ "MIT" ]
null
null
null
all_domains/data_structures/trees/tree_top_view.cpp
ejspeiro/HackerRank
2e489588e8d7102acb676cc49fe07ee83e4f66e9
[ "MIT" ]
null
null
null
all_domains/data_structures/trees/tree_top_view.cpp
ejspeiro/HackerRank
2e489588e8d7102acb676cc49fe07ee83e4f66e9
[ "MIT" ]
null
null
null
/* struct node { int data; node* left; node* right; }; */ void go_left(node * root) { if (root != nullptr) { go_left(root->left); std::cout << root->data << ' '; } } void go_right(node * root) { if (root != nullptr) { std::cout << root->data << ' '; go_right(ro...
14.83871
39
0.495652
ejspeiro
67d57c8377c9a6c23b04d503f172c4e980281680
12,941
cpp
C++
AIPDebug/External-Interface/UdpClient.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/External-Interface/UdpClient.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/External-Interface/UdpClient.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
#include "UdpClient.h" UdpClient::UdpClient(QObject *parent) : QUdpSocket(parent) { Status = "free"; Number = "----"; Reply_conut = 0; } void UdpClient::Init() { this->bind(6000); // QHostAddress::Broadcast, connect(this, SIGNAL(readyRead()), this, SLOT(ReadAll())); } void UdpClient::Quit() { ...
33.097187
95
0.540221
Bluce-Song
67d8f625c8645701bc6a482086d5da32d07fb4f1
1,427
cpp
C++
libs/data/tests/src/temporary.cpp
blagodarin/seir
fec45228d161dabb8bb4aaa23c64ea218b84e8fd
[ "Apache-2.0" ]
null
null
null
libs/data/tests/src/temporary.cpp
blagodarin/seir
fec45228d161dabb8bb4aaa23c64ea218b84e8fd
[ "Apache-2.0" ]
null
null
null
libs/data/tests/src/temporary.cpp
blagodarin/seir
fec45228d161dabb8bb4aaa23c64ea218b84e8fd
[ "Apache-2.0" ]
null
null
null
// This file is part of Seir. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include <seir_data/blob.hpp> #include <seir_data/temporary.hpp> #include <array> #include <cstring> #include <filesystem> #include <doctest/doctest.h> TEST_CASE("TemporaryFile") { auto writer = seir::Temporary...
31.711111
126
0.686055
blagodarin
67d95c2233dec64e8de34eb16d103affaf60f42e
4,834
cpp
C++
lib/Target/X86/X86MacroFusion.cpp
vangthao95/llvm
7161a90f679d8d52ab57a3166361a7ebd1ba5459
[ "Apache-2.0" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
FRProtector/lib/Target/X86/X86MacroFusion.cpp
whucs303/randomizationlib
07a1f495e1cf878ad9dd4c79b7ff1c6b48cff876
[ "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
FRProtector/lib/Target/X86/X86MacroFusion.cpp
whucs303/randomizationlib
07a1f495e1cf878ad9dd4c79b7ff1c6b48cff876
[ "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
//===- X86MacroFusion.cpp - X86 Macro Fusion ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
24.049751
80
0.638602
vangthao95
67df737a8baa7b41644c5b87090a2893614f0dbd
965
cpp
C++
src/tools.cpp
tairaO/CarND-Unscented-Kalman-Filter-Project
cd7b489060ec9c55d72e25b49b5e0fd920d8fddb
[ "MIT" ]
null
null
null
src/tools.cpp
tairaO/CarND-Unscented-Kalman-Filter-Project
cd7b489060ec9c55d72e25b49b5e0fd920d8fddb
[ "MIT" ]
null
null
null
src/tools.cpp
tairaO/CarND-Unscented-Kalman-Filter-Project
cd7b489060ec9c55d72e25b49b5e0fd920d8fddb
[ "MIT" ]
null
null
null
#include <iostream> #include "tools.h" using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth) { /** TODO: * Calculate the RMSE...
22.97619
69
0.615544
tairaO
67e04929fceb21cb6fc41cdd69e9c9700fd6add4
2,579
cc
C++
cc/json-export.cc
acorg/acmacs-tal
13da33bb8ed456ac1f968b8b86df295467ee5429
[ "MIT" ]
null
null
null
cc/json-export.cc
acorg/acmacs-tal
13da33bb8ed456ac1f968b8b86df295467ee5429
[ "MIT" ]
null
null
null
cc/json-export.cc
acorg/acmacs-tal
13da33bb8ed456ac1f968b8b86df295467ee5429
[ "MIT" ]
null
null
null
#include "acmacs-base/to-json.hh" #include "acmacs-base/date.hh" #include "acmacs-base/timeit.hh" #include "acmacs-tal/json-export.hh" #include "acmacs-tal/tree.hh" static to_json::object export_node(const acmacs::tal::v3::Node& node); // ---------------------------------------------------------------------- std::st...
43.711864
112
0.563397
acorg
67ef50d239c6505631ee5bfd2ab7d70063c69ae7
1,327
cpp
C++
source/ktwgEngine/raycastcallbacks.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
source/ktwgEngine/raycastcallbacks.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
12
2019-09-15T07:48:18.000Z
2019-12-08T17:23:22.000Z
source/ktwgEngine/raycastcallbacks.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
#include "raycastcallbacks.h" #include "boxcollider.h" #include "rigidbody.h" #include "broadphase.h" bool CastCallback::QueryTriggers(int32_t id) { void* data = broadPhase_->GetUserData(id); BoxCollider* collider = static_cast<BoxCollider*>(data); return collider->GetIsTrigger(); } float RayCastCallback::Quer...
26.54
99
0.708365
JasonWyx
67efbb1a22aa931e8d772f21270f628b20b67f77
1,362
hpp
C++
include/shapes/bvh.hpp
voyagingmk/renderer
c2dfddb611b99691e67701a726c404baa1759abb
[ "MIT" ]
2
2018-03-18T09:14:58.000Z
2020-04-11T14:50:37.000Z
include/shapes/bvh.hpp
voyagingmk/renderer
c2dfddb611b99691e67701a726c404baa1759abb
[ "MIT" ]
null
null
null
include/shapes/bvh.hpp
voyagingmk/renderer
c2dfddb611b99691e67701a726c404baa1759abb
[ "MIT" ]
null
null
null
#ifndef RENDERER_BVH_HPP #define RENDERER_BVH_HPP #include "union.hpp" namespace renderer { class BVHNode { public: BVHNode(): left(nullptr), right(nullptr) {} void InitAsLeaf(Shape* s, const BBox &b) { shapes.push_back(s); bound = b; left = right = nullptr; } void Init...
19.457143
74
0.62188
voyagingmk
67f3144de87b4767e26a5709ec609d5f07794f60
427
cpp
C++
dvxplorer_ros_driver/src/driver_node.cpp
jixing96/rpg_dvs_ros
5acb00fb939b5c0e451629c13773cd938b2b1258
[ "MIT" ]
228
2015-03-02T10:08:35.000Z
2022-03-18T06:28:03.000Z
dvxplorer_ros_driver/src/driver_node.cpp
jixing96/rpg_dvs_ros
5acb00fb939b5c0e451629c13773cd938b2b1258
[ "MIT" ]
98
2015-12-03T10:59:03.000Z
2022-02-23T15:45:25.000Z
dvxplorer_ros_driver/src/driver_node.cpp
jixing96/rpg_dvs_ros
5acb00fb939b5c0e451629c13773cd938b2b1258
[ "MIT" ]
117
2015-03-02T07:11:09.000Z
2022-03-20T02:57:34.000Z
// This file is part of DVS-ROS - the RPG DVS ROS Package #include "dvxplorer_ros_driver/driver.h" #include <ros/ros.h> int main(int argc, char *argv[]) { ros::init(argc, argv, "dvxplorer_ros_driver"); ros::NodeHandle nh; ros::NodeHandle nh_private("~"); dvxplorer_ros_driver::DvxplorerRosDriver *driver = new d...
21.35
113
0.723653
jixing96
67f9e80f189200fd6d30edea1be57055978a3e8d
476
cc
C++
src/utils.cc
informave/dbwtl
fed8f84ac42949d906a34b6a5a1b61b3a7b74356
[ "BSD-3-Clause" ]
1
2018-04-20T08:44:05.000Z
2018-04-20T08:44:05.000Z
src/utils.cc
informave/dbwtl
fed8f84ac42949d906a34b6a5a1b61b3a7b74356
[ "BSD-3-Clause" ]
null
null
null
src/utils.cc
informave/dbwtl
fed8f84ac42949d906a34b6a5a1b61b3a7b74356
[ "BSD-3-Clause" ]
null
null
null
#include <sstream> #include <string> #include <stdexcept> #include "dbwtl/exceptions.hh" #include "utils.hh" DB_NAMESPACE_BEGIN namespace utils { void raise_bugcheck_exception(const char *cond, const char *what, int line, const char *file, const char *function) { std::stringstream ss; ss << ">>>INTERNAL B...
14.875
120
0.653361
informave
67fe969ff0fbdf2ab7b63f3ecc116b0e19aecc94
3,446
cpp
C++
src/scrambling/DigitalXOR_2di.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/scrambling/DigitalXOR_2di.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/scrambling/DigitalXOR_2di.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
/* * Hélène Perrier helene.perrier@liris.cnrs.fr * and David Coeurjolly david.coeurjolly@liris.cnrs.fr * * Copyright (c) 2018 CNRS Université de Lyon * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
35.525773
144
0.716193
FrancoisGaits
db02dc23e57775f45898e4a86964ffd9747fb887
269
cpp
C++
L1-026/main.cpp
Heliovic/GPLT
7e8745e589a6b6594d4db24a2030f3b0e6efe38b
[ "MIT" ]
1
2019-03-14T05:35:16.000Z
2019-03-14T05:35:16.000Z
L1-026/main.cpp
Heliovic/GPLT
7e8745e589a6b6594d4db24a2030f3b0e6efe38b
[ "MIT" ]
null
null
null
L1-026/main.cpp
Heliovic/GPLT
7e8745e589a6b6594d4db24a2030f3b0e6efe38b
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> using namespace std; char str[] = "I Love GPLT"; int main() { int len = strlen(str); for (int i = 0; i < len; i++) { if (i != 0) printf("\n"); printf("%c", str[i]); } return 0; }
12.809524
33
0.460967
Heliovic
db040e0b009e52a6cfc9c9020074dd8e3a95526a
1,423
hh
C++
src/Utilities/integrateThroughMeshAlongSegment.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/integrateThroughMeshAlongSegment.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/integrateThroughMeshAlongSegment.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // integrateThroughMeshAlongSegment // // Return the result of integrating a quantity along a line segment. // The quantity here is assumed to be represented a values in a vector<Value>, // where the vector<Value> is the value of the quant...
41.852941
83
0.601546
jmikeowen
db045b1287ade8aafdb7e4cbf38e23bb25fa6506
16,805
tpp
C++
src/hypro/datastructures/Halfspace.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/hypro/datastructures/Halfspace.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/hypro/datastructures/Halfspace.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
/** * Class that holds the implementation of a Halfspace. * @file Halfspace.tpp * * @author Stefan Schupp <stefan.schupp@cs.rwth-aachen.de> * * @since 2015-03-16 * @version 2015-03-16 */ #include "Halfspace.h" namespace hypro { template <typename Number> Halfspace<Number>::Halfspace( const Point<Numb...
32.442085
118
0.671824
hypro
db08847e831d840c41f5bec28dd020606888ce4b
801
hpp
C++
Jackal/Source/Core/Public/Core/Math/Color4.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Public/Core/Math/Color4.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Public/Core/Math/Color4.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Jackal Engine, MIT License. #pragma once #include "Core/Platform/Platform.hpp" #include "Core/Platform/JTypes.hpp" #include "Vector4.hpp" namespace jackal { // Color values marked with normalized values from [0.0f, 1.0f]. // These values are used to determine the color of some mesh object. s...
28.607143
68
0.589263
CheezBoiger
db090d2234185e2337bb31462e30be6295e76b59
22,708
cpp
C++
Lumos/src/Editor/Editor.cpp
adriengivry/Lumos
beab295c25639e2320be9f1b6f0c0e49a2412d5a
[ "MIT" ]
null
null
null
Lumos/src/Editor/Editor.cpp
adriengivry/Lumos
beab295c25639e2320be9f1b6f0c0e49a2412d5a
[ "MIT" ]
null
null
null
Lumos/src/Editor/Editor.cpp
adriengivry/Lumos
beab295c25639e2320be9f1b6f0c0e49a2412d5a
[ "MIT" ]
1
2020-04-17T13:40:49.000Z
2020-04-17T13:40:49.000Z
#include "lmpch.h" #include "Editor.h" #include "ImGUIConsoleSink.h" #include "SceneWindow.h" #include "ProfilerWindow.h" #include "ConsoleWindow.h" #include "HierarchyWindow.h" #include "InspectorWindow.h" #include "ApplicationInfoWindow.h" #include "GraphicsInfoWindow.h" #include "App/Application.h" #include "Core/O...
35.425897
223
0.650079
adriengivry
db0c6d297e5b90d0a04d3194fd39ea728e280457
257
cpp
C++
src/Vtk/Wrapper/quickVtkOBJReader.cpp
ruisebastiao/QVTK
6e9aee0d0fc691539dca3b825d0ffe6e7b30db09
[ "BSD-3-Clause" ]
1
2021-09-13T06:17:31.000Z
2021-09-13T06:17:31.000Z
src/Vtk/Wrapper/quickVtkOBJReader.cpp
ruisebastiao/QVTK
6e9aee0d0fc691539dca3b825d0ffe6e7b30db09
[ "BSD-3-Clause" ]
null
null
null
src/Vtk/Wrapper/quickVtkOBJReader.cpp
ruisebastiao/QVTK
6e9aee0d0fc691539dca3b825d0ffe6e7b30db09
[ "BSD-3-Clause" ]
null
null
null
#include "quickVtkOBJReader.hpp" namespace quick { namespace Vtk { //Qml::Register::Class<OBJReader> OBJReader::Register(true); OBJReader::OBJReader() : AbstractPolyDataReader(vtkSmartPointer<vtkOBJReader>::New()) { } } }
21.416667
95
0.657588
ruisebastiao
db105f84cd2d327a910161bbe6633b35459310d9
3,254
cpp
C++
libvast/test/system/type_registry.cpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
63
2016-04-22T01:50:03.000Z
2019-07-31T15:50:36.000Z
libvast/test/system/type_registry.cpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
216
2017-01-24T16:25:43.000Z
2019-08-01T19:37:00.000Z
libvast/test/system/type_registry.cpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
28
2016-05-19T13:09:19.000Z
2019-04-12T15:11:42.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2020 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #define SUITE type_registry #include "vast/system/type_...
27.576271
81
0.665028
rdettai
db17a13385c670c9ad3a7a01b861c7cb1964b01b
1,627
cpp
C++
test/unit/io/detail/misc_test.cpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
283
2017-03-14T23:43:33.000Z
2022-03-28T02:30:02.000Z
test/unit/io/detail/misc_test.cpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
2,754
2017-03-21T18:39:02.000Z
2022-03-31T13:26:15.000Z
test/unit/io/detail/misc_test.cpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
88
2017-03-20T12:43:42.000Z
2022-03-17T08:56:13.000Z
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
32.54
104
0.596804
joergi-w
db183f466958c48efaf00f8de05b9b59e255aca1
1,908
cpp
C++
trikControl/src/pwmCapture.cpp
thetoropov/trikRuntime
f236e441875ff4ab999803252f26075e089ae04c
[ "Apache-2.0" ]
17
2015-03-20T16:56:36.000Z
2019-07-24T08:13:23.000Z
trikControl/src/pwmCapture.cpp
thetoropov/trikRuntime
f236e441875ff4ab999803252f26075e089ae04c
[ "Apache-2.0" ]
276
2015-02-01T20:25:37.000Z
2022-03-25T13:18:14.000Z
trikControl/src/pwmCapture.cpp
IKhonakhbeeva/trikRuntime
b87c4c4eb50ad505e69964e594123e3b4138f17d
[ "Apache-2.0" ]
50
2015-01-03T13:56:26.000Z
2022-03-29T12:47:39.000Z
/* Copyright 2013 - 2015 Roman Kurbatov, Yurii Litvinov and CyberTech Labs 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 * * ...
24.461538
111
0.713312
thetoropov
db18c03fe1a98c74608cdf967afcc724d55a4777
5,031
cpp
C++
src/CatroModulo_CM-4.cpp
CardinalModules/catro-modulo
bf6f969c5f7fff6a419a54197fb4318671281ad5
[ "BSD-3-Clause" ]
17
2019-03-08T01:49:29.000Z
2020-07-07T00:30:03.000Z
src/CatroModulo_CM-4.cpp
CardinalModules/catro-modulo
bf6f969c5f7fff6a419a54197fb4318671281ad5
[ "BSD-3-Clause" ]
20
2019-03-08T11:56:32.000Z
2021-12-20T23:55:30.000Z
src/CatroModulo_CM-4.cpp
CardinalModules/catro-modulo
bf6f969c5f7fff6a419a54197fb4318671281ad5
[ "BSD-3-Clause" ]
3
2019-04-30T03:08:07.000Z
2022-02-25T20:01:33.000Z
#include "CatroModulo.hpp" //Catro-Module CM-4: vcClk struct CM4Module : Module { enum ParamIds { PARAM_BPM, PARAM_RST, PARAM_SNAP, NUM_PARAMS }; enum InputIds { INPUT_EXT, INPUT_BPM, INPUT_RST, NUM_INPUTS }; enum OutputIds { OUTPUT_BPM1, OUTPUT_BPM2, OUTPUT_D2, OUTPUT_X2, OUTPUT_CLKD...
34.696552
124
0.709402
CardinalModules
db1e3ee29d3997579632ac9aad298dc405572803
99
cpp
C++
Core/GameManagers/ISimulationManager.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
null
null
null
Core/GameManagers/ISimulationManager.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
null
null
null
Core/GameManagers/ISimulationManager.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
1
2015-09-25T22:24:16.000Z
2015-09-25T22:24:16.000Z
#include "Precompiled.h" #include "ISimulationManager.h" namespace engine { } // namespace engine
14.142857
31
0.757576
gaspardpetit
db20a571e78c0be65bbd6a377a1b802a7e89ce98
922
cc
C++
test/client_bind_port_client.cc
wyhuo123/lib
be802f060a418e28d95d3a6d3b8b2812565e2123
[ "MIT" ]
null
null
null
test/client_bind_port_client.cc
wyhuo123/lib
be802f060a418e28d95d3a6d3b8b2812565e2123
[ "MIT" ]
null
null
null
test/client_bind_port_client.cc
wyhuo123/lib
be802f060a418e28d95d3a6d3b8b2812565e2123
[ "MIT" ]
null
null
null
#include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <linux/version.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <map> #include <arpa/inet.h> int main() { struct sockaddr_in saddr; memset(&saddr, 0, sizeof(struct sockaddr_in)); saddr.sin_family = AF_INET; sadd...
21.44186
68
0.612798
wyhuo123
db212c534cad3a7617ae334681342df388e53a46
11,947
cpp
C++
src/dollar.cpp
natemc/qiss
5cbe3250b4879db6c444a3baec9b603f32f10ca5
[ "MIT" ]
1
2015-11-03T01:57:04.000Z
2015-11-03T01:57:04.000Z
src/dollar.cpp
natemc/qiss
5cbe3250b4879db6c444a3baec9b603f32f10ca5
[ "MIT" ]
null
null
null
src/dollar.cpp
natemc/qiss
5cbe3250b4879db6c444a3baec9b603f32f10ca5
[ "MIT" ]
1
2015-11-01T08:01:39.000Z
2015-11-01T08:01:39.000Z
#include <dollar.h> #include <algorithm> #include <cmath> #include <cstdio> #include <each.h> #include <flip.h> #include <o.h> #include <prim_parse.h> #include <sym.h> namespace { template <class X> using OT = ObjectTraits<X>; S c2s(C x) { const char s[] = { C::rep(x), '\0' }; return sym(s); ...
37.687697
88
0.514271
natemc
db22a25e4b1c9a192e4b0ed79bcb061cdfef095c
4,842
cpp
C++
src/gl9_scene/player.cpp
ImMuffin/ppgso_koricansky_ambrus
156c136c54320c85576216e020e3124e96060d20
[ "MIT" ]
null
null
null
src/gl9_scene/player.cpp
ImMuffin/ppgso_koricansky_ambrus
156c136c54320c85576216e020e3124e96060d20
[ "MIT" ]
null
null
null
src/gl9_scene/player.cpp
ImMuffin/ppgso_koricansky_ambrus
156c136c54320c85576216e020e3124e96060d20
[ "MIT" ]
null
null
null
#include "player.h" #include "scene.h" #include <glm/gtx/euler_angles.hpp> #include <shaders/diffuse_vert_glsl.h> #include <shaders/diffuse_frag_glsl.h> #include <shaders/convolution_frag_glsl.h> #include <shaders/convolution_vert_glsl.h> #include <shaders/water_vert_glsl.h> #include <shaders/water_frag_glsl.h> #inclu...
26.315217
124
0.610078
ImMuffin
db22e7e4ae821fac46e27d52278ba560b0d050d3
2,799
cpp
C++
Samples/Windows/View/ComboBox.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
2
2020-11-12T07:47:06.000Z
2020-11-12T11:49:07.000Z
Samples/Windows/View/ComboBox.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
null
null
null
Samples/Windows/View/ComboBox.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
null
null
null
#include "ComboBox.h" #include <CommCtrl.h> using namespace std; ComboBox ComboBox::Create(HWND parent, UINT id, DWORD type, HINSTANCE instance) { DialogItem di; if (parent) { DWORD style = WS_CHILD | WS_TABSTOP | WS_VSCROLL; if (ComboBox::Simple != type) { style |= W...
19.851064
126
0.630225
Topsens
db2a7e98de7a3865cc822733aabc761ba4ba1313
622
cpp
C++
src/libs/html/examples/file_html.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
null
null
null
src/libs/html/examples/file_html.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
null
null
null
src/libs/html/examples/file_html.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
1
2022-01-13T19:06:32.000Z
2022-01-13T19:06:32.000Z
#include "html/fwriter.hpp" #include <iostream> #define FILE_NAME "file2.html" int main() { std::cout << "HTML File Test\n"; HTML::fwriter os(FILE_NAME); if(!os.is_open()) { std::cerr << "Error opening file\n"; return 1; } std::cout << "Opened file\n"; std::cout << "Writing to file...\n"; os.init() ...
15.948718
67
0.57717
rnascunha
db2b347db21242ae193d2383270e721ca82c6d85
2,388
cpp
C++
Engine/source/platformWin32/winProcessControl.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/platformWin32/winProcessControl.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/platformWin32/winProcessControl.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
33.166667
81
0.667085
vbillet
db3114cf65972f68e1f4b03e480b1756a79bb763
13,657
cpp
C++
source/Vulkan/StreamBuffer.cpp
Wunkolo/vkblam
764ae91396716e54b0d2667f31b114915a2057e9
[ "MIT" ]
6
2022-01-04T23:01:27.000Z
2022-01-15T20:39:50.000Z
source/Vulkan/StreamBuffer.cpp
Wunkolo/vkblam
764ae91396716e54b0d2667f31b114915a2057e9
[ "MIT" ]
null
null
null
source/Vulkan/StreamBuffer.cpp
Wunkolo/vkblam
764ae91396716e54b0d2667f31b114915a2057e9
[ "MIT" ]
null
null
null
#include <Vulkan/StreamBuffer.hpp> #include "Common/Alignment.hpp" #include "Common/Format.hpp" #include <Vulkan/Debug.hpp> #include <Vulkan/Memory.hpp> #include <vulkan/vulkan_enums.hpp> namespace Vulkan { StreamBuffer::StreamBuffer( vk::Device Device, vk::PhysicalDevice PhysicalDevice, vk::Queue TransferQueue, st...
29.884026
77
0.72666
Wunkolo
db327445502d383665e08e52727e5b129eea89c4
1,541
hpp
C++
visen/display_list.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
visen/display_list.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
visen/display_list.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * display_list.hpp * * A DisplayList can be used to "remember" what is rendered inbetween calls to * open() and close(). It can then be rendered after that point and will render * that which it remembered, but in an optimised fashion. * * Note that Display Lists are depricated in current OpenGL ...
25.262295
130
0.714471
MrTAB
db33a4a0db93f9032e045979f5380b41ec901ac6
210,028
cpp
C++
HotelSearchApp/Classes/Native/Il2CppCompilerCalculateTypeValues_20Table.cpp
skarian92/hotelSearch
0f6ef494f621452e511b5ee5aca0a50acf1e8fd6
[ "MIT" ]
null
null
null
HotelSearchApp/Classes/Native/Il2CppCompilerCalculateTypeValues_20Table.cpp
skarian92/hotelSearch
0f6ef494f621452e511b5ee5aca0a50acf1e8fd6
[ "MIT" ]
null
null
null
HotelSearchApp/Classes/Native/Il2CppCompilerCalculateTypeValues_20Table.cpp
skarian92/hotelSearch
0f6ef494f621452e511b5ee5aca0a50acf1e8fd6
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "object-in...
42.862857
240
0.83157
skarian92
db34e06a9e3044060d413dc08b5936f60256d177
35,612
cxx
C++
EMCAL/EMCALsim/AliEMCALv0.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
EMCAL/EMCALsim/AliEMCALv0.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
EMCAL/EMCALsim/AliEMCALv0.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
40.606613
170
0.601426
AllaMaevskaya
db37971f6bd1816e76f0f25b1412ae4a362862dd
4,372
cpp
C++
main.cpp
AbsoluteStratos/mpi-wave
10b8b82cab42c4985a63af7f9065f06c090838cd
[ "MIT" ]
null
null
null
main.cpp
AbsoluteStratos/mpi-wave
10b8b82cab42c4985a63af7f9065f06c090838cd
[ "MIT" ]
null
null
null
main.cpp
AbsoluteStratos/mpi-wave
10b8b82cab42c4985a63af7f9065f06c090838cd
[ "MIT" ]
null
null
null
/* * C++ solver for the 2D wave equation through hetergenous media * with MPI parallelization. * Primary author: Nicholas Geneva (ngeneva at nd.edu) * * To compile in parallel: * mpicxx *cpp -std=c++11 -lboost_system -lboost_filesystem -D__MPI__ */ #include "common.h" #include "mpi_grid.h" #include "boundary.h" #in...
27.496855
109
0.510979
AbsoluteStratos
db3884e003ce28650c6f1b5aaf88f20b8f782611
3,371
cpp
C++
2018/cpp/src/day11.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
1
2021-12-04T20:55:02.000Z
2021-12-04T20:55:02.000Z
2018/cpp/src/day11.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
2018/cpp/src/day11.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <get_input.hpp> constexpr int grid_size = 300; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * struct Fuel_square { int x, y, size, total; }; std::ostream& operator<<(std::ostream& os, const Fuel_square& fs) { ...
25.930769
79
0.528033
Chrinkus
db388602868762164769c754748d3836ab8b18b8
1,545
cpp
C++
Problems/542. 01 Matrix/bfsearch.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
1
2022-01-29T01:52:58.000Z
2022-01-29T01:52:58.000Z
Problems/542. 01 Matrix/bfsearch.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
Problems/542. 01 Matrix/bfsearch.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
#include "../includes.hpp" using namespace std; // This solution goes from 0s to all nearest 1s, calculates distance and // stores it in the result matrix class Solution { public: vector<vector<int>> updateMatrix(vector<vector<int>> &matrix) { int m = matrix.size(); int n = matrix[0].size(); ...
29.711538
87
0.422006
uSlashVlad
db3ad6421865f19b280f783d2f98accbdb7a2049
124
cpp
C++
tests/cpp/test-simplifyline.cpp
JeremyBYU/simplifyline
fd0ee7c93f0351460b017d165956bc8f731b8047
[ "MIT" ]
1
2020-12-02T03:41:14.000Z
2020-12-02T03:41:14.000Z
tests/cpp/test-simplifyline.cpp
JeremyBYU/simplifyline
fd0ee7c93f0351460b017d165956bc8f731b8047
[ "MIT" ]
null
null
null
tests/cpp/test-simplifyline.cpp
JeremyBYU/simplifyline
fd0ee7c93f0351460b017d165956bc8f731b8047
[ "MIT" ]
1
2021-05-23T14:25:54.000Z
2021-05-23T14:25:54.000Z
#include "doctest/doctest.h" #include "SimplifyLine/SimplifyLine.hpp" #include <vector> TEST_SUITE("Simplify Line") { }
11.272727
40
0.733871
JeremyBYU
db41212db602c621df3105c89fd47680e95b893e
1,704
cpp
C++
zbo/factory_test.cpp
Lenzebo/zbo
6b3f64b828ac33f25db98a7cf8051c04132cf051
[ "MIT" ]
null
null
null
zbo/factory_test.cpp
Lenzebo/zbo
6b3f64b828ac33f25db98a7cf8051c04132cf051
[ "MIT" ]
null
null
null
zbo/factory_test.cpp
Lenzebo/zbo
6b3f64b828ac33f25db98a7cf8051c04132cf051
[ "MIT" ]
null
null
null
#include "factory.h" #include <gtest/gtest.h> namespace zbo::test { struct TestInterface { using Key = std::string; virtual ~TestInterface() = default; }; struct TestInstance1 : public TestInterface { static constexpr auto ID = "test1"; }; struct TestInstance2 : public TestInterface { static conste...
24.342857
86
0.733568
Lenzebo
db43626d5732b174bcd4a5064db491f7c1f8d32f
2,480
cpp
C++
test/test_transformations.cpp
cbandera/codewars_katas
8093d6f07429f079e57fb79288acb8234ec8e547
[ "BSD-3-Clause" ]
null
null
null
test/test_transformations.cpp
cbandera/codewars_katas
8093d6f07429f079e57fb79288acb8234ec8e547
[ "BSD-3-Clause" ]
null
null
null
test/test_transformations.cpp
cbandera/codewars_katas
8093d6f07429f079e57fb79288acb8234ec8e547
[ "BSD-3-Clause" ]
null
null
null
#include "catch2/catch.hpp" #include "transformations.hpp" TEST_CASE("Rotations_And_Reflections_I", "[Dih4]") { REQUIRE(Dih4::ROTATE_180.is_rotation()); REQUIRE(Dih4::REFLECT_VERTICAL.is_reflection()); REQUIRE(Dih4::ROTATE_90_CLOCKWISE.inv() == Dih4::ROTATE_90_ANTICLOCKWISE); REQUIRE(Dih4::ROTATE_90_CLOCKWIS...
45.925926
90
0.426613
cbandera
b9cd1c78aedfa807332bd92293a21abe21219ec8
2,311
hpp
C++
checkers_client.hpp
acheeseye/ai-playing-checkers
fc02ef095fbcad8d730a25b156373cc6370d4f58
[ "MIT" ]
null
null
null
checkers_client.hpp
acheeseye/ai-playing-checkers
fc02ef095fbcad8d730a25b156373cc6370d4f58
[ "MIT" ]
12
2018-01-25T05:33:28.000Z
2018-04-04T04:37:52.000Z
checkers_client.hpp
acheeseye/ai-playing-checkers
fc02ef095fbcad8d730a25b156373cc6370d4f58
[ "MIT" ]
null
null
null
/*! @file */ #ifndef CHECKERS_CLIENT_HPP #define CHECKERS_CLIENT_HPP #include "checkers.hpp" #include <cstdint> #include <map> #include <string> namespace skynet { namespace checkers { /** \struct game_info_t *Stores game information. */ struct game_info_t { //!Status of the game. skynet::checker...
32.097222
112
0.710948
acheeseye
b9cd61f7750770fd1a666cca20ea532debb4ba99
7,229
cc
C++
xic/src/tech/tech_convert.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
xic/src/tech/tech_convert.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
xic/src/tech/tech_convert.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
40.161111
78
0.475723
wrcad
b9ce9e9f1d6b4beec6b1f1359a3ee6a4ae16eeec
397
cpp
C++
SessionManager.cpp
patrickwang96/pvt-box
e66b01351d0ebe70a2d7489c969da8f951bca2ba
[ "MIT" ]
null
null
null
SessionManager.cpp
patrickwang96/pvt-box
e66b01351d0ebe70a2d7489c969da8f951bca2ba
[ "MIT" ]
null
null
null
SessionManager.cpp
patrickwang96/pvt-box
e66b01351d0ebe70a2d7489c969da8f951bca2ba
[ "MIT" ]
null
null
null
// // Created by Ruochen WANG on 12/5/2020. // #include "SessionManager.h" SessionManager::SessionManager() { } void SessionManager::start(session_ptr s) { _sessions.insert(s); s->start(); } void SessionManager::stop(session_ptr s) { _sessions.erase(s); s->stop(); } void SessionManager::stop_all()...
14.178571
43
0.634761
patrickwang96
b9dbc48aa4d730ba2bfeb9294ecd3aed59d95ef2
23,208
cc
C++
src/core/analysis/score_processor.cc
5003/jumanpp
9f50ee3d62591936a079ade18c6e1d1e8a6d3463
[ "Apache-2.0" ]
1
2018-03-18T15:53:27.000Z
2018-03-18T15:53:27.000Z
src/core/analysis/score_processor.cc
5003/jumanpp
9f50ee3d62591936a079ade18c6e1d1e8a6d3463
[ "Apache-2.0" ]
null
null
null
src/core/analysis/score_processor.cc
5003/jumanpp
9f50ee3d62591936a079ade18c6e1d1e8a6d3463
[ "Apache-2.0" ]
null
null
null
// // Created by Arseny Tolmachev on 2017/03/07. // #include "score_processor.h" #include <numeric> #include "core/analysis/analyzer_impl.h" #include "core/analysis/lattice_types.h" #include "core/impl/feature_impl_types.h" #include "util/logging.hpp" namespace jumanpp { namespace core { namespace analysis { std::pa...
38.108374
80
0.636246
5003
b9e1c66c9f79a394d9c12e2af4d5580e17c5f22b
1,848
cpp
C++
source/src/CloudsLayer.cpp
jane8384/seven-monkeys
119cb7312f25d54e88f212a8710a512b893b046d
[ "MIT" ]
3
2017-11-16T01:54:09.000Z
2018-05-20T15:33:21.000Z
src/CloudsLayer.cpp
aitorfernandez/seven-monkeys
8f2440fd5ae7a9e86bb71dba800efe9424f3792e
[ "MIT" ]
null
null
null
src/CloudsLayer.cpp
aitorfernandez/seven-monkeys
8f2440fd5ae7a9e86bb71dba800efe9424f3792e
[ "MIT" ]
3
2017-09-18T11:44:41.000Z
2019-12-25T11:30:26.000Z
// // CloudsLayer.cpp // SevenMonkeys // #include "CloudsLayer.hpp" USING_NS_CC; USING_NS_SM; CloudsLayer::CloudsLayer() { CCLOG("// CloudsLayer %x Constructor", (int)(long)this); std::string fullPath = FileUtils::getInstance()->fullPathForFilename("data/CloudsLayer.json"); std::string json = FileUtil...
28.430769
113
0.621212
jane8384
b9e339ed51eb6fd750f2d88fefa1cae9a5c6facc
1,541
hpp
C++
include/eigenpy/registration.hpp
rhaschke/eigenpy
65ade259193c85c79701530bae70f80bc3af05d8
[ "BSD-2-Clause" ]
2
2020-05-31T01:30:36.000Z
2020-08-24T12:06:39.000Z
include/eigenpy/registration.hpp
rhaschke/eigenpy
65ade259193c85c79701530bae70f80bc3af05d8
[ "BSD-2-Clause" ]
null
null
null
include/eigenpy/registration.hpp
rhaschke/eigenpy
65ade259193c85c79701530bae70f80bc3af05d8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2014-2019, CNRS * Copyright 2018-2019, INRIA */ #ifndef __eigenpy_registration_hpp__ #define __eigenpy_registration_hpp__ #include <boost/python.hpp> #include <boost/python/scope.hpp> namespace eigenpy { /// /// \brief Check at runtime the registration of the type T inside the boost python regi...
25.683333
94
0.662557
rhaschke
b9e8d0ae8ba3f0aa1f93cdec2107a41852104883
777
cpp
C++
src/execution/compiler/expression/star_translator.cpp
AhnJaeChan/terrier
21ef01353439cddb8643b5fc2a5a304813809585
[ "MIT" ]
1
2020-05-27T03:54:36.000Z
2020-05-27T03:54:36.000Z
src/execution/compiler/expression/star_translator.cpp
AhnJaeChan/terrier
21ef01353439cddb8643b5fc2a5a304813809585
[ "MIT" ]
7
2020-04-06T19:31:12.000Z
2020-05-12T23:05:09.000Z
src/execution/compiler/expression/star_translator.cpp
AhnJaeChan/terrier
21ef01353439cddb8643b5fc2a5a304813809585
[ "MIT" ]
1
2020-11-24T10:00:01.000Z
2020-11-24T10:00:01.000Z
#include "execution/compiler/expression/star_translator.h" #include "execution/compiler/translator_factory.h" #include "execution/sql/value.h" #include "parser/expression/star_expression.h" #include "type/transient_value_peeker.h" namespace terrier::execution::compiler { StarTranslator::StarTranslator(const terrier::p...
45.705882
104
0.785071
AhnJaeChan
b9ec32e6fff7bdcbe24e78f09779531e53cae9f9
274,213
cpp
C++
src/common/backend/utils/cache/relcache.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
1
2021-11-05T10:14:39.000Z
2021-11-05T10:14:39.000Z
src/common/backend/utils/cache/relcache.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
null
null
null
src/common/backend/utils/cache/relcache.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
null
null
null
/* ------------------------------------------------------------------------- * * relcache.c * POSTGRES relation descriptor cache code * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 2010-20...
37.368902
139
0.658164
Purlemon
b9ecddb3bd555b813cdc4d54b0a1e8a78a50e843
1,893
cpp
C++
05.cpp
rutujak24/refactored-adventure
0dd886ea866d73641a185c4129d995a93d296e44
[ "MIT" ]
null
null
null
05.cpp
rutujak24/refactored-adventure
0dd886ea866d73641a185c4129d995a93d296e44
[ "MIT" ]
null
null
null
05.cpp
rutujak24/refactored-adventure
0dd886ea866d73641a185c4129d995a93d296e44
[ "MIT" ]
null
null
null
/* Spiral Matrix Given a matrix of size N x M. You have to find the Kth element which will obtain while traversing the matrix spirally starting from the top-left corner of the matrix. Example 1: Input: N = 3, M = 3, K = 4 A[] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}} Output: 6 Explanation: Spiral travers...
20.802198
249
0.48019
rutujak24
b9f1e42e3f78ad5febf4643649c50dd12d91beb0
569
cpp
C++
core/api/service/rpc/requests/methods.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/api/service/rpc/requests/methods.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/api/service/rpc/requests/methods.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "api/service/rpc/requests/methods.hpp" namespace kagome::api::rpc::request { outcome::result<void> Methods::init( const jsonrpc::Request::Parameters &params) { if (!params.empty()) { throw ...
23.708333
77
0.667838
igor-egorov
b9f3e5a87401edb01c72c69a32cfc8b43581d6c9
60,529
cpp
C++
EU4toV2/Source/V2World/V2World.cpp
hao9889hao/paradoxGameConverters
fd8bf355781ff102fd75f17d6195dae91450b594
[ "MIT" ]
2
2019-05-19T05:15:28.000Z
2019-05-19T05:18:16.000Z
EU4toV2/Source/V2World/V2World.cpp
hao9889hao/paradoxGameConverters
fd8bf355781ff102fd75f17d6195dae91450b594
[ "MIT" ]
null
null
null
EU4toV2/Source/V2World/V2World.cpp
hao9889hao/paradoxGameConverters
fd8bf355781ff102fd75f17d6195dae91450b594
[ "MIT" ]
null
null
null
/*Copyright (c) 2018 The Paradox Game Converters Project 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, mer...
31.120308
480
0.657668
hao9889hao
6a01c930ca3114ba916d0563f001efb87093b525
6,037
cpp
C++
util.cpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
8
2019-05-31T01:37:08.000Z
2021-10-19T05:52:45.000Z
util.cpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
3
2017-12-18T17:27:09.000Z
2018-01-15T16:50:05.000Z
util.cpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
5
2018-01-09T15:05:55.000Z
2020-12-17T13:27:25.000Z
/* Copyright (c) 2014-2015 Ivan Pustogarov Distributed under the MIT/X11 software license, see the accompanying file LICENSE or http://www.opensource.org/licenses/mit-license.php. */ #include "main.hpp" #include "util.hpp" #include <boost/chrono/chrono.hpp> #include <boost/type_traits.hpp> #include <boost/chrono/sys...
32.111702
123
0.599139
mousewu
6a02c2a4430af2af9ffb0d5b9355a5939f6026be
9,677
cpp
C++
libhwmon/wrapnvml.cpp
levongh/energiminer
eee27b2701abb4f703c3b036bd14864c7c4dc695
[ "MIT" ]
null
null
null
libhwmon/wrapnvml.cpp
levongh/energiminer
eee27b2701abb4f703c3b036bd14864c7c4dc695
[ "MIT" ]
null
null
null
libhwmon/wrapnvml.cpp
levongh/energiminer
eee27b2701abb4f703c3b036bd14864c7c4dc695
[ "MIT" ]
null
null
null
/* * A trivial little dlopen()-based wrapper library for the * NVIDIA NVML library, to allow runtime discovery of NVML on an * arbitrary system. This is all very hackish and simple-minded, but * it serves my immediate needs in the short term until NVIDIA provides * a static NVML wrapper library themselves, hopefu...
32.043046
105
0.682133
levongh
6a0431fb11eef39a528530d0626a89538fb3e340
2,796
cpp
C++
SU2-Quantum/SU2_CFD/src/interfaces/fsi/CDisplacementsInterface.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/interfaces/fsi/CDisplacementsInterface.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/interfaces/fsi/CDisplacementsInterface.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CDisplacementsInterface.cpp * \brief Main subroutines for transferring boundary displacements. * \author Ruben Sanchez * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyrigh...
39.380282
106
0.660229
Agony5757
6a067ba4dd19c7feee72fd4be467f153ea89a262
258
hpp
C++
naos/includes/kernel/util/memory.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
14
2020-02-12T11:07:58.000Z
2022-02-02T00:05:08.000Z
naos/includes/kernel/util/memory.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
null
null
null
naos/includes/kernel/util/memory.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
4
2020-02-27T09:53:53.000Z
2021-11-07T17:43:44.000Z
#pragma once #include "common.hpp" namespace util { void memset(void *dst, u64 val, u64 size); void memzero(void *dst, u64 size); void memcopy(void *dst, const void *src, u64 size); int memcmp(const void *lhs, const void *rhs, u64 size); } // namespace util
25.8
55
0.713178
kadds
6a14eaf8a80a4c95228fdd6537a0866ef236b602
1,748
cpp
C++
InventoryModule.cpp
jbp261/Booksellers-Software-Development
5f5326356b880bcd4dbbb515a24445a7a520c924
[ "MIT" ]
null
null
null
InventoryModule.cpp
jbp261/Booksellers-Software-Development
5f5326356b880bcd4dbbb515a24445a7a520c924
[ "MIT" ]
null
null
null
InventoryModule.cpp
jbp261/Booksellers-Software-Development
5f5326356b880bcd4dbbb515a24445a7a520c924
[ "MIT" ]
1
2018-12-07T05:58:35.000Z
2018-12-07T05:58:35.000Z
#include "InventoryModule.h" InventoryModule::InventoryModule(Inventory* db) : MenuModule(db) { } InventoryModule::~InventoryModule() { } void InventoryModule::PrintMenu() { cout << "\n1. Search By Partial ISBN"; cout << "\n2. Search By Partial Title"; cout << "\n3. Add Book"; cout << "\n4. Ed...
24.277778
72
0.579519
jbp261
6a19d1314c75f0320e227eb5cbffdc6dd6dcb5df
3,944
cpp
C++
Map.cpp
tonyt73/AGD-Viewer
a8fa46a71e57492fbd93afd7bd81d9537bef1d37
[ "MIT" ]
5
2018-06-22T16:03:29.000Z
2019-04-04T03:59:46.000Z
Map.cpp
tonyt73/AGD-Viewer
a8fa46a71e57492fbd93afd7bd81d9537bef1d37
[ "MIT" ]
null
null
null
Map.cpp
tonyt73/AGD-Viewer
a8fa46a71e57492fbd93afd7bd81d9537bef1d37
[ "MIT" ]
1
2019-04-04T03:59:47.000Z
2019-04-04T03:59:47.000Z
//--------------------------------------------------------------------------- #include "agdv.pch.h" #include "Map.h" #include "ErrorReporter.h" //--------------------------------------------------------------------------- #pragma package(smart_init) //--------------------------------------------------------------------...
33.423729
180
0.393256
tonyt73
6a1ba633660114f4f2d45ea7660872b6cd958ec3
4,929
cpp
C++
Blizzlike/Trinity/Scripts/Units/boss_kruul.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Units/boss_kruul.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Units/boss_kruul.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
30.614907
149
0.570095
499453466
6a1bf2a0a8845e5702d859668cf91e36c1baea15
21,778
cpp
C++
Samples/Win7Samples/security/parentalcontrols/complianceapi/ComplianceAPI.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/security/parentalcontrols/complianceapi/ComplianceAPI.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/security/parentalcontrols/complianceapi/ComplianceAPI.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. /****************...
41.403042
129
0.45298
windows-development
6a1d79cb6463af2a042e131b1402ca061f4d9a6b
6,442
cpp
C++
IndyGL/src/Shader/GLSLShaderProgram.cpp
JJoosten/IndyFramework
7f9441de8baf5c43370357f463d39f4aa60f38a0
[ "MIT" ]
null
null
null
IndyGL/src/Shader/GLSLShaderProgram.cpp
JJoosten/IndyFramework
7f9441de8baf5c43370357f463d39f4aa60f38a0
[ "MIT" ]
null
null
null
IndyGL/src/Shader/GLSLShaderProgram.cpp
JJoosten/IndyFramework
7f9441de8baf5c43370357f463d39f4aa60f38a0
[ "MIT" ]
null
null
null
// Juul Joosten 2013 #include "GLSLShaderProgram.h" #include "GLSLShader.h" #include <IndyCore/CoreDefines.h> namespace Indy { GLSLShaderProgram::GLSLShaderProgram( void) : m_shaderProgramID(0) ,m_vertexShader(NULL) ,m_fragmentShader(NULL) ,m_geometryShader(NULL) ,m_computeShader(NULL) ,m_tesselationContro...
25.164063
135
0.760323
JJoosten
6a1f4c35a0d06d8dc24816604417df6d3dfa512b
2,618
cpp
C++
semester-3/programming-design-and-programming-languages/labs/lab_12/src/UserClass.cpp
Xotab413/bsuir
ae051db9fb237ab78bc0104a3682075d23c88b57
[ "MIT" ]
3
2022-01-19T06:20:41.000Z
2022-02-16T18:19:27.000Z
semester-3/programming-design-and-programming-languages/labs/lab_12/src/UserClass.cpp
Xotab413/bsuir
ae051db9fb237ab78bc0104a3682075d23c88b57
[ "MIT" ]
null
null
null
semester-3/programming-design-and-programming-languages/labs/lab_12/src/UserClass.cpp
Xotab413/bsuir
ae051db9fb237ab78bc0104a3682075d23c88b57
[ "MIT" ]
3
2022-02-24T08:01:17.000Z
2022-03-23T13:25:45.000Z
#include "UserClass.hpp" void UserClass:: Display() { std::cout << "UserClass data:" << std::endl; for (auto it = data.begin(); it != data.end(); ++it) { std::cout << "Key: " << it -> first << " Data: " << it -> second << std::endl; } } UserClass::UserClass() { } void UserClass::Setdata...
28.456522
86
0.482811
Xotab413
6a1f6f73489d592de1dd21837869c636ac4760e3
16,645
cpp
C++
Gems/Atom/Feature/Common/Code/Source/Material/MaterialAssignment.cpp
Jackerty/o3de
f521a288cf020d166949c1dc243c4938539b5244
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Code/Source/Material/MaterialAssignment.cpp
Jackerty/o3de
f521a288cf020d166949c1dc243c4938539b5244
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Code/Source/Material/MaterialAssignment.cpp
Jackerty/o3de
f521a288cf020d166949c1dc243c4938539b5244
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/Feature/Material/MaterialAssignment.h> #include <Atom/RPI.Reflect/Model/ModelAsset....
45.108401
167
0.571944
Jackerty
6a22a9bc3f90719b14e51054bc9edd1ced993620
173
cpp
C++
test/ios_test_cpp17.cpp
PVIII/cpp_utils
a85d43fedfef46afcd0fb28a0158f6ebe2f45685
[ "MIT" ]
null
null
null
test/ios_test_cpp17.cpp
PVIII/cpp_utils
a85d43fedfef46afcd0fb28a0158f6ebe2f45685
[ "MIT" ]
null
null
null
test/ios_test_cpp17.cpp
PVIII/cpp_utils
a85d43fedfef46afcd0fb28a0158f6ebe2f45685
[ "MIT" ]
null
null
null
#include "cpp_utils/ios.hpp" #include "catch2/catch.hpp" #include <iostream> #ifdef __cpp_deduction_guides SCENARIO("ios types") { ostream_capture c(std::cout); } #endif
17.3
55
0.745665
PVIII
6a28e6462b400d42665076ef43216bf94dbdbb88
19,118
cpp
C++
dep/src/g3dlite/prompt.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
1
2018-01-17T08:11:17.000Z
2018-01-17T08:11:17.000Z
dep/src/g3dlite/prompt.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
dep/src/g3dlite/prompt.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
/** @file prompt.cpp @author Morgan McGuire, http://graphics.cs.williams.edu @cite Windows dialog interface by Max McGuire, mmcguire@ironlore.com @cite Font setting code by Kurt Miller, kurt@flipcode.com @created 2000-08-26 @edited 2005-01-14 */ #include "G3D/prompt.h" #include "G3D/platform.h" #include <...
26.189041
136
0.589078
Subv
6a2a995b983010d69773a600c6939cbdc0633240
1,853
cpp
C++
test/core/crypto/bip39/entropy_calculation_test.cpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
test/core/crypto/bip39/entropy_calculation_test.cpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
test/core/crypto/bip39/entropy_calculation_test.cpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gtest/gtest.h> #include <boost/algorithm/string/join.hpp> #include "common/blob.hpp" #include "common/buffer.hpp" #include "crypto/bip39/impl/bip39_provider_impl.hpp" #include "crypto/bip39/mnemonic.hpp" #in...
31.948276
76
0.748516
FlorianFranzen
6a2f5c26965205cce3030b35417e397d4b68a35d
620
cpp
C++
DCompiler/IDA/TestWin32/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
DCompiler/IDA/TestWin32/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
DCompiler/IDA/TestWin32/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include "lib.h" void main() { TestA a; for(int i = 0; i <10; i++) { int* data = new int; *data = i; a.add(data); } int dd; /* std::cin >>dd;*/ a.clearAll(); std::c...
17.222222
55
0.469355
longlongwaytogo
6a32ca429f511bc5571b2a1fd4a6350e00948930
394
cc
C++
type/factor_curve.cc
hitdshu/hitnllls
d69794c64a5f84ebfff69912bb6fa404f2783df3
[ "WTFPL" ]
17
2019-07-18T08:28:51.000Z
2020-04-07T03:43:51.000Z
type/factor_curve.cc
hitdshu/hitnlls
d69794c64a5f84ebfff69912bb6fa404f2783df3
[ "WTFPL" ]
null
null
null
type/factor_curve.cc
hitdshu/hitnlls
d69794c64a5f84ebfff69912bb6fa404f2783df3
[ "WTFPL" ]
4
2020-09-02T03:17:16.000Z
2021-07-19T16:07:55.000Z
#include "factor_curve.h" namespace nlls { typename FactorCurveExp::EvalVectorTypeJet FactorCurveExp::operator()(typename FactorCurveExp::VertexTupleType &vars) { EvalVectorTypeJet result; auto var = vars.GetVertex<0>(); auto est = var->GetEstimateJet(); result = exp(est[0] + Jetf(x_) * est[1]); r...
26.266667
119
0.72335
hitdshu
6a3b35c008dfaa641f14a472d4a3c883c77719e5
3,241
hpp
C++
boost/range/algorithm_ext/for_each.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/range/algorithm_ext/for_each.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/range/algorithm_ext/for_each.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// Boost.Range library // // Copyright Neil Groves 2009. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // For more information, see http://www.boost.org/libs/range/ // #ifn...
37.252874
92
0.683122
jonstewart
6a43fdb07f2284251db1415be620a8577836fcfd
557
hpp
C++
test/Compare.hpp
wojciechpawlak/diku.OptionsPricing
980c0d5292074aaf90b4d33361a023f9583a876b
[ "ISC" ]
3
2019-01-11T11:13:13.000Z
2020-06-16T10:20:46.000Z
test/Compare.hpp
wojciechpawlak/diku.OptionsPricing
980c0d5292074aaf90b4d33361a023f9583a876b
[ "ISC" ]
null
null
null
test/Compare.hpp
wojciechpawlak/diku.OptionsPricing
980c0d5292074aaf90b4d33361a023f9583a876b
[ "ISC" ]
1
2019-01-09T21:47:46.000Z
2019-01-09T21:47:46.000Z
#ifndef COMPARE_HPP #define COMPARE_HPP #include "catch.hpp" #include "../common/Real.hpp" #include <vector> #ifdef USE_DOUBLE #define EPSILON std::numeric_limits<double>::epsilon() * 1000 #else #define EPSILON std::numeric_limits<float>::epsilon() * 1000 #endif void compareVectors(std::vector<trinom::real> test, st...
20.62963
83
0.660682
wojciechpawlak
6a463d0b887b5b5a6c7f98016bc304204bdad9b4
21,442
cpp
C++
test/source/vstat_test.cpp
foolnotion/vstat
e6d16e7ba279f5e8730328e69a80ffae442702e3
[ "MIT" ]
8
2021-04-01T13:34:50.000Z
2021-04-22T02:46:46.000Z
test/source/vstat_test.cpp
foolnotion/vstat
e6d16e7ba279f5e8730328e69a80ffae442702e3
[ "MIT" ]
null
null
null
test/source/vstat_test.cpp
foolnotion/vstat
e6d16e7ba279f5e8730328e69a80ffae442702e3
[ "MIT" ]
1
2021-04-02T15:32:49.000Z
2021-04-02T15:32:49.000Z
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: Copyright 2019-2021 Heal Research #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <doctest/doctest.h> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> #define ANKERL_NANOBENCH_IMPLEMENT #include "nanobench.h" #...
33.927215
152
0.44161
foolnotion
6a4722e1874b9cd7be10676e85da1a43e587aa62
1,417
hpp
C++
Source/CCZ4/Constraints.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
null
null
null
Source/CCZ4/Constraints.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
null
null
null
Source/CCZ4/Constraints.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
1
2022-02-24T23:01:02.000Z
2022-02-24T23:01:02.000Z
/* GRChombo * Copyright 2012 The GRChombo collaboration. * Please refer to LICENSE in GRChombo's root directory. */ // This compute class calculates Hamiltonian and Momentum constraints #ifndef CONSTRAINTS_HPP_ #define CONSTRAINTS_HPP_ #include "BSSNVars.hpp" #include "Cell.hpp" #include "FArrayBox.H" #include "F...
24.859649
74
0.697248
boxuange
6a47a4facd85cc5bb07ff344080021bfc3b0017c
10,841
hpp
C++
src/xalanc/PlatformSupport/XalanDecimalFormatSymbols.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
null
null
null
src/xalanc/PlatformSupport/XalanDecimalFormatSymbols.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
1
2021-08-18T12:32:31.000Z
2021-08-18T12:32:31.000Z
src/xalanc/PlatformSupport/XalanDecimalFormatSymbols.hpp
AaronNGray/xalan
6741bbdcb64a9d33df8bd7e21b558d66bb4292ec
[ "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 m...
24.307175
91
0.643206
kidaa