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
bdf08b121e490d05aef5f59dae483c52964089f8
709
cpp
C++
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef struct{ char nama[50]; char kelas[50]; } IDENTITAS; int main(){ IDENTITAS *siswa; // Sekalian belajar pointer lah :v // siswa = (IDENTITAS*) malloc(sizeof(IDENTITAS)); // #include <cstdlib> (Gaya Bahasa C) siswa = new IDENTITAS()...
27.269231
93
0.558533
bayusamudra5502
bdf44695e767d57356d4e626cdc1b3d2aaa6b52d
783
cpp
C++
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
12
2019-12-26T00:55:39.000Z
2020-12-03T14:46:56.000Z
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
null
null
null
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
1
2020-12-09T11:47:13.000Z
2020-12-09T11:47:13.000Z
// license [ // This file is part of the Phantom project. Copyright 2011-2020 Vivien Millet. // Distributed under the MIT license. Text available here at // https://github.com/vlmillet/phantom // ] /* ******************* Includes ****************** */ #include "MemberAnonymousStruct.h" #include "Type.h" /* **********...
27.964286
98
0.66539
vlmillet
bdf6fc6043842805abd9cf148159e597e67da2e5
5,243
cpp
C++
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * guidriverAndroidGLES: module implementing GLES based window management for Android * Copyright (C) 2002 - 2011. Dinand Vanvelzen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softwa...
42.97541
112
0.424948
amvb
da041e2b4a00631e4fd41ed8e818991b51e58ea5
750
cpp
C++
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
#include "thistle.hpp" #include "thistle_error.hpp" using ruff::translate_exceptions; static spark_context_t* g_spark_context = nullptr; RUFF_EXPORT void thistle_begin_session(thistle_error_t** error) { return translate_exceptions(error, [&]() { RUFF_THROW_IF_FALSE(g_spark_context == nullptr); ...
27.777778
75
0.734667
pospeselr
da057295d0031327a3dba640abc770e6f0340e15
21,633
cc
C++
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
163
2015-01-02T03:51:38.000Z
2022-03-21T23:06:39.000Z
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
1
2015-04-08T23:17:06.000Z
2015-04-24T15:25:26.000Z
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
20
2015-02-17T19:24:05.000Z
2020-10-29T01:59:18.000Z
/* * =============================================================== * Description: Client methods implementation. * * Created: 03/19/2014 11:58:26 PM * * Author: Ayush Dubey, dubey@cs.cornell.edu * * Copyright (C) 2013, Cornell University, see the LICENSE file * for li...
28.921123
158
0.623446
dubey
da079fe5b9ed290d7468fcbeab4cfe934049bda4
3,742
cpp
C++
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "editorCommon.h" static const char *blendNames[] = { "None", "Blend enabled", "Blend inverted", "Blend additive", "Alpha test", "Alpha to coverage", }; static const int blendIDx[] = { ABLEND_NONE, ABLEND_SIMPLE, ABLEN...
31.711864
107
0.683057
cstom4994
da09f66117140485d8d119639c5745821b4e15ff
2,293
cpp
C++
src/game/client/neotokyo/vgui/neoframe.cpp
L-Leite/neotokyo-re
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
4
2017-08-29T15:39:53.000Z
2019-06-04T07:37:48.000Z
src/game/client/neotokyo/vgui/neoframe.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
null
null
null
src/game/client/neotokyo/vgui/neoframe.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
1
2021-08-10T20:01:00.000Z
2021-08-10T20:01:00.000Z
#include "cbase.h" #include "neoframe.h" #include <vgui/ISurface.h> #include "neobutton.h" #include "neoimagebutton.h" #include "neoiconpanel.h" namespace vgui { CNeoFrame::CNeoFrame( Panel* parent, const char *panelName ) : Frame( parent, panelName ) { ISurface* pSurface = surface(); SetScheme( scheme()->LoadSch...
24.923913
90
0.71522
L-Leite
da0b6cc6de542adb2130739b6051d69e196ff3e7
5,195
cc
C++
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
/* * Project 25 IMBE Encoder/Decoder Fixed-Point implementation * Developed by Pavel Yazev E-mail: pyazev@gmail.com * Version 1.0 (c) Copyright 2009 * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundat...
27.930108
146
0.635419
go-voice
da0f748b42735aea05519bdc45685d64c52fff8c
744
cpp
C++
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: int maxArea(int h, int w, vector<int>& horizontalCuts, vector<int>& verticalCuts) { horizontalCuts.push_back(0); verticalCuts.push_back(0); horizontalCuts.push_back(h); verticalCuts.push_back(w); sort(horizontalCuts.begin(), horizontalCu...
33.818182
87
0.581989
qiufengyu
da1d2d957ca4231f3acc9b11a9d19591616097aa
6,373
cpp
C++
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
13
2019-06-06T01:14:30.000Z
2022-03-03T05:57:51.000Z
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
7
2019-07-23T18:31:20.000Z
2021-05-26T12:57:34.000Z
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
12
2019-06-27T13:58:03.000Z
2021-12-23T07:43:06.000Z
// Copyright 2019, Oath Inc. // Licensed under the terms of the Apache 2.0 license. See LICENSE file in the root of the distribution for licensing details. #include "TestHMDNSResult.h" #include "HMDNSCache.h" #include "HMStateManager.h" #include "HMEventLoopQueue.h" #include "common.h" #include <unistd.h> #include <ar...
32.025126
126
0.694649
tkraiser
da1d851d028d3d7b0ca854bcbbe15e803d9b711e
2,350
cpp
C++
src/main/cpp/Commands/DriveWithJoystick.cpp
Volxz/barebonesFRC
db22e69f66b0606142beb55615147505f56e8cd4
[ "MIT" ]
2
2018-07-28T17:30:42.000Z
2018-09-12T18:14:20.000Z
src/main/cpp/Commands/DriveWithJoystick.cpp
frc5024/Prototype
cf219c7354a6258f55717a28572ddc2d3437ac3f
[ "MIT" ]
2
2018-09-23T01:03:48.000Z
2019-08-30T19:11:10.000Z
src/main/cpp/Commands/DriveWithJoystick.cpp
frc5024/Prototype
cf219c7354a6258f55717a28572ddc2d3437ac3f
[ "MIT" ]
2
2018-07-28T14:53:16.000Z
2018-09-20T19:52:51.000Z
// Include Required Files #include <Commands/DriveWithJoystick.hpp> // Header File #include <math.h> // STD math lib #include <Utilities/Log.hpp> // LOG tool. Used for printing to the RIOlog console #include "../RobotCFG.hpp" // Robot-wide configuration file DriveWithJoystick::DriveWithJoystick() { LOG...
25.543478
94
0.709787
Volxz
da1e059a75ec9a2080562f0b71ee8fcfdf63c04d
51,610
cpp
C++
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
#include "BuchiAutomaton.h" #include <boost/math/special_functions/factorials.hpp> /* * Rename states and symbols of the automaton to numbers (symbols are renamed * by the explicit map). * @param mpsymbol Explicit map assigning numbers to original symbols * @param start Starting number for states * @return Rename...
27.37931
132
0.610521
vhavlena
da21bfd3597a3856380aa86245a7a1f532cc2d79
989
cpp
C++
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
#include <metrics/config.h> #include <metrics/counter.h> #include <metrics/gauge.h> #include <metrics/histogram.h> #include <array> #include <string> namespace metrics { // clang-format off // --------------------Counters-------------------------- std::array<std::string, NumCounters> counter_keys = { "CounterPl...
23.547619
59
0.595551
linhanwang
da264e470a8bdf0152440d4d41cf2e64af6ab9f6
14,066
cpp
C++
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
2
2017-06-24T03:47:12.000Z
2017-08-11T00:04:46.000Z
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
null
null
null
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
null
null
null
// // $Id$ #include <QBuffer> #include <QCryptographicHash> #include <QTcpSocket> #include "ServerApp.h" #include "http/HttpConnection.h" #include "http/HttpManager.h" HttpConnection::HttpConnection (ServerApp* app, QTcpSocket* socket) : QObject(app->httpManager()), _app(app), _socket(socket), _unmas...
29.92766
97
0.577918
ey6es
da275a58a51b51647548ebb195f5e2cd634084e0
10,163
cc
C++
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_O3CPU[] = { 120,156,165,152,89,115,27,55,18,128,65,74,166,14,203,214, 101,217,241,61,190,233,67,86,108,199,142,227,56,137,117,218, 76,100,73,30,82,113,69,47,172,225,0,20,97,13,103,232, 1,70,22,183,178,85,91,229,125,221,170,60,236,79,216,...
57.744318
66
0.6626
hoho20000000
da2a558a04a056022ed85842d70ea520484946a9
56
hpp
C++
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/sequence/intrinsic/value_at.hpp>
28
55
0.821429
miathedev
da2c9a77307d69ebec5e3dc5b6ca812c83bcd4d4
1,867
cpp
C++
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
2
2016-07-15T14:50:33.000Z
2021-06-21T05:53:08.000Z
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
null
null
null
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, Nicolai R. Nyberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
41.488889
91
0.78361
NicolaiNyberg
da3e450ee4ebba4325448b288dade730d02bb22d
17,900
cc
C++
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
2
2020-05-10T00:29:17.000Z
2020-05-16T21:55:31.000Z
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
null
null
null
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Simon Liu. All rights reserved. #include <cinder/CinderImGui.h> #include <imnodes.h> #include "mnist-utilities.h" #include "node_creator.h" using neurons::Node; namespace neurons::spawner { bool SpawnMnistDataNode(neurons::Network& network, const std::string& data_directory, dim_t batch_s...
32.904412
80
0.616201
imonlius
da43153b09481a6b64db4163963ca5576d975259
440
hpp
C++
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
1
2021-07-11T18:30:03.000Z
2021-07-11T18:30:03.000Z
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
// // powersOfTwo.hpp // Math // #ifndef powersOfTwo_h #define powersOfTwo_h #include <algorithm> #include <vector> namespace math { bool isPowerOfTwo(int number) { return number && !(number & (number - 1)); } int nextPowerOfTwo(int number) { if (isPowerOfTwo(number)) return number; int twosPower{1}; ...
14.666667
76
0.670455
sinamoghimi73
da4cb9fb3310cd42b8428597f08a82a72eea53cd
1,377
hpp
C++
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef GRAPHICSPAGE_H #define GRAPHICSPAGE_H #include <QWidget> #include <OgreRoot.h> #include <OgreRenderSystem.h> #include <components/ogreinit/ogreinit.hpp> #include "ui_graphicspage.h" namespace Files { struct ConfigurationManager; } namespace Launcher { class GraphicsSettings; class GraphicsPage ...
23.741379
112
0.693537
Bodillium
da5496dbc745f0c0f3b16b78bc2ef3adb17e62e5
491
hxx
C++
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
null
null
null
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
null
null
null
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
1
2021-11-20T21:25:15.000Z
2021-11-20T21:25:15.000Z
#ifndef SETTINGS_HXX #define SETTINGS_HXX #include <lvgl/lvgl.h> #include <calc_conf.h> #if ENABLE_MCP_KEYPAD #include <wiringPi.h> #include <softPwm.h> #endif #include <stdlib.h> #include <cstdio> // #include "utils.hxx" enum { LV_MENU_ITEM_BUILDER_VARIANT_1, LV_MENU_ITEM_BUILDER_VARIANT_2 }; typedef uint8_t ...
20.458333
46
0.773931
michael-gober
da56c172e745d9540553e4edce727aa1fe89662f
2,080
cxx
C++
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
37.142857
90
0.618269
AllaMaevskaya
da57dc11f6e9455b654944a2ba35f9263bc6423e
2,788
cpp
C++
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
2
2021-06-26T08:07:04.000Z
2021-08-03T06:05:40.000Z
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
null
null
null
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
null
null
null
// // BubbleSort.cpp // OfferReview // // Created by CHM on 2020/8/4. // Copyright © 2020 CHM. All rights reserved. // #include "BubbleSort.hpp" int sum(int n) { return n > 1? sum(n - 1) + n: 1; } void BubbleSort::bubbleSort(int nums[], int count) { if (nums == nullptr || count <= 0) { return; ...
21.612403
71
0.445122
chm994483868
da583ef22a4c40fc35c590c384b1ee57d11778d1
1,081
cpp
C++
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
#include "Huolun.h" #include "HuolunCore/HTCPListenerComponent.h" #include "HuolunCore/HTCPDataComponent.h" #include "util/EchoLayer.hpp" #include <iostream> using namespace std; //Factory create the next layer of new socket data component class MyLayerFactory :public HLayerFactory { public: virtual HLayer *Cre...
23
65
0.635523
Tonvey
da5acfce2e340bab5dd5cfd12d94e23048341a27
9,822
hpp
C++
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) // Copyright 2020 Pokitec // All rights reserved. #pragma once #include "gui_device_vulkan.hpp" #include "gui_window.hpp" #include "the...
33.986159
130
0.655366
prollings
da5d9efe3ca0bf33f1659138cce138062b57df69
11,100
cc
C++
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
278
2015-05-01T05:33:42.000Z
2022-03-26T15:51:30.000Z
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
46
2015-09-14T17:03:45.000Z
2021-03-31T09:52:48.000Z
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
49
2015-08-10T01:49:21.000Z
2022-03-23T07:32:59.000Z
#include "XmlFonts.h" #include "GlobalParams.h" #include "UnicodeMap.h" #include <stdio.h> #ifndef _WIN32 #include <unistd.h> #endif struct Fonts{ char *Fontname; char *name; }; const int font_num=13; static Fonts fonts[font_num+1]={ {"Courier", "Courier" }, {"Courier-Bold", ...
27.959698
112
0.517658
flexpaper
da610bd3ac859867f71e0a1d36911d18ea1604e0
1,855
cpp
C++
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "FileInputStream.h" #include "StdioEx.h" #include "FileNotFoundException.h" #include <assert.h> #include "config.h" //----------------------------------------------------------------------------- using namespace lang; //----------------------------------------------------------------------------- ...
19.123711
90
0.545553
Andrewich
da634c368b3a0a29c30f66ff098f84b99287efa1
1,713
cc
C++
Codeforces/358 Division 2/Problem C/C.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/358 Division 2/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/358 Division 2/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
19.465909
97
0.58669
VastoLorde95
da6e53b2547e59fa9387918bfc120b88de19ddfb
1,525
cpp
C++
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
#include "objectmgr.h" #include "../interop/interop.hpp" using namespace openloco::interop; namespace openloco::objectmgr { loco_global_array<cargo_object*, 32, 0x0050C700> _cargoObjects; // 0x00470F3C void load_index() { call(0x00470F3C); } cargo_object* get_cargo_object(size_t id) ...
24.596774
67
0.419016
IntelOrca
da70ff3007720261a2b8a57f69eb0de419ef2aeb
36,007
cpp
C++
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
35.30098
80
0.634627
voxie-viewer
da7167b4bc175e444057d257763b7221b6630bc4
119
cpp
C++
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
#include <SFML/Graphics.hpp> #include "GameManager.h" int main() { GameManager game; game.StartMenu(); return 0; }
11.9
28
0.697479
Alexander3006
da72549b78468ab4136ac37a958007079d6e758b
912
cpp
C++
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
#include <QCoreApplication> #include <QDebug> #include <pfactory/pfactory.h> #include <xl_to_json_converter.h> #include <xl_to_json_converter_task.h> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); try { pf::FactoryExp::inst()->add<xl::XlToJsonConverter>( "xl::XlToJsonConverter" ); } cat...
24.648649
82
0.58443
Engilian
da764f5e2ec794bb9f29bc83e7f8bcb398aea08d
782
hh
C++
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
// // AMateria.hh for AMetaria in /home/gwendoline/Epitech/Tek2/Piscine_cpp/piscine_cpp_d10/ex06 // // Made by Gwendoline Rodriguez // Login <gwendoline@epitech.net> // // Started on Fri Jan 15 16:29:55 2016 Gwendoline Rodriguez // Last update Fri Jan 15 16:56:33 2016 Gwendoline Rodriguez // #ifndef AMATERIA_HH #de...
22.342857
93
0.719949
667MARTIN
da7b77477bb015f50380a03161481d333cccb0e0
636
cpp
C++
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
#include "Input.hpp" #include "Core/Engine.hpp" #include "Core/Window.hpp" namespace Game { bool Input::IsKeyPressed(KeyCode key) { return Engine::Instance()->ActiveWindow()->IsKeyPressed(key); } bool Input::IsMousePressed(MouseCode button) { return Engine::Instance()->ActiveWindow()->IsMousePressed(button...
16.736842
70
0.701258
ryanvanrooyen
da824fe767cabfa0e650463377120d29a7acf67c
29,223
hpp
C++
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
// // Created by marcel on 31.03.21. // #ifndef FICTION_CARTESIAN_LAYOUT_HPP #define FICTION_CARTESIAN_LAYOUT_HPP #include "fiction/layouts/coordinates.hpp" #include "fiction/utils/range.hpp" #include <mockturtle/networks/detail/foreach.hpp> #include <algorithm> #include <cstdint> #include <memory> #include <set> #...
38.100391
120
0.627417
ElderDelp
da8a3533e46589d70e81fbf044dc6f7c0a0bde61
535
cpp
C++
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
#include "Glowny.h" #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> clock_t TimeZero; //dostep do clocka systemowego aby gra dzialala w takiej samej predkosci na szybszym jak i wolniejszym sprzecie oraz aby mozliwe bylo losowanie liczby (potrzebne do ruchow NPC) double deltaTime = 0; int...
21.4
195
0.697196
Sziperd
da8ac975ec6d3b5a38308ec07b9d3888dfd29d29
2,475
cpp
C++
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: vector<double> calcEquation(vector<pair<string, string>> equations, vector<double>& values, vector<pair<string, string>> queries) { unordered_map<string,int> m; int n = 0; vector<vector<pair<int,double>>> g; for (int i = 0; i < equations.size(); ++i) ...
24.029126
135
0.423434
suzyz
da930fc3656a174b321c1292958fa1611b628451
816
cpp
C++
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <Audio.h> #include <MabiluObjects.h> Grids seq; Kick kick; Hihat hh; Snare sd; AudioMixer4 mixer; AudioOutputI2S dac; AudioConnection con0(seq, 2, hh, 0); AudioConnection con1(seq, 1, sd, 0); AudioConnection con2(seq, ...
24
40
0.633578
marcelbienvu
daa42a714ae94a962f02dd1a5493ead00c3d59ef
2,841
cpp
C++
mipe3d/src/Mipe3DInput.cpp
mipelius/mipe3d
4c25d9e86928a67ea71139e87a3c99bbe11228f7
[ "MIT" ]
null
null
null
mipe3d/src/Mipe3DInput.cpp
mipelius/mipe3d
4c25d9e86928a67ea71139e87a3c99bbe11228f7
[ "MIT" ]
null
null
null
mipe3d/src/Mipe3DInput.cpp
mipelius/mipe3d
4c25d9e86928a67ea71139e87a3c99bbe11228f7
[ "MIT" ]
null
null
null
// Copyright (c) Miika Pelkonen. All rights reserved. // Licensed under the MIT License. #include "Mipe3DInput.h" #include "Mipe3DEngine.h" #include "Mipe3DLog.h" #include "Mipe3DRenderSystem.h" #include <cassert> #include <SDL_keyboard.h> #include <SDL_keycode.h> #include <SDL_mouse.h> #include <SDL_events.h> names...
18.448052
63
0.638156
mipelius
daadcee6b0d8c3ec14dd7586422a80fea8a0465c
4,069
cpp
C++
core/src/view/Renderer3DModule.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
core/src/view/Renderer3DModule.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
core/src/view/Renderer3DModule.cpp
schulzch/megamol
c440ad06f388f151c13833d5d1a7653131bda2be
[ "BSD-3-Clause" ]
null
null
null
/* * Renderer3DModule.cpp * * Copyright (C) 2018, 2020 by Universitaet Stuttgart (VIS). * Alle Rechte vorbehalten. */ #include "mmcore/view/Renderer3DModule.h" #include "mmcore/view/AbstractView.h" #include "mmcore/view/CallRender3D.h" namespace megamol::core::view { /* * Renderer3DModule::Renderer3DModule */...
32.293651
115
0.676825
schulzch
dab1928006f911bb7f5c72f82ff7aa25b6605d60
1,521
cpp
C++
android-28/android/content/UriPermission.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/content/UriPermission.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/content/UriPermission.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../net/Uri.hpp" #include "../os/Parcel.hpp" #include "../../JString.hpp" #include "./UriPermission.hpp" namespace android::content { // Fields JObject UriPermission::CREATOR() { return getStaticObjectField( "android.content.UriPermission", "CREATOR", "Landroid/os/Parcelable$Creator;" ); } j...
18.107143
77
0.668639
YJBeetle
dab2919b614729d811fc3991242455a135c25089
402
cpp
C++
C++/uri1029.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
1
2020-11-09T17:06:43.000Z
2020-11-09T17:06:43.000Z
C++/uri1029.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
null
null
null
C++/uri1029.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
2
2020-07-29T09:33:29.000Z
2020-08-02T08:44:36.000Z
#include <bits/stdc++.h> using namespace std; int con; int fib(int a); int main(void) { int T; cin >> T; for(int i = 0, n; i < T; i++){ cin >> n; con = 0; cout << "fib(" << n << ") = " << con - 1 << " calls = " << fib(n) << endl; } return 0; } int fib(int n) { con++;...
14.357143
82
0.402985
AugustoDipNiloy
dab2f11e80c12cdc3d524a37a4dd56f887843884
4,032
hpp
C++
src/interval_map.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/interval_map.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/interval_map.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using Int = long long; // Disjoint closed intervals [l, r] (mapping l to r). class ClosedIntervalMap : public std::map<Int, Int> { private: // If true, automatically merges [l, c] and [c+1, r]. bool merge_adjacent; public: ClosedIntervalMap(bool merge_adjacent = t...
26.352941
69
0.550843
keijak
dab9d5ff2f9ca6546d8201c8d97727d213f3169c
825
hpp
C++
include/Factory/Factory.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
include/Factory/Factory.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
include/Factory/Factory.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** CCP_plazza_2019 ** File description: ** Factory */ #ifndef FACTORY_HPP_ #define FACTORY_HPP_ #include "Reception/Reception.hpp" namespace Plazza { class Factory { public: // For socket Factory(int arg1, int arg2, IIPC::IPCType type); ~Fac...
23.571429
69
0.581818
BourgeoisBenjamin
dabbfd119933482d06cdc40add14499fb5f7796f
2,365
cpp
C++
Client/pulseVehicles.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
2
2021-07-18T17:37:32.000Z
2021-08-04T12:33:51.000Z
Client/pulseVehicles.cpp
VittorioC97/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
1
2022-02-22T03:26:50.000Z
2022-02-22T03:26:50.000Z
Client/pulseVehicles.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
5
2021-06-17T06:41:00.000Z
2022-02-17T09:37:40.000Z
#include "NetworkManager.h" #include "CustomFiberThread.h" #include "vehicles.h" #include "easylogging++.h" #include "vehicleSync.h" #include "../SharedDefines/packetsIds.h" #include "dummyVehicles.h" #include "removeVehicle.h" void pulseVehicles(float x, float y, float z) { try { std::map<size_t, vehicles::netVeh...
23.65
87
0.621564
WuskieFTW1113
dac1564d6a65ffddfd7c0e273b9b5111d1afdae0
458
cpp
C++
test/test_json_parse.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
null
null
null
test/test_json_parse.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
2
2022-02-07T05:19:09.000Z
2022-03-24T18:44:37.000Z
test/test_json_parse.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
1
2022-01-22T21:30:26.000Z
2022-01-22T21:30:26.000Z
/* * test_json_parse.cpp * * Created on: May 26, 2021 * Author: mad */ #include <vnx/vnx.h> int main(int argc, char** argv) { vnx::init("test_json_parse", argc, argv); while(vnx::do_run()) { vnx::Variant var; try { var = vnx::read(std::cin); vnx::write(std::cout, var); } catch(std::underfl...
13.878788
42
0.565502
MMX-World
dac5106dd4cb46a1682096527138ec9c84a573b9
42,540
cpp
C++
WaveletTL/interval/pq_evaluate.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
WaveletTL/interval/pq_evaluate.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
WaveletTL/interval/pq_evaluate.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for pq_evaluate.h #include <iostream> #include <Rd/r_index.h> #include <Rd/cdf_utils.h> #include <utils/array1d.h> #include <utils/tiny_tools.h> #include <numerics/schoenberg_splines.h> #include <interval/pq_frame.h> namespace WaveletTL { template <int d, int dT> SampledMapping<1> evaluate(cons...
50.763723
185
0.473249
kedingagnumerikunimarburg
dacbacc07dbccf978febc29d4f58d1d0538ec96b
1,051
cc
C++
src/v8capi.cc
mraleph/node-llvm
4cf3a16ca5d228bce3627f9631ae39bd79948eff
[ "Apache-2.0" ]
2
2015-04-02T02:07:41.000Z
2015-05-02T17:41:17.000Z
src/v8capi.cc
mraleph/node-llvm
4cf3a16ca5d228bce3627f9631ae39bd79948eff
[ "Apache-2.0" ]
null
null
null
src/v8capi.cc
mraleph/node-llvm
4cf3a16ca5d228bce3627f9631ae39bd79948eff
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 Google Inc. 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 by applicable...
31.848485
75
0.718363
mraleph
dacc543d24cfe7f8ce327e5ffa1812e89c4c24e8
2,877
cpp
C++
src/objects/world/island.cpp
gersrobert/ppgso-project
92748d3536acc635ad49cbdbdc38dc373ece7273
[ "MIT" ]
null
null
null
src/objects/world/island.cpp
gersrobert/ppgso-project
92748d3536acc635ad49cbdbdc38dc373ece7273
[ "MIT" ]
null
null
null
src/objects/world/island.cpp
gersrobert/ppgso-project
92748d3536acc635ad49cbdbdc38dc373ece7273
[ "MIT" ]
null
null
null
#include <src/util/bezier.h> #include <cmake-build-debug/shaders/texture_vert_glsl.h> #include <cmake-build-debug/shaders/texture_frag_glsl.h> #include <cmake-build-debug/shaders/diffuse_vert_glsl.h> #include <cmake-build-debug/shaders/diffuse_frag_glsl.h> #include <cmake-build-debug/shaders/volumetric_cloud_frag_glsl....
35.085366
100
0.649983
gersrobert
dad31754de4131db6ce68f4a25a1c292277812ce
2,946
cpp
C++
tests/catch_timer_manager.cpp
cracked-machine/embedded_utils
1c82938f66397d709cfbfc8c5b5da3b580b544aa
[ "MIT" ]
null
null
null
tests/catch_timer_manager.cpp
cracked-machine/embedded_utils
1c82938f66397d709cfbfc8c5b5da3b580b544aa
[ "MIT" ]
6
2022-01-08T13:08:57.000Z
2022-03-12T15:50:02.000Z
tests/catch_timer_manager.cpp
cracked-machine/embedded_utils
1c82938f66397d709cfbfc8c5b5da3b580b544aa
[ "MIT" ]
null
null
null
#include <catch2/catch_all.hpp> #include <timer_manager.hpp> #include <mock.hpp> TEST_CASE("Timer Manager - microsecond timer: Null Input", "[timer_manager]") { std::cout << "timer_manager - microsecond timer: Null Input" << std::endl; SECTION("Null Input") { TIM_TypeDef *null_timer = nullptr; ...
30.371134
114
0.6463
cracked-machine
dad43acc43b3f918559354c66009677dfbdbe0c8
3,058
cpp
C++
leetcode/biweekly/49.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/biweekly/49.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/biweekly/49.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: March 20th, 2021 Successful submissions : 2 Time expiration : 1 (solved after looking at the discussion) Not Solved : 1 Wrong Answer/ Partial result : 0 link: https://leetcode.com/contest/biweekly-contest-49 ***************************************************...
18.760736
100
0.503597
bvbasavaraju
dad63ec0f34a0ba95a11de28102bc7ed274985e8
553
cpp
C++
cppcheck/data/c_files/202.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/202.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/202.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
check_1_6_dummy(kadm5_principal_ent_t entry, long mask, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, char **passptr) { int i; char *password = *passptr; /* Old-style randkey operations disallowed tickets to start. */ if (!(mask & KADM5_ATTRIBUTES) || !(entry->attributes & KRB5_KDB_DISALLOW_ALL_TIX)) return; /* ...
27.65
63
0.690778
awsm-research
dade220ffff7fad38d1466bbcc9a13c6ec0cd33b
4,695
cpp
C++
Source/VSDKInputPlugin/Character/VSDKCharacter.cpp
charles-river-analytics/VSDK-Unreal
0f99ec140f6d6660a09148163bdd006c5ecc67d5
[ "MIT" ]
3
2021-05-26T14:12:01.000Z
2022-01-09T01:15:12.000Z
Source/VSDKInputPlugin/Character/VSDKCharacter.cpp
charles-river-analytics/VSDK-Unreal
0f99ec140f6d6660a09148163bdd006c5ecc67d5
[ "MIT" ]
null
null
null
Source/VSDKInputPlugin/Character/VSDKCharacter.cpp
charles-river-analytics/VSDK-Unreal
0f99ec140f6d6660a09148163bdd006c5ecc67d5
[ "MIT" ]
null
null
null
// Charles River Analytics Inc. -- Arthur Wollocko (awollocko@cra.com), 2020 #include "VSDKCharacter.h" #include <Camera/CameraComponent.h> #include <Components/StaticMeshComponent.h> #include <Engine/EngineTypes.h> #include "TimerManager.h" #include <GameFramework/PlayerController.h> #include <GameFramework/Actor.h> ...
31.510067
138
0.776997
charles-river-analytics
dae7c348c1105dac9b1457aaaef00931b3f76b92
1,094
cpp
C++
codeforces/easy_100/1395B.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
codeforces/easy_100/1395B.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
codeforces/easy_100/1395B.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int t; t = 1; while(t--){ int n,m,sx,sy; cin>>n>>m>>sx>>sy; int visited[n][m]; for(int i = 0; i<n; i++) for(int j =0; j<n; j++) visited[i][j] = -1; visited[sx-1][sy-1] = 1; ...
18.862069
83
0.304388
sidgairo18
dae96366ca73f596cacfc3c3db688548d1a6b4d4
43,029
cpp
C++
src/AdditiveVibration.cpp
pixelrust/LifeFormModular
c823c86c74a2c94d88327cf37bdcde5d80bb5645
[ "BSD-3-Clause" ]
8
2019-09-24T15:22:03.000Z
2022-03-02T22:58:51.000Z
src/AdditiveVibration.cpp
pixelrust/LifeFormModular
c823c86c74a2c94d88327cf37bdcde5d80bb5645
[ "BSD-3-Clause" ]
3
2019-10-01T16:54:45.000Z
2019-11-30T15:51:33.000Z
src/AdditiveVibration.cpp
pixelrust/LifeFormModular
c823c86c74a2c94d88327cf37bdcde5d80bb5645
[ "BSD-3-Clause" ]
2
2020-09-18T02:40:09.000Z
2021-10-01T00:30:47.000Z
#include "plugin.hpp" #include "dsp/math.hpp" //Based on 21Khz PalmLoop sine fm engine //https://github.com/21kHz/21kHz-rack-plugins //Env taken from Rampage //https://github.com/VCVRack/Befaco static float shapeDelta(float delta, float tau, float shape) { float lin = sgn(delta) * 10.f / tau; if (shape <...
43.158475
737
0.613772
pixelrust
daedfb6d4c815714adf69f4fcab58bf42c2f968c
3,941
cpp
C++
kernel/arch/x86_64/interrupt/interrupt.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
6
2021-11-06T08:42:41.000Z
2022-01-06T11:42:18.000Z
kernel/arch/x86_64/interrupt/interrupt.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:09:57.000Z
2022-01-09T18:09:57.000Z
kernel/arch/x86_64/interrupt/interrupt.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:07:42.000Z
2022-01-09T18:07:42.000Z
#include "interrupt.hpp" uint8_t ThornhillInterrupt::generateIdtDescriptorType(CpuIdtGateType gateType, CpuPrivilegeLevel privilegeLevel, bool storageSegment, bool interruptPresent) { return (interruptPresent << 7) | (privilegeLevel << 5) | (stora...
35.827273
99
0.70033
andr3h3nriqu3s11
daef3df0ebc8b08bd9ef0312656b9b3c9be50397
31,833
hpp
C++
clipper-parm/src/libclipper/include/clipper/task_executor.hpp
mukkachaitanya/parity-models
9f336a67798934d29592aca471dff6ad047473f6
[ "Apache-2.0" ]
32
2019-09-11T16:49:58.000Z
2022-01-26T15:40:40.000Z
clipper-parm/src/libclipper/include/clipper/task_executor.hpp
mukkachaitanya/parity-models
9f336a67798934d29592aca471dff6ad047473f6
[ "Apache-2.0" ]
5
2019-11-10T16:13:40.000Z
2022-01-13T01:31:51.000Z
clipper-parm/src/libclipper/include/clipper/task_executor.hpp
mukkachaitanya/parity-models
9f336a67798934d29592aca471dff6ad047473f6
[ "Apache-2.0" ]
9
2019-09-03T14:05:26.000Z
2021-12-22T07:17:27.000Z
#ifndef CLIPPER_LIB_TASK_EXECUTOR_H #define CLIPPER_LIB_TASK_EXECUTOR_H #include <chrono> #include <memory> #include <mutex> #include <string> #include <unordered_map> #include <boost/optional.hpp> #include <redox.hpp> #include <folly/futures/Future.h> #include <clipper/config.hpp> #include <clipper/containers.hpp...
42.728859
131
0.660667
mukkachaitanya
daf14555849e1909177fc404eb9a1937df729096
783
cpp
C++
MultiThreading/Signal.cpp
d3m37r4/VoiceTranscoder
a9ae70b436e26f6589ac7841749ce281c227bb2c
[ "Unlicense" ]
19
2019-11-26T13:49:34.000Z
2021-12-21T03:27:33.000Z
MultiThreading/Signal.cpp
d3m37r4/VoiceTranscoder
a9ae70b436e26f6589ac7841749ce281c227bb2c
[ "Unlicense" ]
17
2019-11-27T11:16:26.000Z
2021-02-04T07:21:01.000Z
MultiThreading/Signal.cpp
andrewlindberg/VoiceTranscoder
a9ae70b436e26f6589ac7841749ce281c227bb2c
[ "Unlicense" ]
7
2019-11-26T13:09:34.000Z
2020-12-13T05:48:27.000Z
#include "Signal.h" #ifdef _WIN32 #include <Windows.h> #elif defined __linux__ #include <pthread.h> #endif #ifdef _WIN32 Signal::Signal() { m_hEvent = CreateEvent(nullptr, FALSE/*TODO: or TRUE?*/, FALSE, nullptr); } Signal::~Signal() { CloseHandle(m_hEvent); } void Signal::Raise() { SetEvent(...
17.795455
75
0.669221
d3m37r4
daf170dd7178d8aa213b14eeb05b9e35dc0f3352
6,720
cxx
C++
MITK/Plugins/uk.ac.ucl.cmic.breastsegmentation/src/internal/BreastSegmentationView.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Plugins/uk.ac.ucl.cmic.breastsegmentation/src/internal/BreastSegmentationView.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Plugins/uk.ac.ucl.cmic.breastsegmentation/src/internal/BreastSegmentationView.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
27.883817
94
0.525893
NifTK
daf3ca43955a9ce0bc51721ec6b3c0661f33a7c6
1,020
ipp
C++
include/boost/net/impl/ssl_verify_callback.ipp
vinniefalco/ssl_verify
9554e5534be7c9a95785c04e8635a58558090604
[ "BSL-1.0" ]
2
2019-02-01T10:44:39.000Z
2019-02-26T18:17:44.000Z
include/boost/net/impl/ssl_verify_callback.ipp
vinniefalco/ssl_verify
9554e5534be7c9a95785c04e8635a58558090604
[ "BSL-1.0" ]
null
null
null
include/boost/net/impl/ssl_verify_callback.ipp
vinniefalco/ssl_verify
9554e5534be7c9a95785c04e8635a58558090604
[ "BSL-1.0" ]
2
2021-05-06T16:50:56.000Z
2022-01-16T23:04:40.000Z
// // Copyright (c) 2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/ssl_verify // #ifndef BOOST_NET_SS...
17.894737
79
0.742157
vinniefalco
daf4c18e3b9f4cb9dfa6d34e58018a6ef00c8711
1,041
cc
C++
cpp/mock/test2/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
1
2021-09-22T10:56:13.000Z
2021-09-22T10:56:13.000Z
cpp/mock/test2/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
1
2022-02-15T03:53:47.000Z
2022-02-15T03:53:47.000Z
cpp/mock/test2/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> #include <gtest/gtest.h> #include <stdio.h> using namespace testing; class Test { public: int getInterValue(void); int getOneInterValue(int a); }; class MockTest { public: MOCK_METHOD0(getInterValue, int()); MOCK_METHOD1(getOneInterValue, int(int a)); }; TEST(GtestMocktest, ...
21.244898
70
0.596542
hackin-zhao
daf78f7d59eab72dcce1fe84543dba1db50576d1
18,686
cpp
C++
src/translator.cpp
saeenyoda/Gomm_Compiler
64e238c8476663eb1b6fe76630b7bb6f8f919882
[ "Unlicense", "MIT" ]
null
null
null
src/translator.cpp
saeenyoda/Gomm_Compiler
64e238c8476663eb1b6fe76630b7bb6f8f919882
[ "Unlicense", "MIT" ]
1
2021-06-26T08:00:40.000Z
2021-06-26T08:00:40.000Z
src/translator.cpp
saeenyoda/Gomm_Compiler
64e238c8476663eb1b6fe76630b7bb6f8f919882
[ "Unlicense", "MIT" ]
null
null
null
/* GENERATES BOTH TAC AND MACHINE CODE*/ #include "translator.h" #include <fstream> #include <iostream> #include <sstream> #include <algorithm> #include "error_handler.h" Translator *Translator::m_Instance; Translator::Translator(const std::string &wListPath, const std::string &stPath) { run(wLi...
21.677494
230
0.511988
saeenyoda
dafcdc05ec4fba55d331c891e2416959ad3db796
551
cpp
C++
PushMeasurementOnDeepSleep/TempHumBehavior.cpp
vknabel/arduino-push-measurements-on-deep-sleep
47e9193d5e4e6ab314d7214dd781bde7dd30903d
[ "MIT" ]
null
null
null
PushMeasurementOnDeepSleep/TempHumBehavior.cpp
vknabel/arduino-push-measurements-on-deep-sleep
47e9193d5e4e6ab314d7214dd781bde7dd30903d
[ "MIT" ]
null
null
null
PushMeasurementOnDeepSleep/TempHumBehavior.cpp
vknabel/arduino-push-measurements-on-deep-sleep
47e9193d5e4e6ab314d7214dd781bde7dd30903d
[ "MIT" ]
null
null
null
#include "TempHumBehavior.h" #include "StringHelpers.h" TempHumBehavior::TempHumBehavior(TempHumSensor tempHumSensor) : Behavior(), _sensor(tempHumSensor) { } void TempHumBehavior::setup() { _sensor.setup(); } String TempHumBehavior::characteristics() { float temperature = 0.0; float humidity = 0.0; if (...
23.956522
61
0.682396
vknabel
dafd00a356b1c08940cefd482878bd30dc3cb5a6
17,771
cpp
C++
Source.cpp
kenjinote/DownloadTumblrVideo
d6c989cd7b8b0833f4ba9c73f0b38908302bc7c1
[ "MIT" ]
2
2017-09-29T13:22:31.000Z
2021-12-15T02:56:03.000Z
Source.cpp
kenjinote/DownloadTumblrVideo
d6c989cd7b8b0833f4ba9c73f0b38908302bc7c1
[ "MIT" ]
null
null
null
Source.cpp
kenjinote/DownloadTumblrVideo
d6c989cd7b8b0833f4ba9c73f0b38908302bc7c1
[ "MIT" ]
1
2022-03-05T04:28:15.000Z
2022-03-05T04:28:15.000Z
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #pragma comment(lib, "rpcrt4") #pragma comment(lib, "shlwapi") #pragma comment(lib, "wininet") #pragma comment(lib, "comctl...
29.717391
218
0.69861
kenjinote
970572e01e99fd246b9b4ac5c673f5ba133b29c3
2,579
hpp
C++
src/backend/opencl/kernel/laswp.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
src/backend/opencl/kernel/laswp.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
src/backend/opencl/kernel/laswp.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
25.038835
77
0.586661
JuliaComputing
9707a75797344671face8866fc32b9a89391c535
422
cpp
C++
data-structure/Desorden.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Desorden.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Desorden.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
//Programa de insersion, eliminacion, busqueda, etc. //en un arreglo unidimensional desordenado. //Castillo Gardea Mariano //01070097 #include <iostream.h> #include <stdio.h> #include <conio.h> void captura(int); int k; int n=100; void main() {int datos[100]; clrscr(); captura(datos[100]); getchar(); } void captura(i...
22.210526
58
0.694313
ejpcr
8ccce31936abca36fa81aeef5a6d2d2221fe7d97
5,063
hxx
C++
arm9/source/emucore/M6502.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
13
2020-11-25T20:58:44.000Z
2022-02-01T19:10:27.000Z
arm9/source/emucore/M6502.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
null
null
null
arm9/source/emucore/M6502.hxx
wavemotion-dave/StellaDS
8aa9954c9294c3d567b156619472a31ff6863da0
[ "MIT" ]
3
2021-07-29T10:05:51.000Z
2022-01-10T02:14:58.000Z
//============================================================================ // // MM MM 6666 555555 0000 2222 // MMMM MMMM 66 66 55 00 00 22 22 // MM MMM MM 66 55 00 00 22 // MM M MM 66666 55555 00 00 22222 -- "A 6502 Microprocessor Emulator" // MM MM 66 66 55 00 00 22 ...
25.315
79
0.634802
wavemotion-dave
8ccda9f8961cfad017b3667e6fcd0367dca439bc
48
cpp
C++
base/src/GameSparks/GSTypedResponse.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
7
2019-07-11T02:05:32.000Z
2020-11-01T18:57:51.000Z
base/src/GameSparks/GSTypedResponse.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
3
2019-02-26T15:59:03.000Z
2019-06-04T10:46:07.000Z
base/src/GameSparks/GSTypedResponse.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
6
2020-05-18T08:44:47.000Z
2022-02-26T12:18:17.000Z
/* empty file to avoid breaking project files */
48
48
0.75
djdron
8cd68c562c2f066bb4487fcca286be583e8b2d57
304
hpp
C++
src/mapping.hpp
StanislavPavlic/countmap
1c6ea352dc2cffb4db079aeba797bdb0c0a6726f
[ "MIT" ]
null
null
null
src/mapping.hpp
StanislavPavlic/countmap
1c6ea352dc2cffb4db079aeba797bdb0c0a6726f
[ "MIT" ]
null
null
null
src/mapping.hpp
StanislavPavlic/countmap
1c6ea352dc2cffb4db079aeba797bdb0c0a6726f
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <string> struct mapping_t { std::string qname; int flag; std::string rname; uint32_t pos; uint32_t mapq; std::string cigar; std::string rnext; uint32_t pnext; int32_t tlen; std::string seq; std::string qual; uint32_t nm; int32_t as; };
15.2
20
0.677632
StanislavPavlic
8cdd3f86def43518f1bc231e47ad04088bb7de24
2,775
cc
C++
src/envoy/http/service_control/filter_stats.cc
CorrelatedLabs/esp-v2
9fa93040d70f98087b3586a88a0764b9f5ec544c
[ "Apache-2.0" ]
163
2019-12-18T18:40:50.000Z
2022-03-17T03:34:22.000Z
src/envoy/http/service_control/filter_stats.cc
CorrelatedLabs/esp-v2
9fa93040d70f98087b3586a88a0764b9f5ec544c
[ "Apache-2.0" ]
669
2019-12-19T00:36:12.000Z
2022-03-30T20:27:52.000Z
src/envoy/http/service_control/filter_stats.cc
CorrelatedLabs/esp-v2
9fa93040d70f98087b3586a88a0764b9f5ec544c
[ "Apache-2.0" ]
177
2019-12-19T00:35:51.000Z
2022-03-24T10:22:23.000Z
// Copyright 2019 Google LLC // // 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...
30.163043
133
0.687207
CorrelatedLabs
8ce181e8a1569aba3217505aafd9f4c234959a66
625
hpp
C++
include/experimental/meta/v1/type.hpp
mwoehlke/viboes-std-make
5d65a40289301ae35a8f32349c13c365a553dc51
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/meta/v1/type.hpp
mwoehlke/viboes-std-make
5d65a40289301ae35a8f32349c13c365a553dc51
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/meta/v1/type.hpp
mwoehlke/viboes-std-make
5d65a40289301ae35a8f32349c13c365a553dc51
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Vicente J. Botet Escriba 2014. // 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) // ///////////////////////////////...
20.16129
93
0.5232
mwoehlke
8ce3b36b1dc0f9cdf066be87d0d4f0c2c5cc3bac
3,586
cpp
C++
ToolKit/Controls/Splitter/XTPSplitterWndTheme.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
ToolKit/Controls/Splitter/XTPSplitterWndTheme.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
ToolKit/Controls/Splitter/XTPSplitterWndTheme.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
// XTPSplitterWndTheme.cpp: implementation of the XTPSplitterWndTheme class. // // This file is a part of the XTREME CONTROLS MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER ...
29.636364
96
0.709147
11Zero
8ceb329e848263ff88ee9386ad30b397f7b0f33a
907
cpp
C++
Whakman/ImageManager.cpp
dingjun/Whakman
ee70583481d942a98210744f0e56e747c157549d
[ "MIT" ]
null
null
null
Whakman/ImageManager.cpp
dingjun/Whakman
ee70583481d942a98210744f0e56e747c157549d
[ "MIT" ]
null
null
null
Whakman/ImageManager.cpp
dingjun/Whakman
ee70583481d942a98210744f0e56e747c157549d
[ "MIT" ]
null
null
null
#include "ImageManager.h" std::vector<IImage*> ImageManager::_images; void ImageManager::init(ISBZLibrary* lib) { _images.push_back(lib->load_image("images/wall_cross.png")); _images.push_back(lib->load_image("images/wall_end.png")); _images.push_back(lib->load_image("images/wall_straight.png")); _images.push...
36.28
65
0.736494
dingjun
8ceda98027b8496b244f038002cc2e3b6a452829
1,872
cpp
C++
Chapter_4_Graph/Graph_Traversal/kattis_gold.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
2
2021-12-29T04:12:59.000Z
2022-03-30T09:32:19.000Z
Chapter_4_Graph/Graph_Traversal/kattis_gold.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
null
null
null
Chapter_4_Graph/Graph_Traversal/kattis_gold.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
1
2022-03-01T06:12:46.000Z
2022-03-01T06:12:46.000Z
/**Kattis - gold * BFS floodfill, but with the modification that we don't go to any adjancent cells if there exist * a draft, ie there exist a trap that we could potentially go to. * * Time: O(hw), Space: O(hw) */ #pragma GCC optimize("Ofast") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,f...
24.96
98
0.459936
BrandonTang89
8cf66d901dedcd6eceffaa0f696b3e2212403ccb
586
cpp
C++
src/Random.cpp
darklam/CppNeuralNetwork
8edd53f0c9917cd4d217287d3fb711f2fccc43c1
[ "MIT" ]
null
null
null
src/Random.cpp
darklam/CppNeuralNetwork
8edd53f0c9917cd4d217287d3fb711f2fccc43c1
[ "MIT" ]
null
null
null
src/Random.cpp
darklam/CppNeuralNetwork
8edd53f0c9917cd4d217287d3fb711f2fccc43c1
[ "MIT" ]
null
null
null
#include <random> #include "Random.h" double Random::randomDouble(double min, double max){ std::random_device rd; std::mt19937 gen(rd()); std::uniform_real_distribution<double> dist(min, max); return dist(gen); } double Random::randomDouble(double max){ return Random::randomDouble(0, ma...
24.416667
59
0.658703
darklam
8cf7587ce6fb25b5f8732ca0b3b998eb088e6568
6,728
cpp
C++
src/visitor/test/FoldConstantExprVisitorTest.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/visitor/test/FoldConstantExprVisitorTest.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/visitor/test/FoldConstantExprVisitorTest.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 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 "visitor/FoldConstantExprVisitor.h" #include <gtest/gtest.h> #include "util/ObjectPool.h" using Type = nebu...
37.171271
100
0.625149
yixinglu
8cfdfb1762e52d384b218580e1a4114d7937deaf
182
hh
C++
TrkBase/TrkHitListIter.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkHitListIter.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkHitListIter.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
#ifndef TRKHITLISTITER_HH #define TRKHITLISTITER_HH #include "TrkBase/TrkHitOnTrkIter.hh" #include "TrkBase/TrkHitList.hh" typedef TrkHitList::hot_iterator TrkHitListIter; #endif
18.2
48
0.82967
brownd1978
8cff2e7f7a69347fb018276c81594de5be419c8e
1,123
cpp
C++
src/base/CloudProcessor.cpp
mcserep/railroad
17666e6db3b1847e81c76bdf25b83343439df169
[ "BSD-3-Clause" ]
14
2018-12-28T06:36:29.000Z
2022-03-08T02:29:37.000Z
src/base/CloudProcessor.cpp
enginBozkurt/railroad
0b9fcc463d88c1bc625008cabb81891cd164a8a5
[ "BSD-3-Clause" ]
2
2021-03-11T02:59:57.000Z
2021-12-14T22:31:16.000Z
src/base/CloudProcessor.cpp
enginBozkurt/railroad
0b9fcc463d88c1bc625008cabb81891cd164a8a5
[ "BSD-3-Clause" ]
13
2018-07-14T04:53:11.000Z
2022-02-22T02:44:57.000Z
/* * BSD 3-Clause License * Copyright (c) 2018-2020, Máté Cserép & Péter Hudoba * All rights reserved. * * You may obtain a copy of the License at * https://opensource.org/licenses/BSD-3-Clause */ #include <pcl/common/io.h> #include "CloudProcessor.h" #include "../helpers/LogHelper.h" namespace railroad { pcl...
28.794872
87
0.60463
mcserep
ea008823030fc2e0a50d0141929428dae103364b
212
cpp
C++
C++/Esercizi/es.13_pag.377_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/es.13_pag.377_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/es.13_pag.377_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main (){ float t =20; float g =9.81; float h = g*t*t/2; cout << "il corpo e' caduto da una altezza di: " ; cout << h; cout << " metri\n"; }
10.6
52
0.533019
Daniele-Tentoni
ea01a2fc4457bf6e2fb96a29daf11992a9e5e837
3,116
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcTimePeriod.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcTimePeriod.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcTimePeriod.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
47.212121
221
0.723363
linsipese
ea06d30177ece38b4129d391a84e1422624ad922
1,774
hpp
C++
libgramtools/include/genotype/infer/types.hpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/include/genotype/infer/types.hpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/include/genotype/infer/types.hpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
#ifndef GT_INFER_TYPES #define GT_INFER_TYPES #include <memory> #include "genotype/quasimap/coverage/types.hpp" namespace gram::genotype::infer { class Genotyper; using gtyper_ptr = std::shared_ptr<Genotyper>; class GenotypedSite; using gt_site = GenotypedSite; using gt_site_ptr = std::shared_ptr<GenotypedSite>; usi...
29.566667
78
0.709132
bricoletc
ea0b203195062a973edd40d2fc9f18d6fbf66f09
1,267
hpp
C++
src/lib/logical_query_plan/sort_node.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/lib/logical_query_plan/sort_node.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/lib/logical_query_plan/sort_node.hpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#pragma once #include <string> #include <vector> #include "abstract_lqp_node.hpp" #include "lqp_column_reference.hpp" #include "types.hpp" namespace opossum { /** * Struct to specify Order By items. * Order By items are defined by the column they operate on and their sort order. */ struct OrderByDefinition { O...
26.395833
97
0.78453
IanJamesMcKay
ea111f8dd2e1f4f2b5114570bae53f2ab171a89d
3,772
cpp
C++
OverlordEditor/GeneratedFiles/Release/moc_NewProjectWindow.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
1
2018-11-28T12:30:13.000Z
2018-11-28T12:30:13.000Z
OverlordEditor/GeneratedFiles/Debug/moc_NewProjectWindow.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
null
null
null
OverlordEditor/GeneratedFiles/Debug/moc_NewProjectWindow.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
2
2019-12-28T12:34:51.000Z
2021-03-08T08:37:33.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'NewProjectWindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
30.666667
96
0.632291
Ruvah
ea18c3b4711930b2c38703929f2c338ae1aa4d4e
2,225
hpp
C++
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Config.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Config.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Config.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
#pragma once // config.hpp #include <string> using namespace std; //================================================================== // Class Declaration // //================================================================== class Config { public: ...
36.47541
87
0.660225
aimldl
ea19c954d672732183127b1dbfb3c86302cfbde7
244
hpp
C++
Include/FishEngine/Physics/RaycastHit.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-12-20T02:38:44.000Z
2018-12-20T02:38:44.000Z
Include/FishEngine/Physics/RaycastHit.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
null
null
null
Include/FishEngine/Physics/RaycastHit.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-10-25T19:40:22.000Z
2018-10-25T19:40:22.000Z
#pragma once #include "../Math/Vector3.hpp" #include "../Math/Vector2.hpp" namespace FishEngine { class Collider; struct RaycastHit { Vector3 m_Point; float m_Distance; Vector3 m_Normal; Collider* m_Collider; Vector2 m_UV; }; }
13.555556
30
0.709016
yushroom
ea1dc87cbfb4389461e41c0f4d872db1ee69e362
922
cpp
C++
cl_dll/hud_nextmap.cpp
rtxa/OpenAG
fad63ee16e956353b54bc497cc4067102d3d1e33
[ "MIT" ]
108
2016-06-19T15:24:42.000Z
2022-01-21T16:51:13.000Z
cl_dll/hud_nextmap.cpp
rtxa/OpenAG
fad63ee16e956353b54bc497cc4067102d3d1e33
[ "MIT" ]
147
2016-06-19T18:15:35.000Z
2022-03-19T05:48:26.000Z
cl_dll/hud_nextmap.cpp
rtxa/OpenAG
fad63ee16e956353b54bc497cc4067102d3d1e33
[ "MIT" ]
54
2016-12-05T15:49:48.000Z
2022-03-21T23:07:09.000Z
#include "hud.h" #include "cl_util.h" #include "parsemsg.h" DECLARE_MESSAGE(m_NextMap, Nextmap); int CHudNextMap::Init() { HOOK_MESSAGE(Nextmap); m_iFlags = 0; next_map[ARRAYSIZE(next_map) - 1] = '\0'; gHUD.AddHudElem(this); return 0; } int CHudNextMap::VidInit() { m_iFlags &= ~HUD_ACTIVE; return 1; } int...
17.074074
91
0.686551
rtxa
ea258e164bf869fa7bf4ed7e9398308bcb7eed82
606
cpp
C++
src/sys/animate.cpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
7
2020-06-16T18:47:35.000Z
2021-08-25T13:41:13.000Z
src/sys/animate.cpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
15
2020-07-23T14:03:39.000Z
2022-01-28T02:32:07.000Z
src/sys/animate.cpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
null
null
null
/*! * WTEngine | File: animate.cpp * * \author Matthew Evans * \version 0.7 * \copyright See LICENSE.md for copyright information. * \date 2019-2021 */ #include "wtengine/sys/animate.hpp" namespace wte::sys { /* * */ animate::animate() : system("animate", true) {} /* * */ void animate::run(void) { ...
18.363636
64
0.608911
wtfsystems
ea2ad5b7727759ae9a55d500f4248afc5a407d81
242
cpp
C++
Sem1/WDI/laborka/Zadanie1/main.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
1
2021-06-03T14:54:30.000Z
2021-06-03T14:54:30.000Z
Sem1/WDI/laborka/Zadanie1/main.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
null
null
null
Sem1/WDI/laborka/Zadanie1/main.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { cout << "Program do obliczania kwadratow liczb od -100 do 100!" << endl; int n=100; for(int i=-n; i<=n; i++) { cout<<i<<"^2 ="<<i*i<<endl; } return 0; }
15.125
76
0.524793
YuunOoO
ea2b5172dc14fcb9abad32d623f73bfbe2364b14
5,213
cpp
C++
src/board.cpp
szdytom/five-a-row
a88e8c3229d0f32ea5f39ec0102e373db6012cf6
[ "MIT" ]
null
null
null
src/board.cpp
szdytom/five-a-row
a88e8c3229d0f32ea5f39ec0102e373db6012cf6
[ "MIT" ]
null
null
null
src/board.cpp
szdytom/five-a-row
a88e8c3229d0f32ea5f39ec0102e373db6012cf6
[ "MIT" ]
null
null
null
/** * board.cpp * * Define of functions and classes in board.h */ #include "../include/board.h" #include <algorithm> #include <cstdio> const int ltzero::Board::size = 15; void ltzero::Board::clear_state() { this->status = 0; this->state.clear(); this->state.resize(ltzero::Board::size); for (int i = 0; i < lt...
19.236162
91
0.547286
szdytom
ea2f24144e07a6575b0d3044c3a09534394c8327
2,871
hpp
C++
src/manager.hpp
AmbrSb/LServer
97fde72db060bcc4a5ea4e6fd6d9fff603a23fcf
[ "BSD-2-Clause" ]
1
2021-09-01T08:57:10.000Z
2021-09-01T08:57:10.000Z
src/manager.hpp
AmbrSb/LServer
97fde72db060bcc4a5ea4e6fd6d9fff603a23fcf
[ "BSD-2-Clause" ]
null
null
null
src/manager.hpp
AmbrSb/LServer
97fde72db060bcc4a5ea4e6fd6d9fff603a23fcf
[ "BSD-2-Clause" ]
null
null
null
/* * BSD 2-Clause License * * Copyright (c) 2021, Amin Saba * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
33.383721
79
0.723093
AmbrSb
ea32df2408f04df4e0b388293744f483005b0d31
5,650
hh
C++
Xtide/xtide-2.14/libxtide/config.hh
lobrien/TideMonkey
296d8d24f25f5ef5aeafa1bab4a82246843fe9a7
[ "MIT" ]
1
2019-05-01T19:56:38.000Z
2019-05-01T19:56:38.000Z
Xtide/xtide-2.14/libxtide/config.hh
lobrien/TideMonkey
296d8d24f25f5ef5aeafa1bab4a82246843fe9a7
[ "MIT" ]
null
null
null
Xtide/xtide-2.14/libxtide/config.hh
lobrien/TideMonkey
296d8d24f25f5ef5aeafa1bab4a82246843fe9a7
[ "MIT" ]
null
null
null
// $Id: config.hh 5748 2014-10-11 19:38:53Z flaterco $ // Compiled-in defaults for settings. // These are XTide's internal configurables ("settings") which can be // overridden at run time. If you were looking for the GNU standard config.h // that is generated by autoconf and contains immutable installation choices ...
33.832335
77
0.72177
lobrien
ea342c66e8b83ea52d6a16d41b837cd1f9ab2941
976
cpp
C++
DataOrientedDesign/BoatsTestCase/dod_boat.cpp
SpowNzz/HellocplusplusBlog
492dee9dcce85e3a85fbe3d7fe23fb4d83b4f37b
[ "MIT" ]
null
null
null
DataOrientedDesign/BoatsTestCase/dod_boat.cpp
SpowNzz/HellocplusplusBlog
492dee9dcce85e3a85fbe3d7fe23fb4d83b4f37b
[ "MIT" ]
null
null
null
DataOrientedDesign/BoatsTestCase/dod_boat.cpp
SpowNzz/HellocplusplusBlog
492dee9dcce85e3a85fbe3d7fe23fb4d83b4f37b
[ "MIT" ]
null
null
null
#include "dod_boat.h" #include <cassert> void BoatRentalDataStore::CreateBoatMonthlyRentalInfo(const string& inName, unsigned int inNrOfRents, float inMaintenanceCostPerRent, float inEarningsPerRent) { m_BoatNames.push_back(inName); m_MaintenanceCostData.push_back({ inNrO...
32.533333
84
0.773566
SpowNzz
ea361b97cca06a318a30d699eefb1be5dc682013
5,878
cpp
C++
libs/cephes/cephes.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
16
2016-11-09T15:45:52.000Z
2021-03-05T13:52:24.000Z
libs/cephes/cephes.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
36
2015-10-13T19:22:57.000Z
2020-05-12T16:23:55.000Z
libs/cephes/cephes.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
4
2016-08-21T00:37:01.000Z
2022-02-10T16:06:41.000Z
#include <stdio.h> #include <math.h> #include "cephes.h" static const double rel_error = 1E-12; double MACHEP = 1.11022302462515654042E-16; // 2**-53 double MAXLOG = 7.09782712893383996732224E2; // log(MAXNUM) double MAXNUM = 1.7976931348623158E308; // 2**1024*(1-MACHEP) double PI = 3.1415926535897932...
18.254658
81
0.511058
pvavercak
ea3a761d00b86c8e52afada1c16a001475086bb6
1,890
cpp
C++
simplelinearregression.cpp
JUNZ1/Godot_MachineLearning
d596b695056839f7a610375bfc81dfdf0c654210
[ "MIT" ]
16
2020-08-11T19:53:34.000Z
2022-02-15T15:05:07.000Z
simplelinearregression.cpp
JUNZ1/Godot_MachineLearning
d596b695056839f7a610375bfc81dfdf0c654210
[ "MIT" ]
1
2020-08-11T17:23:29.000Z
2020-08-11T17:23:29.000Z
simplelinearregression.cpp
JUNZ1/Godot_MachineLearning
d596b695056839f7a610375bfc81dfdf0c654210
[ "MIT" ]
null
null
null
#include "simplelinearregression.h" SimpleLinearRegression::SimpleLinearRegression() { _simpleLR.TrainingFinish = std::bind(&SimpleLinearRegression::BinderForFinished,this,std::placeholders::_1); ADD_SIGNAL(MethodInfo("TrainingFinished", PropertyInfo(Variant::BOOL, "TEST TEXT"))); } SimpleLinearRegression::SimpleLi...
32.033898
109
0.790476
JUNZ1
ea3d8a4b4bb50a105e1c1edb306cb86dab38d31e
843
hpp
C++
FileLoad/f_load.hpp
Rintarooo/DTAM_Mapping
4da777b9b50c01c44307b583733726e471c56b98
[ "MIT" ]
null
null
null
FileLoad/f_load.hpp
Rintarooo/DTAM_Mapping
4da777b9b50c01c44307b583733726e471c56b98
[ "MIT" ]
null
null
null
FileLoad/f_load.hpp
Rintarooo/DTAM_Mapping
4da777b9b50c01c44307b583733726e471c56b98
[ "MIT" ]
null
null
null
#ifndef FILELOADER_H #define FILELOADER_H #include <iostream> #include <string> // string #include <fstream> // ifstream, ofstream #include <sstream> // stringstream #include <vector> #include <opencv2/opencv.hpp> #include <iomanip> // https://stackoverflow.com/questions/225362/convert-a-number-to-a-string-with...
26.34375
120
0.685647
Rintarooo
ea3e3d8ee026aa880443e59e5ece0579daaf87ec
4,552
cpp
C++
build/main/Player.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
build/main/Player.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
build/main/Player.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
#include "Player.h" #include "Game.h" Player::Player() { mPlayerFrameSpeed = 16; mVelocity = 4; mXBound = 0; mYBound = 0; //map size lastLife = false; dtTime = 0; invulnerableTime = 3000; } Player::~Player() { } void Player::init(int xBounds, int yBounds, string hitAudioId) { playerHit...
19.046025
129
0.623682
walthill
ea40e6193b9dd77573d66db31a16c63e87541c04
165
cpp
C++
atcoder/abc099/A.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
1
2019-08-03T13:42:16.000Z
2019-08-03T13:42:16.000Z
atcoder/abc099/A.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
null
null
null
atcoder/abc099/A.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; cout << ((n < 1000) ? "ABC" : "ABD") << endl; return 0; }
12.692308
49
0.521212
SashiRin
ea4544e8f8fdd2ee21f84537eb8b7aa7dbecc39c
13,717
cpp
C++
GeneratedFiles/Debug/moc_std.toolbar.cpp
wilsonsouza/stdx.frame.x86
c9e0cc4c748f161367531990e5795a700f40e5ec
[ "Apache-2.0" ]
null
null
null
GeneratedFiles/Debug/moc_std.toolbar.cpp
wilsonsouza/stdx.frame.x86
c9e0cc4c748f161367531990e5795a700f40e5ec
[ "Apache-2.0" ]
null
null
null
GeneratedFiles/Debug/moc_std.toolbar.cpp
wilsonsouza/stdx.frame.x86
c9e0cc4c748f161367531990e5795a700f40e5ec
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'std.toolbar.hpp' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0) ** ** WARNING! All changes made in this file will be lost! *************************************************...
41.566667
147
0.573303
wilsonsouza
357ccc3d7794bc38c683b0d83e93df2ddc1eae5e
3,879
cpp
C++
corelib/src/Monitor.cpp
supersaiyajinggod/VISFS
6567df9b064437a32dc96d6f03ef6cd4ea1b24ce
[ "BSD-3-Clause" ]
3
2021-06-09T13:20:59.000Z
2022-01-14T13:31:11.000Z
corelib/src/Monitor.cpp
supersaiyajinggod/VISFS
6567df9b064437a32dc96d6f03ef6cd4ea1b24ce
[ "BSD-3-Clause" ]
null
null
null
corelib/src/Monitor.cpp
supersaiyajinggod/VISFS
6567df9b064437a32dc96d6f03ef6cd4ea1b24ce
[ "BSD-3-Clause" ]
null
null
null
#include <opencv2/highgui/highgui_c.h> #include "Monitor.h" #include "Stl.h" namespace VISFS { Monitor::Monitor(const ParametersMap & _parameters) : sensorStrategy_(Parameters::defaultSystemSensorStrategy()) { Parameters::parse(_parameters, Parameters::kSystemSensorStrategy(), sensorStrategy_); } void ...
39.581633
187
0.55272
supersaiyajinggod
357dc2c2141c89de0b9d552cd46b1076521c22df
2,273
cpp
C++
benchmark/src/benchmark_number.cpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
192
2016-09-29T17:10:07.000Z
2022-03-22T15:22:48.000Z
benchmark/src/benchmark_number.cpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
35
2016-10-03T16:57:12.000Z
2021-09-28T13:11:15.000Z
benchmark/src/benchmark_number.cpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
47
2016-09-29T08:21:32.000Z
2022-03-19T10:05:43.000Z
/* * Copyright (c) 2016 Spotify AB * * 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 i...
28.772152
80
0.707435
ivangalkin