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
0602eef030e608c320629f0423eed9ca999ab00e
4,551
cpp
C++
StuFW/src/sdcard/sdfat/usbflashdrive/Sd2Card.cpp
onekk/StuFW
9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b
[ "RSA-MD" ]
1
2020-12-30T21:45:12.000Z
2020-12-30T21:45:12.000Z
StuFW/src/sdcard/sdfat/usbflashdrive/Sd2Card.cpp
onekk/StuFW
9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b
[ "RSA-MD" ]
1
2020-08-24T16:17:25.000Z
2020-08-24T16:17:25.000Z
StuFW/src/sdcard/sdfat/usbflashdrive/Sd2Card.cpp
onekk/StuFW
9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b
[ "RSA-MD" ]
null
null
null
/** * StuFW Firmware for 3D Printer * * Based on MK4duo, Marlin, Sprinter and grbl * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * Copyright (C) 2013 Alberto Cotronei @MagoKimbra * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
29.745098
102
0.646891
onekk
0608dc08a733393b79d1110cbbb2d5f1d070edd6
1,844
cpp
C++
2. Yellow/4 Week/6. Person Stats/person_stats.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
14
2019-08-29T12:34:07.000Z
2022-03-09T13:31:18.000Z
2. Yellow/4 Week/6. Person Stats/person_stats.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
null
null
null
2. Yellow/4 Week/6. Person Stats/person_stats.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
8
2020-09-10T11:40:03.000Z
2022-03-24T00:34:38.000Z
// // Created by ilya on 10.09.2019. // #include <iostream> #include <vector> #include <algorithm> //#include "PersonStats.h" void PrintStats(std::vector<Person> persons) { auto females_end = partition( begin(persons), end(persons), [](const Person& p) { return p.gender == Gender::FEMALE; } )...
31.793103
79
0.604664
freeraisor
0609c1d53d3ee605bf5e3e28ed384d7e588d9037
2,611
cpp
C++
animal.cpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
animal.cpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
animal.cpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
#include "animal.hpp" /****************************************************************** * Function: Animal() * Description: Default empty Animal constructor * Parameters: None * Pre-Conditions: None * Post-Conditions: None ******************************************************************/ Animal::Anim...
33.050633
68
0.442359
bolym
060ce7b2e8023f5011ca1d1621819033881cff0d
572
cpp
C++
Engine/extern/Tools/fontexplorer/fontexplorer/ToString.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/extern/Tools/fontexplorer/fontexplorer/ToString.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/extern/Tools/fontexplorer/fontexplorer/ToString.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
#include "stdafx.h" #include "ToString.h" /**************************************************************************** * ToString * Inputs: * LPCTSTR fmt: Format code * DWORD value: Value to format * Result: CString * * Effect: * The value formatted to a string *...
21.185185
77
0.403846
AnkurSheel
060e0f210d5284c3af336b904da88d87f27d9053
2,282
cpp
C++
qt-creator-4.14/src/libs/utils/globalfilechangeblocker.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-28T23:27:04.000Z
2021-12-28T23:27:04.000Z
qt-creator-4.14/src/libs/utils/globalfilechangeblocker.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
null
null
null
qt-creator-4.14/src/libs/utils/globalfilechangeblocker.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-29T11:25:37.000Z
2021-12-29T11:25:37.000Z
/**************************************************************************** ** ** Copyright (C) 2019 Orgad Shaneh <orgads@gmail.com> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** ...
32.140845
103
0.685802
peng1ei
0614effb570546d1b9b455eaa4dc730ec39b9f58
1,479
cpp
C++
core/src/jni/jni/RippleLikeMemo.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/src/jni/jni/RippleLikeMemo.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/src/jni/jni/RippleLikeMemo.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from memo.djinni #include "RippleLikeMemo.hpp" // my header #include "Marshal.hpp" namespace djinni_generated { RippleLikeMemo::RippleLikeMemo() = default; RippleLikeMemo::~RippleLikeMemo() = default; auto RippleLikeMemo::fromCpp(JNIEnv* jniE...
44.818182
116
0.613928
RomanWlm
061eb36c64dd57b4032a834789d86dab9559a4e0
4,019
cpp
C++
DrawDemo/EPolygon.cpp
lucka-me/DrawDemo
339b83d73da4b2805a2cb1d1358b071f1655d8cc
[ "MIT" ]
2
2019-04-28T19:44:52.000Z
2021-03-19T08:40:29.000Z
DrawDemo/EPolygon.cpp
lucka-me/DrawDemo
339b83d73da4b2805a2cb1d1358b071f1655d8cc
[ "MIT" ]
null
null
null
DrawDemo/EPolygon.cpp
lucka-me/DrawDemo
339b83d73da4b2805a2cb1d1358b071f1655d8cc
[ "MIT" ]
2
2018-12-30T08:58:46.000Z
2019-04-28T19:44:55.000Z
#include "stdafx.h" #include "EPolygon.h" IMPLEMENT_SERIAL(EPolygon, CObject, 1) EPolygon::EPolygon() { lineWidth = 1; fillColor = RGB(255, 255, 255); } EPolygon::~EPolygon() { } void EPolygon::Serialize(CArchive & ar) { Element::Serialize(ar); nodeList.Serialize(ar); if (ar.IsStoring()) { ar << lineWidth; ...
21.842391
62
0.667579
lucka-me
0621da3c4dfa98dd523ce84d8e6e36a109a7b477
1,011
hpp
C++
include/huckleberry/spi/Bus.hpp
krzysztof-magosa/huckleberry
fd20fca1a63e2609554dce5f0d312c98e9fb1d0d
[ "Apache-2.0" ]
null
null
null
include/huckleberry/spi/Bus.hpp
krzysztof-magosa/huckleberry
fd20fca1a63e2609554dce5f0d312c98e9fb1d0d
[ "Apache-2.0" ]
null
null
null
include/huckleberry/spi/Bus.hpp
krzysztof-magosa/huckleberry
fd20fca1a63e2609554dce5f0d312c98e9fb1d0d
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2014 Krzysztof Magosa * * 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...
25.275
75
0.705242
krzysztof-magosa
16489762131b75aff7151021a3dc9e2d06095c4b
169
cpp
C++
RobotQ/ManualControl.cpp
MuseumRobot/RobotQ
36b490020b00a2aebebe1fc83bdf21172ffb6cfa
[ "MIT" ]
1
2018-07-25T04:04:51.000Z
2018-07-25T04:04:51.000Z
RobotQ/ManualControl.cpp
MuseumRobot/RobotQ
36b490020b00a2aebebe1fc83bdf21172ffb6cfa
[ "MIT" ]
null
null
null
RobotQ/ManualControl.cpp
MuseumRobot/RobotQ
36b490020b00a2aebebe1fc83bdf21172ffb6cfa
[ "MIT" ]
1
2019-08-09T11:05:27.000Z
2019-08-09T11:05:27.000Z
#include "stdafx.h" #include "ManualControl.h" ManualControl::ManualControl(QWidget *parent):QDialog(parent){ ui.setupUi(this); } ManualControl::~ManualControl(){ }
15.363636
62
0.745562
MuseumRobot
16492f7b2f574f33e04de4fab045fc995f024552
243
cpp
C++
Day0.cpp
itsDV7/30DaysOfCode_HackerRank
8394d47d710031eed92232efb8ee45145fc20a18
[ "MIT" ]
null
null
null
Day0.cpp
itsDV7/30DaysOfCode_HackerRank
8394d47d710031eed92232efb8ee45145fc20a18
[ "MIT" ]
null
null
null
Day0.cpp
itsDV7/30DaysOfCode_HackerRank
8394d47d710031eed92232efb8ee45145fc20a18
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <string> int main() { std::cout << "Hello, World.\n"; std::string s; getline(std::cin, s); std::cout << s; return 0; }
16.2
35
0.600823
itsDV7
16498afceeeb183353db90d5ffdc541c23abb918
1,117
cpp
C++
src/Modules/VScript.cpp
Krzyhau/KrzyMod
d4c6183e4feba4fcdcb396ece0eea88ff307f3b6
[ "MIT" ]
3
2022-01-01T04:25:53.000Z
2022-02-15T03:57:52.000Z
src/Modules/VScript.cpp
Krzyhau/KrzyMod
d4c6183e4feba4fcdcb396ece0eea88ff307f3b6
[ "MIT" ]
11
2021-12-10T20:18:46.000Z
2021-12-10T20:44:43.000Z
src/Modules/VScript.cpp
Krzyhau/KrzyMod
d4c6183e4feba4fcdcb396ece0eea88ff307f3b6
[ "MIT" ]
1
2021-12-18T09:52:03.000Z
2021-12-18T09:52:03.000Z
#include "VScript.hpp" #include "Interface.hpp" #include "Offsets/Offsets.hpp" #include "Utils.hpp" #include "Command.hpp" #include "Console.hpp" #include "Engine.hpp" REDECL(VScript::CreateVM); DETOUR_T(void*, VScript::CreateVM, int language) { auto scriptVM = VScript::CreateVM(thisptr, language); // if engine st...
24.822222
95
0.717099
Krzyhau
164cbd180fa65b971e71ea4cae45a94e5b86effa
2,205
cpp
C++
Source/RenderingVTK/Testing/imstkRenderScreenshotTest.cpp
liangxijie/iMSTK
4304c9c299d686997ed53a322927ffbeac9499c1
[ "Apache-2.0" ]
null
null
null
Source/RenderingVTK/Testing/imstkRenderScreenshotTest.cpp
liangxijie/iMSTK
4304c9c299d686997ed53a322927ffbeac9499c1
[ "Apache-2.0" ]
null
null
null
Source/RenderingVTK/Testing/imstkRenderScreenshotTest.cpp
liangxijie/iMSTK
4304c9c299d686997ed53a322927ffbeac9499c1
[ "Apache-2.0" ]
null
null
null
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
32.910448
114
0.664853
liangxijie
16504588118bda569ffc6665743e2c7f66763591
1,861
cpp
C++
sdk/func/funcSingle.cpp
darkain/RMX-Automation
b98df45a40c6e5ce8a8770579788274924d9e851
[ "BSD-3-Clause" ]
1
2020-07-22T20:02:59.000Z
2020-07-22T20:02:59.000Z
sdk/func/funcSingle.cpp
darkain/RMX-Automation
b98df45a40c6e5ce8a8770579788274924d9e851
[ "BSD-3-Clause" ]
null
null
null
sdk/func/funcSingle.cpp
darkain/RMX-Automation
b98df45a40c6e5ce8a8770579788274924d9e851
[ "BSD-3-Clause" ]
null
null
null
/****************************** RMX SDK ******************************\ * Copyright (c) 2007 Vincent E. Milum Jr., All rights reserved. * * * * See license.txt for more information * * ...
35.113208
94
0.53036
darkain
165090ff096c0f2d5f9d3b69ce2b1fe1e446a611
314
cpp
C++
Chapter 03(1)/Chapter 03/pr3-28.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
Chapter 03(1)/Chapter 03/pr3-28.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
Chapter 03(1)/Chapter 03/pr3-28.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
// This program demonstrates cin's getline function // to read a line of text into a C-string. #include <iostream> using namespace std; int main() { const int SIZE = 81; char sentence[SIZE]; cout << "Enter a sentence: "; cin.getline(sentence, SIZE); cout << "You entered " << sentence << endl; return 0; }
19.625
51
0.678344
chong0810
16538c8e45ae2b6e76a47f5e7bd449ee49b6e8e3
2,103
cpp
C++
TG/bookcodes/ch2/uva10561.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
TG/bookcodes/ch2/uva10561.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/bookcodes/ch2/uva10561.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa10561 Treblecross (限于篇幅,书上无此代码) // Rujia Liu #include<cstdio> #include<cstring> #include<vector> #include<algorithm> using namespace std; const int maxn = 200; int g[maxn + 10]; bool winning(const char* state) { int n = strlen(state); for(int i = 0; i < n-2; i++) if(state[i] == 'X' && state[i+1] == 'X' ...
24.172414
88
0.481217
Anyrainel
1657cc15bce46a0b758e0b834f4705f51b7d5b92
13,215
cpp
C++
MNE/disp3D/engine/model/items/network/networktreeitem.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
MNE/disp3D/engine/model/items/network/networktreeitem.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
MNE/disp3D/engine/model/items/network/networktreeitem.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file networktreeitem.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date January, 2016 * * @section LICENSE ...
37.757143
183
0.520923
13grife37
165c4c6f47e9f1b2345a4e827d505a8bddff8364
4,432
cpp
C++
lib/src/filter_seq.cpp
akowalew/cpu-image-filters
6f81b9c15a6817f52aecabc8823668abe2579da8
[ "MIT" ]
null
null
null
lib/src/filter_seq.cpp
akowalew/cpu-image-filters
6f81b9c15a6817f52aecabc8823668abe2579da8
[ "MIT" ]
null
null
null
lib/src/filter_seq.cpp
akowalew/cpu-image-filters
6f81b9c15a6817f52aecabc8823668abe2579da8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // filter.cpp // // Contains definitions of image filtering functions - Sequential version // // Author: akowalew (ram.techen@gmail.com) // Date: 8.12.2019 13:13 CEST /////////////////////////////////////////////////////////////////////////...
27.190184
79
0.662229
akowalew
165e0ff3e912b7680ca7d94ab064fe01d33fdfb6
5,540
hpp
C++
rmf_fleet_adapter/src/rmf_fleet_adapter/ScheduleManager.hpp
Yadunund/rmf_core
90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf
[ "Apache-2.0" ]
null
null
null
rmf_fleet_adapter/src/rmf_fleet_adapter/ScheduleManager.hpp
Yadunund/rmf_core
90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf
[ "Apache-2.0" ]
1
2020-06-12T08:57:11.000Z
2020-06-17T11:29:33.000Z
rmf_fleet_adapter/src/rmf_fleet_adapter/ScheduleManager.hpp
Yadunund/rmf_core
90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 Open Source Robotics Foundation * * 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 appl...
32.781065
80
0.780866
Yadunund
165e46160a72c0d1f4ab945506656b1e72eac32d
257
hpp
C++
textureManager.hpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
textureManager.hpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
textureManager.hpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
#ifndef TEXTUREMANAGER_HPP #define TEXTUREMANAGER_HPP #include <map> #include <string> #include <SFML/Graphics/Texture.hpp> namespace textureManagerTool { sf::Texture& getThisTexture(std::string textureName); void clearTexturesLoaded(); } #endif
17.133333
57
0.770428
FranckRJ
165f4ae5f013c604fcd6674a495525a5014bc52d
3,460
cpp
C++
Opal Prospect/OpenGL/Buffers/InterleavedVAO3D.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
2
2018-06-06T02:01:08.000Z
2020-07-25T18:10:32.000Z
Opal Prospect/OpenGL/Buffers/InterleavedVAO3D.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
10
2018-07-27T01:56:45.000Z
2019-02-23T01:49:36.000Z
Opal Prospect/OpenGL/Buffers/InterleavedVAO3D.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
null
null
null
//class header #include "InterleavedVAO3D.hpp" //std lib includes //other includes /* MIT License Copyright (c) 2018 Scott Bengs 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 restric...
23.378378
115
0.745954
swbengs
166172632195b39733894b1701477d307a7b52cb
1,696
cpp
C++
Crowny/Source/Platform/Vulkan/VulkanShader.cpp
bojosos/Nworc
a59cb18412a45a101f877caedf6ed0025a9e44a9
[ "MIT" ]
null
null
null
Crowny/Source/Platform/Vulkan/VulkanShader.cpp
bojosos/Nworc
a59cb18412a45a101f877caedf6ed0025a9e44a9
[ "MIT" ]
null
null
null
Crowny/Source/Platform/Vulkan/VulkanShader.cpp
bojosos/Nworc
a59cb18412a45a101f877caedf6ed0025a9e44a9
[ "MIT" ]
null
null
null
#include "cwpch.h" #include "Platform/Vulkan/VulkanShader.h" #include "Platform/Vulkan/VulkanRenderAPI.h" #include "Crowny/Common/VirtualFileSystem.h" namespace Crowny { VulkanShaderModule::VulkanShaderModule(VulkanResourceManager* owner, VkShaderModule module) : VulkanResource(owner, true), m_Module(mod...
36.869565
116
0.723467
bojosos
1661f4410197b7b1b457c8f086d907b0d28a2f1f
511
cpp
C++
Entrenamiento/Temas/Union Find/QuickUnion.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/Temas/Union Find/QuickUnion.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/Temas/Union Find/QuickUnion.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
#include <vector> class QuickUnion { private: std::vector<int> root; public: QuickUnion(int size) : root(size) { for (int i = 0; i < size; i++) { root[i] = i; } } //O(n) int find(int x) { while(x != root[x]) { x = root[x]; } return x; } //O(n) void Union(int x, int y) { ...
16.483871
37
0.48728
snat-s
1662316e261035dd33ef69c1916f56f2985cd7b5
1,806
cpp
C++
SpaceBattle/StarTrekShip.cpp
dtran007/C-
61568ad79e0ba73f531189c3cf61533d3a839361
[ "MIT" ]
null
null
null
SpaceBattle/StarTrekShip.cpp
dtran007/C-
61568ad79e0ba73f531189c3cf61533d3a839361
[ "MIT" ]
null
null
null
SpaceBattle/StarTrekShip.cpp
dtran007/C-
61568ad79e0ba73f531189c3cf61533d3a839361
[ "MIT" ]
1
2021-09-01T10:40:42.000Z
2021-09-01T10:40:42.000Z
/* ----------------------------------------------------------------------------- * * * * File Name: StarTrekShip.cpp * * Author: Danny Tran * * Description: Implementation File for StarTrekShip Class * * Date: 17 Feb 2017 * * * ----------------------------------------------------------------------------...
19.846154
171
0.652824
dtran007
1666d05da69eb37b8880eb08307f9ad50032bb29
748
cpp
C++
Triangle/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
null
null
null
Triangle/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
null
null
null
Triangle/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
1
2021-10-11T19:18:37.000Z
2021-10-11T19:18:37.000Z
#define VULKAN #include "lib/triangle.hpp" int main () { int n; std::vector <geom::triangle_> T; std::vector <geom::vector_> V(3); std::set <int> res1; geom::my_tree Tree; std::cin >> n; double w = 1.0; for (int i = 0; i < n; ++i) { for (int j = 0; j < 3; ++j) ...
16.26087
51
0.474599
yanelox
1668261aad474e7cdcd95536815d0c66b82192d6
11,465
cpp
C++
src/drivers/cloak.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/cloak.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/cloak.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/**************************************************************************** Master processor IRQ: 4 IRQ's per frame at even intervals, 4th IRQ is at start of VBLANK 000-3FF Working RAM 400-7FF Playfield RAM 800-FFF Communication RAM (shared with slave processor) 1000-100F Pokey 1 1008 (R) bit 7 = Star...
27.297619
104
0.666725
pierrelouys
16704d36db6431f1ac965d907621dfebebc5729b
2,353
hpp
C++
include/morphotree/attributes/extinctionValues/ExtinctionValueComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
include/morphotree/attributes/extinctionValues/ExtinctionValueComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
include/morphotree/attributes/extinctionValues/ExtinctionValueComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma once #include "morphotree/tree/mtree.hpp" #include "morphotree/attributes/attributeComputer.hpp" #include "morphotree/attributes/extinctionValues/ExtinctionValueLeavesComputer.hpp" #include <limits> #include <unordered_map> #include <vector> namespace morphotree { template<class ValueType, class AttrType> ...
33.140845
103
0.705057
dennisjosesilva
167099e2f09aff23e5549e874f88b3aa9021aa29
135
cpp
C++
044_Scattering (light)/Viewer/Fixity.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
044_Scattering (light)/Viewer/Fixity.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
044_Scattering (light)/Viewer/Fixity.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Fixity.h" Fixity::Fixity() { } Fixity::~Fixity() { } void Fixity::Update() { Rotation(); View(); }
7.5
21
0.592593
HansWord
1673bf7e3ef0bdc1c76c896c7a2b871ac3b5cb1b
5,646
cpp
C++
Plugins/UnLua/Source/UnLuaTestSuite/Private/Specs/LuaLib_Object.spec.cpp
GotGimhong/UnLua
8969f90e349700ba6e8afdb130f4c7b9aec24830
[ "MIT" ]
2
2022-01-05T06:42:51.000Z
2022-03-10T07:19:11.000Z
Plugins/UnLua/Source/UnLuaTestSuite/Private/Specs/LuaLib_Object.spec.cpp
GotGimhong/UnLua
8969f90e349700ba6e8afdb130f4c7b9aec24830
[ "MIT" ]
null
null
null
Plugins/UnLua/Source/UnLuaTestSuite/Private/Specs/LuaLib_Object.spec.cpp
GotGimhong/UnLua
8969f90e349700ba6e8afdb130f4c7b9aec24830
[ "MIT" ]
null
null
null
// Tencent is pleased to support the open source community by making UnLua available. // // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the License. You may obtain a copy of the...
32.448276
143
0.585724
GotGimhong
167712bc753c504bfdb9ce8bf74d4608f7efbf5a
5,561
cpp
C++
App/AudioTee.cpp
frewsxcv/WavTap
1b4e323ca04bc5fc60348f858959c29a56b72536
[ "MIT" ]
502
2015-01-01T19:48:06.000Z
2022-03-17T23:22:31.000Z
App/AudioTee.cpp
frewsxcv/WavTap
1b4e323ca04bc5fc60348f858959c29a56b72536
[ "MIT" ]
34
2015-02-10T16:58:19.000Z
2019-04-11T15:36:54.000Z
App/AudioTee.cpp
frewsxcv/WavTap
1b4e323ca04bc5fc60348f858959c29a56b72536
[ "MIT" ]
69
2015-01-04T12:17:02.000Z
2022-02-27T14:26:40.000Z
#include <iostream> #include <fstream> #include <time.h> #include <AudioToolbox/AudioFile.h> #include <AudioToolbox/AudioConverter.h> #include <CARingBuffer.h> #include <CABitOperations.h> #include "AudioTee.hpp" #include "AudioDevice.hpp" #include "WavFileUtils.hpp" AudioTee::AudioTee(AudioDeviceID inputDeviceID, Aud...
55.61
326
0.78619
frewsxcv
16784f56f6fb059e017f17a4b2f274efa1d68ea5
797
cpp
C++
docs/mfc/codesnippet/CPP/servers-implementing-in-place-frame-windows_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/codesnippet/CPP/servers-implementing-in-place-frame-windows_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/codesnippet/CPP/servers-implementing-in-place-frame-windows_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-11-01T12:33:08.000Z
2021-11-16T13:21:19.000Z
BOOL CInPlaceFrame::OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc) { UNREFERENCED_PARAMETER(pWndDoc); // Set owner to this window, so messages are delivered to correct app m_wndToolBar.SetOwner(this); // Create toolbar on client's frame window if (!m_wndToolBar.CreateEx(pWndFrame, TBSTYL...
34.652174
86
0.739021
jmittert
1678fb31d3b3b11004831ae34583f2bf8afa35d1
4,865
cpp
C++
modules/descriptors/src/lbp_features.cpp
ssig/ssf
b9cfc46d6ca725488cfea311a4ef2d9550db4694
[ "BSD-3-Clause" ]
10
2015-05-11T20:03:26.000Z
2015-05-11T22:16:32.000Z
modules/descriptors/src/lbp_features.cpp
smartsenselab/ssiglib
b9cfc46d6ca725488cfea311a4ef2d9550db4694
[ "BSD-3-Clause" ]
14
2015-03-13T15:54:33.000Z
2015-10-29T22:49:33.000Z
modules/descriptors/src/lbp_features.cpp
ssig/ssf
b9cfc46d6ca725488cfea311a4ef2d9550db4694
[ "BSD-3-Clause" ]
9
2015-05-30T03:40:38.000Z
2015-09-05T02:19:47.000Z
/*L***************************************************************************** * * Copyright (c) 2015, Smart Surveillance Interest Group, all rights reserved. * * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. * * By downloading, copying, installing or using the software you agree to this * lic...
30.987261
80
0.642138
ssig
167dfc80910d487d73ca8772a3edce471c4e39b9
5,681
cpp
C++
C22_Physics/MobManager.cpp
DennisSSDev/SteveAttack
20ba985bd5b1c3d55b7bd0fb543e30a1c87333dd
[ "MIT" ]
null
null
null
C22_Physics/MobManager.cpp
DennisSSDev/SteveAttack
20ba985bd5b1c3d55b7bd0fb543e30a1c87333dd
[ "MIT" ]
null
null
null
C22_Physics/MobManager.cpp
DennisSSDev/SteveAttack
20ba985bd5b1c3d55b7bd0fb543e30a1c87333dd
[ "MIT" ]
null
null
null
/*---------------------------------------------- Programmer: Ruben Young (ray6190@rit.edu) Date: 2019/11 ----------------------------------------------*/ #include "MobManager.h" #include <stdlib.h> // rand #include "Projectile.h" // projectile #include <time.h> // time(NULL) namespace Simplex { MobManager* MobManag...
28.123762
109
0.613096
DennisSSDev
1681636942b0f69bfa2cdc0fc18cacc404da089c
12,712
cpp
C++
testing/Asm/testNeuralNetLib.cpp
ponymalt3/sl_processor
a8875a4345e24577d0df930ea83ff20f11e41590
[ "MIT" ]
null
null
null
testing/Asm/testNeuralNetLib.cpp
ponymalt3/sl_processor
a8875a4345e24577d0df930ea83ff20f11e41590
[ "MIT" ]
null
null
null
testing/Asm/testNeuralNetLib.cpp
ponymalt3/sl_processor
a8875a4345e24577d0df930ea83ff20f11e41590
[ "MIT" ]
null
null
null
#include "RTAsmTest.h" #include <mtest.h> class testNeuralNetLib : public mtest::test { }; MTEST(testNeuralNetLib,test_that_neural_net_evaluation_function_works_correct) { std::string file=__FILE__; RTProg testCode=RTProg::createFromFile(file.substr(0,file.find_last_of("/")+1)+"nnet_resolved"); testCode.append...
26.538622
140
0.691394
ponymalt3
1684afad451204a43285243be13a478e73b50747
895
cpp
C++
source/Utils.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
source/Utils.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
source/Utils.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
#include "Utils.h" bool OneOf(char symbol, const char *set) { if (symbol == 0) return true; for (; *set; ++set) if (symbol == *set) return true; return false; } stl::vector<char *> SplitText(char *text, size_t length, const char *splitters, const char *ignoreBlockEnders) { ...
23.552632
110
0.536313
Ivan-Medvedev
16879d3c96f52dd2af7d46e158bba630baec3dd3
2,275
cc
C++
onnxruntime/core/framework/tensor_external_data_info.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
4
2019-06-06T23:48:57.000Z
2021-06-03T11:51:45.000Z
onnxruntime/core/framework/tensor_external_data_info.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
10
2019-03-25T21:47:46.000Z
2019-04-30T02:33:05.000Z
onnxruntime/core/framework/tensor_external_data_info.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
3
2019-05-07T01:29:04.000Z
2020-08-09T08:36:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "tensor_external_data_info.h" #include "core/common/common.h" #include "path_lib.h" #ifdef _WIN32 #include <Windows.h> #endif using ::google::protobuf::RepeatedPtrField; using ::ONNX_NAMESPACE::StringStringEntryPr...
43.75
111
0.66989
codemzs
16885449019dbce9976b83134c961d18b2c0279f
2,077
cpp
C++
src/text/TextSystem.cpp
morphogencc/sitara-ecs
c699ddc013a9c039b8a18000a4b88a1423e51225
[ "MIT" ]
null
null
null
src/text/TextSystem.cpp
morphogencc/sitara-ecs
c699ddc013a9c039b8a18000a4b88a1423e51225
[ "MIT" ]
7
2020-05-19T17:28:43.000Z
2022-01-06T01:28:49.000Z
src/text/TextSystem.cpp
sitara-systems/sitara-ecs
c699ddc013a9c039b8a18000a4b88a1423e51225
[ "MIT" ]
null
null
null
#pragma once #ifdef USING_SDFTEXT #include "cinder/app/App.h" #include "text/TextSystem.h" using namespace sitara::ecs; TextSystem::TextSystem() { } TextSystem::~TextSystem() { } void TextSystem::configure(entityx::EntityManager& entities, entityx::EventManager& events) { } void TextSystem::update(entityx::Entit...
40.72549
226
0.740491
morphogencc
168ae6162d4e05953380c9921b46032f561d9e27
4,683
hpp
C++
include/wtengine/_globals/message.hpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
7
2020-06-16T18:47:35.000Z
2021-08-25T13:41:13.000Z
include/wtengine/_globals/message.hpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
15
2020-07-23T14:03:39.000Z
2022-01-28T02:32:07.000Z
include/wtengine/_globals/message.hpp
wtfsystems/wtengine
0fb56d6eb2ac6359509e7a52876c8656da6b3ce0
[ "MIT" ]
null
null
null
/*! * WTEngine | File: message.hpp * * \author Matthew Evans * \version 0.7 * \copyright See LICENSE.md for copyright information. * \date 2019-2021 */ #ifndef WTE_MSG_MESSAGE_HPP #define WTE_MSG_MESSAGE_HPP #include <string> #include <vector> #include <sstream> namespace wte { /*! * \typedef std::vector<...
25.730769
81
0.518471
wtfsystems
168dfb1143d22665613374bb325c6bb513c778f6
3,716
hpp
C++
types/NumericTypeUnifier.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
types/NumericTypeUnifier.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
types/NumericTypeUnifier.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
25.805556
79
0.751615
Hacker0912
1693144bcee4970d7b8666ffabfa0b0f8b3e294f
2,395
cpp
C++
Code/Workspace.cpp
ProgramMax/maxHex
cea3d1564b951e99f4bc9d6324850b254de28380
[ "BSD-3-Clause" ]
1
2019-07-13T05:31:14.000Z
2019-07-13T05:31:14.000Z
Code/Workspace.cpp
ProgramMax/maxHex
cea3d1564b951e99f4bc9d6324850b254de28380
[ "BSD-3-Clause" ]
25
2019-07-13T05:37:40.000Z
2019-12-03T12:38:29.000Z
Code/Workspace.cpp
ProgramMax/maxHex
cea3d1564b951e99f4bc9d6324850b254de28380
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019, The maxHex Contributors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "Workspace.hpp" #include <Windows.h> #include <vector> #include <memory> #include <utility> #include "File.hpp" #include "FileBac...
29.9375
116
0.706054
ProgramMax
1695bb389ef4b8073a736be4f0ef6490cb6282b5
2,031
hpp
C++
src/papki/zip_file.hpp
lapfelix/papki
29423cb52b6601041d1bbdb7fe73f74f84a4f037
[ "MIT" ]
null
null
null
src/papki/zip_file.hpp
lapfelix/papki
29423cb52b6601041d1bbdb7fe73f74f84a4f037
[ "MIT" ]
1
2021-05-05T21:56:28.000Z
2021-06-09T08:48:17.000Z
src/papki/zip_file.hpp
lapfelix/papki
29423cb52b6601041d1bbdb7fe73f74f84a4f037
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2015-2021 Ivan Gagis <igagis@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,...
32.758065
104
0.755785
lapfelix
16961df049fe217522f80874ae3b918b90964a7c
506
cpp
C++
ActionAccessPoint.cpp
tommywu052/ReButtonApp
413a7d8289e7ad0c934915043fa9fd09f6949574
[ "MIT" ]
1
2019-05-02T10:29:31.000Z
2019-05-02T10:29:31.000Z
ActionAccessPoint.cpp
tommywu052/ReButtonApp
413a7d8289e7ad0c934915043fa9fd09f6949574
[ "MIT" ]
null
null
null
ActionAccessPoint.cpp
tommywu052/ReButtonApp
413a7d8289e7ad0c934915043fa9fd09f6949574
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "Config.h" #include "ActionAccessPoint.h" #include "AutoShutdown.h" #include <AZ3166WiFi.h> #include "HttpServer.h" #include "ActionAccessPointCli.h" bool ActionAccessPoint() { Serial.println("ActionAccessPoint()"); AutoShutdownUpdateStartTime(); AutoShutdownSetTimeout(CONFIG_AUTO...
20.24
90
0.770751
tommywu052
1697800f2a8785f430a16bc9bf8c9e894dcb2478
4,540
cpp
C++
CSpy++/USBDevice.cpp
jsjtsty/CSpypp
81b7e3a2aca92c70f4f11cb0b2aff4aaec57ab56
[ "MIT" ]
3
2020-04-29T09:02:45.000Z
2020-12-21T01:24:13.000Z
CSpy++/USBDevice.cpp
jsjtsty/CSpypp
81b7e3a2aca92c70f4f11cb0b2aff4aaec57ab56
[ "MIT" ]
null
null
null
CSpy++/USBDevice.cpp
jsjtsty/CSpypp
81b7e3a2aca92c70f4f11cb0b2aff4aaec57ab56
[ "MIT" ]
1
2020-12-21T01:25:41.000Z
2020-12-21T01:25:41.000Z
#include "USBDevice.h" #include "StringExt.h" #ifdef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN #include <Windows.h> #include <SetupAPI.h> #endif using namespace std; #define NUMBER_OF_BUS_TYPE_STRINGS (sizeof(BusTypeStrings) / sizeof(BusTypeStrings[0])) USBDevice::USBDevice(wchar_t driveLetter) : Volume() { t...
29.102564
162
0.761013
jsjtsty
169e7293a82c4d70655f290f0ce808316188237b
403
hpp
C++
include/negli/Position.hpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
include/negli/Position.hpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
include/negli/Position.hpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
#ifndef NEGLI_POSITION_HPP_INC #define NEGLI_POSITION_HPP_INC namespace negli { class Position { public: int x, y; Position(int p_x, int p_y) : x(p_x), y(p_y) {} ~Position() {} Position operator+=(const Position& posToAdd) { this->x += posToAdd.x; ...
17.521739
54
0.521092
DomonkosSuranyi
16a0c877e767fda84f101d7954f2144e16810784
17,080
hpp
C++
cpp/sdk/include/violas_client2.hpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/include/violas_client2.hpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/include/violas_client2.hpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
2
2021-12-28T06:50:27.000Z
2022-02-15T09:28:36.000Z
#pragma once #include <string_view> #include <memory> #include <tuple> #include <coroutine> #include <diem_types.hpp> #include <utils.hpp> #include <bcs_serde.hpp> #include <json_rpc.hpp> #include "wallet.hpp" namespace dt = diem_types; using ta = dt::TransactionArgument; namespace violas { inline static const...
36.889849
141
0.543091
violas-core
16a25c03cb5da6cb146f656bda863b4eafa03848
421
cpp
C++
leetcode/findpeakelement_.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
leetcode/findpeakelement_.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
leetcode/findpeakelement_.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: int findPeakElement(const vector<int> &num) { int l=0; int r=num.size()-1; while(l<r){ int mid=(l+r)/2; if(num[mid]<num[mid+1]){ //find in the right l=mid+1; }else{ ...
20.047619
49
0.353919
WIZARD-CXY
16ac35805633241d8ad90c23dbecd4bd1c642aff
6,489
cpp
C++
src/Managers/SoundManager.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Managers/SoundManager.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Managers/SoundManager.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <KYEngine/Core.h> #include <KYEngine/Entity.h> #include <KYEngine/Utility/KYMath.h> #include <KYEngine/Music.h> #include <KYEngine/Sound.h> #include <KYEngine/SoundBuffer.h> #include <KYEngine/Private/Resources/SoundImpl.h> #include <KYEngine/Managers/SoundManager.h> #include <iostream> #include <stdexcept> #...
27.495763
157
0.682077
heltena
16acd7f5a7617cc6a77ba007afcb84c9eecf4be9
17,621
cc
C++
Plugins/MediaPipe/Source/MediaPipe/Private/mediapipe/modules/face_geometry/protos/face_geometry.pb.cc
sixtolink/ue4-mediapipe-plugin
f9423faa38fedc614499b2b97ec145711cac55e8
[ "Apache-2.0" ]
86
2021-07-16T05:01:59.000Z
2022-03-25T17:20:09.000Z
Plugins/MediaPipe/Source/MediaPipe/Private/mediapipe/modules/face_geometry/protos/face_geometry.pb.cc
dpredie/ue4-mediapipe-plugin
3481e312bad0faa15c31e1581e8ee56d2711145a
[ "Apache-2.0" ]
31
2021-07-18T07:11:06.000Z
2022-03-30T07:02:10.000Z
Plugins/MediaPipe/Source/MediaPipe/Private/mediapipe/modules/face_geometry/protos/face_geometry.pb.cc
dpredie/ue4-mediapipe-plugin
3481e312bad0faa15c31e1581e8ee56d2711145a
[ "Apache-2.0" ]
32
2021-07-18T10:29:17.000Z
2022-03-30T12:16:02.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: mediapipe/modules/face_geometry/protos/face_geometry.proto #include "mediapipe/modules/face_geometry/protos/face_geometry.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include ...
45.298201
305
0.787242
sixtolink
16b51811d0e441c0b7bd6dcab83ce25e036255f4
3,256
cpp
C++
SPOJ/circuits.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
SPOJ/circuits.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
SPOJ/circuits.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdio> #include <string> #include <cstring> #include <cstdlib> #include <stack> #include <algorithm> #include <cctype> #include <vector> #include <queue> #include <tr1/unordered_map> #include <cmath> #include <map> #include <bitset> #include <set> #include <iomanip> using namespace std; t...
23.257143
68
0.48188
henviso
16c13e6b80409505cd2d90fcf9dbdbce3dd88cd5
9,399
cpp
C++
test/bucket_sort_test/src/bitonic_sort.cpp
Licheng-Guo/RapidStream
19d0d8c0f7766fdfb612252483f59660e21fddc0
[ "MIT" ]
69
2021-12-16T12:58:10.000Z
2022-03-22T00:45:13.000Z
test/bucket_sort_test/src/bitonic_sort.cpp
Licheng-Guo/RapidStream
19d0d8c0f7766fdfb612252483f59660e21fddc0
[ "MIT" ]
1
2021-12-16T16:43:34.000Z
2021-12-16T16:43:34.000Z
test/bucket_sort_test/src/bitonic_sort.cpp
Licheng-Guo/RapidStream
19d0d8c0f7766fdfb612252483f59660e21fddc0
[ "MIT" ]
10
2021-12-17T18:18:19.000Z
2022-03-17T15:56:15.000Z
#include "constant.h" // swap 1 return the smaller value record_t swap1(record_t in_1, record_t in_2) { #pragma HLS inline return (in_1 > in_2) ? in_2 : in_1; } // swap 2 return the smaller value record_t swap2(record_t in_1, record_t in_2) { #pragma HLS inline return (in_1 > in_2) ? in_1 : in_2; } void bito...
28.056716
124
0.602617
Licheng-Guo
16c194d469255107e193d363c6419595951fe1e0
1,930
cpp
C++
sizzlinglib/JsonUtils.cpp
SizzlingStats/sizzlingplugins
f4947ca0533fe8f9241387a26fb1df4cd04f4c98
[ "Unlicense", "BSD-3-Clause" ]
5
2015-06-23T23:21:28.000Z
2021-09-14T00:35:33.000Z
sizzlinglib/JsonUtils.cpp
SizzlingStats/sizzlingplugins
f4947ca0533fe8f9241387a26fb1df4cd04f4c98
[ "Unlicense", "BSD-3-Clause" ]
8
2015-04-06T23:06:57.000Z
2017-06-15T20:28:17.000Z
sizzlinglib/JsonUtils.cpp
SizzlingStats/sizzlingplugins
f4947ca0533fe8f9241387a26fb1df4cd04f4c98
[ "Unlicense", "BSD-3-Clause" ]
3
2015-10-16T22:22:29.000Z
2021-11-10T05:03:37.000Z
/*======== This file is part of SizzlingPlugins. Copyright (c) 2010-2013, Jordan Cristiano. This file is subject to the terms and conditions defined in the file 'LICENSE', which is part of this source code package. */ #include "JsonUtils.h" #include <rapidjson/writer.h> n...
19.896907
65
0.651295
SizzlingStats
16c6333787ffb747599c25cf7e61450df5d4d987
436
cpp
C++
game/src/component/background.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
game/src/component/background.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
game/src/component/background.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
#include "component/background.h" using namespace glm; namespace bko { Background background_new(const Texture& texture, const vec2& position, const vec2& size) { Background self{}; self.sprite.texture = texture; self.sprite.color = vec3{ 1.0f, 1.0f , 1.0f }; self.sprite.position = position; self.sprite...
17.44
79
0.704128
IsmailSamir
16c7897be861cd47b46dce1cb14ae6b7f88249d5
717
cpp
C++
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_8.cpp
vjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
2
2020-04-13T20:46:23.000Z
2020-06-09T04:38:15.000Z
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_8.cpp
vjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
null
null
null
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_8.cpp
vjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
null
null
null
//Copyright 2016 Vinicius Sa (viniciusjavs@gmail.com) //Chapter 4, Exercise 8 /* * How many squares are required to give * one mil, million and billion grains of rice? */ #include "std_lib_facilities.h" int main() { vector<unsigned long long int> quantitys { 1'000u, 1'000'000u, 1'000'000'000u }; ...
26.555556
71
0.60251
vjavs
16c7ece50ff1ffe8b60e319c4360b1a523dc60a3
4,710
cpp
C++
src/gui/TimerDisplayPane.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
null
null
null
src/gui/TimerDisplayPane.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
null
null
null
src/gui/TimerDisplayPane.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
null
null
null
// // Created by Dylan Meadows on 2020-03-10. // #include "TimerDisplayPane.h" #include <QFontDatabase> #include <QGroupBox> #include <QStyle> #include <QVBoxLayout> namespace gui { TimerDisplayPane::TimerDisplayPane(service::TimerService *timerService, const model::setting...
39.25
117
0.581104
AyanamiRei1
16c8a7ebe706f2a229ac54335e30598657a0c4af
2,940
cpp
C++
LeetCode/Problems/Algorithms/#130_SurroundedRegions_sol2.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#130_SurroundedRegions_sol2.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#130_SurroundedRegions_sol2.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { private: const vector<pair<int, int>> DIRECTIONS = {{0, -1}, {0, 1}, {-1, 0}, {1, 0}}; bool is_valid(const vector<vector<char>>& board, const int& I, const int& J, vector<vector<bool>>& vis){ int min_line = I; int max_line = I; int min_col ...
34.186047
82
0.403741
Tudor67
16cbc017f3b2038c00a802a34299b118076844f1
121
hpp
C++
cpp/rltk/base_mode.hpp
thebracket/dankestdungeon
e10fbc298efc2ec3652548633ad30ab79d2b9742
[ "MIT" ]
16
2018-01-08T22:23:05.000Z
2021-12-22T19:09:36.000Z
cpp/rltk/base_mode.hpp
thebracket/dankestdungeon
e10fbc298efc2ec3652548633ad30ab79d2b9742
[ "MIT" ]
null
null
null
cpp/rltk/base_mode.hpp
thebracket/dankestdungeon
e10fbc298efc2ec3652548633ad30ab79d2b9742
[ "MIT" ]
null
null
null
#pragma once #include "window.hpp" class game_mode_t { public: virtual bool tick(window_t * mainWindow)=0; };
12.1
47
0.677686
thebracket
16cc961f98a8cdeb90babd651fa6d8dbf5dee520
56,755
cpp
C++
libnaucrates/src/statistics/CHistogram.cpp
acmnu/gporca
22e0442576c7e9c578a2a7d6182007ca045baedd
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-05T10:08:56.000Z
2019-03-05T10:08:56.000Z
libnaucrates/src/statistics/CHistogram.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libnaucrates/src/statistics/CHistogram.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2018 Pivotal, Inc. // // @filename: // CHistogram.cpp // // @doc: // Implementation of single-dimensional histogram //--------------------------------------------------------------------------- #incl...
26.202678
137
0.717435
acmnu
16d0380f616541565762e7d13afbeaba2ba5a246
241
hpp
C++
seal_phase3/SealWebDisplay.hpp
petterinloota/seal_observer_cplus
473eab29a4fc1eaefc58f6a56997ec8474114871
[ "MIT" ]
null
null
null
seal_phase3/SealWebDisplay.hpp
petterinloota/seal_observer_cplus
473eab29a4fc1eaefc58f6a56997ec8474114871
[ "MIT" ]
null
null
null
seal_phase3/SealWebDisplay.hpp
petterinloota/seal_observer_cplus
473eab29a4fc1eaefc58f6a56997ec8474114871
[ "MIT" ]
null
null
null
#pragma once #include "SealDisplay.hpp" class SealWebDisplay : public SealDisplay { int last_count = 0; public: SealWebDisplay(); SealWebDisplay(int i); ~SealWebDisplay(); virtual void Update(int nr) override; };
15.0625
41
0.676349
petterinloota
16d527cbcdadf74a93d4b102450f8a671afe4faa
1,628
cpp
C++
plugins/sqlite3/sqlite_plugin.cpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
7
2015-06-08T09:59:36.000Z
2021-02-27T18:45:17.000Z
src/plugins/sqlite3/sqlite_plugin.cpp
ngoyal/flusspferd
93ca7ec99d751bc4e240fbd7cbcf235f8fa49e3e
[ "MIT" ]
null
null
null
src/plugins/sqlite3/sqlite_plugin.cpp
ngoyal/flusspferd
93ca7ec99d751bc4e240fbd7cbcf235f8fa49e3e
[ "MIT" ]
3
2016-07-06T20:47:01.000Z
2021-06-30T19:09:47.000Z
// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* The MIT License Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or http://flusspferd.org/contributors.txt) Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
35.391304
78
0.770885
Flusspferd
16d8e216c670c395a27e58d5746b8cba5b592011
8,095
cpp
C++
UE4/UnLua/ELuaProfiler/Source/Runtime/ELuaMemAnalyzer/ELuaMemSnapshot.cpp
jozhn/ELuaProfiler
3ff3b056e4039936e32f066fd02d879e2ca8ef83
[ "MIT" ]
78
2020-10-15T07:25:31.000Z
2022-03-09T04:29:14.000Z
UE4/UnLua/ELuaProfiler/Source/Runtime/ELuaMemAnalyzer/ELuaMemSnapshot.cpp
jinminglee/ELuaProfiler
788d8672b6375956f23c0c0380045c8e68d01cac
[ "MIT" ]
3
2020-12-23T03:32:34.000Z
2021-08-25T13:33:37.000Z
UE4/UnLua/ELuaProfiler/Source/Runtime/ELuaMemAnalyzer/ELuaMemSnapshot.cpp
jinminglee/ELuaProfiler
788d8672b6375956f23c0c0380045c8e68d01cac
[ "MIT" ]
21
2020-11-06T09:36:52.000Z
2022-02-25T03:21:50.000Z
// The MIT License (MIT) // Copyright 2020 HankShu inkiu0@gmail.com // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to ...
28.205575
130
0.718098
jozhn
16da018599ef6ec6a36aa78f5828fb533323b5f5
9,333
cpp
C++
gameserver.cpp
jturcotte/touchockey
3c3d4036ebb5334393a4ab10629364b815febb16
[ "MIT" ]
22
2015-01-25T15:03:32.000Z
2021-09-10T16:33:04.000Z
gameserver.cpp
jturcotte/touchockey
3c3d4036ebb5334393a4ab10629364b815febb16
[ "MIT" ]
null
null
null
gameserver.cpp
jturcotte/touchockey
3c3d4036ebb5334393a4ab10629364b815febb16
[ "MIT" ]
6
2015-02-28T23:56:38.000Z
2019-04-05T19:09:17.000Z
// The MIT License (MIT) // // Copyright (c) 2015 Jocelyn Turcotte // // 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...
37.332
150
0.646737
jturcotte
16e14919c3d3f5b149bf1b42dac0f5a20b6ef266
4,114
hpp
C++
develop/AlgorithmRange.hpp
MSaito/TinyMTPeke
520ff38134437be53b534076c50eef586c4d42a7
[ "MIT" ]
null
null
null
develop/AlgorithmRange.hpp
MSaito/TinyMTPeke
520ff38134437be53b534076c50eef586c4d42a7
[ "MIT" ]
null
null
null
develop/AlgorithmRange.hpp
MSaito/TinyMTPeke
520ff38134437be53b534076c50eef586c4d42a7
[ "MIT" ]
null
null
null
#pragma once #ifndef MTTOOLBOX_ALGORITHM_RANGE_HPP #define MTTOOLBOX_ALGORITHM_RANGE_HPP /** * @file AlgorithmRange.hpp * * @brief Algorithm that search tempering parameters to improve * dimension of equi-distribution of output of pseudo random number * generator. * * @author Mutsuo Saito * * Copyright (C) 201...
31.646154
71
0.482013
MSaito
16e54f6a35b281fae2aae0f6fd4026d00fcc9b27
5,611
cpp
C++
libs/ofxLineaDeTiempo/src/Controller/TrackController.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
31
2020-04-29T06:11:54.000Z
2021-11-10T19:14:09.000Z
libs/ofxLineaDeTiempo/src/Controller/TrackController.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
11
2020-07-27T17:12:05.000Z
2021-12-01T16:33:18.000Z
libs/ofxLineaDeTiempo/src/Controller/TrackController.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
null
null
null
// // TrackController.cpp // tracksAndTimeTest // // Created by Roy Macdonald on 3/8/20. // #include "LineaDeTiempo/Controller/TrackController.h" #include "LineaDeTiempo/Controller/TrackGroupController.h" #include "LineaDeTiempo/Data/KeyframedData.h" namespace ofx { namespace LineaDeTiempo { TrackController::Tra...
21.173585
138
0.711994
roymacdonald
16e7526a254fdd61fd55de3c4220487643853447
716
cpp
C++
codes/ZOJ/zoj3829.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3829.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3829.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <stack> #include <algorithm> using namespace std; const int maxn = 1005; char s[maxn]; int solve () { stack<int> sta; int len = strlen(s), c = 0; for (int i = 0; i < len; i++) { if (s[i] == '*') c++; else sta.push(i); } if (c == 0) return 0; int n = ...
13.018182
33
0.449721
JeraKrs
16e8354497e8ce4c10f614402ec9419d2802a330
13,156
cpp
C++
src/serac/physics/utilities/functional/tests/performance/diffusion_performance_test.cpp
zarahm/serac
6999b83e838b7e36ce1ab6577074b3b96269a66d
[ "BSD-3-Clause" ]
64
2020-02-24T21:57:43.000Z
2022-03-17T20:48:40.000Z
src/serac/physics/utilities/functional/tests/performance/diffusion_performance_test.cpp
zarahm/serac
6999b83e838b7e36ce1ab6577074b3b96269a66d
[ "BSD-3-Clause" ]
615
2020-02-24T22:31:14.000Z
2022-03-31T23:50:10.000Z
src/serac/physics/utilities/functional/tests/performance/diffusion_performance_test.cpp
zarahm/serac
6999b83e838b7e36ce1ab6577074b3b96269a66d
[ "BSD-3-Clause" ]
16
2020-04-01T04:55:18.000Z
2022-03-07T19:32:44.000Z
// Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) #include <chrono> #include <iostream> #include "mfem.hpp" #include "serac/serac_config.hpp" #include "serac/numeric...
30.882629
119
0.505853
zarahm
16ea7e9c4cde54e937fb2c50b6932f7e01a0405c
56
cpp
C++
boardgame/mancala.cpp
acannie/hobby
2e3a2c8965fbcdbf4d7ea89fe9caba6f76720a0a
[ "MIT" ]
2
2019-07-07T15:55:27.000Z
2019-08-09T16:03:24.000Z
boardgame/mancala.cpp
acannie/hobby
2e3a2c8965fbcdbf4d7ea89fe9caba6f76720a0a
[ "MIT" ]
1
2020-06-28T05:29:07.000Z
2020-06-28T05:29:07.000Z
boardgame/mancala.cpp
acannie/hobby
2e3a2c8965fbcdbf4d7ea89fe9caba6f76720a0a
[ "MIT" ]
null
null
null
// moved files to // https://github.com/acannie/mancala
18.666667
37
0.714286
acannie
16ec3e3d5a862b988417de3350c6aafc346ffa6b
11,387
hpp
C++
include/iex/message.hpp
jmnel/iex-parser
f0086bd5190ab358fefd10aee788440319789093
[ "MIT" ]
null
null
null
include/iex/message.hpp
jmnel/iex-parser
f0086bd5190ab358fefd10aee788440319789093
[ "MIT" ]
null
null
null
include/iex/message.hpp
jmnel/iex-parser
f0086bd5190ab358fefd10aee788440319789093
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <memory> #include <ostream> #include <string> using std::endl; using std::string; namespace jmnel::iex { enum class message_type { no_data = 0xff, stream_header = 0x00, system_event = 0x53, security_directory = 0x44, security_event...
29.347938
104
0.583824
jmnel
16ec50e44d599ac2504a1a6545e87f0644e0fa72
30,599
cpp
C++
src/whatever/whatever_2.cpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
src/whatever/whatever_2.cpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
src/whatever/whatever_2.cpp
am1w1zz/CppLearn
16db21cb5cc9ca14e488f4f40923b756de18e354
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <type_traits> #include <algorithm> #include <utility> #include <new> #include <cstring> #include <cstdint> #include <cstddef> #include <cmath> #define self(ClassMember, Initialization) std::decay_t<decltype(Initialization)> ClassMember = Initialization #define Begin begin...
35.580233
157
0.718226
am1w1zz
16f164cce3fcf7f0c0b843827c91f481ca54ec12
6,885
cpp
C++
inference_backend/pre_proc/opencv_utils/opencv_utils.cpp
WilliamWright-JCI/dlstreamer_gst
702d8e43ea9813e96373a0272b23874baf7cc402
[ "MIT" ]
null
null
null
inference_backend/pre_proc/opencv_utils/opencv_utils.cpp
WilliamWright-JCI/dlstreamer_gst
702d8e43ea9813e96373a0272b23874baf7cc402
[ "MIT" ]
null
null
null
inference_backend/pre_proc/opencv_utils/opencv_utils.cpp
WilliamWright-JCI/dlstreamer_gst
702d8e43ea9813e96373a0272b23874baf7cc402
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #include "opencv_utils.h" #include "inference_backend/logger.h" #include <op...
41.727273
116
0.592593
WilliamWright-JCI
a843ca8149ccd43e355674362816d619396be563
13,704
cpp
C++
admin/src/get-nodes.cpp
protein-bioinformatics/STAMPS
af5a4943d67ae3ce1cee51ab0d23f98d6269dd81
[ "MIT" ]
1
2022-03-24T15:26:58.000Z
2022-03-24T15:26:58.000Z
admin/src/get-nodes.cpp
protein-bioinformatics/STAMPS
af5a4943d67ae3ce1cee51ab0d23f98d6269dd81
[ "MIT" ]
null
null
null
admin/src/get-nodes.cpp
protein-bioinformatics/STAMPS
af5a4943d67ae3ce1cee51ab0d23f98d6269dd81
[ "MIT" ]
null
null
null
#include "bio-classes.h" class node { public: string id; string name; string short_name; string pathway_id; string type; string foreign_id; string x; string y; string c_number; string lm_id; string smiles; string formul...
33.101449
312
0.540134
protein-bioinformatics
a84a5ac657caf51d7ab86741141fdad4e620a3bd
2,211
cpp
C++
test/MemoryModelSuite.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
test/MemoryModelSuite.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
test/MemoryModelSuite.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
/* * libxspf - XSPF playlist handling library * * Copyright (C) 2006-2008, Sebastian Pipping / Xiph.Org Foundation * All rights reserved. * * 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 Software Fou...
25.709302
81
0.688376
ezdev128
a84af066561eb9c2c83c3d57aa48d13fdb4933ac
2,208
cc
C++
cartographer/io/internal/pbstream_migrate.cc
jkammerl/cartographer
363c18892cce884e7fc7daa2520a2c3a34d94db9
[ "Apache-2.0" ]
9
2017-05-04T06:57:07.000Z
2021-07-18T17:59:46.000Z
cartographer/io/internal/pbstream_migrate.cc
jkammerl/cartographer
363c18892cce884e7fc7daa2520a2c3a34d94db9
[ "Apache-2.0" ]
7
2019-08-20T23:26:24.000Z
2021-04-09T19:30:28.000Z
cartographer/io/internal/pbstream_migrate.cc
jkammerl/cartographer
363c18892cce884e7fc7daa2520a2c3a34d94db9
[ "Apache-2.0" ]
5
2020-02-24T11:36:06.000Z
2020-11-30T07:49:54.000Z
/* * Copyright 2018 The Cartographer 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...
37.423729
80
0.677083
jkammerl
a84b368c49d4bb93ffa584f57366a56b3983d75a
16,334
cc
C++
src/engine/input/input.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
11
2017-12-19T14:33:02.000Z
2022-03-26T00:34:48.000Z
src/engine/input/input.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2018-05-28T10:32:32.000Z
2018-05-28T10:32:35.000Z
src/engine/input/input.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2021-01-25T11:31:57.000Z
2021-01-25T11:31:57.000Z
#include "input.h" #include <foundation/logging/logger.h> #include <algorithm> #include <lua-classes/input.lua.cc> #include <lua-classes/mappings.lua.cc> namespace sulphur { namespace engine { //------------------------------------------------------------------------- Input::Input() : BaseResource(...
30.760829
116
0.535815
ProjectSulphur
a84c603e65cbc8ed4d255510713dba2c4ce9da14
4,636
hh
C++
benchmark/PRCU_bench.hh
yishayahu/sto
013f5e9b459017b96958f32709128badfe9d5f26
[ "MIT" ]
38
2018-03-05T22:00:33.000Z
2022-03-28T21:19:57.000Z
benchmark/PRCU_bench.hh
yishayahu/sto
013f5e9b459017b96958f32709128badfe9d5f26
[ "MIT" ]
5
2018-08-07T02:27:22.000Z
2021-08-25T15:29:56.000Z
benchmark/PRCU_bench.hh
yishayahu/sto
013f5e9b459017b96958f32709128badfe9d5f26
[ "MIT" ]
17
2018-04-10T03:03:43.000Z
2022-03-31T13:14:52.000Z
#pragma once #include <iostream> #include <string> #include "compiler.hh" #include "clp.h" #include "sampling.hh" #include "SystemProfiler.hh" #include "PRCU_structs.hh" #include "PRCU_commutators.hh" #if TABLE_FINE_GRAINED #include "PRCU_selectors.hh" #endif #include "DB_index.hh" #include "DB_params.hh" #include "H...
27.431953
174
0.678387
yishayahu
a84dfbda6de5bf95d66d730bcaf5b8d24369800b
892
cpp
C++
Array Codes/MergeIntervals/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
1
2021-01-31T16:34:57.000Z
2021-01-31T16:34:57.000Z
Array Codes/MergeIntervals/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
null
null
null
Array Codes/MergeIntervals/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
1
2021-09-23T13:24:25.000Z
2021-09-23T13:24:25.000Z
#include <bits/stdc++.h> using namespace std; struct Interval { int start, end; }; bool mycomp(Interval a, Interval b) { return a.start < b.start; } void mergeIntervals(Interval arr[], int n) { sort(arr, arr + n, mycomp); int index = 0; for (int i = 1; i < n; i++) { if (arr[index].e...
19.391304
67
0.469731
ayushs2k1
a85505f7126e0e78786cdf505ae58504a417c218
1,180
cpp
C++
Chapter10/benchmarks/vec2d_length_proxy_bm.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
57
2020-07-09T22:54:31.000Z
2022-03-31T14:18:41.000Z
Chapter10/benchmarks/vec2d_length_proxy_bm.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
5
2021-04-02T17:25:31.000Z
2021-07-30T09:38:42.000Z
Chapter10/benchmarks/vec2d_length_proxy_bm.cpp
PacktPublishing/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
36
2019-12-25T19:30:47.000Z
2022-03-16T16:41:02.000Z
#include "../vec2d_length_proxy.h" #include <benchmark/benchmark.h> #include <algorithm> #include <cmath> // #include <ranges> // Requires C++20 #include <string> #include <vector> #include <iterator> namespace { // A non-optimized version for benchmarking struct Vec2DSlow { auto length() const { auto squar...
22.692308
72
0.647458
markusbuchholz
a859c647c418c43c9a0b37cccef4a0ec5865d459
736
hpp
C++
srcs/tc.common/external_block.hpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
srcs/tc.common/external_block.hpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
srcs/tc.common/external_block.hpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
#ifndef __tc_buffer_external_block_h__ #define __tc_buffer_external_block_h__ #include <tc.common/tc.hpp> namespace tc { namespace buffer { /*! * \brief * \author tk * \date 20151201 * \detail */ class external_block { public: /*! * ctor */ external_block( u8* b , tc::size_t sz ); external_block( extern...
15.659574
58
0.688859
aoziczero
a85ab0e8c7b3c234d5f5c026922b4a4f36c31e06
756
cpp
C++
lost_guy.cpp
nainwalsanju/codechef
6baaab3e6b76ec60054fe427274be31d6de60c12
[ "MIT" ]
1
2021-12-17T14:43:15.000Z
2021-12-17T14:43:15.000Z
lost_guy.cpp
nainwalsanju/codechef
6baaab3e6b76ec60054fe427274be31d6de60c12
[ "MIT" ]
null
null
null
lost_guy.cpp
nainwalsanju/codechef
6baaab3e6b76ec60054fe427274be31d6de60c12
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { int n,q; cin>>n>>q; int a[n]; int t[q]; for(int i=0;i<n;i++) { cin>>a[i]; } for(int j=0;j<q;j++) { cin...
18
43
0.283069
nainwalsanju
a85af3078453f2d669a523346b106f05871d5f17
356
cpp
C++
LibC/locale.cpp
Mustafa32/serenity
1372f10dda8dcac10fd1961ec9e7707778fa0bfc
[ "BSD-2-Clause" ]
null
null
null
LibC/locale.cpp
Mustafa32/serenity
1372f10dda8dcac10fd1961ec9e7707778fa0bfc
[ "BSD-2-Clause" ]
null
null
null
LibC/locale.cpp
Mustafa32/serenity
1372f10dda8dcac10fd1961ec9e7707778fa0bfc
[ "BSD-2-Clause" ]
null
null
null
#include <assert.h> #include <locale.h> #include <stdio.h> extern "C" { static struct lconv default_locale = { ".", ",", "\x03\x03", }; char* setlocale(int category, const char* locale) { dbgprintf("FIXME(LibC): setlocale(%d, %s)\n", category, locale); return nullptr; } struct lconv* localeconv(...
14.833333
68
0.623596
Mustafa32
a85d0c038e25ed57aad853eed82cc199b4073d5d
1,060
cc
C++
index_tests/constructors/invalid_reference.cc
LiLeoH/cquery
a4bf9d44e6e8a6f0f565dc0c2d20a034a31f0f7b
[ "MIT" ]
1,652
2018-01-24T03:19:58.000Z
2020-07-28T19:04:00.000Z
index_tests/constructors/invalid_reference.cc
LiLeoH/cquery
a4bf9d44e6e8a6f0f565dc0c2d20a034a31f0f7b
[ "MIT" ]
490
2018-01-24T00:55:38.000Z
2020-07-03T19:44:16.000Z
index_tests/constructors/invalid_reference.cc
LiLeoH/cquery
a4bf9d44e6e8a6f0f565dc0c2d20a034a31f0f7b
[ "MIT" ]
154
2018-01-31T05:57:33.000Z
2020-07-05T00:02:46.000Z
struct Foo {}; template<class T> Foo::Foo() {} /* EXTRA_FLAGS: -fms-compatibility -fdelayed-template-parsing OUTPUT: { "includes": [], "skipped_by_preprocessor": [], "types": [{ "id": 0, "usr": 15041163540773201510, "detailed_name": "Foo", "short_name": "Foo", "...
20.384615
51
0.416981
LiLeoH
a85f84e23f2c1b39e7dc8e4c0a129cba739a5af0
5,628
cpp
C++
src/lox/Eval.cpp
dylanclark/loxplusplus
a533389e73f86c067ad705a317c3a3cc0f66b63f
[ "MIT" ]
null
null
null
src/lox/Eval.cpp
dylanclark/loxplusplus
a533389e73f86c067ad705a317c3a3cc0f66b63f
[ "MIT" ]
null
null
null
src/lox/Eval.cpp
dylanclark/loxplusplus
a533389e73f86c067ad705a317c3a3cc0f66b63f
[ "MIT" ]
null
null
null
#include <loxpp_pch.h> #include <Eval.h> #include <Print.h> #include <VisitHelpers.h> #include <_Error.h> namespace Loxpp::Expressions { using namespace Object; using namespace Lexer; Evaluator::Evaluator() = default; void Evaluator::Evaluate(const Expr& expr) { try { LoxObj result{Eval(expr)}; ...
32.531792
79
0.587065
dylanclark
a86e58e9b534ee7cb9bfa49ae8a1da4eaa6ed52d
398
cpp
C++
01/0125/const2.cpp
kkdg/cpp-jogging
37fdeb062242aad289d68e54a8feb0339a574ebc
[ "Apache-2.0" ]
2
2015-01-07T23:48:53.000Z
2015-01-08T13:25:46.000Z
01/0125/const2.cpp
kkdg/cpp-jogging
37fdeb062242aad289d68e54a8feb0339a574ebc
[ "Apache-2.0" ]
null
null
null
01/0125/const2.cpp
kkdg/cpp-jogging
37fdeb062242aad289d68e54a8feb0339a574ebc
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class MyClass { int x; public: MyClass(int val) : x(val) {} const int& get() const { return x; } int& get() { return x; } }; void print (const MyClass& arg) { cout << arg.get() << endl; } int main() { MyClass foo(10); const MyClass bar(20); foo.get() = 15; //prin...
15.307692
37
0.582915
kkdg
a86f482619cb42aa6ea73e7a560a1ba6586c5880
411
cpp
C++
test/py_test/test.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
1
2020-09-16T01:45:24.000Z
2020-09-16T01:45:24.000Z
test/py_test/test.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
null
null
null
test/py_test/test.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
null
null
null
#include <iostream> #include <nlohmann/json.hpp> int main() { nlohmann::json j2 = { { "name", "ali"}, { "age", 17} }; nlohmann::json j3 = { { "name1", "ali"}, { "age1", 17} }; j2["arr_make"] = nlohmann::json::array(); //j2.push_back("wefse"); j2["arr_make"]...
17.125
45
0.479319
karimdavoodi
a8712923877a7d454ae7ca2397e15648f083fe85
5,917
cpp
C++
Glml/Mat4x3.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:15:27.000Z
2017-03-01T12:15:27.000Z
Glml/Mat4x3.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:19:17.000Z
2017-03-01T12:19:52.000Z
Glml/Mat4x3.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Mat4x3.h" #include "Mat4x4.h" #include "Vec3.h" #include "Quat.h" namespace Glml { Mat4x3::Mat4x3(const Mat4x4& m) { data[0] = m[0]; data[1] = m[1]; data[2] = m[2]; data[3] = m[3]; data[4] = m[4]; data[5] = m[5]; data[6] = m[6]; data[7] = m[7]; ...
27.649533
90
0.510563
MurielSoftware
a8739f861a13ce90ce198361d96c1579b3b245ec
18,941
cc
C++
servlib/routing/LinkScheduleEstimator.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
14
2016-06-27T19:28:23.000Z
2021-06-28T20:41:17.000Z
servlib/routing/LinkScheduleEstimator.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
null
null
null
servlib/routing/LinkScheduleEstimator.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
5
2019-09-23T11:07:39.000Z
2021-06-28T20:41:24.000Z
/* * Copyright 2005-2006 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
30.949346
100
0.570667
delay-tolerant-networking
a8759e538a7077c012b231507e677b30ff1cc2de
27,423
hpp
C++
include/xtensor/xmasked_view.hpp
epignatelli/learning-machine-learning
134058c9fe0e470817ca5cb9ce5f48e78fe3ada9
[ "MIT" ]
2
2019-05-25T01:56:09.000Z
2019-05-25T01:56:31.000Z
include/xtensor/xmasked_view.hpp
epignatelli/learning-machine-learning
134058c9fe0e470817ca5cb9ce5f48e78fe3ada9
[ "MIT" ]
null
null
null
include/xtensor/xmasked_view.hpp
epignatelli/learning-machine-learning
134058c9fe0e470817ca5cb9ce5f48e78fe3ada9
[ "MIT" ]
1
2019-12-02T04:27:54.000Z
2019-12-02T04:27:54.000Z
/*************************************************************************** * Copyright (c) 2017, Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * * * Distribute...
36.710843
121
0.638479
epignatelli
a875bc08e6a281938b5502a42aa23213a0797a57
7,184
cpp
C++
test/test-stdostream.cpp
balazs-bamer/cpp-logger
8ed92cb733088df3eef1330468ad0cf5ae6e4e47
[ "MIT" ]
3
2020-12-18T13:11:24.000Z
2021-02-17T20:32:08.000Z
test/test-stdostream.cpp
balazs-bamer/cpp-logger
8ed92cb733088df3eef1330468ad0cf5ae6e4e47
[ "MIT" ]
null
null
null
test/test-stdostream.cpp
balazs-bamer/cpp-logger
8ed92cb733088df3eef1330468ad0cf5ae6e4e47
[ "MIT" ]
null
null
null
/* * Copyright 2018 Now Technologies Zrt. * * 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, ...
39.690608
155
0.691676
balazs-bamer
a878316a08788b6196d79d3b34d174d63d15a460
815
cpp
C++
C++ programming/HW7/work3.cpp
Glacier137/2020-
29979cf755f0980b0fcc8a2569e57635bab28aed
[ "MIT" ]
null
null
null
C++ programming/HW7/work3.cpp
Glacier137/2020-
29979cf755f0980b0fcc8a2569e57635bab28aed
[ "MIT" ]
null
null
null
C++ programming/HW7/work3.cpp
Glacier137/2020-
29979cf755f0980b0fcc8a2569e57635bab28aed
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class Point{ private: double X,Y; public: Point(){X = 0; Y = 0;} Point(double x,double y){ X = x; Y = y; } void display(); friend Point operator+(const Point &a,const Point &b); friend Point operator-(const Point &a,const Point &b); }; void ...
18.953488
57
0.554601
Glacier137
a87cbb2090d3b51b74ab6e942e0f5fcf8bf90622
5,776
cpp
C++
src/ARIA/ArSoundPlayer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
1
2018-10-13T02:50:25.000Z
2018-10-13T02:50:25.000Z
src/ARIA/ArSoundPlayer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
null
null
null
src/ARIA/ArSoundPlayer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
1
2018-10-13T02:50:26.000Z
2018-10-13T02:50:26.000Z
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc. Copyright (C) 2010, 2011 Adept Technology, Inc. This program is free software; you can redistribute it and/or modify it under the terms o...
27.117371
163
0.690789
rzsavilla
a87f367734144f57e0edc3644bb5cf66b11514bf
4,987
cpp
C++
game/game/compatibility/mem32.cpp
DramaDesu/OpenGothic
c215e36231b5b8b08917fc24237bd4847187c52d
[ "MIT" ]
null
null
null
game/game/compatibility/mem32.cpp
DramaDesu/OpenGothic
c215e36231b5b8b08917fc24237bd4847187c52d
[ "MIT" ]
null
null
null
game/game/compatibility/mem32.cpp
DramaDesu/OpenGothic
c215e36231b5b8b08917fc24237bd4847187c52d
[ "MIT" ]
null
null
null
#include "mem32.h" #include <Tempest/Log> #include <cstring> #include <algorithm> using namespace Tempest; Mem32::Mem32() { /* * [0x00001000 .. 0x80000000] - (2GB) user space * [0x80000000 .. 0xc0000000] - (1GB) extra space(reserved for opengothic use; pinned memory) * [0xc0000000 .. 0xffffffff] - (1GB...
27.103261
105
0.601163
DramaDesu
a8861cf3df878ead85d4db4eac7680356d9ef0ee
1,188
hpp
C++
kevos/src/user/lib/stl/include/impl/algorithm/max.hpp
stormycatcat/kevos
8bb028f3b01370bfd30f66d450e993f33c8fe300
[ "Apache-2.0" ]
6
2018-05-10T13:54:02.000Z
2019-06-15T13:52:10.000Z
kevos/src/user/lib/stl/include/impl/algorithm/max.hpp
DuckDuckDuck0/kevos
8bb028f3b01370bfd30f66d450e993f33c8fe300
[ "Apache-2.0" ]
5
2018-05-15T09:59:58.000Z
2018-06-07T15:42:23.000Z
kevos/src/user/lib/stl/include/impl/algorithm/max.hpp
stormycatcat/kevos
8bb028f3b01370bfd30f66d450e993f33c8fe300
[ "Apache-2.0" ]
1
2021-06-25T17:21:54.000Z
2021-06-25T17:21:54.000Z
/* Copyright 2018 kevin Lau (http://github.com/stormycatcat) 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 agr...
22
80
0.675084
stormycatcat
a88816554c0fdb2b6e9bac1c5d6bbd7589699f08
11,011
cpp
C++
src/gameworld/gameworld/scene/msguserhandlerEquip.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/scene/msguserhandlerEquip.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/scene/msguserhandlerEquip.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include <iostream> #include "messagehandler.h" #include "scene/scenemanager.h" #include "scene/scene.h" #include "scene/map.h" #include "obj/otherobj/fallingitem.h" #include "obj/character/role.h" #include "servercommon/servercommon.h" #include "servercommon/userprotocal/msgcode.h" #include "protocal/msgequipment.h"...
35.178914
165
0.745527
mage-game
a88d03994778696197935cc1e92267f49739f34c
4,020
cpp
C++
source/GuiCode/ui/graphics/Shader.cpp
KaixoCode/GuiCode
a332f74ac4007c0b381a05e45a27c61425827b83
[ "MIT" ]
1
2022-03-31T20:25:44.000Z
2022-03-31T20:25:44.000Z
source/GuiCode/ui/graphics/Shader.cpp
KaixoCode/GuiCode
a332f74ac4007c0b381a05e45a27c61425827b83
[ "MIT" ]
null
null
null
source/GuiCode/ui/graphics/Shader.cpp
KaixoCode/GuiCode
a332f74ac4007c0b381a05e45a27c61425827b83
[ "MIT" ]
null
null
null
#include "GuiCode/ui/graphics/Shader.hpp" static void CheckCompileErrors(unsigned int shader, std::string type) { int _success; char _infoLog[1024]; if (type != "PROGRAM") { glGetShaderiv(shader, GL_COMPILE_STATUS, &_success); if (!_success) { glGetShaderInfoLog(shad...
30
93
0.6199
KaixoCode
a898dc4ae13374ba50e0fa6c9519a335f945acf7
7,909
cc
C++
SPEO-GPU-single-control/CUDA_EA_library/EA_CUDA.cc
LandBuffalo/SPEO-GPU-single-control
8600bd4309d7fc71c26dbb32d58f2b44a3b0c920
[ "MIT" ]
null
null
null
SPEO-GPU-single-control/CUDA_EA_library/EA_CUDA.cc
LandBuffalo/SPEO-GPU-single-control
8600bd4309d7fc71c26dbb32d58f2b44a3b0c920
[ "MIT" ]
null
null
null
SPEO-GPU-single-control/CUDA_EA_library/EA_CUDA.cc
LandBuffalo/SPEO-GPU-single-control
8600bd4309d7fc71c26dbb32d58f2b44a3b0c920
[ "MIT" ]
null
null
null
#include "EA_CUDA.h" EA_CUDA::EA_CUDA() { } EA_CUDA::~EA_CUDA() { } int EA_CUDA::Initilize(ProblemInfo problem_info, IslandInfo island_info) { problem_info_ = problem_info; island_info_ = island_info; int next_pow2_dim = CalNextPow2Dim(); int total_elements = island_info_.island_size * next_pow2_di...
36.114155
144
0.707295
LandBuffalo
a89f0da4d27c01a345a475ebf7fcaffb83d797c3
67,308
cpp
C++
src/qt/qtbase/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
37.18674
161
0.707836
power-electro
a89f8ddea8c6a0fe3d9ef253eec8be0cb7448cac
6,299
cpp
C++
tests/UnitTests/Learning/Evolution/ConstantRecombinationCommandTest.cpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
5
2016-02-04T06:14:42.000Z
2017-02-06T02:21:43.000Z
tests/UnitTests/Learning/Evolution/ConstantRecombinationCommandTest.cpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
41
2015-04-15T21:05:45.000Z
2015-07-09T12:59:02.000Z
tests/UnitTests/Learning/Evolution/ConstantRecombinationCommandTest.cpp
domin1101/LightBulb
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
null
null
null
#include "LightBulb/Learning/Evolution/ConstantRecombinationCommand.hpp" #include "LightBulb/Function/ActivationFunction/FermiFunction.hpp" #include <Mocks/MockRecombinationAlgorithm.hpp> #include <Mocks/MockRecombinationSelector.hpp> #include <Mocks/MockIndividual.hpp> using namespace LightBulb; class ConstantRecomb...
40.121019
135
0.81759
domin1101
a8a23a4456135ace20457298b83cb8a2fbf2e499
4,742
hpp
C++
src/main/cpp/pistis/filesystem/FilePermissions.hpp
tomault/pistis-path
0cef01a9482ec68b3c26f5c68e26ac038d2f44a2
[ "Apache-2.0" ]
1
2018-06-30T04:49:12.000Z
2018-06-30T04:49:12.000Z
src/main/cpp/pistis/filesystem/FilePermissions.hpp
tomault/pistis-path
0cef01a9482ec68b3c26f5c68e26ac038d2f44a2
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pistis/filesystem/FilePermissions.hpp
tomault/pistis-path
0cef01a9482ec68b3c26f5c68e26ac038d2f44a2
[ "Apache-2.0" ]
null
null
null
#ifndef __PISTIS__FILESYSTEM__FILEPERMISSIONS_HPP__ #define __PISTIS__FILESYSTEM__FILEPERMISSIONS_HPP__ #include <ostream> #include <string> namespace pistis { namespace filesystem { /** @brief Enumerated constants that represent the UNIX file permissions */ class FilePermissions { public: /** @b...
30.593548
79
0.657318
tomault
a8a299437b549c4a95e020e9c90c2ba71b8b9c56
7,549
cpp
C++
Tests/main.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
1
2019-11-17T08:57:28.000Z
2019-11-17T08:57:28.000Z
Tests/main.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
null
null
null
Tests/main.cpp
Gruppio/House
46183d24531d2dd14acc7e9092fe29a39595d8b4
[ "MIT" ]
null
null
null
// // main.cpp // Ambrogio // // Created by Gruppioni Michele on 19/11/2016. // Copyright © 2016 Michele Gruppioni. All rights reserved. // #if !defined(SPARK) #include <iostream> #include <assert.h> #include "Command.h" #include "CommandsName.h" #include "CommandExecutor.h" #include "CommandFactory.h" #include "...
30.439516
104
0.745529
Gruppio
a8ac7e7ab2c21b89ccd0d92b9bc00e67466c2d3c
22,245
cpp
C++
src/serializeproto/SerializerProto.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
11
2020-10-13T11:50:29.000Z
2022-02-27T11:47:34.000Z
src/serializeproto/SerializerProto.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
15
2020-10-07T18:01:27.000Z
2021-07-08T09:09:13.000Z
src/serializeproto/SerializerProto.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
2
2020-10-07T21:29:06.000Z
2020-10-14T18:02:17.000Z
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //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, ...
27.261029
114
0.662081
mnaveedb
a8b06317ee99eb6c2f8c748b0438eacbbea05afe
1,393
cpp
C++
aws-cpp-sdk-ecs/source/model/ExecuteCommandRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-ecs/source/model/ExecuteCommandRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ecs/source/model/ExecuteCommandRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ecs/model/ExecuteCommandRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::ECS::Model; using namespace Aws::Utils::Json; using namespace...
19.082192
114
0.735104
perfectrecall
a8b1add4558c234baf3232ef8375a357f145b7c6
3,797
hpp
C++
dep/MiraiProject/include/MiraiProject/inputManager/Binding.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
2
2015-02-17T16:29:34.000Z
2017-04-27T15:43:07.000Z
dep/MiraiProject/include/MiraiProject/inputManager/Binding.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
2
2015-03-07T21:21:30.000Z
2015-03-07T21:28:33.000Z
dep/MiraiProject/include/MiraiProject/inputManager/Binding.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////// // // MiraiProject // Copyright (C) 2014-2015 CORTIER Benoît (benoit.cortier@gmail.com), BOULMIER Jérôme (jerome.boulmier@outlook.fr) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held lia...
33.901786
114
0.574401
Mirai-Team