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
29b055ebb943f5d591e43d3ff255d4e38d2d95b8
74
hpp
C++
include/mruby_integration/shapes/ellipse.hpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
40
2021-05-25T04:21:49.000Z
2022-02-19T05:05:45.000Z
include/mruby_integration/shapes/ellipse.hpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
4
2021-09-17T06:52:35.000Z
2021-12-29T23:07:18.000Z
include/mruby_integration/shapes/ellipse.hpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
1
2021-12-23T00:59:27.000Z
2021-12-23T00:59:27.000Z
#pragma once #include "mruby.h" void append_shapes_ellipse(mrb_state*);
12.333333
39
0.77027
HellRok
29b56b1b07deeda78cc7d8efe169ee81d9d6f247
3,377
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/GeometryTest_DrawableQualifiedCurve2d.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/GeometryTest_DrawableQualifiedCurve2d.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/GeometryTest_DrawableQualifiedCurve2d.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 2017-06-16 // Created by: Natalia ERMOLAEVA // Copyright (c) 2017 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as ...
37.94382
115
0.681078
jiaguobing
29b684d43b7e65e1f563ed5a196a026aa352634b
7,291
cc
C++
lite/tests/kernels/scale_compute_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/tests/kernels/scale_compute_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/tests/kernels/scale_compute_test.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 PaddlePaddle Authors. 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 required...
31.15812
78
0.623097
wanglei91
29b791b058f367265eb75577305d942eaaf4be14
2,351
cpp
C++
code/happyprime.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/happyprime.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/happyprime.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
#define _USE_MATH_DEFINES #include <iostream> #include <stdio.h> #include <cmath> #include <iomanip> #include <vector> #include <string> #include <algorithm> #include <unordered_set> #include <ctype.h> #include <queue> #include <map> #include <set> #include <stack> #include <unordered_map> #define EPSI...
20.622807
102
0.427052
matthewReff
29ba48cdff092a920782acff84f30e4376792b1a
8,433
cpp
C++
module/CFunctions.cpp
eXo-OpenSource/ml_jwt
d8a98b5fdb4a5b933a2b3dd5ca5cddc9f22c43dc
[ "MIT" ]
5
2019-07-23T10:40:57.000Z
2021-01-11T03:18:17.000Z
module/CFunctions.cpp
eXo-OpenSource/ml_jwt
d8a98b5fdb4a5b933a2b3dd5ca5cddc9f22c43dc
[ "MIT" ]
null
null
null
module/CFunctions.cpp
eXo-OpenSource/ml_jwt
d8a98b5fdb4a5b933a2b3dd5ca5cddc9f22c43dc
[ "MIT" ]
1
2021-11-26T09:43:17.000Z
2021-11-26T09:43:17.000Z
#include <jwt-cpp/jwt.h> #include <sstream> #include "Module.h" #include "CFunctions.h" #include "Utils.h" #include "Crypto.h" #ifndef _WIN32 #include <sys/stat.h> #endif int CFunctions::sign_jwt_token(lua_State* lua_vm) { // bool jwtSign(function(string/boolean) callback, table claims, string algor...
32.187023
165
0.646982
eXo-OpenSource
29bbcb528d166f1a161d1c8fc6b5c19f5c6589fe
8,038
cpp
C++
OscMessage.cpp
Guistac/tinyosc
563374dc6032ffe8f5e428146fe0cf25ffd1357e
[ "ISC" ]
null
null
null
OscMessage.cpp
Guistac/tinyosc
563374dc6032ffe8f5e428146fe0cf25ffd1357e
[ "ISC" ]
null
null
null
OscMessage.cpp
Guistac/tinyosc
563374dc6032ffe8f5e428146fe0cf25ffd1357e
[ "ISC" ]
null
null
null
#include "OscMessage.h" #include <stddef.h> #include <stdarg.h> #include <string.h> #include <stdio.h> #if _WIN32 #include <winsock2.h> #define tosc_strncpy(_dst, _src, _len) strncpy_s(_dst, _len, _src, _TRUNCATE) #else #include <netinet/in.h> #define tosc_strncpy(_dst, _src, _len) strncpy(_dst, _src, _len) #endif #if...
33.352697
105
0.552127
Guistac
29be21cdd0a5b89b082193b4821cc70805f32856
12,329
cpp
C++
test/framework/sql_query.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/framework/sql_query.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/framework/sql_query.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "framework/sql_query.hpp" #include <soci/boost-tuple.h> #include "ametsuchi/impl/soci_utils.hpp" #include "backend/protobuf/permissions.hpp" #include "common/bind.hpp" #include "common/result.hpp" namespace ...
39.264331
80
0.566145
akshatkarani
29bf8f9bb0240dc9b51e35f29929ad3304ce1b09
15,056
cpp
C++
tests/spdy_parser_tests.cpp
mkm85/pion
83d18542659cb0c782a495594d53644a79ffd6c6
[ "BSL-1.0" ]
200
2015-01-14T05:51:04.000Z
2022-02-06T03:09:26.000Z
tests/spdy_parser_tests.cpp
mkm85/pion
83d18542659cb0c782a495594d53644a79ffd6c6
[ "BSL-1.0" ]
72
2015-01-05T03:49:28.000Z
2021-01-11T16:27:49.000Z
tests/spdy_parser_tests.cpp
mkm85/pion
83d18542659cb0c782a495594d53644a79ffd6c6
[ "BSL-1.0" ]
69
2015-01-18T07:51:12.000Z
2022-03-27T09:20:20.000Z
// --------------------------------------------------------------------- // pion: a Boost C++ framework for building lightweight HTTP interfaces // --------------------------------------------------------------------- // Copyright (C) 2007-2014 Splunk Inc. (https://github.com/splunk/pion) // // Distributed under the ...
34.218182
103
0.630712
mkm85
29c53e0d6e8456c4055ac0207bdcc769406f575b
249,966
hpp
C++
src/externals/stb_image.hpp
zhijian-liu/ray-tracer
6bf3616dca23418aefa86d80b31deb45149f6e43
[ "MIT" ]
14
2018-08-23T15:14:10.000Z
2020-12-29T23:05:36.000Z
src/externals/stb_image.hpp
zhijian-liu/ray-tracer
6bf3616dca23418aefa86d80b31deb45149f6e43
[ "MIT" ]
1
2019-06-09T14:17:05.000Z
2019-09-13T17:17:12.000Z
src/externals/stb_image.hpp
zhijian-liu/ray-tracer
6bf3616dca23418aefa86d80b31deb45149f6e43
[ "MIT" ]
4
2018-05-23T10:43:33.000Z
2020-07-13T22:08:20.000Z
/* stb_image - v2.15 - public domain image loader - http://nothings.org/stb_image.h no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it shoul...
34.843323
209
0.571782
zhijian-liu
29c7090759c9da23038ece851e8d58e6e0422f53
4,125
cpp
C++
wangle/util/FilePoller.cpp
hidva/wangle
6bd6a0a51245f05b8103cdfd710b22d7bdbb14d9
[ "Apache-2.0" ]
2
2021-06-29T13:42:22.000Z
2021-09-06T10:57:34.000Z
wangle/util/FilePoller.cpp
hidva/wangle
6bd6a0a51245f05b8103cdfd710b22d7bdbb14d9
[ "Apache-2.0" ]
null
null
null
wangle/util/FilePoller.cpp
hidva/wangle
6bd6a0a51245f05b8103cdfd710b22d7bdbb14d9
[ "Apache-2.0" ]
5
2021-06-29T13:42:26.000Z
2022-02-08T02:41:34.000Z
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
26.442308
75
0.700364
hidva
29c73394ca24eada9b30148f5f89230ad6e84f26
27,816
inl
C++
cusp/opengl/spy/detail/matrix_canvas.inl
Raman-sh/cusplibrary
99dcde05991ef59cbc4546aeced6eb3bd49c90c9
[ "Apache-2.0" ]
270
2015-01-12T19:40:50.000Z
2022-03-28T00:58:21.000Z
cusp/opengl/spy/detail/matrix_canvas.inl
njh19/cusplibrary
4f72f152804dee592fec86719049af2b5469295a
[ "Apache-2.0" ]
41
2015-01-08T18:07:42.000Z
2022-02-27T02:37:38.000Z
cusp/opengl/spy/detail/matrix_canvas.inl
njh19/cusplibrary
4f72f152804dee592fec86719049af2b5469295a
[ "Apache-2.0" ]
106
2015-02-27T19:30:58.000Z
2022-03-29T13:55:53.000Z
/* * Copyright 2008-2013 Steven Dalton * * 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 ...
29.005214
105
0.624461
Raman-sh
29ce974022602564a2fc7fcf5335ac0002a76aa5
2,656
cpp
C++
SemperEngine/Source/SemperEngine/Graphics/Renderers/SceneRenderer.cpp
SemperParatusGithub/SemperEngine
5cd8df60bfc2d04f00a781636fbd0e8152b88582
[ "MIT" ]
5
2020-12-11T13:52:56.000Z
2021-06-28T16:17:15.000Z
SemperEngine/Source/SemperEngine/Graphics/Renderers/SceneRenderer.cpp
SemperParatusGithub/SemperEngine
5cd8df60bfc2d04f00a781636fbd0e8152b88582
[ "MIT" ]
null
null
null
SemperEngine/Source/SemperEngine/Graphics/Renderers/SceneRenderer.cpp
SemperParatusGithub/SemperEngine
5cd8df60bfc2d04f00a781636fbd0e8152b88582
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "SceneRenderer.h" #include "SemperEngine/Graphics/Backend/API/Framebuffer.h" #include "SemperEngine/Graphics/Mesh.h" #include "SemperEngine/Graphics/Transform.h" #include "Renderer.h" namespace SemperEngine { struct MeshObject { SharedPtr<Mesh> mesh; Transform transform; }; ...
26.039216
141
0.762801
SemperParatusGithub
29cfaa804f0944d5e3002067aaa2896e57913ee9
595
cpp
C++
test/cpp/returnemptystring.cpp
agnat/nan
87c127bba328c8229f2e8e3875b19422888abe5f
[ "MIT" ]
null
null
null
test/cpp/returnemptystring.cpp
agnat/nan
87c127bba328c8229f2e8e3875b19422888abe5f
[ "MIT" ]
null
null
null
test/cpp/returnemptystring.cpp
agnat/nan
87c127bba328c8229f2e8e3875b19422888abe5f
[ "MIT" ]
null
null
null
/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2015 NAN contributors * * MIT License <https://github.com/rvagg/nan/blob/master/LICENSE.md> ********************************************************************/ #include <nan.h> NAN_...
23.8
70
0.527731
agnat
29cfb6399e409aeb49e8445b04441e7da93baf98
10,276
cpp
C++
Old/lib/field_type.cpp
waterswims/MC_HAMR
eb0492bc12a6eb67ec1709e5b59bdd53ee999892
[ "MIT" ]
1
2021-08-02T23:14:45.000Z
2021-08-02T23:14:45.000Z
Old/lib/field_type.cpp
waterswims/MC_HAMR
eb0492bc12a6eb67ec1709e5b59bdd53ee999892
[ "MIT" ]
null
null
null
Old/lib/field_type.cpp
waterswims/MC_HAMR
eb0492bc12a6eb67ec1709e5b59bdd53ee999892
[ "MIT" ]
1
2021-08-02T23:14:45.000Z
2021-08-02T23:14:45.000Z
#include "../includes/field_type.hpp" #include "../includes/array_alloc.hpp" #include "../includes/stdrand.hpp" #include "xtensor/xio.hpp" #define IRANDTYPE stdrand::std_i_unirand #define DRANDTYPE stdrand::std_d_unirand #include <cmath> #include <cstdlib> #include <hdf5.h> #include <sstream> #include <fstream> #incl...
25.124694
80
0.529583
waterswims
29d0753e083a19695da11b01dd71074a25ded66d
38,805
cc
C++
src/ringct/bp_legacy.cc
88plug/babycoin
7d6de522e82285128ab8ef596489287b395d1bb1
[ "BSD-3-Clause" ]
6
2020-07-22T07:08:04.000Z
2021-11-04T21:51:54.000Z
src/ringct/bp_legacy.cc
88plug/babycoin
7d6de522e82285128ab8ef596489287b395d1bb1
[ "BSD-3-Clause" ]
2
2020-11-03T09:09:00.000Z
2022-01-30T21:31:34.000Z
src/ringct/bp_legacy.cc
88plug/babycoin
7d6de522e82285128ab8ef596489287b395d1bb1
[ "BSD-3-Clause" ]
5
2020-03-12T08:24:52.000Z
2022-03-30T10:29:56.000Z
// Copyright (c) 2020, The Evolution Network // Copyright (c) 2018-2019, The Arqma Network // Copyright (c) 2017-2018, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // ...
33.366294
226
0.6544
88plug
29d2a9727ee5f474a1878ad09348044f9f2ecd3f
4,617
cpp
C++
src/Library/Sampling/NRooksSampling2D.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/Library/Sampling/NRooksSampling2D.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/Library/Sampling/NRooksSampling2D.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // NRooksSampling2D.cpp - Implementation // // // Author: Aravind Krishnaswamy // Date of Birth: October 30, 2001 // Tabs: 4 // Comments: // // License Information: Please see the attached LICENSE.TXT file // ///////////////...
27.158824
127
0.670782
aravindkrishnaswamy
29d7e519a6b60831a9217eae7176c1c33ace8c69
503
hpp
C++
iehl/src/tone_mapping/bind.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/tone_mapping/bind.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/tone_mapping/bind.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "hdr_framebuffer/all.hpp" #include "tone_mapper.hpp" inline void bind(const ToneMapper& tm) { glBindFramebuffer(GL_FRAMEBUFFER, 0); glUseProgram(tm.program); } inline void bind(const ToneMapper& tm, const HDR_Framebuffer& fb) { // Textures. glBindTextureUnit( tm.hdr_col...
19.346154
60
0.705765
the-last-willy
29d9410e801159389283c3cecb69bdab8df1f487
4,259
cpp
C++
server.cpp
cesargomez/peas
61860e2db50f0a993abfab6795aa21c05e3b6b7e
[ "BSD-3-Clause" ]
2
2019-09-23T12:47:15.000Z
2020-12-07T02:55:52.000Z
server.cpp
cesargomez/peas
61860e2db50f0a993abfab6795aa21c05e3b6b7e
[ "BSD-3-Clause" ]
null
null
null
server.cpp
cesargomez/peas
61860e2db50f0a993abfab6795aa21c05e3b6b7e
[ "BSD-3-Clause" ]
null
null
null
#include "server.hpp" Server::Server(std::string name, unsigned int nCPUs, unsigned int nCoresCPU, unsigned int ramMB) { unsigned int i, cores=nCPUs*nCoresCPU; Core *core; this->setServerName(name); this->setNumberCPUs(nCPUs); this->setNumberCoresCPU(nCoresCPU); this->setRam(ramMB); this->s...
23.926966
134
0.595915
cesargomez
29dcab45c0a3525044bdd9ec04a51617b3964623
9,749
cpp
C++
libraries/RingOscillatorNoiseSource/RingOscillatorNoiseSource.cpp
kotl/esp8266-arduinolibs
a4683416ff0773ee85d538d1f6a648b9d0523c8c
[ "MIT" ]
356
2015-01-11T15:34:14.000Z
2022-03-30T13:57:24.000Z
libraries/RingOscillatorNoiseSource/RingOscillatorNoiseSource.cpp
kotl/esp8266-arduinolibs
a4683416ff0773ee85d538d1f6a648b9d0523c8c
[ "MIT" ]
57
2015-09-25T09:34:37.000Z
2022-01-30T19:51:50.000Z
libraries/RingOscillatorNoiseSource/RingOscillatorNoiseSource.cpp
kotl/esp8266-arduinolibs
a4683416ff0773ee85d538d1f6a648b9d0523c8c
[ "MIT" ]
174
2015-01-11T15:42:25.000Z
2022-03-26T21:46:08.000Z
/* * Copyright (C) 2015 Southern Storm Software, Pty Ltd. * * 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, ...
36.92803
131
0.65258
kotl
29de457fc750dfbf325976448543facc9b40e3b3
3,673
cpp
C++
src/Engine/Renderer/RSRender_Pipeline.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
1
2019-01-03T13:42:10.000Z
2019-01-03T13:42:10.000Z
src/Engine/Renderer/RSRender_Pipeline.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
2
2019-01-03T19:00:42.000Z
2019-01-03T19:02:16.000Z
src/Engine/Renderer/RSRender_Pipeline.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
null
null
null
/* RSEngine Copyright (c) 2020 Mason Lee Back File name: RSRender_Pipeline.cpp */ #include <Renderer/RSRender.h> namespace rs::Renderer{ RSRender_Buffer* RSRenderPipeline::getVSConstBuffer(int index) { return vsConstantObjects[index].vsConstantBuffer; } RSRender_Buffer* RSRenderPipeline::g...
33.697248
119
0.653417
MasonLeeBack
29e18d840383a43a8c1e50485fcf4e11ec6d17b8
7,908
hpp
C++
include/uxr/agent/middleware/Middleware.hpp
kneep/Micro-XRCE-DDS-Agent
0aea8323b11c36dfb1020000172906a258766158
[ "Apache-2.0" ]
null
null
null
include/uxr/agent/middleware/Middleware.hpp
kneep/Micro-XRCE-DDS-Agent
0aea8323b11c36dfb1020000172906a258766158
[ "Apache-2.0" ]
null
null
null
include/uxr/agent/middleware/Middleware.hpp
kneep/Micro-XRCE-DDS-Agent
0aea8323b11c36dfb1020000172906a258766158
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
32.677686
120
0.541477
kneep
29e6cfb12ef24d72e506d1c80fc5a8c433cca799
414
cpp
C++
src/classwork/03_assign/loops.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-jdudley390
e26f768b1b47a4b94815d9913c2b79603c34185c
[ "MIT" ]
null
null
null
src/classwork/03_assign/loops.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-jdudley390
e26f768b1b47a4b94815d9913c2b79603c34185c
[ "MIT" ]
null
null
null
src/classwork/03_assign/loops.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-jdudley390
e26f768b1b47a4b94815d9913c2b79603c34185c
[ "MIT" ]
null
null
null
#include "loops.h" using std::cout; using std::cin; /* WITH LOOP OF YOUR CHOICE: Write code for function factorial that accepts an int num and returns the num's factorial factorial(5); 1*2*3*4*5 returns 120 DON'T FORGET TO WRITE TEST CASE. See file loop_test.cpp */ int factorial(int num) { int sum = 1; int coun...
14.275862
57
0.669082
acc-cosc-1337-spring-2020-hl
29e9039c984c6a1742d167ce21a3bb947567a50b
1,328
hpp
C++
relacy/rmw.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
1
2020-05-30T13:06:12.000Z
2020-05-30T13:06:12.000Z
relacy/rmw.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
null
null
null
relacy/rmw.hpp
pereckerdal/relacy
05d8a8fbb0b3600ff5bf34da0bab2bb148dff059
[ "BSD-3-Clause" ]
null
null
null
/* Relacy Race Detector * Copyright (c) 2008-2013, Dmitry S. Vyukov * All rights reserved. * This software is provided AS-IS with no warranty, either express or implied. * This software is distributed under a license and may not be copied, * modified or distributed except as expressly authorized under the *...
18.191781
80
0.701807
pereckerdal
29ea012c81d0e200895c821f586768dd7d2dc267
702
hpp
C++
include/RED4ext/Scripting/Natives/Generated/quest/VehicleCollision_ConditionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VehicleCollision_ConditionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VehicleCollision_ConditionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/quest/IVehicleConditionType.hpp> #include <RED4ext/Scripting/Natives/Generated/quest/ImpulseMagnitude.hpp> namespace RED4ext { namespace quest { struc...
29.25
78
0.780627
jackhumbert
29ea9a29e6489843df0dc35649dccdb72564b243
4,156
hpp
C++
lib/asio/include/asio/experimental/detail/partial_promise.hpp
kevinfrei/neutralinojs
d6433ec105d102a25a011897fa1c0a45dce8aca3
[ "WTFPL" ]
169
2022-02-17T02:59:37.000Z
2022-03-31T12:40:58.000Z
lib/asio/include/asio/experimental/detail/partial_promise.hpp
kevinfrei/neutralinojs
d6433ec105d102a25a011897fa1c0a45dce8aca3
[ "WTFPL" ]
49
2022-02-21T04:49:36.000Z
2022-03-31T04:22:04.000Z
lib/asio/include/asio/experimental/detail/partial_promise.hpp
kevinfrei/neutralinojs
d6433ec105d102a25a011897fa1c0a45dce8aca3
[ "WTFPL" ]
35
2022-02-21T03:29:28.000Z
2022-03-31T09:36:54.000Z
// // experimental/detail/partial_promise.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2021 Klemens D. Morgenstern // (klemens dot morgenstern at gmx dot net) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at ht...
23.480226
79
0.748075
kevinfrei
29ec045f42e5b85871c815fbffb9c885c384ef6c
17,662
hpp
C++
source/rtm-3d/kernel/fpga/rtmfwd_domain/include/fpga.hpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
1
2022-01-26T01:57:38.000Z
2022-01-26T01:57:38.000Z
source/rtm-3d/kernel/fpga/rtmfwd_domain/include/fpga.hpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
null
null
null
source/rtm-3d/kernel/fpga/rtmfwd_domain/include/fpga.hpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
39.336303
119
0.616465
liang-xilinx
29f452c89f2b2ed508331c155f495307c2218ce9
29,180
cpp
C++
be/test/exec/vectorized/chunks_sorter_test.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
be/test/exec/vectorized/chunks_sorter_test.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
be/test/exec/vectorized/chunks_sorter_test.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include <gtest/gtest.h> #include "column/column_helper.h" #include "column/datum_tuple.h" #include "exec/vectorized/chunks_sorter_full_sort.h" #include "exec/vectorized/chunks_sorter_topn.h" #include "exec/vectorized/s...
40.359613
112
0.664359
niexiongchao
29f4f7032f5caf8ea3d2616a20259ca5369e1010
4,248
cpp
C++
Renderer/Texture.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
7
2020-05-26T15:23:25.000Z
2022-02-25T19:36:25.000Z
Renderer/Texture.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
null
null
null
Renderer/Texture.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
2
2022-03-02T16:30:50.000Z
2022-03-06T14:45:33.000Z
#include <pch.h> #include <Renderer/Texture.h> #include <Renderer/Renderer.h> #include <Renderer/FatalErrorIfFailed.h> Texture::Texture(Renderer *inRenderer, int inWidth, int inHeight, DXGI_FORMAT inFormat) : mRenderer(inRenderer) { // Store dimensions mWidth = inWidth; mHeight = inHeight; bool has...
36.62069
144
0.75
jrouwe
29f5a99573912c92c941bd43aea4e2fdf8d85c8a
1,863
cc
C++
samples/timestamp.cc
gnl21/amber
dabae26164714abf951c6815a2b4513260f7c6a4
[ "Apache-2.0" ]
161
2018-11-14T12:04:08.000Z
2022-03-31T01:08:21.000Z
samples/timestamp.cc
gnl21/amber
dabae26164714abf951c6815a2b4513260f7c6a4
[ "Apache-2.0" ]
545
2018-11-14T03:52:30.000Z
2022-03-30T11:23:12.000Z
samples/timestamp.cc
gnl21/amber
dabae26164714abf951c6815a2b4513260f7c6a4
[ "Apache-2.0" ]
59
2018-11-13T22:09:02.000Z
2022-01-26T22:25:29.000Z
// Copyright 2019 The Amber Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
26.614286
79
0.745572
gnl21
29f61f41b37c541c9b30e2e8c6b998acb4a1e7c4
1,931
cpp
C++
source/framework/algorithm/test/unique_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
source/framework/algorithm/test/unique_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
source/framework/algorithm/test/unique_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE lue framework algorithm unique #include "lue/framework/core/component/partitioned_array.hpp" #include "lue/framework/algorithm/fill.hpp" #include "lue/framework/algorithm/unique.hpp" #include "lue/framework/algorithm/unique_id.hpp" #include "lue/framework/test/array.hpp" #include "lue/framewor...
27.585714
75
0.596582
OliverSchmitz
29f6e098e52a9d60c9a5f72979fb909f09072919
4,062
cc
C++
cef/libcef_dll/cpptoc/test/translator_test_object_child_cpptoc.cc
fantasydr/miniblink49
5d2eda3146260f01c39db3567cee736b81cf5ce6
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
cef/libcef_dll/cpptoc/test/translator_test_object_child_cpptoc.cc
lovewitty/miniblink49
c8cb0b50636915d748235eea95a57e24805dc43e
[ "Apache-2.0" ]
null
null
null
cef/libcef_dll/cpptoc/test/translator_test_object_child_cpptoc.cc
lovewitty/miniblink49
c8cb0b50636915d748235eea95a57e24805dc43e
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
31.246154
96
0.764648
fantasydr
29f84211c5c52ff51a6e3e083083a3b74e34e729
15,342
cpp
C++
Engine/Code/Engine/Core/Console.cpp
tonyatpeking/SMU_SD
00ebc9c1acd437128de3562cf355f1d81e375975
[ "MIT" ]
null
null
null
Engine/Code/Engine/Core/Console.cpp
tonyatpeking/SMU_SD
00ebc9c1acd437128de3562cf355f1d81e375975
[ "MIT" ]
null
null
null
Engine/Code/Engine/Core/Console.cpp
tonyatpeking/SMU_SD
00ebc9c1acd437128de3562cf355f1d81e375975
[ "MIT" ]
1
2019-10-02T01:48:54.000Z
2019-10-02T01:48:54.000Z
#include "Engine/Python/PythonInterpreter.hpp" #include "Engine/Core/Console.hpp" #include "Engine/Renderer/Renderer.hpp" #include "Engine/Core/Window.hpp" #include "Engine/Input/InputSystem.hpp" #include "Engine/Renderer/BitmapFont.hpp" #include "Engine/Renderer/Camera.hpp" #include "Engine/Math/MathUtils.hpp" #inclu...
24.275316
86
0.655977
tonyatpeking
29fc5f8078cfb271a266aff27aaed2b1962f216c
395
cpp
C++
C++/First Steps in Coding - Basics of C++/Conditional Statements - Advanced/Personal Titles.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
C++/First Steps in Coding - Basics of C++/Conditional Statements - Advanced/Personal Titles.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
C++/First Steps in Coding - Basics of C++/Conditional Statements - Advanced/Personal Titles.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> using namespace std; int main() { double age; string sex; cin >> age >> sex; if (sex == "m" && age >= 16) { cout << "Mr."; } else if (sex == "m" && age < 16) { cout << "Master"; } else if (sex == "f" && age >= 16) { cout << "Ms."; }...
17.954545
37
0.470886
EduardV777
29fc8aa0dccc034f99d7e311100a4cea775e73f2
826
hpp
C++
src/include/VppExtItfManager.hpp
opflex-vpp/vpp-renderer
bdd772e0f9c66c98df075f499ec820546e78384a
[ "Apache-2.0" ]
2
2019-05-09T14:51:10.000Z
2019-06-12T15:38:15.000Z
src/include/VppExtItfManager.hpp
nranns/vpp-renderer
bdd772e0f9c66c98df075f499ec820546e78384a
[ "Apache-2.0" ]
2
2019-06-04T23:13:23.000Z
2019-06-14T19:21:03.000Z
src/include/VppExtItfManager.hpp
nranns/vpp-renderer
bdd772e0f9c66c98df075f499ec820546e78384a
[ "Apache-2.0" ]
1
2019-04-24T23:40:39.000Z
2019-04-24T23:40:39.000Z
/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */ /* * Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available a...
20.146341
80
0.688862
opflex-vpp
4b01c57722e6bcc0f121da5dbcf0ad72213f50a3
408
cpp
C++
timus/1404.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1404.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1404.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int arr[105]; int main() { string s; cin >> s; int l = s.size(); for (int i = 0; i < l; i++) arr[i] = s[i] - 'a'; for (int i = l - 1; i > 0; i--) { arr[i] -= arr[i - 1]; while (arr[i] < 0) arr[i] += 26; } arr[0] -= 5; if (arr[0] < 0) arr[0] += 2...
17.73913
56
0.473039
y-wan
4b01f6304d989ebea068302670482bc65869bec7
10,969
cpp
C++
tests/src/sqrt_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
4
2021-01-18T03:11:14.000Z
2022-01-29T09:17:06.000Z
tests/src/sqrt_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
32
2018-10-11T22:05:14.000Z
2019-05-26T16:25:38.000Z
tests/src/sqrt_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
null
null
null
/** * Calculator Comrade Library * License: https://github.com/DmitryDzz/calculator-comrade-lib/blob/master/LICENSE * Author: Dmitry Dzakhov * Email: info@robot-mitya.ru */ #include <gmock/gmock.h> #include "calculator/calculator.h" #include "calc_helper.h" using namespace calculatorcomrade; #define TEST_SQRT(t...
25.931442
83
0.580181
DmitryDzz
4b02ec6b5729075810244eaf7484a5a61946408e
392
hpp
C++
NWNXLib/API/Mac/API/CKeyTableInfo.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/CKeyTableInfo.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/CKeyTableInfo.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> #include "CExoString.hpp" #include "KeyFileHeader_st.hpp" namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct CExoFile; struct KeyFileResFileName_st; struct CKeyTableInfo { CExoString m_sName; CExoFile* m_pFile; KeyFileH...
14.518519
58
0.755102
acaos
4b03a929db49490997dd8fe9bcbd07dac09c4f8d
3,255
cpp
C++
src/openms/source/DATASTRUCTURES/CVReference.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/DATASTRUCTURES/CVReference.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/DATASTRUCTURES/CVReference.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
32.878788
78
0.632873
mrurik
4b047a150546e091e9bd436ee126fbe11bd6655c
21,337
cpp
C++
src/tools/db-dump/DbDumper.cpp
CPWstatic/nebula
4d6da3aac0b9aa3db1eaf7251ef5bd2700ef7af0
[ "Apache-2.0" ]
null
null
null
src/tools/db-dump/DbDumper.cpp
CPWstatic/nebula
4d6da3aac0b9aa3db1eaf7251ef5bd2700ef7af0
[ "Apache-2.0" ]
null
null
null
src/tools/db-dump/DbDumper.cpp
CPWstatic/nebula
4d6da3aac0b9aa3db1eaf7251ef5bd2700ef7af0
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "common/fs/FileUtils.h" #include "common/time/Duration.h" #include "tools/db-dump/DbDumper.h" #include "common/...
35.680602
100
0.5101
CPWstatic
4b0892c9e58638576cf67eefe655534c5e2ad807
5,598
cpp
C++
main/data_structures/list.cpp
angelbeshirov/algorithms
278640573080f8e1dd173a3eb3a0df1a9741a300
[ "MIT" ]
null
null
null
main/data_structures/list.cpp
angelbeshirov/algorithms
278640573080f8e1dd173a3eb3a0df1a9741a300
[ "MIT" ]
null
null
null
main/data_structures/list.cpp
angelbeshirov/algorithms
278640573080f8e1dd173a3eb3a0df1a9741a300
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; template<typename T> struct node { T element; node<T>* next; node(T _element, node<T>* _next) : element(_element), next(_next) {}; }; template<typename T> class llist { public: llist(); llist(const llist&); llist& operator=(const llist&); ~llist(); ...
19.573427
73
0.487496
angelbeshirov
4b0d61f2d7456eafdff77c8816c7fcf3799d1f34
1,666
cpp
C++
src/common/value_operations/hash.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
src/common/value_operations/hash.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
1,111
2019-01-27T18:38:34.000Z
2021-04-06T11:24:18.000Z
src/common/value_operations/hash.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
219
2019-02-16T06:56:10.000Z
2021-04-03T19:45:28.000Z
#include "duckdb/common/types/hash.hpp" #include "duckdb/common/exception.hpp" #include "duckdb/common/value_operations/value_operations.hpp" namespace duckdb { hash_t ValueOperations::Hash(const Value &op) { if (op.is_null) { return 0; } switch (op.type().InternalType()) { case PhysicalType::BOOL: return du...
27.311475
63
0.728691
wesm
4b0e98cf85eea83791ffd943252c94b81bb98286
783
hpp
C++
src/board.hpp
jumpmanmv/pixeltetris
4a40543e5919b3ca3b35c2310da258a6cf5d224f
[ "MIT" ]
2
2021-05-07T15:05:56.000Z
2021-11-16T17:33:46.000Z
src/board.hpp
jumpmanmv/pixeltetris
4a40543e5919b3ca3b35c2310da258a6cf5d224f
[ "MIT" ]
null
null
null
src/board.hpp
jumpmanmv/pixeltetris
4a40543e5919b3ca3b35c2310da258a6cf5d224f
[ "MIT" ]
null
null
null
#ifndef BOARD_HPP #define BOARD_HPP #include <vector> #include "config.hpp" #include "piece.hpp" // Represents the board of a Tetris game class Board { // Basic enumeration to hold all different types of blocks on the board enum BlockStatus : int {block_empty, i_block, o_block, t_block, s_block, z_block, j_block, l_...
25.258065
100
0.648787
jumpmanmv
4b0f71a0847868282ab81408850131ac4cf2a328
14,445
hpp
C++
libs/full/actions/include/hpx/actions/base_action.hpp
autoantwort/hpx
2bf5f828b707f4e8ec7e90b398dbbaf782b5fcc8
[ "BSL-1.0" ]
null
null
null
libs/full/actions/include/hpx/actions/base_action.hpp
autoantwort/hpx
2bf5f828b707f4e8ec7e90b398dbbaf782b5fcc8
[ "BSL-1.0" ]
null
null
null
libs/full/actions/include/hpx/actions/base_action.hpp
autoantwort/hpx
2bf5f828b707f4e8ec7e90b398dbbaf782b5fcc8
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2021 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // Copyright (c) 2011 Thomas Heller // // 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.txt...
47.516447
81
0.532641
autoantwort
4b102484d688bf0211573f5f45f79a0019c1eb59
885
cpp
C++
Matrix/Reversing the columns of a Matrix.cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
1
2020-07-21T20:13:07.000Z
2020-07-21T20:13:07.000Z
Matrix/Reversing the columns of a Matrix.cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
null
null
null
Matrix/Reversing the columns of a Matrix.cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
null
null
null
// { Driver Code Starts #include <bits/stdc++.h> using namespace std; #define SIZE 50 void reverseCol(int n1, int m1, int arr1[SIZE][SIZE]); int main() { int t; cin>>t; while(t--) { int n1,m1; cin>>n1>>m1; int arr1[SIZE][SIZE]; for(int i=0;i<n1;i++) for(in...
17.352941
54
0.440678
pkunjam
4b105472cffce5053cc0d9be60b108fbc8a47bc8
17,458
cc
C++
src/theia/sfm/reconstruction_builder.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
770
2015-02-12T14:32:01.000Z
2022-03-16T00:54:33.000Z
src/theia/sfm/reconstruction_builder.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
237
2015-02-20T18:50:16.000Z
2022-01-18T05:21:48.000Z
src/theia/sfm/reconstruction_builder.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
278
2015-02-12T06:20:26.000Z
2022-03-23T17:25:21.000Z
// Copyright (C) 2014 The Regents of the University of California (Regents). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above...
39.497738
80
0.703975
maxchernet
4b122bb4873a89c56fa06cf1e5cd7add143f0aa5
3,034
cpp
C++
svd3x3-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
svd3x3-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
svd3x3-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
#include <iostream> #include <fstream> #include <vector> #include <cmath> #include <algorithm> #include <iomanip> #include <stdlib.h> #include <stdio.h> #include "common.h" #include "kernels.cpp" void runDevice(float* input, float* output, int n) { #ifdef USE_GPU gpu_selector dev_sel; #else cpu_selector dev_sel;...
28.092593
92
0.602835
BeauJoh
4b13f888742c3642e21885be8acc4c9623a14746
4,462
hpp
C++
src/mt/traversal.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/traversal.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/traversal.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "utility.hpp" namespace mt { class FunctionDefHandle; class ClassDefHandle; class MatlabIdentifier; struct TypeIdentifier; template <typename T> class Optional; namespace types { struct Class; } class TypeIdentifierNamespaceState { struct Stack { static void push(Ty...
22.765306
98
0.728821
nfagan
4b142f1ecbb64931d11b9c95bad8a47615a78bca
3,415
cc
C++
TrkFilters/src/TimeClusterFilter_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-05-25T19:10:10.000Z
2021-05-25T19:10:10.000Z
TrkFilters/src/TimeClusterFilter_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
TrkFilters/src/TimeClusterFilter_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Filter for selecting good time cluster: this is part of the track trigger // Original author: Dave Brown (LBNL) 3/1/2017 // // framework #include "art/Framework/Core/EDFilter.h" #include "art/Framework/Core/ModuleMacros.h" #include "art/Framework/Principal/Event.h" #include "art/Framework/Principal/Handle.h" #i...
34.15
162
0.641581
bonventre
4b19beaedb97b5d61cd3c8345cad9a0912c60be1
2,244
cpp
C++
engine/src/genericdmxsource.cpp
pixeldoc2000/qlcplus
21b2921360c249f3f8aae707bb35b6db5e619b43
[ "Apache-2.0" ]
null
null
null
engine/src/genericdmxsource.cpp
pixeldoc2000/qlcplus
21b2921360c249f3f8aae707bb35b6db5e619b43
[ "Apache-2.0" ]
null
null
null
engine/src/genericdmxsource.cpp
pixeldoc2000/qlcplus
21b2921360c249f3f8aae707bb35b6db5e619b43
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller genericdmxsource.cpp Copyright (C) Heikki Junnila 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.txt Unless r...
24.933333
74
0.68672
pixeldoc2000
4b1c9572bf2f04f573db7803e1016895cccff826
4,779
cpp
C++
scenes/sources/squashy_skinning/quaternion.cpp
drohmer/velocity_skinning_c-
4d4c16b1f2f82b6768eeae50428f637c293f2e77
[ "MIT" ]
8
2021-04-13T17:17:55.000Z
2022-01-13T16:14:22.000Z
scenes/sources/squashy_skinning/quaternion.cpp
drohmer/velocity_skinning_c-
4d4c16b1f2f82b6768eeae50428f637c293f2e77
[ "MIT" ]
null
null
null
scenes/sources/squashy_skinning/quaternion.cpp
drohmer/velocity_skinning_c-
4d4c16b1f2f82b6768eeae50428f637c293f2e77
[ "MIT" ]
1
2021-04-15T08:25:02.000Z
2021-04-15T08:25:02.000Z
#include "quaternion.hpp" #ifdef SCENE_SQUASHY_SKINNING namespace vcl { quaternion::quaternion(float x_arg,float y_arg,float z_arg,float w_arg) :vec<4>({x_arg,y_arg,z_arg,w_arg}) {} quaternion::quaternion() :vec<4>(0,0,0,1) {} quaternion::quaternion(const vec4& v) :vec<4>(v) { } quaternion operator*(co...
24.890625
120
0.589454
drohmer
4b2279b78cacab9dbb5e8c590db2bb8f587ab41d
397
hpp
C++
example/doc_generator/src/model/model.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
null
null
null
example/doc_generator/src/model/model.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
6
2016-01-24T18:07:34.000Z
2016-01-24T18:10:52.000Z
example/doc_generator/src/model/model.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
null
null
null
// Copyright Adam Lach 2013 // 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 MODEL_HPP #define MODEL_HPP #include <vector> #include "model/class.hpp" namespace model { struct Model...
19.85
61
0.695214
sal-vage
4b23b663b1f73993ed5a7e302b98492600236472
1,439
cpp
C++
Samples/AllJoyn/Common/Scenario2WinRTComponent/pch.cpp
CrZGerry/Windows-universal-samples
2fbdfea60458ab5c915083de9979f5668e676acb
[ "MIT" ]
6
2015-12-23T22:28:56.000Z
2021-11-06T17:05:51.000Z
AllJoynServerExperiences/Scenario2WinRTComponent/pch.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
null
null
null
AllJoynServerExperiences/Scenario2WinRTComponent/pch.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
8
2015-10-26T01:44:51.000Z
2022-03-12T09:47:56.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
43.606061
80
0.564976
CrZGerry
4b2c1b34d9a8d3b5dacef71d9651c69b52b6eb7c
14,245
cpp
C++
lib/Runtime/Types/NullTypeHandler.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
8,664
2016-01-13T17:33:19.000Z
2019-05-06T19:55:36.000Z
lib/Runtime/Types/NullTypeHandler.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
5,058
2016-01-13T17:57:02.000Z
2019-05-04T15:41:54.000Z
lib/Runtime/Types/NullTypeHandler.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
1,367
2016-01-13T17:54:57.000Z
2019-04-29T18:16:27.000Z
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
39.242424
233
0.713022
Taritsyn
4b2e839235c964549589efcfd82c877f77dffa90
2,269
cpp
C++
OrionUO/ScreenStages/SelectTownScreen.cpp
BryanNoller/OrionUO
5985315969c5f3c7c7552392d9d40d4b24b718e2
[ "MIT" ]
169
2016-09-16T22:24:34.000Z
2022-03-27T09:58:20.000Z
OrionUO/ScreenStages/SelectTownScreen.cpp
BryanNoller/OrionUO
5985315969c5f3c7c7552392d9d40d4b24b718e2
[ "MIT" ]
104
2016-10-26T23:02:52.000Z
2021-10-02T17:36:04.000Z
OrionUO/ScreenStages/SelectTownScreen.cpp
BryanNoller/OrionUO
5985315969c5f3c7c7552392d9d40d4b24b718e2
[ "MIT" ]
111
2016-09-16T22:25:30.000Z
2022-03-28T07:01:40.000Z
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /*********************************************************************************** ** ** SelectTownScreen.cpp ** ** Copyright (C) August 2016 Hotride ** ****...
31.957746
84
0.461877
BryanNoller
4b30c987f534e6988411e2f5635f4ede9b7a56cb
1,360
cpp
C++
Chapter2-LinearList/src/exercise2_wangdao/2-11.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
4
2021-03-01T13:24:24.000Z
2022-03-06T10:58:34.000Z
Chapter2-LinearList/src/exercise2_wangdao/2-11.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
null
null
null
Chapter2-LinearList/src/exercise2_wangdao/2-11.cpp
caoshenghui/DataStructures
b028bbdb3156537637eed87d634313820b0f295a
[ "MIT" ]
1
2021-03-01T13:24:32.000Z
2021-03-01T13:24:32.000Z
// File: 2-11.cpp // Author: csh // Date: 2021/03/13 // =================== int M_Search(int A[], int B[], int n) { // 分别表示A,B首位数、末位数和中位数 int s1 = 0, d1 = n-1, m1; int s2 = 0, d2 = n-1, m2; while(s1 != d1 || s2 != d2) { m1 = (s1 + d1) / 2; m2 = (s2 + d2) / 2; if(A[m1...
23.050847
56
0.336765
caoshenghui
4b32fb1899ad15dadcdb53c9fe1f2b71c566d3e4
830
cc
C++
src/algorithm/07.Divide/fanmeeting.cc
pr0gr4m/Study
da6792b181644c05ca0545c2bb5e19bdef593a78
[ "Apache-2.0" ]
null
null
null
src/algorithm/07.Divide/fanmeeting.cc
pr0gr4m/Study
da6792b181644c05ca0545c2bb5e19bdef593a78
[ "Apache-2.0" ]
null
null
null
src/algorithm/07.Divide/fanmeeting.cc
pr0gr4m/Study
da6792b181644c05ca0545c2bb5e19bdef593a78
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int count(const vector<int>& group, const vector<int>& fan) { int cnt = 0; for (int i = 0; i <= fan.size() - group.size(); i++) { bool flag = true; for (int j = 0; j < group.size(); j++) { if (!(group[j] | fan[i + j])) { flag = false; break; ...
14.821429
59
0.498795
pr0gr4m
4b358c8e46cd30e66fff65e5c6f9a7b5f8647b6f
2,890
cpp
C++
polygons/scalingmainwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
polygons/scalingmainwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
polygons/scalingmainwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
#include "scalingmainwidget.h" #include "ui_scalingmainwidget.h" #include <cmath> ScalingMainWidget::ScalingMainWidget(QWidget *parent) : QWidget(parent), ui(new Ui::ScalingMainWidget) { ui->setupUi(this); ui->timeDisplay->setVisible(false); ui->pro...
30.744681
109
0.709689
humble-barnacle001
4b3624e02fde66b38f45bc77c92ee2966e60f55c
146
cpp
C++
examples/other/inclusion_in_two_translation_units/second_tu.cpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
456
2016-11-12T12:43:17.000Z
2022-03-27T03:12:42.000Z
examples/other/inclusion_in_two_translation_units/second_tu.cpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
289
2016-11-12T09:04:22.000Z
2022-03-26T21:25:27.000Z
examples/other/inclusion_in_two_translation_units/second_tu.cpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
70
2017-03-29T13:14:03.000Z
2022-02-14T05:32:24.000Z
#include <cuda/runtime_api.hpp> cuda::device::id_t get_current_device_id() { auto device = cuda::device::current::get(); return device.id(); }
18.25
44
0.712329
TheCleanCoda
4b376df46644177db4479cf46f2b0399027101bd
7,735
cpp
C++
folly/experimental/NestedCommandLineApp.cpp
berlinhuang/folly
344f49c41ae8ce100771e632b590a37ad3bcbe22
[ "Apache-2.0" ]
1
2021-07-17T07:04:43.000Z
2021-07-17T07:04:43.000Z
folly/experimental/NestedCommandLineApp.cpp
berlinhuang/folly
344f49c41ae8ce100771e632b590a37ad3bcbe22
[ "Apache-2.0" ]
null
null
null
folly/experimental/NestedCommandLineApp.cpp
berlinhuang/folly
344f49c41ae8ce100771e632b590a37ad3bcbe22
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
28.229927
77
0.611635
berlinhuang
4b379516963f3f714dd808b6e9317a4d34b61ceb
5,778
cc
C++
src/DiffController.cc
Timopheym/btcpool
b9fb89de66dc5573de0de764643b2b67443ace9a
[ "MIT" ]
null
null
null
src/DiffController.cc
Timopheym/btcpool
b9fb89de66dc5573de0de764643b2b67443ace9a
[ "MIT" ]
null
null
null
src/DiffController.cc
Timopheym/btcpool
b9fb89de66dc5573de0de764643b2b67443ace9a
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
29.181818
80
0.655763
Timopheym
4b37984f8c33c81d1993523315a1ac36e97ed791
4,313
cpp
C++
Test/Service/RecordCollection/RecordCollection/Test/VolumetricRepresentation.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Test/Service/RecordCollection/RecordCollection/Test/VolumetricRepresentation.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Test/Service/RecordCollection/RecordCollection/Test/VolumetricRepresentation.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#include <RecordCollection/Test/Scenario.hpp> #include <RecordCollection/Test/VolumetricRepresentation.hpp> #include <Reference/Test/Tests.hpp> #include <Query/Test/Data.hpp> #include <Query/Test/DataTypes.hpp> #include <Query/Test/VolumetricQueryTests.hpp> using namespace Emergence::RecordCollection::Test; bool Em...
38.855856
118
0.742175
KonstantinTomashevich
4b3884ca65ea7a7caca63a98badf2d63ef36b2e9
141
hxx
C++
src/_openmp.hxx
puzzlef/pagerank-adjust-csr-datatype
a515e97effa966d43fcee5e8292d8a6c219f73d7
[ "MIT" ]
null
null
null
src/_openmp.hxx
puzzlef/pagerank-adjust-csr-datatype
a515e97effa966d43fcee5e8292d8a6c219f73d7
[ "MIT" ]
null
null
null
src/_openmp.hxx
puzzlef/pagerank-adjust-csr-datatype
a515e97effa966d43fcee5e8292d8a6c219f73d7
[ "MIT" ]
null
null
null
#pragma once // #include <omp.h> // VECTOR OPERATIONS // ----------------- #define SIZE_MIN_OMPM 100000000 #define SIZE_MIN_OMPR 100000
11.75
31
0.638298
puzzlef
4b396fe03efbc6607e10f043a7a51192a6914aa7
4,407
cpp
C++
image_proc/src/rectify.cpp
umdlife/image_pipeline
51ad0f53b46f0afa1ea2a461bdf0af97b25fffb5
[ "Apache-2.0" ]
null
null
null
image_proc/src/rectify.cpp
umdlife/image_pipeline
51ad0f53b46f0afa1ea2a461bdf0af97b25fffb5
[ "Apache-2.0" ]
null
null
null
image_proc/src/rectify.cpp
umdlife/image_pipeline
51ad0f53b46f0afa1ea2a461bdf0af97b25fffb5
[ "Apache-2.0" ]
null
null
null
// Copyright 2008, 2019 Willow Garage, Inc., Andreas Klintberg, Joshua Whitley // All rights reserved. // // Software License Agreement (BSD License 2.0) // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Red...
33.386364
97
0.733152
umdlife
4b39d9b5ed9be12dded312c3eea58d5ac211d1bd
16,395
cpp
C++
Source/source/editors/animation_editor/event_handling.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
Source/source/editors/animation_editor/event_handling.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
Source/source/editors/animation_editor/event_handling.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Animation editor event handler function. */ #include ...
33.944099
85
0.512229
ElatedEatrs
4b3b96229d7bd6204d69a950b2162151d8eff12f
21,094
cpp
C++
src/DBConnection.cpp
CHRYSICS/audacity
ce1b172825cb8dcc4b7cb2bb52a4f62946f0b141
[ "CC-BY-3.0" ]
7,892
2015-03-31T09:24:05.000Z
2022-03-31T12:30:32.000Z
src/DBConnection.cpp
CHRYSICS/audacity
ce1b172825cb8dcc4b7cb2bb52a4f62946f0b141
[ "CC-BY-3.0" ]
2,050
2015-04-03T13:27:52.000Z
2022-03-31T19:14:10.000Z
src/DBConnection.cpp
CHRYSICS/audacity
ce1b172825cb8dcc4b7cb2bb52a4f62946f0b141
[ "CC-BY-3.0" ]
2,613
2015-03-26T11:28:10.000Z
2022-03-30T13:17:03.000Z
/*!******************************************************************** Audacity: A Digital Audio Editor @file DBConnection.cpp @brief Implements DBConnection Paul Licameli -- split from ProjectFileIO.cpp **********************************************************************/ #include "DBConnection.h" #include "s...
28.505405
121
0.612971
CHRYSICS
4b3f30b56fdaac60b79d5556f2ac1e48eee32167
4,395
hpp
C++
cppcache/include/geode/CacheableDate.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
cppcache/include/geode/CacheableDate.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
cppcache/include/geode/CacheableDate.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "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 ...
29.496644
80
0.729465
vaijira
4b3f50d523786577e3e3853da55de1051cf6bf49
3,140
cpp
C++
engine/source/private/engine/ecs/ecs.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
12
2019-01-02T11:13:19.000Z
2020-06-02T10:58:20.000Z
engine/source/private/engine/ecs/ecs.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
null
null
null
engine/source/private/engine/ecs/ecs.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
1
2020-04-03T11:54:53.000Z
2020-04-03T11:54:53.000Z
#include <engine/ecs/ecs.hpp> #include <core/assert.hpp> #include <core/atl/algorithm.hpp> #include <core/atl/memory.hpp> #include <engine/ecs/component_serialization.hpp> #include <build_config.hpp> #if ANTON_WITH_EDITOR # include <editor.hpp> #else # include <engine.hpp> #endif // ANTON_WITH_EDITOR namespac...
41.866667
153
0.690764
kociap
4b3fbafd35eadbe942d172d480bc844bcf4dc2f1
1,188
cpp
C++
codeforces/D - Fibonacci-ish/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Fibonacci-ish/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Fibonacci-ish/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Dec/04/2018 18:11 * solution_verdict: Time limit exceeded on test 3 language: GNU C++14 * run...
27
111
0.375421
kzvd4729
4b42266b9f20857f1a38071fa67203efbe6cf35f
4,635
cc
C++
Analyses/src/SimParticleDumperCompact_module.cc
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
null
null
null
Analyses/src/SimParticleDumperCompact_module.cc
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
26
2019-11-08T09:56:55.000Z
2020-09-09T17:25:33.000Z
Analyses/src/SimParticleDumperCompact_module.cc
ryuwd/Offline
92957f111425910274df61dbcbd2bad76885f993
[ "Apache-2.0" ]
null
null
null
// Ntuple dumper for SimParticles with compact output // // Zhengyun You, 2013-12-01 #include <string> #include <vector> #include <set> #include <limits> #include <cmath> #include "cetlib_except/exception.h" #include "CLHEP/Vector/ThreeVector.h" #include "TDirectory.h" #include "TH1.h" #include "TTree.h" #include "T...
31.317568
88
0.606257
michaelmackenzie
4b42f8a1c9dc3e2148559959c608071c9405c6a1
10,421
hpp
C++
cpp/oneapi/dal/backend/memory.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
null
null
null
cpp/oneapi/dal/backend/memory.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
12
2019-04-30T11:57:33.000Z
2021-01-15T14:06:49.000Z
cpp/oneapi/dal/backend/memory.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
2
2019-04-30T09:06:05.000Z
2019-08-15T06:39:47.000Z
/******************************************************************************* * Copyright 2020-2021 Intel Corporation * * 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.apa...
33.400641
96
0.653872
PivovarA
4b4442e9f02e68633e6e49c4a66fd2bdce85a064
784
cpp
C++
OpenTESArena/src/World/MapDefinition.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/World/MapDefinition.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/World/MapDefinition.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include "MapDefinition.h" #include "../Assets/MIFFile.h" #include "../Assets/RMDFile.h" #include "components/debug/Debug.h" MapDefinition::MapDefinition() { this->width = 0; this->depth = 0; this->startLevelIndex = -1; } void MapDefinition::init(const MIFFile &mif) { DebugNotImplemented(); } void MapDefinition...
16.333333
63
0.730867
Digital-Monk
4b473dcc8238f1a8cc4f2b45d45677d25cf72aae
1,443
cpp
C++
OpenGLEngine/Enemy.cpp
maegico/Toaster_Wars
75c925ae8e5728fb2699c99e8ed3ec46f03eb417
[ "MIT" ]
2
2016-02-27T01:29:35.000Z
2017-10-18T11:00:12.000Z
OpenGLEngine/Enemy.cpp
maegico/Toaster_Wars
75c925ae8e5728fb2699c99e8ed3ec46f03eb417
[ "MIT" ]
null
null
null
OpenGLEngine/Enemy.cpp
maegico/Toaster_Wars
75c925ae8e5728fb2699c99e8ed3ec46f03eb417
[ "MIT" ]
null
null
null
#include "Enemy.h" Enemy::Enemy() { } Enemy::Enemy(GameObject * pb, GameObject * hlth, vec3 location, GameObject* _obj, GameObject* b) { obj = _obj; pickup = pb; healthP = hlth; obj->setPosition(location); bulletPrefab = b; time = 0; health = 3; } Enemy::~Enemy() { } void Enemy::draw() { obj->draw(GL_TRIA...
15.684783
96
0.636868
maegico
4b49ad11294c09d08b86a5eede24fdb3748e532c
1,011
cpp
C++
src/2DXngine.Engine/ContentManagement/DefaultAssets/Mp3Sound.cpp
Harunx9/2DXngine
300a8c1689def00afd84a9328546e6e596ee34d2
[ "MIT" ]
4
2017-09-06T15:00:25.000Z
2021-03-08T09:39:04.000Z
src/2DXngine.Engine/ContentManagement/DefaultAssets/Mp3Sound.cpp
Harunx9/2DXngine
300a8c1689def00afd84a9328546e6e596ee34d2
[ "MIT" ]
5
2017-04-09T13:20:24.000Z
2017-06-11T16:15:31.000Z
src/2DXngine.Engine/ContentManagement/DefaultAssets/Mp3Sound.cpp
Harunx9/2DXngine
300a8c1689def00afd84a9328546e6e596ee34d2
[ "MIT" ]
1
2017-05-22T20:24:30.000Z
2017-05-22T20:24:30.000Z
#include "Mp3Sound.h" Mp3Sound::Mp3Sound(AssetPath path) : Music(path, DefaultAssetType::MP3_TYPE) { std::string fPathStr = path.get_fullPath(); const char* soundPath = fPathStr.c_str(); this->_musicData = Mix_LoadMUS(soundPath); this->_currentState = SoundState::STOPPED; } Mp3Sound * Mp3Sound::load(A...
18.722222
76
0.649852
Harunx9
4b4e2385893f3dfba87607883a4301402e141b05
6,280
cc
C++
particle_system/smoke_scene.cc
fedorovpavel/learn_opengl
7b57b286b8b53c4800b9ba2903aa2194eb21ad7a
[ "MIT" ]
null
null
null
particle_system/smoke_scene.cc
fedorovpavel/learn_opengl
7b57b286b8b53c4800b9ba2903aa2194eb21ad7a
[ "MIT" ]
null
null
null
particle_system/smoke_scene.cc
fedorovpavel/learn_opengl
7b57b286b8b53c4800b9ba2903aa2194eb21ad7a
[ "MIT" ]
null
null
null
#include "smoke_scene.h" #include "help_math.h" SmokeScene::SmokeScene(QWidget *parent) : SceneBase(parent) , m_particlesCount(1500) { setClearColor(Qt::black); setTranslationVector(QVector3D(0.0f, 0.0f, -1.0f)); setYRotAngle(15); std::srand(std::time(0)); } SmokeScene::~SmokeScene() { } /...
33.227513
114
0.699204
fedorovpavel
4b4e8d1c92b35aeaf7e5b6c7a87f6d7d0453f348
4,028
cpp
C++
src/platform/qpg6100/Logging.cpp
fkjagodzinski/connectedhomeip
c4411cf81d4b63384c790f91c8e5329b4da97dfe
[ "Apache-2.0" ]
3
2021-01-28T04:52:17.000Z
2021-05-17T10:37:53.000Z
src/platform/qpg6100/Logging.cpp
fkjagodzinski/connectedhomeip
c4411cf81d4b63384c790f91c8e5329b4da97dfe
[ "Apache-2.0" ]
5
2020-07-23T21:30:13.000Z
2020-10-07T13:56:33.000Z
src/platform/qpg6100/Logging.cpp
fkjagodzinski/connectedhomeip
c4411cf81d4b63384c790f91c8e5329b4da97dfe
[ "Apache-2.0" ]
1
2020-10-02T18:18:37.000Z
2020-10-02T18:18:37.000Z
/* * * Copyright (c) 2020 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
27.401361
98
0.667577
fkjagodzinski
4b4f9fa4ff5607eae511614806e9c75fa22c5791
16,202
cpp
C++
icd/api/vk_gpa_session.cpp
dstutt/xgl
3e72c1000acfafbeeaec6f9974470ff4356aca47
[ "MIT" ]
null
null
null
icd/api/vk_gpa_session.cpp
dstutt/xgl
3e72c1000acfafbeeaec6f9974470ff4356aca47
[ "MIT" ]
null
null
null
icd/api/vk_gpa_session.cpp
dstutt/xgl
3e72c1000acfafbeeaec6f9974470ff4356aca47
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2014-2022 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
36.990868
120
0.516788
dstutt
4b530a695ff5ca0923f67438a5e645095d7e6f90
3,128
hh
C++
dev/g++/projects/embedded/comm/include/abstract_channel.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/comm/include/abstract_channel.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/comm/include/abstract_channel.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
/** * \file abstract_channel.h * \brief Header file for communication channel interface. * \author garciay.yann@gmail.com * \copyright Copyright (c) 2015 ygarcia. All rights reserved * \license This project is released under the MIT License * \version 0.1 */ #pragma once #include <iostream> #inc...
29.233645
154
0.633312
YannGarcia
4b532137a6690fadea458d3e3c6d88aa9ac4b10f
9,498
cc
C++
src/trace_buffer.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
src/trace_buffer.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
src/trace_buffer.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, 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 * * h...
30.442308
79
0.569278
Chippiewill
4b5763d826c131022d6d962eaff00a3b1e339bdc
42,570
cpp
C++
test-suite/lowdiscrepancysequences.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
null
null
null
test-suite/lowdiscrepancysequences.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
null
null
null
test-suite/lowdiscrepancysequences.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2003, 2004 Ferdinando Ametrano Copyright (C) 2007 Mark Joshi This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is f...
37.309378
115
0.556425
sfondi
4b576b51d924c4bd4a24d1c851362132634228bc
2,745
hh
C++
src/proto/core/asset-system/serialization.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/asset-system/serialization.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/asset-system/serialization.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
#pragma once #include "proto/core/asset-system/common.hh" #include "proto/core/context.hh" #include "proto/core/memory/common.hh" #include "proto/core/util/algo.hh" #include "proto/core/platform/api.hh" #include "proto/core/math/hash.hh" namespace proto { namespace serialization { #if 0 constexp...
30.164835
87
0.614208
kcpikkt
4b5a40f49e3b3177347857f42c90599d63e918e8
1,708
cpp
C++
src/pong/main_.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
2
2021-06-24T08:45:23.000Z
2022-01-22T20:53:16.000Z
src/pong/main_.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
src/pong/main_.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
#include "hwlib.hpp" #include <array> #include "enemy.hpp" #include "entities.hpp" #include "src/dodge/dodge.hpp" void play_pong(){ auto scl = hwlib::target::pin_oc( hwlib::target::pins::scl ); auto sda = hwlib::target::pin_oc( hwlib::target::pins::sda ); auto i2c_bus = hwlib::i2c_bus_bit_banged_scl_s...
29.448276
105
0.552693
justinwiel
4b6073171b6dcec9787f6f1ada51c9c066852579
15,327
cpp
C++
src/gfx/funcs.cpp
RedcraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
5
2017-05-16T22:25:59.000Z
2020-02-10T20:19:35.000Z
src/gfx/funcs.cpp
RedCraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
1
2017-10-13T00:35:56.000Z
2017-10-13T00:35:56.000Z
src/gfx/funcs.cpp
RedCraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
2
2017-10-07T04:40:52.000Z
2021-09-27T05:59:05.000Z
/* * Copyright (C) 2015 Luke San Antonio * All rights reserved. */ #include "funcs.h" #include "../common/debugging.h" namespace redc { #ifdef REDC_USE_OPENGL std::vector<Buf_Repr> make_buffers(std::size_t num) { std::vector<Buf_Repr> bufs; if(num > 0) { bufs.resize(num); // We reference...
27.616216
80
0.649051
RedcraneStudio
4b60e770115f13c8c406697e20dca4156740b03b
1,914
hpp
C++
include/bdlearn/DataSet.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
2
2019-12-04T08:24:17.000Z
2020-01-31T23:29:52.000Z
include/bdlearn/DataSet.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
null
null
null
include/bdlearn/DataSet.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
null
null
null
#ifndef _BDLEARN_DATASET_H_ #define _BDLEARN_DATASET_H_ #include <memory> #include <string.h> //memcpy #include "darknet_image_loader.h" #include "bdlearn/BufDims.hpp" #include "bdlearn/BatchData.hpp" namespace bdlearn { // ONLY HANDLES CLASSIFICATION ONE-HOT DATA FOR NOW class DataSet { public: ...
33.578947
90
0.592999
billythedummy
4b632043245b98ce0ce59c1efabeb90a872157de
5,460
cc
C++
src/eng_output_dev.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
1
2021-03-27T18:10:14.000Z
2021-03-27T18:10:14.000Z
src/eng_output_dev.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
null
null
null
src/eng_output_dev.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
1
2020-02-11T15:03:04.000Z
2020-02-11T15:03:04.000Z
#include <poppler/Page.h> #include <poppler/OutputDev.h> #include <poppler/Catalog.h> #include <poppler/Link.h> #include <poppler/Annot.h> #include "eng_output_dev.h" #include "doc_page.h" namespace pdftoedn { //------------------------------------------------------------------------ // pdftoedn::EngOutputDev...
29.197861
92
0.434799
swerling
4b63d2e94a467bcf1afc4f0e526bfa441136dfb9
596
cpp
C++
SE1/exercicio09.cpp
phillima-inatel/C103
47694f5c5948d6a760a4624da092cea3606ca8af
[ "MIT" ]
7
2020-04-16T00:38:29.000Z
2021-09-01T01:40:48.000Z
SE1/exercicio09.cpp
phillima-inatel/C103
47694f5c5948d6a760a4624da092cea3606ca8af
[ "MIT" ]
null
null
null
SE1/exercicio09.cpp
phillima-inatel/C103
47694f5c5948d6a760a4624da092cea3606ca8af
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //prototipo da funcao void mostraVetorFloat(float*); int main(){ float vetorFloat[5]; for(int i = 0; i < 5; i++){ cout << "Entre com o valor do float para a posicao:" << i << " : "; cin >> vetorFloat[i]; } mostraVetorFloat(vetorFloat); ...
19.866667
83
0.531879
phillima-inatel
4b6493de1a61b515b3b7f6d16006972a7f571ab6
927
cpp
C++
Codeforces/CF1657D.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
Codeforces/CF1657D.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
1
2021-11-18T15:10:29.000Z
2021-11-20T07:13:31.000Z
Codeforces/CF1657D.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
/* * @author Nickel_Angel (1239004072@qq.com) * @copyright Copyright (c) 2022 */ #include <algorithm> #include <cstdio> #include <cstring> const int maxn = 3e5 + 10; const int maxC = 1e6 + 10; int n, q, C; long long mul[maxC], ans[maxC]; int main() { scanf("%d%d", &n, &C); for (int i = 1, c, h, d; i <= n; ++...
22.071429
64
0.428263
Nickel-Angel
b49c6be4f0480a1658bdc14a3ea75eabd2951755
462
cpp
C++
regression/esbmc-cpp/algorithm/algorithm123/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/algorithm/algorithm123/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/algorithm/algorithm123/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// prev_permutation #include <cassert> #include <iostream> #include <algorithm> using namespace std; int main () { int myints[] = {1,2,3}; cout << "The 3! possible permutations with 3 elements:\n"; sort (myints,myints+3); reverse (myints,myints+3); // assert(myints[0] != 3); do { cout << myints[0] << ...
20.086957
70
0.597403
shmarovfedor
b49ca498f8263aad1a935444b71938e64d4f6000
501
cpp
C++
Codeforces/CounterExample.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/CounterExample.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/CounterExample.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://codeforces.com/problemset/problem/483/A #include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); long long int a{0} , b{0} ; cin >> a >> b ; if(b - a <= 1) { cout << -1 ; } else if(a % 2 == 0) { c...
20.04
56
0.381238
canis-majoris123
b49d8094f99b406045f317bfc14b8a05d8f5ad94
4,349
cpp
C++
src/fontoptionsframe.cpp
caodingpeng/fontbuilder
23d7dbad40abea9893c596cdeb810d651a90eedd
[ "MIT" ]
null
null
null
src/fontoptionsframe.cpp
caodingpeng/fontbuilder
23d7dbad40abea9893c596cdeb810d651a90eedd
[ "MIT" ]
1
2017-01-31T09:49:11.000Z
2017-01-31T09:49:11.000Z
src/fontoptionsframe.cpp
caodingpeng/fontbuilder
23d7dbad40abea9893c596cdeb810d651a90eedd
[ "MIT" ]
2
2017-01-19T13:46:09.000Z
2021-03-22T07:45:59.000Z
/** * Copyright (c) 2010-2010 Andrey AndryBlack Kunitsyn * email:support.andryblack@gmail.com * * Report bugs and download new versions at http://code.google.com/p/fontbuilder * * This software is distributed under the MIT License. * * Permission is hereby granted, free of charge, to any person * obtaining a c...
30.412587
100
0.723385
caodingpeng
b4a27e33928808a9725b0f5d7cb29dba1374ec7a
12,212
cpp
C++
Src/uart.cpp
suikan4github/murasaki
84f391b99617027151565349012e5fc367da857e
[ "MIT" ]
12
2019-02-24T05:22:37.000Z
2021-10-01T05:56:59.000Z
Src/uart.cpp
suikan4github/murasaki
84f391b99617027151565349012e5fc367da857e
[ "MIT" ]
122
2019-02-23T13:51:42.000Z
2021-11-13T01:24:34.000Z
Src/uart.cpp
suikan4github/murasaki
84f391b99617027151565349012e5fc367da857e
[ "MIT" ]
3
2019-02-24T16:38:25.000Z
2022-03-22T15:25:09.000Z
/* * Uart.cpp * * Created on: 2017/11/05 * Author: Seiichi "Suikan" Horie */ #include "uart.hpp" #include "murasaki_assert.hpp" #include "murasaki_syslog.hpp" #include "callbackrepositorysingleton.hpp" // Macro for easy-to-read #define UART_SYSLOG(fmt, ...) MURASAKI_SYSLOG( this, kfaSerial, kseDebug, fm...
34.016713
114
0.609974
suikan4github
b4a8374cec78dd52a3e61bd2bbbe3f0541217a42
9,585
cpp
C++
src/server_tcp.cpp
antze-k/miso
753a1662cc1a8a139941f61ac8cc5fcb344b3a6e
[ "MIT" ]
3
2016-04-15T19:26:19.000Z
2017-10-22T15:48:07.000Z
src/server_tcp.cpp
antze-k/miso
753a1662cc1a8a139941f61ac8cc5fcb344b3a6e
[ "MIT" ]
null
null
null
src/server_tcp.cpp
antze-k/miso
753a1662cc1a8a139941f61ac8cc5fcb344b3a6e
[ "MIT" ]
null
null
null
// (C) unresolved-external@singu-lair.com released under the MIT license (see LICENSE) #include "miso/server/server_tcp.h" #include "miso/socket/generic_socket.h" #include "node_tcp.h" #include <algorithm> #include <vector> namespace miso { //--------------------------------------------------------------------------...
29.953125
140
0.530934
antze-k
b4aa38b19f746ae10f04d230db6667f63c853033
1,519
cpp
C++
ECOP03/LAB06/Telefone/progPhone.cpp
gadfaria/unifei
bc85b8e9490845abb2cb72eb624e5a0f26cc1dc9
[ "MIT" ]
2
2020-10-26T23:22:22.000Z
2022-03-22T23:12:17.000Z
ECOP03/LAB06/Telefone/progPhone.cpp
gadfaria/unifei
bc85b8e9490845abb2cb72eb624e5a0f26cc1dc9
[ "MIT" ]
null
null
null
ECOP03/LAB06/Telefone/progPhone.cpp
gadfaria/unifei
bc85b8e9490845abb2cb72eb624e5a0f26cc1dc9
[ "MIT" ]
null
null
null
// Fig. 11.5: fig11_05.cpp // Demonstrating class PhoneNumber's overloaded stream insertion // and stream extraction operators. #include <iostream> #include "PhoneNumber.h" using namespace std; int main() { PhoneNumber phone; // create object phone cout << "Enter phone number in the form (35) 9876-5432:" << endl; //...
34.522727
75
0.659645
gadfaria
b4acc769f280fd67b15ae63108e9f8e6661f5607
1,736
cpp
C++
codeforces/919D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
codeforces/919D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
codeforces/919D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
// http://codeforces.com/contest/919/problem/D #include <iostream> #include <vector> #include <string> #include <queue> using namespace std; int N, M; string S; vector<vector<int>> G, GT; bool tsort(vector<int>& ans) { queue<int> Q; vector<int> in(N, 0); for (int v = 0; v < N; ++v) { for (int u...
20.666667
59
0.390553
xirc
b4affbbeb8dca8c771c002eab9f3913af12b7a4c
2,908
cpp
C++
Caller/initial_bp_call.cpp
jwnam/etching
7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3
[ "MIT" ]
6
2020-08-27T00:14:44.000Z
2022-01-20T11:11:12.000Z
Caller/initial_bp_call.cpp
jwnam/etching
7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3
[ "MIT" ]
1
2021-02-02T07:02:33.000Z
2021-02-03T08:30:24.000Z
Caller/initial_bp_call.cpp
jwnam/etching
7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3
[ "MIT" ]
1
2020-08-27T00:14:32.000Z
2020-08-27T00:14:32.000Z
//-------------------------------------------------------------------- // Copyright 2020. Bioinformatic and Genomics Lab. // Hanyang University, Seoul, Korea // Coded by Jang-il Sohn (sohnjangil@gmail.com) //-------------------------------------------------------------------- #include "etching_caller.hpp" #include <un...
30.291667
118
0.560179
jwnam
b4b01750a67cca1abc3a23a1cf6c38ba64cbdd2d
925
cpp
C++
src/glass/BoltzTest.cpp
zhangns/dplm-public
2200e907383a0b47981e30822db0a2ba1d5f5c40
[ "MIT" ]
null
null
null
src/glass/BoltzTest.cpp
zhangns/dplm-public
2200e907383a0b47981e30822db0a2ba1d5f5c40
[ "MIT" ]
null
null
null
src/glass/BoltzTest.cpp
zhangns/dplm-public
2200e907383a0b47981e30822db0a2ba1d5f5c40
[ "MIT" ]
null
null
null
#include <utility> #include <fstream> #include <algorithm> #include "BoltzTest.h" #include "utils.h" using namespace std; void BoltzTest::add_weight(State state, double energy, double weight) { EWPair &ew = ensemble[state]; if (!ew.second) // if this is a state unseen before ew.first = energy; ew.s...
30.833333
86
0.596757
zhangns
b4b101f9221c76e26e91f94b4c5110475f08889f
11,978
cpp
C++
PelaajaToiminto.cpp
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
PelaajaToiminto.cpp
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
PelaajaToiminto.cpp
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
#include "PelaajaToiminto.hpp" #include <sstream> PelaajaToiminto::PelaajaToiminto(Julkinen::Nayttorajapinta* naytto, Julkinen::Koordinaatti const& koko, Data * data) : PelinNaytto(naytto) { ESIEHTO(naytto != NULL); ESIEHTO(data != NULL); this->_koko = koko; this->_data = data; } PelaajaToiminto::~PelaajaToim...
27.535632
160
0.631742
WhiteDeathFIN
b4b27d9d418cc6603d54e73e41b83405566376ad
512
hpp
C++
src/behavior/valuefunction/Q_function.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/behavior/valuefunction/Q_function.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/behavior/valuefunction/Q_function.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
// // Mark Benjamin 6/1/17. // Copyright (c) 2017 Mark Benjamin // #ifndef FASTRL_BEHAVIOR_VALUEFUNCTION_Q_FUNCTION_HPP #define FASTRL_BEHAVIOR_VALUEFUNCTION_Q_FUNCTION_HPP #include "../../mdp/core/state/state.hpp" #include "../../mdp/core/action/action.hpp" #include "value_function.hpp" class QFunction : public Val...
28.444444
112
0.759766
MarkieMark
b4b58e992094e72dc068f067f705894056514047
1,697
cc
C++
test/common/filesystem/watcher_impl_test.cc
kyessenov/envoy
65a39b0b004ff89e1991f1ef1a9c924dae4ad19a
[ "Apache-2.0" ]
1
2018-10-31T20:20:01.000Z
2018-10-31T20:20:01.000Z
test/common/filesystem/watcher_impl_test.cc
kyessenov/envoy
65a39b0b004ff89e1991f1ef1a9c924dae4ad19a
[ "Apache-2.0" ]
33
2020-12-04T15:48:38.000Z
2021-08-12T12:06:48.000Z
test/common/filesystem/watcher_impl_test.cc
PiotrSikora/envoy
46da71aa83d8d969c5d2c822820b2b88a4421655
[ "Apache-2.0" ]
null
null
null
#include "common/common/assert.h" #include "common/event/dispatcher_impl.h" #include "common/filesystem/watcher_impl.h" namespace Filesystem { class WatchCallback { public: MOCK_METHOD1(called, void(uint32_t)); }; TEST(WatcherImplTest, All) { Event::DispatcherImpl dispatcher; Filesystem::WatcherPtr watcher = d...
34.632653
89
0.70713
kyessenov
b4b5c39f73e57d7e3d5bb072e609a3c004ae0b07
6,006
hpp
C++
lib/alib.hpp
Abir-Tx/ffmpeg-helper
33536eab5fd9fcaa4d192c6a5381892624a0eccd
[ "MIT" ]
4
2021-02-16T12:58:07.000Z
2022-03-19T15:31:19.000Z
lib/alib.hpp
Abir-Tx/ffmpeg-helper
33536eab5fd9fcaa4d192c6a5381892624a0eccd
[ "MIT" ]
4
2021-02-14T07:45:34.000Z
2021-04-26T19:45:23.000Z
lib/alib.hpp
Abir-Tx/ffmpeg-helper
33536eab5fd9fcaa4d192c6a5381892624a0eccd
[ "MIT" ]
null
null
null
/* alib is a header only library which offers many usefull and frequently used C++ functions which are not present in standard c++ library. The library is under GPL3 license and is open for others to contribute to this project. This library supports multi platform. It works on both windows and Linux operating system. ...
30.642857
104
0.652514
Abir-Tx
b4b7889eebdfcad44280cd92485973cad54797bd
15,677
cpp
C++
source/Articles/PixelArtFiltering/hydra/hydra_application.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
164
2019-06-30T18:14:38.000Z
2022-03-13T14:36:10.000Z
source/Articles/PixelArtFiltering/hydra/hydra_application.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
null
null
null
source/Articles/PixelArtFiltering/hydra/hydra_application.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
11
2019-09-11T13:40:59.000Z
2022-01-28T09:24:24.000Z
// Hydra Application v0.19 #include "hydra_application.h" #include "hydra_graphics.h" #include "hydra_rendering.h" #include "hydra_input.h" #include <SDL.h> #if defined (HYDRA_OPENGL) #include <GL/glew.h> #define SDL_GL #define IMGUI_HYDRA #elif defined (HYDRA_VULKAN) #include <SDL_vulkan.h> #de...
31.670707
179
0.62614
rioscode