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
1d95e05cfdba14c3a1dc7b73f12c3690c85bbe20
1,061
cpp
C++
cropeditor/cropeditor.cpp
bvt1swaggington4/BreakingKShare
678805725bb88c0dbd4759ed60b0fee512035f0a
[ "MIT" ]
null
null
null
cropeditor/cropeditor.cpp
bvt1swaggington4/BreakingKShare
678805725bb88c0dbd4759ed60b0fee512035f0a
[ "MIT" ]
null
null
null
cropeditor/cropeditor.cpp
bvt1swaggington4/BreakingKShare
678805725bb88c0dbd4759ed60b0fee512035f0a
[ "MIT" ]
null
null
null
#include "cropeditor.hpp" #include "cropscene.hpp" #include "cropview.hpp" #include <QApplication> #include <QGraphicsPixmapItem> #include <QGraphicsView> #include <QScreen> #include <QTimer> #include <settings.hpp> CropEditor::CropEditor(QPixmap *image, QObject *parent) : QObject(parent) { scene = new CropScene(...
26.525
78
0.685203
bvt1swaggington4
1d97b0b71914c0f35c334e9a6b01c269680a77fa
762
cpp
C++
src/main/cpp/subsystems/Climber.cpp
Team1507/DotMatrix2021
ee066d6c4a78d7567dd0f018be66aa2d10b8c8e2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/subsystems/Climber.cpp
Team1507/DotMatrix2021
ee066d6c4a78d7567dd0f018be66aa2d10b8c8e2
[ "BSD-3-Clause" ]
1
2021-06-13T17:16:20.000Z
2021-06-13T17:16:20.000Z
src/main/cpp/subsystems/Climber.cpp
Team1507/DotMatrix2021
ee066d6c4a78d7567dd0f018be66aa2d10b8c8e2
[ "BSD-3-Clause" ]
null
null
null
#include "subsystems/Climber.h" #include "Robot.h" #define LIGHTSABER_UP_MULTIPLIER .5 #define LIGHTSABER_DOWN_MULTIPLIER .25 #define WINCH_POWER 0.1 #define REVERSE_WINCH_POWER 0.1 #include "subsystems/Climber.h" Climber::Climber() { m_isClimbActivated = false; } void Climber::Periodic() {} void Climber::Mo...
17.72093
46
0.750656
Team1507
1d9b9176ea1157da1449f8ab04f0950dee6359ad
17,167
cpp
C++
genfile/src/VariantIdentifyingData.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
genfile/src/VariantIdentifyingData.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
genfile/src/VariantIdentifyingData.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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) #include <string> #include <vector> #include <algorithm> #include <limits> #include <cassert> #include <...
31.731978
151
0.652473
gavinband
1d9de16736a99e040646951ff4b7bea5e6a4268c
3,828
cpp
C++
src/primitive/unit_cube.cpp
kevin-lesenechal/glare
774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1
[ "MIT" ]
null
null
null
src/primitive/unit_cube.cpp
kevin-lesenechal/glare
774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1
[ "MIT" ]
null
null
null
src/primitive/unit_cube.cpp
kevin-lesenechal/glare
774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1
[ "MIT" ]
null
null
null
/****************************************************************************** * Copyright © 2020 Kévin Lesénéchal <kevin.lesenechal@gmail.com> * * * * This file is part of the GLARE project, published under the terms of the * ...
53.915493
80
0.344566
kevin-lesenechal
1d9edb793ec794c1d5faf76bda39dbc4273b7690
26,462
cpp
C++
src/TpMMPD/ImageSimpleProjection.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-05-19T20:04:00.000Z
2021-05-19T20:04:00.000Z
src/TpMMPD/ImageSimpleProjection.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
null
null
null
src/TpMMPD/ImageSimpleProjection.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-04-20T10:29:33.000Z
2021-04-20T10:29:33.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
35.282667
174
0.638916
peppsac
1da2dca6e84728c546aa084040599a3bafbbd5ff
13,244
cpp
C++
Samples/Win7Samples/dataaccess/oledb/tablecopy/error.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/dataaccess/oledb/tablecopy/error.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/dataaccess/oledb/tablecopy/error.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
//----------------------------------------------------------------------------- // Microsoft OLE DB TABLECOPY Sample // Copyright (C) 1991-2000 Microsoft Corporation // // @doc // // @module ERROR.CPP // //----------------------------------------------------------------------------- /////////////////////////...
31.836538
316
0.639384
windows-development
1da58536f103c72375f81a25fbc40976aa26d10f
8,627
cc
C++
src/writer/msl/generator_impl_import_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/writer/msl/generator_impl_import_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/writer/msl/generator_impl_import_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint 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 ...
39.392694
79
0.584444
jhanssen
1dadbfa9e2ee0b4f79279518e89fcf6ca2793857
1,285
cpp
C++
Appearance/Field.cpp
OGRECave/x3ogre
18c336f030b85abf9ba0fb06413127b60b485a29
[ "MIT" ]
1
2021-09-18T12:50:35.000Z
2021-09-18T12:50:35.000Z
Appearance/Field.cpp
OGRECave/x3ogre
18c336f030b85abf9ba0fb06413127b60b485a29
[ "MIT" ]
null
null
null
Appearance/Field.cpp
OGRECave/x3ogre
18c336f030b85abf9ba0fb06413127b60b485a29
[ "MIT" ]
null
null
null
/* * Field.cpp * * Created on: 27.08.2014 * Author: baudenri */ #include <Appearance/Field.h> #include <OgreStringConverter.h> #include <OgreLogManager.h> using namespace X3D; void Field::name(const std::string& name) { _name = name; } void Field::type(const std::string& type) { _type = type; } void Fie...
23.363636
110
0.680156
OGRECave
1dae333cd4fdc0567d1347bfefe93cbbe838b928
1,684
cpp
C++
abstract.cpp
Aaqib925/Cpp
cba7b42a486dd8e5c734f0d8907c53c64d47617b
[ "MIT" ]
2
2020-09-23T14:11:29.000Z
2020-09-26T14:44:12.000Z
abstract.cpp
Aaqib925/Cpp
cba7b42a486dd8e5c734f0d8907c53c64d47617b
[ "MIT" ]
null
null
null
abstract.cpp
Aaqib925/Cpp
cba7b42a486dd8e5c734f0d8907c53c64d47617b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // The type of class which can't be instanciated, or object can't be created for it // We make abstract class using pure virtual functions, Also the memeber functions can't be accessed // If we create a child class of abstract class, then we can use the member functions easily,...
18.505495
100
0.591449
Aaqib925
1db4bf5374e4911709590461611cf6f1b412739a
10,369
hpp
C++
include/UnityEngine/UI/SpriteState.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/SpriteState.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/SpriteState.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: Sy...
56.661202
373
0.734015
Fernthedev
1db6865fcbc7302c567790f684fe8569ac581dd7
2,290
cpp
C++
Lumos/src/Platform/OpenGL/GLVertexBuffer.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
2
2020-10-21T06:52:11.000Z
2020-11-16T01:21:00.000Z
Lumos/src/Platform/OpenGL/GLVertexBuffer.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
null
null
null
Lumos/src/Platform/OpenGL/GLVertexBuffer.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "GLVertexBuffer.h" #include "GLPipeline.h" #include "GL.h" namespace Lumos { namespace Graphics { static u32 BufferUsageToOpenGL(const BufferUsage usage) { switch (usage) { case BufferUsage::STATIC: return GL_STATIC_DRAW; case BufferUsage::DYNAMIC: return GL_DYNAMI...
22.673267
83
0.652402
rzvxa
1db8b64d26b86a8cdf3b299b630c665bbcc090e0
550
cpp
C++
exploringBB/chp11/QtSocketsAccelerometer/sensorsample.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
1
2019-05-28T18:38:29.000Z
2019-05-28T18:38:29.000Z
exploringBB/chp11/QtSocketsAccelerometer/sensorsample.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
exploringBB/chp11/QtSocketsAccelerometer/sensorsample.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
/* A Qt-based Accelerometer application * Written by Derek Molloy for the book "Exploring BeagleBone: Tools and * Techniques for Building with Embedded Linux" by John Wiley & Sons, 2014 * ISBN 9781118935125. Please see the file README.md in the repository root * directory for copyright and GNU GPLv3 license informati...
28.947368
75
0.712727
chaicko
1dc10de1a4f7fd9e186ed1abad7e2f08699a0138
4,376
cc
C++
examples/ninaboat/main.cc
Millisman/not365bms.doc
ce49e1da8ba22ac0cbce858d24b688a6d3d9f428
[ "Unlicense" ]
null
null
null
examples/ninaboat/main.cc
Millisman/not365bms.doc
ce49e1da8ba22ac0cbce858d24b688a6d3d9f428
[ "Unlicense" ]
null
null
null
examples/ninaboat/main.cc
Millisman/not365bms.doc
ce49e1da8ba22ac0cbce858d24b688a6d3d9f428
[ "Unlicense" ]
null
null
null
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/power.h> #include <avr/wdt.h> #include <util/delay.h> #include <stdlib.h> #include <math.h> #include "mcu/watchdog.h" #include "mcu/usart.h" #include "mcu/pin.h" #include "stream/uartstream.h" #include <avr/sleep.h> #include "protocol/ninaboat.h" protocol::N...
31.257143
120
0.577468
Millisman
1dc413919fe47a9e5df06c266f16261ded19809f
1,277
hpp
C++
bmellon/d01/ex00/Pony.hpp
Hawzaz/piscine_cpp
ed842641c6034f6b4c402a88e5f4faabbb27d43b
[ "MIT" ]
null
null
null
bmellon/d01/ex00/Pony.hpp
Hawzaz/piscine_cpp
ed842641c6034f6b4c402a88e5f4faabbb27d43b
[ "MIT" ]
null
null
null
bmellon/d01/ex00/Pony.hpp
Hawzaz/piscine_cpp
ed842641c6034f6b4c402a88e5f4faabbb27d43b
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Pony.hpp :+: :+: :+: ...
36.485714
80
0.260767
Hawzaz
1dc414ec1e7529d77d27a5e51d7f3d51f3e6e118
6,124
cpp
C++
thirdparty/g2o/unit_test/solver/linear_solver_test.cpp
Dung-ND/xivo
47defabf05173559f694e2416e49d6b70e9d5a82
[ "BSD-4-Clause-UC" ]
34
2019-08-20T00:14:49.000Z
2019-08-22T22:37:49.000Z
thirdparty/g2o/unit_test/solver/linear_solver_test.cpp
Dung-ND/xivo
47defabf05173559f694e2416e49d6b70e9d5a82
[ "BSD-4-Clause-UC" ]
null
null
null
thirdparty/g2o/unit_test/solver/linear_solver_test.cpp
Dung-ND/xivo
47defabf05173559f694e2416e49d6b70e9d5a82
[ "BSD-4-Clause-UC" ]
1
2019-08-21T18:49:10.000Z
2019-08-21T18:49:10.000Z
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard // 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 r...
39.766234
99
0.733834
Dung-ND
1dc597229f91593fa1ef6e72be145158c106ee16
12,176
cpp
C++
src/lib/gui/glfw_window.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
src/lib/gui/glfw_window.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
src/lib/gui/glfw_window.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
/* * (C) Copyright 2019 * The Seraphim Project Developers. * * SPDX-License-Identifier: MIT */ #include <iostream> #include <thread> #include "seraphim/except.h" #include "seraphim/gui/glfw_window.h" using namespace sph; using namespace sph::gui; GLFWWindow::GLFWWindow(const std::string &title) : m_ui_active(f...
38.169279
99
0.599047
raymanfx
1dca8a35c318b7f34dc54026463e1f1e7cf8460e
1,825
cpp
C++
benchmark/src/bm_math_addition.cpp
tobiashienzsch/tcc
0311a92804fb32baca8b562bb18683e40f4686e2
[ "MIT" ]
null
null
null
benchmark/src/bm_math_addition.cpp
tobiashienzsch/tcc
0311a92804fb32baca8b562bb18683e40f4686e2
[ "MIT" ]
null
null
null
benchmark/src/bm_math_addition.cpp
tobiashienzsch/tcc
0311a92804fb32baca8b562bb18683e40f4686e2
[ "MIT" ]
null
null
null
#include <benchmark/benchmark.h> #include "tcvm/vm/vm.hpp" namespace { constexpr auto addition(int64_t x, int64_t y) -> int64_t { auto const l1 = x + y; auto const l2 = y + 10; return l1 + l2; }; static_assert(addition(10, 10) == 40); static_assert(addition(7, 10) == 37); auto const createAdditionAssemb...
25.347222
75
0.547945
tobiashienzsch
1dd301a8297fb32dd250de560ba4025b770c8705
1,798
cpp
C++
net.ssa/Editor/Edit/visibilitytester.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Editor/Edit/visibilitytester.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Editor/Edit/visibilitytester.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #pragma hdrstop #include "visibilitytester.h" #include "ui_main.h" void CFrustumClipper::Projection (float fAspect, float FOV, float N, float F) { fFarPlane = F; float YFov = FOV; float XFov = FOV/fAspect; // calc window extents in camera coords wR=tan(XFov*0.5f); wL=-wR; wT=...
29.47541
79
0.64238
ixray-team
1b8cacaca710a50d1570a7fc593c3efe4ead3d3a
3,466
cpp
C++
src/gcbiprotocol.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
src/gcbiprotocol.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
src/gcbiprotocol.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
/* Copyright 2010 Trevor Hogan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
28.409836
235
0.612522
quazm
1b8fd15137d79196c2a63799247909c7e1b16b12
3,257
hpp
C++
SDK/ARKSurvivalEvolved_net_RIG_AnimBlueprint_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_net_RIG_AnimBlueprint_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_net_RIG_AnimBlueprint_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_net_RIG_AnimBlueprint_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //------------------------------------------------...
43.426667
159
0.798281
2bite
1b91dc137071bc9acb44e9c804a80f275eccae4d
1,905
hpp
C++
boost/proto/v5/grammar/switch.hpp
ericniebler/proto-0x
b8d80f1434e37a2a32613cdf58b02b5f7143cc1f
[ "BSL-1.0" ]
11
2016-10-27T08:55:56.000Z
2021-04-16T03:30:17.000Z
boost/proto/v5/grammar/switch.hpp
ericniebler/proto-0x
b8d80f1434e37a2a32613cdf58b02b5f7143cc1f
[ "BSL-1.0" ]
2
2019-02-05T17:13:02.000Z
2019-02-05T18:34:53.000Z
boost/proto/v5/grammar/switch.hpp
ericniebler/proto-0x
b8d80f1434e37a2a32613cdf58b02b5f7143cc1f
[ "BSL-1.0" ]
1
2021-02-26T17:15:12.000Z
2021-02-26T17:15:12.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // switch.hpp // Contains the behavior of proto::switch_ when used as a grammar element. // // Copyright 2012 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICE...
32.844828
122
0.508661
ericniebler
1b95a2a2a7a30be72b1b017af2020e2e997fce7f
3,292
cc
C++
fs/ELF.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
53
2021-02-24T04:09:41.000Z
2022-03-30T20:27:12.000Z
fs/ELF.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
4
2021-03-03T10:16:42.000Z
2022-03-10T16:43:40.000Z
fs/ELF.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
5
2021-03-03T07:28:17.000Z
2022-03-05T14:53:10.000Z
// Copyright (c) 2021 Marco Wang <m.aesophor@gmail.com>. All rights reserved. #include <fs/ELF.h> #include <Algorithm.h> #include <dev/Console.h> #include <libs/CString.h> #include <mm/MemoryManager.h> #define ELF_MAGIC "\x7f" "ELF" #define ELF_MAGIC_LEN 4 namespace valkyrie::kernel { ELF::ELF(Pair<const char*,...
31.352381
92
0.605103
aesophor
1b9680fd8a69c9aa078b7afa98daf0cb33940175
6,403
cpp
C++
cnr_configuration_manager/src/joy_teach_pendant.cpp
CNR-STIIMA-IRAS/cnr_ros_control
4cf8827a6a2a880f78531a8b5710b01346722138
[ "BSD-3-Clause" ]
2
2021-04-22T19:54:23.000Z
2021-11-06T00:15:23.000Z
cnr_configuration_manager/src/joy_teach_pendant.cpp
CNR-STIIMA-IRAS/cnr_ros_control
4cf8827a6a2a880f78531a8b5710b01346722138
[ "BSD-3-Clause" ]
2
2021-11-22T10:10:29.000Z
2021-11-29T15:19:07.000Z
cnr_configuration_manager/src/joy_teach_pendant.cpp
CNR-STIIMA-IRAS/cnr_ros_control
4cf8827a6a2a880f78531a8b5710b01346722138
[ "BSD-3-Clause" ]
1
2020-07-07T15:47:28.000Z
2020-07-07T15:47:28.000Z
/* * Software License Agreement (New BSD License) * * Copyright 2020 National Council of Research of Italy (CNR) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redist...
36.798851
139
0.695924
CNR-STIIMA-IRAS
1b9ca9f83651fcef954ebaf52a2947615f5d4c40
3,070
cpp
C++
tools/HintRefactor/HintRefactor.cpp
BernardYuan/CppHint
d0a37f927a68c23212068036dd34140bd3a33377
[ "BSD-3-Clause" ]
null
null
null
tools/HintRefactor/HintRefactor.cpp
BernardYuan/CppHint
d0a37f927a68c23212068036dd34140bd3a33377
[ "BSD-3-Clause" ]
null
null
null
tools/HintRefactor/HintRefactor.cpp
BernardYuan/CppHint
d0a37f927a68c23212068036dd34140bd3a33377
[ "BSD-3-Clause" ]
null
null
null
#include "clang/ASTMatchers/ASTMatchFinder.h" #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/Frontend/FrontendActions.h" #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Core/Replacement.h" #include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Tooling.h" #include "llvm/Option...
35.287356
80
0.687622
BernardYuan
1ba03e02bfacfbb3e6d99943d2bb4d8474a9c7c2
1,617
cpp
C++
examples.cpp
pvhoffman/smnn
15353a14e2750599a418a171dd5c57a088dec502
[ "MIT" ]
2
2019-05-16T00:58:13.000Z
2019-05-24T09:42:25.000Z
examples.cpp
pvhoffman/smnn
15353a14e2750599a418a171dd5c57a088dec502
[ "MIT" ]
null
null
null
examples.cpp
pvhoffman/smnn
15353a14e2750599a418a171dd5c57a088dec502
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstdlib> #include "smneuralnet.h" #include "higgs.h" void higgs_signal_prediction() { const char* training_samples_filename = "training-x.out"; const char* labels_filename = "training-y.out"; const char* data_filename = "test-x.out"; const c...
25.666667
147
0.507112
pvhoffman
1ba1d4ab8132ac54602339eeadbc4401c15cad42
1,094
cpp
C++
Problems/710_Greedy_Algorithm/1744_Binding_Numbers/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
2
2020-12-06T15:29:21.000Z
2020-12-07T14:37:14.000Z
Problems/710_Greedy_Algorithm/1744_Binding_Numbers/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
1
2020-12-22T14:25:22.000Z
2020-12-22T14:25:22.000Z
Problems/710_Greedy_Algorithm/1744_Binding_Numbers/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <utility> using namespace std; void cppIOInitialize() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } int main() { int n; cin >> n; int zero = 0; int one = 0; vector<int> pos; vector<int> neg...
15.194444
68
0.421389
usernameSplash
1ba22a1fc59ce598e59447808c8c32fb54031c3d
562
hpp
C++
include/mtx/events/reaction.hpp
caanasc/mtxclient
ed6315563409ce9d47978ff2a2d771b863e375c5
[ "MIT" ]
null
null
null
include/mtx/events/reaction.hpp
caanasc/mtxclient
ed6315563409ce9d47978ff2a2d771b863e375c5
[ "MIT" ]
null
null
null
include/mtx/events/reaction.hpp
caanasc/mtxclient
ed6315563409ce9d47978ff2a2d771b863e375c5
[ "MIT" ]
null
null
null
#pragma once #if __has_include(<nlohmann/json_fwd.hpp>) #include <nlohmann/json_fwd.hpp> #else #include <nlohmann/json.hpp> #endif #include <string> #include "mtx/events/common.hpp" namespace mtx { namespace events { namespace msg { //! Content for the `m.reaction` event. struct Reaction { //! The event be...
17.030303
54
0.708185
caanasc
1ba2a0a2434541c7f2ef8227593c999a87d05640
2,097
cpp
C++
Source/DlgSystemEditor/Private/DialogueEditor/DetailsPanel/DialogueParticipantName_Details.cpp
notyetgames/DlgSystem
6d3b02d52b80b722b23950a5587331c6cb57df4c
[ "MIT" ]
6
2019-07-23T10:21:04.000Z
2019-10-15T01:13:41.000Z
Source/DlgSystemEditor/Private/DialogueEditor/DetailsPanel/DialogueParticipantName_Details.cpp
notyetgames/DlgSystem
6d3b02d52b80b722b23950a5587331c6cb57df4c
[ "MIT" ]
1
2019-10-28T05:37:21.000Z
2019-10-28T08:19:12.000Z
Source/DlgSystemEditor/Private/DialogueEditor/DetailsPanel/DialogueParticipantName_Details.cpp
notyetgames/DlgSystem
6d3b02d52b80b722b23950a5587331c6cb57df4c
[ "MIT" ]
1
2019-10-22T18:57:24.000Z
2019-10-22T18:57:24.000Z
// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved. #include "DialogueParticipantName_Details.h" #include "IDetailPropertyRow.h" #include "IPropertyUtilities.h" #include "IDetailChildrenBuilder.h" #include "Components/PrimitiveComponent.h" #include "DialogueEditor/DetailsPanel/Widgets/SDialogueTextPropertyP...
40.326923
168
0.811636
notyetgames
1ba66dceca2362938d172eced5b0223a6727bda5
1,381
cpp
C++
src/test/unit/unit_overflow_collisions.cpp
adl/robin-hood-hashing
f7770e9469ae4d4fd3fb05b753d2fe9ea7283db8
[ "MIT" ]
null
null
null
src/test/unit/unit_overflow_collisions.cpp
adl/robin-hood-hashing
f7770e9469ae4d4fd3fb05b753d2fe9ea7283db8
[ "MIT" ]
null
null
null
src/test/unit/unit_overflow_collisions.cpp
adl/robin-hood-hashing
f7770e9469ae4d4fd3fb05b753d2fe9ea7283db8
[ "MIT" ]
1
2020-08-19T13:06:00.000Z
2020-08-19T13:06:00.000Z
#include <robin_hood.h> #include <app/CtorDtorVerifier.h> #include <app/doctest.h> #include <app/hash/Bad.h> TEST_CASE_TEMPLATE( "collisions", Map, robin_hood::unordered_flat_map<CtorDtorVerifier, CtorDtorVerifier, hash::Bad<CtorDtorVerifier>>, robin_hood::unordered_node_map<CtorDtorVerifier, CtorDtorVeri...
30.021739
100
0.580739
adl
1ba9a775051318eb763f4f2173469ac7a66273ec
704
cpp
C++
src/input_parser.cpp
hakmao/mazehunt
e63158892b6a208f93bccd92156b83271245c933
[ "MIT" ]
null
null
null
src/input_parser.cpp
hakmao/mazehunt
e63158892b6a208f93bccd92156b83271245c933
[ "MIT" ]
null
null
null
src/input_parser.cpp
hakmao/mazehunt
e63158892b6a208f93bccd92156b83271245c933
[ "MIT" ]
null
null
null
#include <algorithm> #include "input_parser.h" InputParser::InputParser(int &argc, char *argv[]) { for (int i{1}; i < argc; ++i) this->tokens.push_back(std::string(argv[i])); } const std::string &InputParser::getStr(const std::string &option) { std::vector<std::string>::const_iterator itr; itr = s...
27.076923
93
0.630682
hakmao
1ba9d82f3e150f9b0c0c30bad2e2feec084c4a6a
5,181
hpp
C++
test/faketransport.hpp
katreniak/cppwamp
b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9
[ "BSL-1.0" ]
null
null
null
test/faketransport.hpp
katreniak/cppwamp
b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9
[ "BSL-1.0" ]
null
null
null
test/faketransport.hpp
katreniak/cppwamp
b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9
[ "BSL-1.0" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright Butterfly Energy Systems 2014-2015. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LI...
31.023952
81
0.572283
katreniak
1baf9180a79e46a46c4cf692f2428d37c829c112
3,712
hpp
C++
unit_tests/testutils.hpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
6
2020-09-23T15:38:28.000Z
2021-11-16T20:39:21.000Z
unit_tests/testutils.hpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
null
null
null
unit_tests/testutils.hpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
2
2021-10-04T22:16:48.000Z
2022-02-25T00:32:40.000Z
// Copyright 2018-2020 Lexis Nexis Risk Solutions // // 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 applicabl...
39.073684
161
0.730873
BrentP-tmx
1bb15a39a3ab7fec89961ff81f228790ac662065
12,641
cpp
C++
src/States/BrowseState.cpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
9
2016-12-31T19:56:26.000Z
2018-08-19T19:40:25.000Z
src/States/BrowseState.cpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
null
null
null
src/States/BrowseState.cpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
4
2017-01-06T16:21:47.000Z
2022-03-25T17:56:39.000Z
#include "BrowseState.hpp" #include "SyncState.hpp" #include "../Notification.hpp" #include "../AssetManager.hpp" #include "../Util.hpp" #include "../Installer.hpp" #include "SleepState.hpp" #include "../InstalledList.hpp" #include "../Config.hpp" #include "../TitleKeys.hpp" #include "../FreeShop.hpp" #include <TweenEn...
26.171843
212
0.722095
AbyssAlley
1bb1c6873454fcc544c5ae2014c1ad0938cfa57b
12,875
cpp
C++
lib/src/itm-solver-inequalities-101.cpp
quesnel/baryonyx
4ae0ef37cd7f53556b7c9f259fc114a48a293d57
[ "MIT" ]
8
2018-01-23T03:17:28.000Z
2022-03-24T20:37:54.000Z
lib/src/itm-solver-inequalities-101.cpp
quesnel/baryonyx
4ae0ef37cd7f53556b7c9f259fc114a48a293d57
[ "MIT" ]
24
2017-09-22T08:28:45.000Z
2020-05-06T11:06:05.000Z
lib/src/itm-solver-inequalities-101.cpp
quesnel/baryonyx
4ae0ef37cd7f53556b7c9f259fc114a48a293d57
[ "MIT" ]
2
2018-01-22T12:29:17.000Z
2018-12-10T16:13:07.000Z
/* Copyright (C) 2016-2019 INRA * * 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, * ...
30.437352
79
0.521087
quesnel
1bb2f8c9723db9c500684f51d263a8898be5c980
803
cpp
C++
TowerUp/TowerUp/GameStarter.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
TowerUp/TowerUp/GameStarter.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
TowerUp/TowerUp/GameStarter.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GameStarter.h" #include "Game.h" #include "ModuleResources.h" #include "GameplaySceneLoader.h" GameStarter::GameStarter() : _text(), Entity("GameStarter", EntityType::UI) { _text.setFont(*game->Resources().GetFont(FontType::Sansation)); _text.setCharacterSize(30); _text.setString("P...
21.131579
64
0.721046
PereViader
1bb3feb331ba44d50317776088e3cf4c2884a0b1
6,792
cpp
C++
wxWidgets-3.1.0/src/qt/glcanvas.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
wxWidgets-3.1.0/src/qt/glcanvas.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
wxWidgets-3.1.0/src/qt/glcanvas.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/qt/glcanvas.cpp // Author: Sean D'Epagnier // Copyright: (c) Sean D'Epagnier 2014 // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec....
26.740157
87
0.52606
screwjack
1bb7fe57bf485d85f866221f2918d4a9de4bea18
827
cpp
C++
UnitTests/src/CanvasTests.cpp
RyanAlterman/Light
68b5e740e1d960671866675834e29ec2196dd437
[ "MIT" ]
null
null
null
UnitTests/src/CanvasTests.cpp
RyanAlterman/Light
68b5e740e1d960671866675834e29ec2196dd437
[ "MIT" ]
null
null
null
UnitTests/src/CanvasTests.cpp
RyanAlterman/Light
68b5e740e1d960671866675834e29ec2196dd437
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "Photon/Canvas.hpp" using namespace Photon; TEST(Canvas_Tests, Constructor) { Canvas image{10U, 20U}; EXPECT_EQ(10, image.getWidth()); EXPECT_EQ(20, image.getHeight()); for (int i = 0; i < image.getHeight(); i++) for (int j = 0; j < image.getWidth(); j++) {...
26.677419
53
0.602177
RyanAlterman
1bba04e223c8dbab07567fd7ae6f5b12064e32c2
1,061
cpp
C++
Day 5/link.cpp
jiaangli/Basic_CPP
2786da8b8b4c14e71857ea1b06c895c5656a2696
[ "MIT" ]
1
2021-01-22T14:15:06.000Z
2021-01-22T14:15:06.000Z
Day 5/link.cpp
LearnAndRecord-Ang/cpp-re-learn
67f28abc9f4dd2b7a53d0138e689778d1d70aeb2
[ "MIT" ]
null
null
null
Day 5/link.cpp
LearnAndRecord-Ang/cpp-re-learn
67f28abc9f4dd2b7a53d0138e689778d1d70aeb2
[ "MIT" ]
null
null
null
//9_7.cpp #include <iostream> #include "LinkedList.h" using namespace std; int main() { LinkedList<int> list; int item[5] = {5,4,3,2,1}; //输入5个整数依次向表头插入 for (int i = 0; i < 5; i++) { list.insertAfter(item[i]); // list.reset(); } //输出链表 cout << "List: "; list.reset(); //输出各结点数据,直到链表尾 while (!list.endOfL...
18.614035
63
0.536287
jiaangli
1bbaebc69663c839e4b399b5c46befe258fee943
5,896
cpp
C++
modules/core/container/table/unit/table/erase.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/container/table/unit/table/erase.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/container/table/unit/table/erase.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
50.393162
194
0.367368
psiha
1bbb8af8cad67037e66d8c62cd92e364357e1f39
3,817
hpp
C++
3rdparty/libprocess/src/windows/subprocess.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
185
2015-01-02T01:29:36.000Z
2022-03-25T02:39:13.000Z
3rdparty/libprocess/src/windows/subprocess.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
19
2018-09-26T14:18:14.000Z
2021-11-30T17:29:23.000Z
3rdparty/libprocess/src/windows/subprocess.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
68
2015-01-13T02:12:28.000Z
2022-03-03T08:24:43.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed ...
32.07563
78
0.692429
zagrev
1bbbe30c3a0e7fddd23059c5bc9e810ccbef1cd0
70
cpp
C++
source/dummy-header-includes/kickstart/root/core/text-encoding/utf8/bom.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
2
2021-09-21T18:34:27.000Z
2022-02-13T02:50:57.000Z
source/dummy-header-includes/kickstart/root/core/text-encoding/utf8/bom.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
source/dummy-header-includes/kickstart/root/core/text-encoding/utf8/bom.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
#include <kickstart/main_library/core/text-encoding/ns▸utf8/bom.hpp>
35
69
0.8
progrock-libraries
1bbd99e41f59d6b5c1a2656f625d54cf471da803
18,522
cpp
C++
tools/Vitis-AI-Runtime/VART/vart/runner/src/tensor_buffer.cpp
sharifkaiser/Vitis-AI_1.3.1_origin
932d3cfb799336108e15bc5d6904c2dacc111c8b
[ "Apache-2.0" ]
1
2021-04-01T06:38:48.000Z
2021-04-01T06:38:48.000Z
tools/Vitis-AI-Runtime/VART/vart/runner/src/tensor_buffer.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Runtime/VART/vart/runner/src/tensor_buffer.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "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 ...
41.529148
80
0.631843
sharifkaiser
1bbda906ef3546ca95a5b7fac39fa4300c9ba8d1
4,230
cpp
C++
utility/src/dynamictype.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
utility/src/dynamictype.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
utility/src/dynamictype.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
// utility/src/dynamictype.cpp // // Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // 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. // #include...
22.263158
89
0.630496
joydit
1bbe00bde3d1d293d7bb3015489e9d298718de98
17,324
cpp
C++
VSDataReduction/VSScaledParameterLibrary.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSDataReduction/VSScaledParameterLibrary.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSDataReduction/VSScaledParameterLibrary.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VSScaledParameterLibrary.cpp Library of scaled parameters (MSCW, MSCL etc..) \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \version 1.0 \date 08/23/2007 */ #include<vs...
27.238994
79
0.667051
sfegan
1bc2ddf9cc17e67cf45375987c37dd7c91836f4e
1,480
cpp
C++
src/Ext/Techno/Hooks.Cursor.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
4
2021-04-24T04:34:06.000Z
2021-09-19T13:55:33.000Z
src/Ext/Techno/Hooks.Cursor.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
null
null
null
src/Ext/Techno/Hooks.Cursor.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
2
2021-08-17T14:44:45.000Z
2021-09-19T11:02:04.000Z
#include "Body.h" #include <AircraftClass.h> #include <BuildingClass.h> // NOTE! enabling this hook breaks tank bunker. (#1155833) //A_FINE_HOOK(6FFF03, TechnoClass_GetCursorOverObject, A) //{ // enum { // Cursor_Select = 0x6FFF7E, // Cursor_None = 0x7005E6, // Cursor_ToggleSelect = 0x700104, // Curso...
29.6
103
0.681757
Otamaa
1bcca6550bf9f67c2fa5efd4776a34acc285edba
177
cpp
C++
plugins/dukpp-03/mutex.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
plugins/dukpp-03/mutex.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
plugins/dukpp-03/mutex.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "dukpp-03/mutex.h" #include "db/dbtypename.h" sad::dukpp03::Mutex::Mutex() { } sad::dukpp03::Mutex::~Mutex() { } DECLARE_COMMON_TYPE(sad::dukpp03::Mutex)
11.0625
40
0.644068
mamontov-cpp
1bcd221f6e5c5af544761e91ead0a04032dc5ca2
15,703
cpp
C++
runtime/jit-rt/cpp-so/compile.cpp
symmetryinvestments/ldc
cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2
[ "Apache-2.0" ]
858
2015-01-02T10:06:15.000Z
2022-03-30T18:26:49.000Z
runtime/jit-rt/cpp-so/compile.cpp
symmetryinvestments/ldc
cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2
[ "Apache-2.0" ]
2,533
2015-01-04T14:31:13.000Z
2022-03-31T22:12:24.000Z
runtime/jit-rt/cpp-so/compile.cpp
symmetryinvestments/ldc
cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2
[ "Apache-2.0" ]
220
2015-01-06T05:24:36.000Z
2022-03-13T10:47:32.000Z
//===-- compile.cpp -------------------------------------------------------===// // // LDC – the LLVM D compiler // // This file is distributed under the Boost Software License. See the LICENSE // file for details. // //===----------------------------------------------------------------------===...
32.178279
80
0.621919
symmetryinvestments
1bcdee4aa372a42906884d22c6fe0cd9de50bd8d
96
hh
C++
src/backends/simple/simple.hh
IkerGalardi/liblinalg
b7b436f282f592371babcc496aab232eab430dd8
[ "BSD-3-Clause" ]
null
null
null
src/backends/simple/simple.hh
IkerGalardi/liblinalg
b7b436f282f592371babcc496aab232eab430dd8
[ "BSD-3-Clause" ]
18
2021-12-01T10:17:10.000Z
2022-02-14T18:18:14.000Z
src/backends/simple/simple.hh
IkerGalardi/liblinalg
b7b436f282f592371babcc496aab232eab430dd8
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "vector_ops.hh" #include "matrix_ops.hh" #include "matrix_vector_ops.hh"
16
31
0.770833
IkerGalardi
1bd09ca6856be4be9dcc8672bfce1854068b453d
4,844
cpp
C++
src/timer.cpp
zhouxingtuan/betaProxy
8ef4bda26ecc586b0bf9d9383b333962e2f14c2d
[ "BSD-2-Clause" ]
8
2017-03-20T04:21:44.000Z
2019-05-23T02:55:22.000Z
src/timer.cpp
zhouxingtuan/betaProxy
8ef4bda26ecc586b0bf9d9383b333962e2f14c2d
[ "BSD-2-Clause" ]
null
null
null
src/timer.cpp
zhouxingtuan/betaProxy
8ef4bda26ecc586b0bf9d9383b333962e2f14c2d
[ "BSD-2-Clause" ]
2
2017-07-10T14:19:29.000Z
2021-05-25T08:46:12.000Z
// // Created by IntelliJ IDEA. // User: AppleTree // Date: 16/10/12 // Time: 下午9:13 // To change this template use File | Settings | File Templates. // #include "timer.h" #include "proxy.h" NS_HIVE_BEGIN bool TimerObject::setTimer(int64 timeCount, Timer* pTimer){ if(NULL == pTimer){ return Proxy::getInstance()->...
24.841026
88
0.699216
zhouxingtuan
1bd228ed9e14b53867bfa427773fd81c9efac7f5
1,033
cpp
C++
PositionSquare.cpp
gimip/pgcity
d3793ba1dcade4a9ef74b8c178fda07fc248062d
[ "MIT" ]
null
null
null
PositionSquare.cpp
gimip/pgcity
d3793ba1dcade4a9ef74b8c178fda07fc248062d
[ "MIT" ]
null
null
null
PositionSquare.cpp
gimip/pgcity
d3793ba1dcade4a9ef74b8c178fda07fc248062d
[ "MIT" ]
null
null
null
#include "PositionSquare.hpp" #include "Object.hpp" PositionSquare::PositionSquare() { objects = new std::list<Object*>(); // blocks = new std::list<Block*>(); numberOfNodes = 0; numberOfRoads = 0; numberOfBuildings = 0; timeToBeDeleted = 0.0; } PositionSquare::~PositionSquare() { //dtor } void P...
19.865385
104
0.647628
gimip
1bd4fb36ad7641a0d9d8d8dc769b349b3e3872a9
4,032
cpp
C++
src/org/apache/poi/poifs/storage/RawDataBlock.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/storage/RawDataBlock.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/storage/RawDataBlock.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/storage/RawDataBlock.java #include <org/apache/poi/poifs/storage/RawDataBlock.hpp> #include <java/io/IOException.hpp> #include <java/lang/Class.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/Object.hpp> #include <java/lang/String.hpp> #include <j...
30.089552
209
0.660714
pebble2015
1bda0151bcbd1595d4916c5dca251b0200bdc86c
3,464
cpp
C++
Project Mania/Source/Data/ComponentData.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/Data/ComponentData.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/Data/ComponentData.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
#include "Pch.h" #include "Data/ComponentData.h" #include "Game/Game.h" #include "Parts/Equipment.h" #include "Parts/Item.h" #include "Parts/Weapon.h" #include "Parts/Upgrade.h" namespace { auto CanApply(const Map<int, int>& upgrades, SequenceView<ComponentData*> components, int componentIndex, int partIndex, int slo...
28.162602
139
0.718245
larsolm
1bdb277913c258d56c8a2ca2d9406bbf402b91ba
1,764
hpp
C++
Data Structure Review/Chapter 1/CyclicMove.hpp
Freeman449s/Data-Structure-Review
e757c73a1ed75261f26de61afd4ba55df06bfe8d
[ "MIT" ]
null
null
null
Data Structure Review/Chapter 1/CyclicMove.hpp
Freeman449s/Data-Structure-Review
e757c73a1ed75261f26de61afd4ba55df06bfe8d
[ "MIT" ]
null
null
null
Data Structure Review/Chapter 1/CyclicMove.hpp
Freeman449s/Data-Structure-Review
e757c73a1ed75261f26de61afd4ba55df06bfe8d
[ "MIT" ]
null
null
null
#ifndef __CYCLIC_MOVE_HPP__ #define __CYCLIC_MOVE_HPP__ #include <iostream> #include <vector> #include "../Exceptions.hpp" namespace Chapter1 { class CyclicMove { /// <summary> /// 循环移动向量中的元素 /// </summary> public: /// <summary> /// 将向量中的一部分元素逆置 /// </summary> ...
30.947368
96
0.448413
Freeman449s
1bdbe1379fe650a10d4b43f4080195a2b2dc8bd9
1,549
cpp
C++
Sources/Physics/Colliders/ColliderHeightfield.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Physics/Colliders/ColliderHeightfield.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Physics/Colliders/ColliderHeightfield.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
#include "ColliderHeightfield.hpp" #include <BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h> #include "Scenes/Entity.hpp" namespace acid { ColliderHeightfield::ColliderHeightfield(const int32_t &heightStickWidth, const int32_t &heightStickLength, const void *heightfieldData, const float &minHeight, cons...
27.660714
180
0.799225
liuping1997
1bdcf97c9b2347445cc065937fe44ddd9937e08e
2,266
cpp
C++
src/clients/drcctlib_all_instr_cct_hpc_fmt/drcctlib_all_instr_cct_hpc_fmt.cpp
Ayushi61/DrCCTProf
c104fa3ae0e6274a7e006fe0f97bc6ba726f44cb
[ "MIT" ]
1
2020-09-04T07:40:50.000Z
2020-09-04T07:40:50.000Z
src/clients/drcctlib_all_instr_cct_hpc_fmt/drcctlib_all_instr_cct_hpc_fmt.cpp
Ayushi61/DrCCTProf
c104fa3ae0e6274a7e006fe0f97bc6ba726f44cb
[ "MIT" ]
2
2020-09-06T19:43:36.000Z
2020-09-07T03:59:41.000Z
src/clients/drcctlib_all_instr_cct_hpc_fmt/drcctlib_all_instr_cct_hpc_fmt.cpp
Ayushi61/DrCCTProf
c104fa3ae0e6274a7e006fe0f97bc6ba726f44cb
[ "MIT" ]
1
2020-08-29T01:54:45.000Z
2020-08-29T01:54:45.000Z
/* * Copyright (c) 2020 Xuhpclab. All rights reserved. * Licensed under the MIT License. * See LICENSE file for more information. */ #include "dr_api.h" #include "drmgr.h" #include "drcctlib.h" #include "drcctlib_hpcviewer_format.h" #define DRCCTLIB_PRINTF(format, args...) \ DRCCTLIB_PRINTF_TEMPLATE("all...
29.051282
82
0.683583
Ayushi61
1be3cbadd1301174b2fabd1de08eaf9073638d5a
5,211
cpp
C++
moveit_multi_dof_plans/src/boomerang.cpp
JirkaHarasim/BebopAutoFly
57346762123491de79d99ae7920eba84f486ae43
[ "BSD-3-Clause" ]
null
null
null
moveit_multi_dof_plans/src/boomerang.cpp
JirkaHarasim/BebopAutoFly
57346762123491de79d99ae7920eba84f486ae43
[ "BSD-3-Clause" ]
1
2017-07-02T20:54:10.000Z
2017-07-02T20:54:10.000Z
moveit_multi_dof_plans/src/boomerang.cpp
JirkaHarasim/BebopAutoFly
57346762123491de79d99ae7920eba84f486ae43
[ "BSD-3-Clause" ]
2
2018-11-17T20:10:32.000Z
2020-07-29T15:14:19.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, SRI International * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
37.76087
161
0.733448
JirkaHarasim
1beb2610e9fb8b56b7f61a3756cc7a42bfb6becc
1,966
cpp
C++
src/main.cpp
survivingwithandroid/ESP8266-MQTT-Client
bf41724b480785074746d1cf71510339520fc924
[ "MIT" ]
null
null
null
src/main.cpp
survivingwithandroid/ESP8266-MQTT-Client
bf41724b480785074746d1cf71510339520fc924
[ "MIT" ]
null
null
null
src/main.cpp
survivingwithandroid/ESP8266-MQTT-Client
bf41724b480785074746d1cf71510339520fc924
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <ESP8266WiFi.h> #include <Adafruit_Sensor.h> #include <DHT.h> #include <PubSubClient.h> #define DHT_TYPE DHT11 #define DHT_PIN D5 char data[100]; IPAddress mqttServer(192,168,1,142); const char *SSID = "your-wifi-ssid"; const char *PWD = "your_pwd"; long lastime = 0; void callback(cha...
21.844444
65
0.650051
survivingwithandroid
1bec019851e8cf4262bdfd5bf9931f67f60cb8ed
5,379
cpp
C++
src/DataCenter.cpp
flymaxty/LocalizationServer
a176eb42ff719b5afeee3063f509e4572d6f8366
[ "MIT" ]
null
null
null
src/DataCenter.cpp
flymaxty/LocalizationServer
a176eb42ff719b5afeee3063f509e4572d6f8366
[ "MIT" ]
3
2016-04-06T03:07:54.000Z
2016-04-06T03:10:39.000Z
src/DataCenter.cpp
flymaxty/LocalizationServer
a176eb42ff719b5afeee3063f509e4572d6f8366
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * * Copyright (c) 2016 Tian Ye * * 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, mod...
28.764706
105
0.689905
flymaxty
1beff8a67721c8f754a1a6650cf02c1960a402d2
13,857
cpp
C++
LibGraphics/Surfaces/Wm4BoxSurface.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibGraphics/Surfaces/Wm4BoxSurface.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibGraphics/Surfaces/Wm4BoxSurface.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Restricted Libraries source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4RestrictedLicense.pdf // and may not be copie...
29.928726
78
0.492892
wjezxujian
1bf2f3b88930b6bc8384d45e89554f54aa690a1e
196
cpp
C++
_0708_div2/E.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
_0708_div2/E.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
_0708_div2/E.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n; void solve(){ } int main(){ ios::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while(t--){ solve(); } }
10.315789
28
0.5
mingweihe
1bf34288acd02afec89638fa252ecad30b382def
6,360
hpp
C++
src/ngraph/op/fused/layer_norm.hpp
xintin/ngraph
0a019172190dc51959991ddf072145d6abc6145d
[ "Apache-2.0" ]
1
2019-12-27T05:47:23.000Z
2019-12-27T05:47:23.000Z
src/ngraph/op/fused/layer_norm.hpp
xintin/ngraph
0a019172190dc51959991ddf072145d6abc6145d
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/fused/layer_norm.hpp
xintin/ngraph
0a019172190dc51959991ddf072145d6abc6145d
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 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://w...
44.166667
95
0.508805
xintin
1bf403fde07af9f345624045c2e5873ea2d2ac30
10,005
cpp
C++
3DEngine/Game.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
5
2019-07-23T03:21:04.000Z
2020-08-28T09:09:08.000Z
3DEngine/Game.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
null
null
null
3DEngine/Game.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
3
2019-07-25T01:36:02.000Z
2020-02-15T08:11:19.000Z
#include "Game.h" #include "GameObject/GameObject.h" #include "Render/Render.h" #include "GameObject\PlaneGameObject.h" #include "UI/UIScreen.h" #include "UI/Font.h" #include "Animation/Animation.h" #include "Animation/Skeleton.h" #include "Component/SpriteComponent.h" #include "GameObject/PlaneGameObject.h" #include <...
18.948864
83
0.656772
EricDDK
1bfd1ca275f8afb0fff3c76a8d7ecb7090283203
902
cpp
C++
codes/google/benchmark/timer/timer04/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/google/benchmark/timer/timer04/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/google/benchmark/timer/timer04/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <benchmark/benchmark.h> #include <set> std::set<int64_t> ConstructRandomSet(int64_t size) { std::set<int64_t> s; for (int i = 0; i < size; ++i) s.insert(s.end(), i); return s; } static void BM_SetInsert_With_Timer_Control(benchmark::State& state) { std::set<int64_t> data; for (auto _ : state) { ...
33.407407
85
0.689579
eric2003
1bfe4cca0e54d79e3a224d0ac1f8c4fd4796b272
5,991
hpp
C++
libs/boost_1_72_0/boost/test/data/monomorphic/zip.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/data/monomorphic/zip.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/data/monomorphic/zip.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2001. // 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) // See http://www.boost.org/libs/test for the library home page. // /// @file /// Defines monomorphic dataset based o...
32.737705
80
0.674345
henrywarhurst
40056225f41482391107ce8532c5969f78c28e7b
4,864
cpp
C++
Luna/src/Platform/Windows/WindowsWindow.cpp
michalPietraszko/Luna
a565b3f2cc9af319c2c5f9f4bfe352a598d550f4
[ "Apache-2.0" ]
null
null
null
Luna/src/Platform/Windows/WindowsWindow.cpp
michalPietraszko/Luna
a565b3f2cc9af319c2c5f9f4bfe352a598d550f4
[ "Apache-2.0" ]
null
null
null
Luna/src/Platform/Windows/WindowsWindow.cpp
michalPietraszko/Luna
a565b3f2cc9af319c2c5f9f4bfe352a598d550f4
[ "Apache-2.0" ]
null
null
null
#include "lnpch.h" #include "WindowsWindow.h" #include "Luna/Events/ApplicationEvent.h" #include "Luna/Events/MouseEvent.h" #include "Luna/Events/KeyEvent.h" #include "Platform/OpenGL/OpenGLContext.h" namespace Luna { static bool s_GLFWInitialized = false; static void GLFWErrorCallback(int error, const char* descri...
26.872928
109
0.633224
michalPietraszko
40072e7432151304e31687c3cd63cd9156abbfd3
653
cpp
C++
src/Card/CardMoveForward.cpp
LeoPalumbo/GOP
d24c15dbebecbc1a1d8f220d0f0c14e4b81d9e4f
[ "MIT" ]
null
null
null
src/Card/CardMoveForward.cpp
LeoPalumbo/GOP
d24c15dbebecbc1a1d8f220d0f0c14e4b81d9e4f
[ "MIT" ]
null
null
null
src/Card/CardMoveForward.cpp
LeoPalumbo/GOP
d24c15dbebecbc1a1d8f220d0f0c14e4b81d9e4f
[ "MIT" ]
null
null
null
/* * CardMoveForward.cpp * * Created on: 03 apr 2018 * Author: utente */ #include "CardMoveForward.h" CardMoveForward::CardMoveForward() { this->value = randomBetween(1,6); //da 1 a 6 passi avanti char newMessage[max_lengthC]; //compone il messaggio con il nuovo valore if(this->value == 1) sprintf(n...
21.064516
60
0.699847
LeoPalumbo
4008b98a03bb63fab174203b9e3fd5951db7bbd4
3,031
cpp
C++
bcos-rpc/bcos-rpc/event/EventSubResponse.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
1
2022-03-06T10:46:12.000Z
2022-03-06T10:46:12.000Z
bcos-rpc/bcos-rpc/event/EventSubResponse.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
null
null
null
bcos-rpc/bcos-rpc/event/EventSubResponse.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
28.064815
96
0.542065
chuwen95
400e956f112e2cb877bc4244eaac513738c0ff3a
8,569
cc
C++
src/server/ll_network.cc
eerykitty/dayspring
9dec56fe8d943a8145a3405a4324b5cfcd701c8a
[ "MIT" ]
null
null
null
src/server/ll_network.cc
eerykitty/dayspring
9dec56fe8d943a8145a3405a4324b5cfcd701c8a
[ "MIT" ]
null
null
null
src/server/ll_network.cc
eerykitty/dayspring
9dec56fe8d943a8145a3405a4324b5cfcd701c8a
[ "MIT" ]
1
2020-03-13T15:47:44.000Z
2020-03-13T15:47:44.000Z
#include "ll_network.hh" using std::uint32_t; namespace ll_net { enet::enet (sentinel* main_sentinel, std::string endpoint, enet_uint16 port) { sent = main_sentinel; if (enet_initialize () != 0) { console::t_error ("LLNET", "An e...
44.398964
159
0.3536
eerykitty
400f7b0f63984f0419086d3b47cd7e974efb3643
534
cpp
C++
External/FW1FontWrapper/Source/CFW1TextGeometry.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
51
2019-05-02T07:07:19.000Z
2022-02-17T03:28:17.000Z
FW1FontWrapper/CFW1TextGeometry.cpp
ZP2K/Fortnite-to-SoT_Internal
f283fb9819d3c80e89c87f04f690e98b8f9c6a97
[ "MIT" ]
2
2018-10-04T19:35:36.000Z
2021-01-03T02:26:51.000Z
FW1FontWrapper/CFW1TextGeometry.cpp
ZP2K/Fortnite-to-SoT_Internal
f283fb9819d3c80e89c87f04f690e98b8f9c6a97
[ "MIT" ]
19
2019-09-24T02:09:00.000Z
2022-02-17T03:28:18.000Z
// CFW1TextGeometry.cpp #include "FW1Precompiled.h" #include "CFW1TextGeometry.h" namespace FW1FontWrapper { // Construct CFW1TextGeometry::CFW1TextGeometry() : m_maxSheetIndex(0), m_sorted(false) { } // Destruct CFW1TextGeometry::~CFW1TextGeometry() { } // Init glyph provider HRESUL...
15.257143
71
0.709738
TheJimmyGod
4012c747d958b68e24a42cc003d1e7ee0636d176
1,204
cpp
C++
DSA_Problems/Median_of_two_sorted_arrays.cpp
SiddheshKarande1017/Data_Structure_-_Algorithm_CPP
1edb1ae858457f4874c95c36a20d4ce40fc17885
[ "MIT" ]
null
null
null
DSA_Problems/Median_of_two_sorted_arrays.cpp
SiddheshKarande1017/Data_Structure_-_Algorithm_CPP
1edb1ae858457f4874c95c36a20d4ce40fc17885
[ "MIT" ]
null
null
null
DSA_Problems/Median_of_two_sorted_arrays.cpp
SiddheshKarande1017/Data_Structure_-_Algorithm_CPP
1edb1ae858457f4874c95c36a20d4ce40fc17885
[ "MIT" ]
null
null
null
//Median of two sorted arrays of different sizes #include <bits/stdc++.h> using namespace std; class sol{ private: vector<int> v1; vector<int> v2; vector<int> v3; public: sol(vector<int> v1,vector<int> v2){ this->v1=v1; this->v2=v2; } vector<int> sort(){ int i=0; int j=0; for(;i<v1.size() && j<v2.size(...
16.053333
53
0.5
SiddheshKarande1017
401b39e495d9506ffc5d997f0d709acf56386327
568
hpp
C++
src/preprocess/mt-metis-0.7.2/wildriver/src/MatrixEntry.hpp
curiosityyy/SubgraphMatchGPU
7089496084d94a72693dca230ed5165cb94ae4a4
[ "MIT" ]
2
2017-07-25T19:46:52.000Z
2018-02-13T15:24:02.000Z
external/mt-metis-0.7.2/wildriver/src/MatrixEntry.hpp
yfg/GDSP
56fe2242b32d3a1efd24733d0ab30242ee3df2ba
[ "MIT" ]
25
2017-07-20T02:35:49.000Z
2018-12-21T01:43:42.000Z
external/mt-metis-0.7.2/wildriver/src/MatrixEntry.hpp
yfg/GDSP
56fe2242b32d3a1efd24733d0ab30242ee3df2ba
[ "MIT" ]
null
null
null
/** * @file MatrixEntry.hpp * @brief Structure a matrix entry. * @author Dominique LaSalle <wildriver@domnet.org> * Copyright 2015-2016 * @version 1 * */ #ifndef WILDRIVER_MATRIXENTRY_HPP #define WILDRIVER_MATRIXENTRY_HPP #include "base.h" namespace WildRiver { /** * @brief Structure for holding t...
10.327273
75
0.65493
curiosityyy
401bbcc41a2f620a74467e22815e2d5d157c2abe
397
cpp
C++
win10/JHvisionFoundation/video.cpp
JHvisionchen/surface-object-foundation-framework
e6d24bf7fc3c7931e10c2ca97bef32472ee1023a
[ "Apache-2.0" ]
2
2019-03-05T04:24:12.000Z
2021-01-15T04:17:21.000Z
win10/JHvisionFoundation/video.cpp
JHvisionchen/surface-object-foundation-framework
e6d24bf7fc3c7931e10c2ca97bef32472ee1023a
[ "Apache-2.0" ]
null
null
null
win10/JHvisionFoundation/video.cpp
JHvisionchen/surface-object-foundation-framework
e6d24bf7fc3c7931e10c2ca97bef32472ee1023a
[ "Apache-2.0" ]
1
2021-01-15T04:17:23.000Z
2021-01-15T04:17:23.000Z
#include "video.h" Video::Video(string videoPath):QThread(),videoPath(videoPath) { } //图像解析主线程 void Video::run(){ videoname.open(videoPath); while(1){ videoname>>frame; if(frame.empty()){ break; } resize(frame,frame,Size(1280,720),0,0,INTER_LINEAR); imageBu...
18.045455
61
0.581864
JHvisionchen
401c83193717930d156f41461bdf0e1ebc83ef1e
4,759
cpp
C++
lib/src/MFTools/MFAMRIO.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/MFTools/MFAMRIO.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/MFTools/MFAMRIO.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T19:06:43.000Z
2021-04-13T19:06:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif // DTGraves, Thurs, Aug 16, 2001 #include <fstream> #include <string> using ...
20.781659
74
0.67262
rmrsk
401dc0204b6f5b1cb28b12a7039a48910edd0e95
2,752
cpp
C++
src/linearFunction.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
6
2018-08-10T14:29:16.000Z
2022-03-31T12:53:28.000Z
src/linearFunction.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
null
null
null
src/linearFunction.cpp
Leon0402/Project-Hexapod
98aebd80282560fb7ac86d72b78a798e78f86ab1
[ "MIT" ]
1
2020-06-18T17:23:14.000Z
2020-06-18T17:23:14.000Z
#include "LinearFunction.h" #ifndef X86_64 #include <math.h> #else #include <cmath> #endif LinearFunction::LinearFunction(float slope, int16_t yIntercept) : slope {slope}, yIntercept {yIntercept} {} LinearFunction::LinearFunction(float slope, Point<int16_t> point1) : slope {slope}, yIntercept {static_cast<int16_...
35.74026
133
0.682776
Leon0402
401e1b75d04a7287875fdec2cb56a903314d5928
480
cpp
C++
lib/libc/tests/string/strdup.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
52
2015-11-27T13:56:00.000Z
2021-12-01T16:33:58.000Z
lib/libc/tests/string/strdup.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
4
2017-06-26T17:59:51.000Z
2021-09-26T17:30:32.000Z
lib/libc/tests/string/strdup.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
8
2016-08-26T09:42:27.000Z
2021-12-04T00:21:05.000Z
#include <gtest/gtest.h> #include <string.h> TEST(string, strdup) { const char* teststr = "Hello, world"; const char* teststr2 = "An alternative test string with non-7-bit characters \xFE\x8C\n"; char* testres = strdup(teststr); ASSERT_NE(nullptr, testres); char* testres2 = strdup(teststr2); A...
26.666667
93
0.675
otaviopace
401ee33791aa2256ff8275bcf2faaa94e3a93137
846
hpp
C++
src/database/instance_port.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
1
2018-12-18T02:16:16.000Z
2018-12-18T02:16:16.000Z
src/database/instance_port.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
null
null
null
src/database/instance_port.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
null
null
null
#ifndef INSTANCE_PORT_H #define INSTANCE_PORT_H #include <cstring> #include "port.hpp" class Module_instance; /// Class for Instance Ports. class Instance_port : public Port { public: /** \brief Constructor by name and type. * \param[in] name - Name of the Port. * \param[in] type - Type of the Port. * \para...
24.171429
108
0.745863
martun
401fd99003d5c94d72d75a05f436f3ad05235a6e
1,707
cc
C++
src/main.cc
zWilliamTM/ludumdareX
109f3ef7dc18697567b2d14655df272b912171fe
[ "MIT" ]
1
2019-04-09T02:45:19.000Z
2019-04-09T02:45:19.000Z
src/main.cc
zWilliamTM/ludumdareX
109f3ef7dc18697567b2d14655df272b912171fe
[ "MIT" ]
null
null
null
src/main.cc
zWilliamTM/ludumdareX
109f3ef7dc18697567b2d14655df272b912171fe
[ "MIT" ]
null
null
null
#include <SDL.h> #include <SDL_image.h> #include <iostream> #include <tuple> #include <unordered_map> #include <memory> #include "screen.h" #include "keyboard.h" #include "state_mgr.h" constexpr int sw = 300; constexpr int sh = 168; constexpr int scale = 3; constexpr unsigned screen_buffer_size = sw * sh; int main(...
19.848837
64
0.674868
zWilliamTM
4026cabe0d08eda17bf8d79a71422e8d39bbbae1
343
cpp
C++
Challenges - Patterns/Pattern Triangle.cpp
helewrer3/CB_Launchpad
cda17f62a25e15cb914982d1cc24f7ba0e2f7a67
[ "Unlicense" ]
3
2019-10-04T13:24:16.000Z
2020-01-22T05:07:02.000Z
Challenges - Patterns/Pattern Triangle.cpp
helewrer3/CB_Launchpad
cda17f62a25e15cb914982d1cc24f7ba0e2f7a67
[ "Unlicense" ]
null
null
null
Challenges - Patterns/Pattern Triangle.cpp
helewrer3/CB_Launchpad
cda17f62a25e15cb914982d1cc24f7ba0e2f7a67
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define s(a) scanf("%d", &a) #define p(a) printf("%d ", a) using namespace std; int main() { int N; s(N); for(int i = 1; i <= N; i++) { for(int j = 1; j <= 2*(N-i); j++) cout << " "; for(int j = i; j <= 2*i-1; j++) p(j); for(int j = 2*i-2; j >= i; j--) p(j); cout << e...
14.913043
35
0.437318
helewrer3
4027e853e53564f73fdb2f3c84c45ad04285caca
36,696
cpp
C++
src/brokers/binance/main.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
null
null
null
src/brokers/binance/main.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
null
null
null
src/brokers/binance/main.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: 21. 5. 2019 * Author: ondra */ #include <iostream> #include <sstream> #include <unordered_map> #include <rpc/rpcServer.h> #include <imtjson/operations.h> #include "shared/toString.h" #include "proxy.h" #include <cmath> #include <ctime> #include <deque> #include "../api.h" #inc...
30.152835
147
0.65732
Matasx
4028855491c0f2c2b6b8042832ba3c9833ef6a11
750
cpp
C++
other_impl/other-qry-ds/diffarray.cpp
Aryansh-S/USACO
09260526c6b002a8536389acdb12a97911aca306
[ "MIT" ]
36
2020-04-16T21:50:37.000Z
2022-03-27T17:55:54.000Z
other_impl/other-qry-ds/diffarray.cpp
Aryansh-S/USACO
09260526c6b002a8536389acdb12a97911aca306
[ "MIT" ]
null
null
null
other_impl/other-qry-ds/diffarray.cpp
Aryansh-S/USACO
09260526c6b002a8536389acdb12a97911aca306
[ "MIT" ]
3
2020-04-21T23:23:47.000Z
2021-02-13T19:19:10.000Z
#include <bits/stdc++.h> using namespace std; //level: basic silver //objective: use difference arrays (aka +1/-1 trick) to support point queries with range increment updates #define FOR(i,a,b) for(__typeof(b)i=(a)-((a)>(b));i!=(b)-((a)>(b));i+=((a)>(b))?-1:1) //go from i=lb to i=ub-1 #define F0R(i,b) FOR(i,0,b) co...
34.090909
110
0.585333
Aryansh-S
402b362a78b1d48a69f07e189ad1c3de3cd090ab
12,814
cpp
C++
legacy/supercluster/editor/panels/JSONEditor.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
legacy/supercluster/editor/panels/JSONEditor.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
legacy/supercluster/editor/panels/JSONEditor.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// JSONEditor.cpp /// supercluster /// /// Refer to LICENSE.txt for more details. /// #include <galaxy/core/ServiceLocator.hpp> #include <galaxy/error/Log.hpp> #include <galaxy/fs/FileSystem.hpp> #include <galaxy/scripting/JSONUtils.hpp> #include <imgui/addons/ToggleButton.h> #include <imgui/imgui_stdlib.h> #in...
22.841355
141
0.573201
reworks
40311bf7fdf4e96288911b59ae862cecc34681df
297
hpp
C++
src/main_gui/main_gui.hpp
chic-yukim/StereoCameraVR
ee125abb0674ce5b46e9d71fd6b6dee1dcb6e64b
[ "MIT" ]
1
2019-05-10T04:31:33.000Z
2019-05-10T04:31:33.000Z
src/main_gui/main_gui.hpp
chic-yukim/StereoCameraVR
ee125abb0674ce5b46e9d71fd6b6dee1dcb6e64b
[ "MIT" ]
null
null
null
src/main_gui/main_gui.hpp
chic-yukim/StereoCameraVR
ee125abb0674ce5b46e9d71fd6b6dee1dcb6e64b
[ "MIT" ]
null
null
null
#pragma once #include <render_pipeline/rppanda/showbase/direct_object.hpp> class MainApp; class MainGUI : public rppanda::DirectObject { public: MainGUI(MainApp& app); virtual ~MainGUI(); private: void on_imgui_new_frame(); void ui_chic_cam_manager(); MainApp& app_; };
14.142857
61
0.713805
chic-yukim
40322e36cce08a92b19438f407c54b88201605f0
1,490
hpp
C++
Boss/Mod/ChannelCreator/Carpenter.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Boss/Mod/ChannelCreator/Carpenter.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Boss/Mod/ChannelCreator/Carpenter.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#ifndef BOSS_MOD_CHANNELCREATOR_CARPENTER_HPP #define BOSS_MOD_CHANNELCREATOR_CARPENTER_HPP #include<map> #include<queue> namespace Boss { namespace Mod { class Rpc; }} namespace Boss { namespace Mod { class Waiter; }} namespace Ev { template<typename a> class Io; } namespace Json { class Out; } namespace Ln { class ...
22.923077
60
0.700671
3nprob
4033456d62f9a0fbedeb98715187712aee9d3678
5,902
cc
C++
PYTHIA8/pythia8175/examples/main17.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PYTHIA8/pythia8175/examples/main17.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PYTHIA8/pythia8175/examples/main17.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// main17.cc is a part of the PYTHIA event generator. // Copyright (C) 2013 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // This is a simple test program. // It illustrates // (a) how to use UserHoo...
30.266667
78
0.641139
AllaMaevskaya
40347547c2bd9be99090ad34b2ffb986f44f5796
4,210
cpp
C++
Source/UnrealCPP/SwingDoor/SwingDoor.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
6
2018-04-22T15:27:39.000Z
2021-11-02T17:33:58.000Z
Source/UnrealCPP/SwingDoor/SwingDoor.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
null
null
null
Source/UnrealCPP/SwingDoor/SwingDoor.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
4
2018-07-26T15:39:46.000Z
2020-12-28T08:10:35.000Z
// Harrison McGuire // UE4 Version 4.18.3 // https://github.com/Harrison1/unrealcpp // https://severallevels.io // https://harrisonmcguire.com // helpful links // https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AActor/SetActorRelativeRotation/2/index.html // https://docs.unrealengine.com/l...
26.477987
205
0.735392
Harrison1
403798de349da2fd21ce6bd26852080d960fba00
5,364
cpp
C++
opentrack/plugin-support.cpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
opentrack/plugin-support.cpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
opentrack/plugin-support.cpp
asarnow/opentrack
aed80a837d79eb6997435e062e5fbda0a140a715
[ "ISC" ]
null
null
null
#include <cstdio> #include <cinttypes> #include "plugin-support.h" #include <QCoreApplication> #include <QFile> #include <QDir> #include <iostream> #ifndef _WIN32 # include <dlfcn.h> #endif SelectedLibraries::~SelectedLibraries() { } template<typename t> static mem<t> make_instance(mem<dylib> lib) { mem<t> re...
23.946429
104
0.542506
asarnow
40379e2f0e7b9fd48027dd46479d994b08bff8b4
1,401
cc
C++
src/camera/main.cc
Nero-Disney/photonman
1479be2df2f909043750dd6691ed5efd2b6859a9
[ "RSA-MD" ]
8
2017-05-14T11:47:56.000Z
2020-08-30T02:10:35.000Z
src/camera/main.cc
Nero-Disney/photonman
1479be2df2f909043750dd6691ed5efd2b6859a9
[ "RSA-MD" ]
4
2017-08-17T19:12:27.000Z
2019-02-26T16:04:42.000Z
src/camera/main.cc
Nero-Disney/photonman
1479be2df2f909043750dd6691ed5efd2b6859a9
[ "RSA-MD" ]
null
null
null
#include <iostream> #include <gtkmm.h> /** * The entry point for our camera application. * It opens the camera stream for picture caption. * It can detect faces in the camera and identify the person. * Image will be captured and saved on user-action. */ Gtk::Window* mainWindow = nullptr; int main(int argc, char *...
25.017857
96
0.655246
Nero-Disney
403907d17c1faf94bb74bea548f4087aaecf301a
19,724
cpp
C++
framework/PVRVk/DeviceVk.cpp
senthuran-ukr/Native_SDK
2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf
[ "MIT" ]
null
null
null
framework/PVRVk/DeviceVk.cpp
senthuran-ukr/Native_SDK
2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf
[ "MIT" ]
null
null
null
framework/PVRVk/DeviceVk.cpp
senthuran-ukr/Native_SDK
2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf
[ "MIT" ]
null
null
null
/*! \brief Function implementations of the Vulkan Device class. \file PVRVk/DeviceVk.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ //!\cond NO_DOXYGEN #include "PVRVk/DeviceVk.h" #include "PVRVk/InstanceVk.h" #include "PVRVk/BufferVk.h" #inc...
37.569524
178
0.783614
senthuran-ukr
403943dc481795c3282691b8a43aa981a8250524
1,537
cpp
C++
hypercat/Utils.cpp
Guila767/HyperCat
ec68973ffe71b145cd8d9a8cbfea0a28af1fe699
[ "MIT" ]
null
null
null
hypercat/Utils.cpp
Guila767/HyperCat
ec68973ffe71b145cd8d9a8cbfea0a28af1fe699
[ "MIT" ]
null
null
null
hypercat/Utils.cpp
Guila767/HyperCat
ec68973ffe71b145cd8d9a8cbfea0a28af1fe699
[ "MIT" ]
null
null
null
#include "Utils.h" _Success_(return != 0) int GetProcessEntry(_In_ const char* filter, _Out_ PPROCESSENTRY32 pProcEntry) { if (!pProcEntry) return FALSE; HANDLE hProcessSnapshot = INVALID_HANDLE_VALUE; hProcessSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (hProcessSnapshot ==...
26.050847
90
0.636304
Guila767
403bd626d30d5bb4e359722d0b67457509a372e3
1,873
cpp
C++
app/data_info_view.cpp
jleben/datavis
579eec88816ea45f04baf9890e11445a6bb98425
[ "MIT" ]
1
2022-03-17T08:05:19.000Z
2022-03-17T08:05:19.000Z
app/data_info_view.cpp
jleben/datavis
579eec88816ea45f04baf9890e11445a6bb98425
[ "MIT" ]
9
2018-01-09T03:25:51.000Z
2018-01-09T03:54:01.000Z
app/data_info_view.cpp
jleben/ren
579eec88816ea45f04baf9890e11445a6bb98425
[ "MIT" ]
null
null
null
#include "data_info_view.hpp" #include <QFormLayout> #include <QLabel> using namespace std; namespace datavis { DataInfoView::DataInfoView(QWidget * parent): QWidget(parent) { m_dimensions = new QLabel; m_attributes = new QLabel; auto form = new QFormLayout(this); Qt::Alignment labelAlignment ...
22.566265
75
0.592098
jleben
403f8ae0d72a31af2c003c3805d71cfeffd339fd
5,114
cpp
C++
test/unit/alignment/pairwise/policy/affine_gap_banded_init_policy_test.cpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
4
2018-03-09T09:37:51.000Z
2020-07-28T04:52:01.000Z
test/unit/alignment/pairwise/policy/affine_gap_banded_init_policy_test.cpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/alignment/pairwise/policy/affine_gap_banded_init_policy_test.cpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
1
2018-03-09T09:37:54.000Z
2018-03-09T09:37:54.000Z
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
39.643411
111
0.672272
anbratu
40465d66a3d162d1d155db4e045bada15b1ee263
1,224
cpp
C++
source/effects/TrailsEffect.cpp
luckyxxl/hfg-webcam-particles
e503e7f970a256cae90c55792cd8b946e027b757
[ "MIT" ]
null
null
null
source/effects/TrailsEffect.cpp
luckyxxl/hfg-webcam-particles
e503e7f970a256cae90c55792cd8b946e027b757
[ "MIT" ]
5
2017-08-07T16:54:19.000Z
2017-10-13T07:11:19.000Z
source/effects/TrailsEffect.cpp
luckyxxl/hfg-webcam-particles
e503e7f970a256cae90c55792cd8b946e027b757
[ "MIT" ]
null
null
null
#include "main.hpp" #include "TrailsEffect.hpp" constexpr const char *TrailsEffect::Name; const char *TrailsEffect::getName() const { return Name; } const char *TrailsEffect::getDescriptiveName() const { return "Trails"; } const char *TrailsEffect::getDescription() const { return "Enables an fading image echo"; ...
26.608696
81
0.676471
luckyxxl
404ec5e48ad06ec1dcc3a60c672468eb4b572b73
4,397
cpp
C++
windows_agent/TestService/ServiceSkeleton.cpp
syslist/Syslist
1b8c1051a6423a98bdc09d55904f2de63b3fe95c
[ "MIT" ]
7
2016-08-07T01:11:30.000Z
2021-01-27T11:03:02.000Z
windows_agent/TestService/ServiceSkeleton.cpp
syslist/Syslist
1b8c1051a6423a98bdc09d55904f2de63b3fe95c
[ "MIT" ]
1
2018-07-02T14:01:04.000Z
2018-07-02T14:01:04.000Z
windows_agent/TestService/ServiceSkeleton.cpp
syslist/Syslist
1b8c1051a6423a98bdc09d55904f2de63b3fe95c
[ "MIT" ]
6
2016-12-01T02:11:39.000Z
2022-03-26T03:31:27.000Z
// TestService.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "winsvc.h" #include <string> using namespace std; SERVICE_STATUS g_ServiceStatus; SERVICE_STATUS_HANDLE g_ServiceStatusHandle; HINSTANCE g_hInstance; extern TCHAR * ServiceName; ...
26.172619
110
0.658176
syslist
40530ac2c13ab649f9e2d4c3b5ae88ded0bfaaa1
40
cpp
C++
core/Instruments/Metronome.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/Instruments/Metronome.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/Instruments/Metronome.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
1
2022-03-29T19:45:51.000Z
2022-03-29T19:45:51.000Z
// // Created by Admin on 12.06.2019. //
13.333333
34
0.6
ferluht
4053ac0848f8927d44b15c69a07dc3a6eb92618e
886
cpp
C++
ext/filegdb/double_primitive.cpp
spatialnetworks/filegdb-ruby
a2caa69250820e5805f7adff849190704f0e8ac6
[ "BSD-3-Clause" ]
1
2017-11-10T19:44:32.000Z
2017-11-10T19:44:32.000Z
ext/filegdb/double_primitive.cpp
spatialnetworks/filegdb-ruby
a2caa69250820e5805f7adff849190704f0e8ac6
[ "BSD-3-Clause" ]
null
null
null
ext/filegdb/double_primitive.cpp
spatialnetworks/filegdb-ruby
a2caa69250820e5805f7adff849190704f0e8ac6
[ "BSD-3-Clause" ]
null
null
null
#include "double_primitive.hpp" namespace filegdb { VALUE double_primitive::_klass = Qnil; VALUE double_primitive::klass() { return double_primitive::_klass; } VALUE double_primitive::set_value(VALUE self, VALUE value) { CHECK_ARGUMENT_FLOAT(value); double_primitive *prim = unwrap(self); *prim->_value = N...
25.314286
100
0.760722
spatialnetworks
4059d555e2966e9472624856ec9a0b8d09dca6e8
714
cxx
C++
tests/utility/references/Utility.cxx
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
tests/utility/references/Utility.cxx
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
2
2021-07-07T17:31:49.000Z
2021-07-16T11:40:38.000Z
tests/utility/references/Utility.cxx
OuluLinux/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
#ifndef UTILITY_CXX #define UTILITY_CXX #ifndef PRIMTYPEINFO_HXX #include <PrimTypeInfo.hxx> #endif #ifndef UTILITY_HXX #include <Utility.hxx> #endif #line 14 "tests/utility/utility.inc" const PrimTypeInfo& Utility::dynamic_type_info() const { #line 15 return static_type_info(); }; #line 43 const PrimTypeInfo& U...
18.789474
86
0.623249
UltimateScript
405c7bedeb37e5c8ede884b11ce03981c06a5797
222
cpp
C++
aulas/aula15_02.09/zerim_ou_um.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
aulas/aula15_02.09/zerim_ou_um.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
aulas/aula15_02.09/zerim_ou_um.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; enum Resultado { Jog1, Jog2, Jog3, Empate}; Resultado zerim_ou_um(bool opcao1, bool opcao2, bool opcao3){ } int americano(vector<int> opcoes){ } int main () { return 0; }
12.333333
61
0.693694
senapk
405d8d7caba11e83d56a8124a461f56b7c48528a
66,288
cpp
C++
SDKs/CryCode/3.7.0/CryEngine/CryAction/Network/GameContext.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/CryEngine/CryAction/Network/GameContext.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/CryEngine/CryAction/Network/GameContext.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2004. ------------------------------------------------------------------------- $Id$ $DateTime$ ------------------------------------------------------------------------- Hist...
28.376712
191
0.726542
amrhead
406111b07434f79410c4b9448cd4e552d38c2d5b
555
hpp
C++
math/convolution/fast_mobius_transform.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
math/convolution/fast_mobius_transform.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
math/convolution/fast_mobius_transform.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
#pragma once #include <vector> template <typename T> std::vector<T> fast_mobius_transform(std::vector<T> a, bool adds_superset, const T ID = 0) { int n = a.size(), p = 1; while ((1 << p) < n) ++p; n = 1 << p; a.resize(n, ID); if (adds_superset) { for (int i = 1; i < n; i <<= 1) for (int s = 0; ...
24.130435
93
0.445045
emthrm
406467ab031cddeabf245aaf5d86707551556372
1,043
cpp
C++
keychain_linux/passentry_cmd/cmd.cpp
jokefor300/array-io-keychain
1c281b76332af339f0456de51caf65cae9950c91
[ "MIT" ]
29
2018-03-21T09:21:18.000Z
2020-09-22T16:31:03.000Z
keychain_linux/passentry_cmd/cmd.cpp
jokefor300/array-io-keychain
1c281b76332af339f0456de51caf65cae9950c91
[ "MIT" ]
119
2018-03-16T14:02:04.000Z
2019-04-16T21:16:32.000Z
keychain_linux/passentry_cmd/cmd.cpp
jokefor300/array-io-keychain
1c281b76332af339f0456de51caf65cae9950c91
[ "MIT" ]
3
2018-03-21T15:00:16.000Z
2019-12-25T09:03:58.000Z
// // Created by user on 23.06.18. // #include "cmd.hpp" namespace hana = boost::hana; namespace slave { const cmd_list_singleton& cmd_list_singleton::instance() { static const cmd_list_singleton instance; return instance; } cmd_list_singleton::cmd_list_singleton() { hana::for_e...
30.676471
91
0.522531
jokefor300