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
f4bd24595ae54aaad502d864082ac65a7180b5d7
739
cpp
C++
Structure_and_pointer_using_arrow_operator.cpp
gptakhil/Cpp-Revision
ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b
[ "MIT" ]
null
null
null
Structure_and_pointer_using_arrow_operator.cpp
gptakhil/Cpp-Revision
ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b
[ "MIT" ]
null
null
null
Structure_and_pointer_using_arrow_operator.cpp
gptakhil/Cpp-Revision
ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // Student structure struct Student { string name; int roll_number; int marks; }; // main function int main() { // Declare structure variable struct Student s1; // Declare structure pointer struct Student *ptrs1; // Store address of structure variable in struc...
19.972973
61
0.640054
gptakhil
f4bd493befc9a42fcd2e0c51b941f91c214307bd
2,440
cpp
C++
metaforce-gui/CVarDialog.cpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
metaforce-gui/CVarDialog.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
metaforce-gui/CVarDialog.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#include "CVarDialog.hpp" #include "ui_CVarDialog.h" #include <utility> enum class CVarType { String, Boolean, }; struct CVarItem { QString m_name; CVarType m_type; QVariant m_defaultValue; CVarItem(QString name, CVarType type, QVariant defaultValue) : m_name(std::move(name)), m_type(type), m_defaultVa...
30.886076
107
0.703279
Jcw87
f4bddf3d7b8570b8edff54fcafb5860712621925
2,097
hpp
C++
ziomon/ziorep_framer.hpp
nikita-dubrovskii/s390-tools
074de1e14ed785c18f55ecf9762ac3f5de3465b4
[ "MIT" ]
43
2017-08-21T12:18:57.000Z
2021-01-21T09:20:59.000Z
ziomon/ziorep_framer.hpp
nikita-dubrovskii/s390-tools
074de1e14ed785c18f55ecf9762ac3f5de3465b4
[ "MIT" ]
99
2017-08-21T20:41:13.000Z
2021-01-27T16:23:07.000Z
ziomon/ziorep_framer.hpp
nikita-dubrovskii/s390-tools
074de1e14ed785c18f55ecf9762ac3f5de3465b4
[ "MIT" ]
37
2017-08-21T20:37:32.000Z
2021-02-02T10:10:45.000Z
/* * FCP report generators * * Class for reading messages into frames. * * Copyright IBM Corp. 2008, 2017 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #ifndef ZIOREP_FRAMER #define ZIOREP_FRAMER #include <list> #i...
25.573171
73
0.72103
nikita-dubrovskii
f4c255172c3cff4a99ca1c0952190ae2834d4131
848
hpp
C++
Object.hpp
LinarAbdrazakov/MIPT_GAME
55d96906cb60752c3907fb83ce70910879dc4ed8
[ "MIT" ]
null
null
null
Object.hpp
LinarAbdrazakov/MIPT_GAME
55d96906cb60752c3907fb83ce70910879dc4ed8
[ "MIT" ]
null
null
null
Object.hpp
LinarAbdrazakov/MIPT_GAME
55d96906cb60752c3907fb83ce70910879dc4ed8
[ "MIT" ]
null
null
null
#ifndef OBJECT_HPP #define OBJECT_HPP #include <SFML/Graphics.hpp> class Object { private: int id_; sf::Sprite* sprite_; sf::Vector2f coordinate_; sf::Vector2f speed_; sf::Vector2i size_; float* dt_; public: explicit Object(); Object(const Object&); Object(int, sf::Vector2f,...
22.315789
64
0.595519
LinarAbdrazakov
f4c4917cbb9b86920862bb09496beeb71e3ec2c3
3,786
cpp
C++
src/VideoDevice.cpp
nayanavenkataramana/earlyapp
eafd8ae8507dee79d2b751f7c5d9320f5519029b
[ "MIT" ]
5
2019-01-02T18:34:52.000Z
2021-05-13T16:09:10.000Z
src/VideoDevice.cpp
nayanavenkataramana/earlyapp
eafd8ae8507dee79d2b751f7c5d9320f5519029b
[ "MIT" ]
10
2018-10-26T06:11:45.000Z
2019-06-24T06:25:43.000Z
src/VideoDevice.cpp
nayanavenkataramana/earlyapp
eafd8ae8507dee79d2b751f7c5d9320f5519029b
[ "MIT" ]
20
2018-10-26T02:16:51.000Z
2021-02-17T11:39:59.000Z
//////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018 Intel Corporation // // 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 restr...
25.409396
80
0.596408
nayanavenkataramana
f4c4ea6bac0a1d4a5e6e89bd188e9b83f1d875cb
7,360
cpp
C++
src/caffe/layers/cross_correlation_layer.cpp
NicoleWang/caffe-for-rfcn
fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/cross_correlation_layer.cpp
NicoleWang/caffe-for-rfcn
fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/cross_correlation_layer.cpp
NicoleWang/caffe-for-rfcn
fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d
[ "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <cfloat> #include <vector> #include "caffe/layers/cross_correlation_layer.hpp" #include "caffe/util/math_functions.hpp" #define DEBUG_INFO #undef DEBUG_INFO namespace caffe { template <typename Dtype> void CrossCorrelationLayer<Dtype>::Reshape( const vector<Blob<Dtype>*>& bottom, con...
40.43956
95
0.640353
NicoleWang
f4cb58df8bc7c0e402744e2a1a91c261ba5edabc
1,797
cpp
C++
src/Display.cpp
yann-boyer/OKUR
f575dbd3d06fa8f669bfadc2918e757168e231be
[ "Zlib" ]
1
2022-03-22T15:10:44.000Z
2022-03-22T15:10:44.000Z
src/Display.cpp
yann-boyer/OKUR
f575dbd3d06fa8f669bfadc2918e757168e231be
[ "Zlib" ]
null
null
null
src/Display.cpp
yann-boyer/OKUR
f575dbd3d06fa8f669bfadc2918e757168e231be
[ "Zlib" ]
null
null
null
/* This file is a part of OKUR. This file contains code to emulate Chip8 screen. Copyright (c) 2022 - Yann BOYER. */ #include "Display.hpp" Display::Display() { chip8Window = SDL_CreateWindow( "OKUR Chip8 Emu by Yann BOYER.", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, WINDOW_WIDTH, WINDOW_HEIGHT, SD...
23.337662
85
0.723984
yann-boyer
f4d79e89943264d79c4041097bad11fe2e7f6c89
37,548
cpp
C++
3p/ClassLib/Windows/window.cpp
stbrenner/NiLogViewer
e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20
[ "MIT" ]
2
2018-11-20T15:58:08.000Z
2021-12-15T14:51:10.000Z
3p/ClassLib/Windows/window.cpp
stbrenner/NiLogViewer
e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20
[ "MIT" ]
1
2016-12-27T08:26:27.000Z
2016-12-27T08:26:27.000Z
3p/ClassLib/Windows/window.cpp
ymx/NiLogViewer
e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20
[ "MIT" ]
1
2016-08-09T10:44:48.000Z
2016-08-09T10:44:48.000Z
// // window.cpp // // (C) Copyright 2000 Jan van den Baard. // All Rights Reserved. // #include "window.h" #include "mdiwindow.h" #include "../application.h" #include "../gdi/gdiobject.h" #include "../gdi/dc.h" #include "../menus/menu.h" #include "../menus/bitmapmenu.h" #include "../tools/multimonitor.h" #include...
26.800857
177
0.6562
stbrenner
f4d992fa6259231d30a542a191c9d94793d23fc2
3,110
cpp
C++
libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
31
2020-04-29T06:11:54.000Z
2021-11-10T19:14:09.000Z
libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
11
2020-07-27T17:12:05.000Z
2021-12-01T16:33:18.000Z
libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp
roymacdonald/ofxLineaDeTiempo
1a080c7d5533dc9b0e587bd1557506fe288f05e8
[ "MIT" ]
null
null
null
// // KeyframeTrackHeader.cpp // ofxGuiWidgetDOMintegration // // Created by Roy Macdonald on 4/12/20. // #include "LineaDeTiempo/View/KeyframeTrackHeader.h" #include "LineaDeTiempo/View/TrackGroupView.h" #include "LineaDeTiempo/View/BaseTrackView.h" namespace ofx { namespace LineaDeTiempo { template<typename Par...
26.581197
198
0.791318
roymacdonald
f4dbb4983a66a6d8cdf4192b8d85e3ba544a2928
104,662
cpp
C++
sxaccelerate/src/math/SxBlasLib.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/math/SxBlasLib.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/math/SxBlasLib.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
36.127718
90
0.524202
ashtonmv
f4f13b044f9221528c862b19ad1af4e8935cc5f8
77
hh
C++
build/X86/mem/protocol/VIPERCoalescer.hh
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
5
2019-12-12T16:26:09.000Z
2022-03-17T03:23:33.000Z
build/X86/mem/protocol/VIPERCoalescer.hh
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
build/X86/mem/protocol/VIPERCoalescer.hh
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
#include "/home/zhoushuxin/gem5/build/X86/mem/ruby/system/VIPERCoalescer.hh"
38.5
76
0.805195
zhoushuxin
f4f1ddcc73b72ad1189d7145666bdabb400f88e4
239
cpp
C++
src/question_1/question1.cpp
juliaholland/acc-cosc-1337-midterm-juliaholland
a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3
[ "MIT" ]
null
null
null
src/question_1/question1.cpp
juliaholland/acc-cosc-1337-midterm-juliaholland
a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3
[ "MIT" ]
null
null
null
src/question_1/question1.cpp
juliaholland/acc-cosc-1337-midterm-juliaholland
a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3
[ "MIT" ]
null
null
null
#include "question1.h" bool test_config() { return true; } double get_kinetic_energy(double mass, double velocity) { double kineticEnergy; kineticEnergy = 0.5 * mass * velocity * velocity; return kineticEnergy; }
14.058824
55
0.682008
juliaholland
f4f2a7201d0e73ca372a5a429bfe6ca7b51eb2fd
40,892
cpp
C++
src/vedit.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2019-07-27T10:46:41.000Z
2019-07-27T10:46:41.000Z
src/vedit.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2022-01-22T13:10:44.000Z
2022-01-22T13:10:44.000Z
src/vedit.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2021-06-17T02:43:27.000Z
2021-06-17T02:43:27.000Z
#include <QtWidgets> #include <QVector> #include <QDebug> #include "vedit.h" #include "vnote.h" #include "vconfigmanager.h" #include "vtableofcontent.h" #include "utils/vutils.h" #include "utils/veditutils.h" #include "utils/vmetawordmanager.h" #include "veditoperations.h" #include "vedittab.h" #include "dialog/vinsert...
28.615815
112
0.58092
linails
f4ffdbc72af1209c3c20227409afe3684aac4f62
576
cpp
C++
libvermilion/core/src/stb_image.cpp
Jojojoppe/vermilion
2bfe545c5f2c02e11d96940c191bac6f6c491843
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
libvermilion/core/src/stb_image.cpp
Jojojoppe/vermilion
2bfe545c5f2c02e11d96940c191bac6f6c491843
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
libvermilion/core/src/stb_image.cpp
Jojojoppe/vermilion
2bfe545c5f2c02e11d96940c191bac6f6c491843
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
#define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #include "Texture.hpp" #include <string> unsigned char * Vermilion::Core::loadTextureData(const std::string& path, size_t * width, size_t * height, size_t * channels){ *width = 0; *height = 0; *channels = 4; Vermilion::Core::flipLoading(); ret...
28.8
126
0.713542
Jojojoppe
76028276bf7c9e6e899d16d6e47452956936c4f6
11,255
cpp
C++
src/Engine/Audio/CPianoKeyboard.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
4
2021-12-16T11:22:30.000Z
2022-01-05T11:20:32.000Z
src/Engine/Audio/CPianoKeyboard.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
1
2022-01-07T10:41:38.000Z
2022-01-09T12:04:03.000Z
src/Engine/Audio/CPianoKeyboard.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
null
null
null
/* * CPianoKeyboard (CPianoKeyboard.cpp) * MobiTracker * * Created by Marcin Skoczylas on 09-11-26. * Copyright 2009 Marcin Skoczylas. All rights reserved. * */ #include "CPianoKeyboard.h" #include "VID_Main.h" #include "CGuiMain.h" #include "CLayoutParameter.h" #define OCT_NAME_FONT_SIZE_X 8.0 #define OCT...
28.278894
153
0.687517
slajerek
760412626f88fb941d8e6b4255045abda9a3697f
1,340
hpp
C++
src/entity/sprite/Sprite.hpp
JulienTD/pacman
71e92b367b4c57bba065c18faa67570842bdd67f
[ "MIT" ]
null
null
null
src/entity/sprite/Sprite.hpp
JulienTD/pacman
71e92b367b4c57bba065c18faa67570842bdd67f
[ "MIT" ]
null
null
null
src/entity/sprite/Sprite.hpp
JulienTD/pacman
71e92b367b4c57bba065c18faa67570842bdd67f
[ "MIT" ]
null
null
null
#ifndef SPRITE_HPP_ #define SPRITE_HPP_ #include <string> #include <SDL2/SDL.h> #include <SDL2/SDL_pixels.h> #include <SDL2/SDL_image.h> #include "window/Window.hpp" #include "entity/Entity.hpp" class Sprite : public Entity { public: Sprite(std::string id, std::string spritePath, Window *window, int x, in...
26.8
108
0.629851
JulienTD
760a33560dd67baa90060d7973adde8257a61375
837
hpp
C++
PolyEngine/Editor/Src/Controls/IControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
65
2017-04-04T20:33:44.000Z
2019-12-02T23:06:58.000Z
PolyEngine/Editor/Src/Controls/IControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
46
2017-04-21T12:26:38.000Z
2019-12-15T05:31:47.000Z
PolyEngine/Editor/Src/Controls/IControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
51
2017-04-12T10:53:32.000Z
2019-11-20T13:05:54.000Z
#pragma once #include <QtWidgets/qwidget.h> #include <QtCore/qtimer.h> #include <RTTI/RTTI.hpp> #include <Utils/Logger.hpp> using namespace Poly; // This is base class for all controls for core types such as int, string or vector. // @see Poly::RTTI::eCorePropertyType class IControlBase { public: // Assigns given ...
26.15625
84
0.734767
PiotrMoscicki
76169e6048a4751df05e23b45ca86658151d7cd1
755
cpp
C++
Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp
cnm06/Competitive-Programming
94242ae458570d503b8218f37624b88cc5020d23
[ "MIT" ]
994
2017-02-28T06:13:47.000Z
2022-03-31T10:49:00.000Z
Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
16
2018-01-01T02:59:55.000Z
2021-11-22T12:49:16.000Z
Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
325
2017-06-15T03:32:43.000Z
2022-03-28T22:43:42.000Z
#include <iostream> #include <bits/stdc++.h> using namespace std; long long int n, temp; int main() { cin>>n; if(n<10 && n>0) { cout<<n<<endl; } else if(n>9 && n<190) { n=n-9; temp=n%2; n=9+n/2; if(temp==0) { cout<<n%10<<endl; } ...
14.803922
30
0.316556
cnm06
7626c7483fb2ea7749e070c7818a48b71e7fa0c9
46
cpp
C++
tests/src/experimental/tests_Optional.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2021-07-16T14:19:50.000Z
2021-07-16T14:19:50.000Z
tests/src/experimental/tests_Optional.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2018-06-05T11:03:30.000Z
2018-06-05T11:03:30.000Z
tests/src/experimental/tests_Optional.cpp
tum-ei-rcs/mart-common
6f8f18ac23401eb294d96db490fbdf78bf9b316c
[ "MIT" ]
null
null
null
#include <mart-common/experimental/Optional.h>
46
46
0.826087
Mike-Bal
762a0dc66e72d07d2707b64b32450fe35bb7e0c6
2,276
cpp
C++
tc 160+/OptimalList.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/OptimalList.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/OptimalList.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; const int di[] = { -1, 0, 1, 0 }; const int dj[] = { 0, 1, 0, -1 }; string dir = "NESW"; int getDir(char c) { return dir.find(c);...
29.558442
315
0.566784
ibudiselic
762ae0e3ad471639a76e787ed602828358d9d040
5,668
cpp
C++
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
// // chorusmodel.cpp // MDStudio // // Created by Daniel Cliche on 2017-05-08. // Copyright © 2017-2020 Daniel Cliche. All rights reserved. // #include "chorusmodel.h" #define _USE_MATH_DEFINES #include <math.h> #include <stdio.h> #include <string.h> #define GRAPH_SAMPLE_RATE 44100 #define ROUND(n) ((int)((floa...
31.314917
120
0.481475
dcliche
762b2d51877e601a10f55acb64f4fd2c81f7dd2d
14,190
cc
C++
src/HR2Scheduler.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
1
2020-09-30T14:47:02.000Z
2020-09-30T14:47:02.000Z
src/HR2Scheduler.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
src/HR2Scheduler.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
// This code is part of the project "Experimental Analysis of Space-Bounded // Schedulers", presented at Symposium on Parallelism in Algorithms and // Architectures, 2014. // Copyright (c) 2014 Harsha Vardhan Simhadri, Guy Blelloch, Phillip Gibbons, // Jeremy Fineman, Aapo Kyrola. // // Permission is hereby granted, fr...
31.744966
106
0.657717
harsha-simhadri
762d09dad5ba121135195bebd503ada89e9d4a39
144
hpp
C++
star.rg/include/tileDB.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
star.rg/include/tileDB.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
star.rg/include/tileDB.hpp
masscry/badbaby
f0b2e793081491ed7598d3170725fe4b48ae1fff
[ "MIT" ]
null
null
null
#pragma once #ifndef TILE_DATABASE_HEADER #define TILE_DATABASE_HEADER extern const tileInfo_t tileID[]; #endif // TILE_DATABASE_HEADER
10.285714
33
0.791667
masscry
7631c1aa955429bb64b7372f54adb09b33ab2d4e
3,619
cpp
C++
core123/ut/ut_simd_threefry.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
core123/ut/ut_simd_threefry.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
core123/ut/ut_simd_threefry.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#if defined(__ICC) #include <stdio.h> int main(int, char **){ printf(__FILE__ " Icc (through version 18) doesn't fully support gcc's 'vector' extensions."); return 0; } #else #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Wpsabi" // see comments in simd_threefry.hpp #...
36.555556
163
0.498757
fennm
763e5b8db9c5b5d782ba03570f8a664a402f751e
4,163
hpp
C++
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp
TakahiroNISHIOKA/scenario_simulator_v2
949a46a64a26d17413c2586577e1f3a5ba41161e
[ "Apache-2.0" ]
null
null
null
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp
TakahiroNISHIOKA/scenario_simulator_v2
949a46a64a26d17413c2586577e1f3a5ba41161e
[ "Apache-2.0" ]
null
null
null
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp
TakahiroNISHIOKA/scenario_simulator_v2
949a46a64a26d17413c2586577e1f3a5ba41161e
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2020 Tier IV, 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 app...
29.111888
99
0.664425
TakahiroNISHIOKA
76427c417c94cb5460cf6ef17f43fbcd44277d62
293
hpp
C++
src/resources/resource.hpp
ifamakes/sidhe-cpp
ce660872fa0c9eba7d41357ab330410a397f59eb
[ "CC0-1.0" ]
null
null
null
src/resources/resource.hpp
ifamakes/sidhe-cpp
ce660872fa0c9eba7d41357ab330410a397f59eb
[ "CC0-1.0" ]
null
null
null
src/resources/resource.hpp
ifamakes/sidhe-cpp
ce660872fa0c9eba7d41357ab330410a397f59eb
[ "CC0-1.0" ]
null
null
null
#pragma once #include <iostream> #include <string> struct Resource { virtual ~Resource() = default; virtual void print() const = 0; }; struct File : Resource { std::string_view filename; virtual void print() const override { std::cout << __PRETTY_FUNCTION__ << std::endl; }; };
19.533333
50
0.675768
ifamakes
76442cf857d809354d445c7ecfb216a91d327ab3
15,115
cpp
C++
src/server.cpp
Subsentient/nexus
719cca618afe8729522607ed35e9415d76582347
[ "Unlicense" ]
2
2016-03-17T21:25:51.000Z
2021-09-02T13:20:23.000Z
src/server.cpp
Subsentient/nexus
719cca618afe8729522607ed35e9415d76582347
[ "Unlicense" ]
1
2018-03-04T18:55:48.000Z
2018-03-07T00:19:37.000Z
src/server.cpp
Subsentient/nexus
719cca618afe8729522607ed35e9415d76582347
[ "Unlicense" ]
2
2016-03-19T00:31:27.000Z
2017-01-09T23:41:32.000Z
/*NEXUS IRC session BNC, by Subsentient. This software is public domain.*/ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <ctype.h> #ifdef WIN #include <winsock2.h> #else #include <fcntl.h> #endif #include <list> #include <string> #incl...
27.836096
139
0.691631
Subsentient
764d3fec3b50869b29975839adf3de55ea856e79
3,491
cpp
C++
dp0.cpp
lordblendi/cpp-deklarativ-programozas-hf
85d875d9eb35f1dcc0275439f8284993b556143f
[ "MIT" ]
null
null
null
dp0.cpp
lordblendi/cpp-deklarativ-programozas-hf
85d875d9eb35f1dcc0275439f8284993b556143f
[ "MIT" ]
null
null
null
dp0.cpp
lordblendi/cpp-deklarativ-programozas-hf
85d875d9eb35f1dcc0275439f8284993b556143f
[ "MIT" ]
null
null
null
//segédfgv length_help(L,N) = N+L hossza, N-ben tárolom az addigi elemek számát int length_help(list l, int n){ if(nil == l) return n; return length_help(tl(l), n+1); } //length(L) = L lista hossza int list_length(list l){ return length_help(l, 0); } //insert_nth(L,N,E) L lista olyan másolata, amelyben ...
43.6375
254
0.708393
lordblendi
764f988d3b8a1339b595365a3abbb9929fee84b1
1,955
inl
C++
RTCLI.AOT/Internal/Managed.inl
Team-RTCLI/RTCLI.Runtime
3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a
[ "MIT" ]
19
2020-10-21T02:54:39.000Z
2022-03-31T02:55:48.000Z
RTCLI.AOT/Internal/Managed.inl
Team-RTCLI/RTCLI.Runtime
3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a
[ "MIT" ]
null
null
null
RTCLI.AOT/Internal/Managed.inl
Team-RTCLI/RTCLI.Runtime
3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a
[ "MIT" ]
null
null
null
namespace RTCLI { namespace System { // ******************* Managed<T> *************************// template<typename T> RTCLI_FORCEINLINE Managed<T>::operator const T&() const RTCLI_NOEXCEPT { if(!object) { return null; } return *static_cast<const T*>(object...
24.4375
101
0.557545
Team-RTCLI
7653a2d7c669c259f2df23c413a6d5a80fe46dde
862
cpp
C++
src/core/resumable.cpp
Anomander/xi
0340675310c41d659762fc3eea48c84ff13b95db
[ "MIT" ]
null
null
null
src/core/resumable.cpp
Anomander/xi
0340675310c41d659762fc3eea48c84ff13b95db
[ "MIT" ]
null
null
null
src/core/resumable.cpp
Anomander/xi
0340675310c41d659762fc3eea48c84ff13b95db
[ "MIT" ]
null
null
null
#include "xi/core/resumable.h" #include "xi/core/abstract_worker.h" namespace xi { namespace core { namespace v2 { thread_local resumable_stat RESUMABLE_STAT; } void resumable::attach_executor(abstract_worker* e) { _worker = e; } void resumable::detach_executor(abstract_worker* e) { assert(_wor...
18.73913
62
0.668213
Anomander
76578b47ce79e8d46b82ba4c2a9ca7a80b451c9b
555
cpp
C++
Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
// Xiaoyan Wang 9/8/2016 #include <iostream> // #include <vector> using namespace std; // arry stores 0, 9^1, 9^2 ... 9^8 int arry[] = {1, 9, 81, 729, 6561, 59049, 531441, 4782969, 43046721/*, 387420489*/}; // input range: 1 to 10^10 int main() { ios::sync_with_stdio(false); int n; while(cin >> n && n) { int res...
22.2
84
0.536937
Horizon-Blue
765928c98b462e252e72220293d6e1eb924600d4
54
hpp
C++
src/boost_geometry_formulas_thomas_inverse.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_formulas_thomas_inverse.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_formulas_thomas_inverse.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/formulas/thomas_inverse.hpp>
27
53
0.833333
miathedev
766150558a10806e22a6e4d1dc3931ce9f259468
7,410
cpp
C++
examples/06-multithreaded-ROUTERserver-doneRight/server.cpp
cibercitizen1/zmqHelper
8fbfe33ddb2642657ed565ffbb157e174035a52d
[ "MIT" ]
5
2015-01-02T15:54:39.000Z
2021-01-12T18:00:29.000Z
examples/06-multithreaded-ROUTERserver-doneRight/server.cpp
cibercitizen1/zmqHelper
8fbfe33ddb2642657ed565ffbb157e174035a52d
[ "MIT" ]
null
null
null
examples/06-multithreaded-ROUTERserver-doneRight/server.cpp
cibercitizen1/zmqHelper
8fbfe33ddb2642657ed565ffbb157e174035a52d
[ "MIT" ]
2
2017-09-01T19:54:50.000Z
2017-11-09T14:34:11.000Z
// --------------------------------------------------------------- // server.cpp // // multi-threaded router server done right ! // // // -> ROUTER socket -> main-thread -> in-proc socket -> delegate to worker // /* * ON MULTITHREADING WITH ZeroMQ * * Remember: * * Do not use or close sockets except ...
26.183746
82
0.518758
cibercitizen1
7673c1cf27f096c1ee32b3c97b316fb1166fc777
109
hpp
C++
PlanetaMatchMakerServer/source/server/server_constants.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
6
2019-08-15T09:48:55.000Z
2021-07-25T14:40:59.000Z
PlanetaMatchMakerServer/source/server/server_constants.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
43
2019-12-25T14:54:52.000Z
2022-02-24T17:22:48.000Z
PlanetaMatchMakerServer/source/server/server_constants.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
2
2020-05-06T20:14:44.000Z
2020-06-02T21:21:10.000Z
#pragma once #include "data/data_constants.hpp" namespace pgl { constexpr version_type api_version = 0; }
13.625
40
0.761468
InstytutXR
76821c60e0b5e0d0b79e905cf309fa43dd9dda05
2,072
cpp
C++
src/core/CL/CLHelpers.cpp
longbowlee/ARMComputeLibrary
c772c0b2ecfe76cac5867915fdc296d14bb829a2
[ "MIT" ]
3
2017-04-02T08:41:24.000Z
2017-10-20T07:56:01.000Z
src/core/CL/CLHelpers.cpp
loliod/ComputeLibrary
871448ee8eff790c4ccc3250008dd71170cc78b2
[ "MIT" ]
null
null
null
src/core/CL/CLHelpers.cpp
loliod/ComputeLibrary
871448ee8eff790c4ccc3250008dd71170cc78b2
[ "MIT" ]
1
2017-12-21T04:13:45.000Z
2017-12-21T04:13:45.000Z
/* * Copyright (c) 2016, 2017 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * r...
33.967213
81
0.662645
longbowlee
76860c006f96ab42e021eb975a9e686c1500b924
719
cpp
C++
src/pass/analyze-usage/conditional.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
1
2017-05-02T14:13:51.000Z
2017-05-02T14:13:51.000Z
src/pass/analyze-usage/conditional.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
src/pass/analyze-usage/conditional.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2015 Ryan Leckey, All Rights Reserved. // Distributed under the MIT License // See accompanying file LICENSE #include <algorithm> #include "arrow/pass/analyze-usage.hpp" #include "arrow/match.hpp" namespace arrow { namespace pass { void AnalyzeUsage::visit_conditional(ast::Conditional& x) { ...
23.193548
68
0.713491
arrow-lang
768629ebd1783b922f786e0b5e0b29393a08a2a2
639
cpp
C++
src/E12.cpp
microentropie/IEC60063
6b3900d9ed4554209cbb88c044d3d81e17ba47a6
[ "MIT" ]
null
null
null
src/E12.cpp
microentropie/IEC60063
6b3900d9ed4554209cbb88c044d3d81e17ba47a6
[ "MIT" ]
null
null
null
src/E12.cpp
microentropie/IEC60063
6b3900d9ed4554209cbb88c044d3d81e17ba47a6
[ "MIT" ]
null
null
null
/* Author: Stefano Di Paolo License: MIT, https://en.wikipedia.org/wiki/MIT_License Date: 2017-12-31 Library: IEC60063 series resistors. Sources repository: https://github.com/microentropie/ */ #include "E-series.h" const char E12Tolerance[] = "10%"; #define E12size 12 static const unsigned short ...
22.821429
117
0.682316
microentropie
768e2018aa71800fb684786b766ce0df824b538e
604
cpp
C++
allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<algorithm> #include<cstring> #include<string.h> #include<math.h> #include<cmath> using namespace std; typedef long long int ll; class Point{ private : double x,y; public: Point(double a,double b) { x=a;y=b; } double Distance( Point const ...
15.1
48
0.56457
BachWV
7692b4bc129f3cee9fead0e4559e38bac59cce54
6,004
cpp
C++
src/LinearColorCalibrator.cpp
alarrosa14/Sendero
fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542
[ "MIT" ]
1
2016-07-06T23:22:16.000Z
2016-07-06T23:22:16.000Z
src/LinearColorCalibrator.cpp
alarrosa14/Sendero
fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542
[ "MIT" ]
null
null
null
src/LinearColorCalibrator.cpp
alarrosa14/Sendero
fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542
[ "MIT" ]
null
null
null
// // LinearColorCalibrator.cpp // LEDColorCalibrator // // Created by Tomas Laurenzo on 4/20/13. // // #include "LinearColorCalibrator.h" LinearColorCalibrator::LinearColorCalibrator(){ gammaCorrecting = false; isCalculated = true; } void LinearColorCalibrator::useGamma() { gammaCorrecting = tr...
21.519713
124
0.463025
alarrosa14
7693b2d81fb6d9bef245f2341f00fb948e664470
5,756
cpp
C++
Source/PraticeActor/CBattlePC.cpp
CitrusNyamNyam/Unreal-Portfolio
f5a63fbe796e0531604470767207831b5c523b54
[ "MIT" ]
1
2018-11-25T10:40:10.000Z
2018-11-25T10:40:10.000Z
Source/PraticeActor/CBattlePC.cpp
CitrusNyamNyam/Unreal-Portfolio
f5a63fbe796e0531604470767207831b5c523b54
[ "MIT" ]
null
null
null
Source/PraticeActor/CBattlePC.cpp
CitrusNyamNyam/Unreal-Portfolio
f5a63fbe796e0531604470767207831b5c523b54
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "CBattlePC.h" #include "CBattleGM.h" #include "CPlayer.h" #include "CAirplane_C130.h" #include "CFlyingViewer.h" #include "CResult_Widget.h" #include "CClientMain_Widget.h" #include "CWorldMap_Widget.h" #include "Animation/WidgetAn...
23.590164
142
0.761119
CitrusNyamNyam
7696137c106984a49fa532b5274a6d9255224b6d
112
hpp
C++
libraries/chain/include/DA-DAPPS/chain/protocol.hpp
mycloudmyworld2019/DA-DAPPS
534ace858fb5d852d69a578151929e64e2932f8b
[ "MIT" ]
null
null
null
libraries/chain/include/DA-DAPPS/chain/protocol.hpp
mycloudmyworld2019/DA-DAPPS
534ace858fb5d852d69a578151929e64e2932f8b
[ "MIT" ]
null
null
null
libraries/chain/include/DA-DAPPS/chain/protocol.hpp
mycloudmyworld2019/DA-DAPPS
534ace858fb5d852d69a578151929e64e2932f8b
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in DA-DAPPS/LICENSE */ #pragma once #include <DA-DAPPSio/chain/block.hpp>
16
42
0.669643
mycloudmyworld2019
769ab67ecf0ee03b324e9690cea3ba77cadf5b8a
912
cpp
C++
graph-source-code/463-D/8599017.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/463-D/8599017.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/463-D/8599017.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include <iostream> #include <cstdio> #include <string> #include <cstring> #include <map> #include <vector> #include <stack> #include <queue> #include <set> #include <cassert> #include <cstdlib> #include <cmath> #include <algorithm> using namespace std; typedef long long ll; type...
15.724138
57
0.541667
AmrARaouf
769bdd7f174ebb9828896a352014acc70c9af3c4
14,894
cpp
C++
app/uart/main.cpp
wrmlab/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
16
2018-06-05T15:23:08.000Z
2022-01-06T13:41:44.000Z
app/uart/main.cpp
sergey-worm/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
null
null
null
app/uart/main.cpp
sergey-worm/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
3
2018-03-15T16:40:59.000Z
2021-04-01T22:55:15.000Z
//################################################################################################## // // uart - userspace UART driver. // //################################################################################################## #include <stdio.h> #include <string.h> #include <assert.h> #include "sys_uti...
24.864775
100
0.606889
wrmlab
769cf243a888d3bcc6809d48babe1b071ff489e7
319
cpp
C++
WumbukDraw/staticimage.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/staticimage.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/staticimage.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
#include "staticimage.h" StaticImage::StaticImage() { } void StaticImage::inSertPicture(QString filePath,QGraphicsScene *parent) { QPixmap pixmap =QPixmap::fromImage(QImage(filePath)); this->setPixmap(pixmap); setFlag(QGraphicsItem::ItemIsMovable); }
19.9375
73
0.623824
YangPeihao1203
372164b0b94deb130806f24ae1c6cf3f7bc02514
2,280
cpp
C++
src/stmt.cpp
magicmoremagic/bengine-sqlite
4e777cbbca9e64be5c49a24778847bf8e23fd99d
[ "MIT" ]
null
null
null
src/stmt.cpp
magicmoremagic/bengine-sqlite
4e777cbbca9e64be5c49a24778847bf8e23fd99d
[ "MIT" ]
null
null
null
src/stmt.cpp
magicmoremagic/bengine-sqlite
4e777cbbca9e64be5c49a24778847bf8e23fd99d
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "stmt.hpp" #include "db.hpp" #include "result_code.hpp" #include "sqlite.hpp" #include <cassert> #include <limits> namespace be::sqlite { /////////////////////////////////////////////////////////////////////////////// /// \brief Compiles the provided SQL query against the provided databas...
37.377049
115
0.59386
magicmoremagic
3722de4415fda998571a8d968689831478fc0bf1
43
hpp
C++
src/boost_mpl_aux__type_wrapper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__type_wrapper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__type_wrapper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/type_wrapper.hpp>
21.5
42
0.790698
miathedev
372398f052543364536b3337a1043e781c804f22
7,932
cpp
C++
src/Modules/UI/Macro Elements/Options_Graphics.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
5
2018-10-12T17:40:17.000Z
2020-11-20T10:49:34.000Z
src/Modules/UI/Macro Elements/Options_Graphics.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
71
2018-07-19T01:59:38.000Z
2020-03-29T18:03:13.000Z
src/Modules/UI/Macro Elements/Options_Graphics.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
1
2022-03-24T13:21:25.000Z
2022-03-24T13:21:25.000Z
#include "Modules/UI/Macro Elements/Options_Graphics.h" #include "Modules/UI/Basic Elements/Slider.h" #include "Modules/UI/Basic Elements/SideList.h" #include "Modules/UI/Basic Elements/Toggle.h" #include "Engine.h" Options_Graphics::Options_Graphics(Engine& engine) : Options_Pane(engine) { // Title m_title->setTe...
50.522293
271
0.757186
Yattabyte
37309bee6eb272dc1b99f9659ca749ea8ee4cf80
9,450
cpp
C++
utils.cpp
Litvinovis/webserver
1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e
[ "Apache-2.0" ]
2
2021-04-22T11:07:04.000Z
2022-01-04T13:57:57.000Z
utils.cpp
Litvinovis/webserver
1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e
[ "Apache-2.0" ]
18
2021-05-10T15:33:00.000Z
2021-05-30T16:32:16.000Z
utils.cpp
Litvinovis/webserver
1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e
[ "Apache-2.0" ]
2
2021-04-15T13:06:08.000Z
2021-05-26T18:08:41.000Z
#include <iostream> #include <unistd.h> #include <sys/stat.h> #include "utils.hpp" #include "Setting.hpp" #include <cstring> // for linux namespace utils { std::vector<char> read_file(std::string filename) { std::vector<char> buf; int fd; char* line; ...
30.882353
108
0.480635
Litvinovis
37332b84069848d85aeb8f925be6fd3454cd7939
604
hpp
C++
libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp
Aschratt/Texturize
bba688d1afd60363f03e02d28e642a63845591d6
[ "MIT" ]
11
2019-05-17T12:23:12.000Z
2020-11-12T14:03:23.000Z
libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp
crud89/Texturize
bba688d1afd60363f03e02d28e642a63845591d6
[ "MIT" ]
2
2019-04-01T08:37:36.000Z
2019-04-01T08:49:15.000Z
libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp
crud89/Texturize
bba688d1afd60363f03e02d28e642a63845591d6
[ "MIT" ]
1
2019-06-25T01:04:35.000Z
2019-06-25T01:04:35.000Z
#pragma once #include <texturize.hpp> #include <analysis.hpp> #include <codecs.hpp> #include <string> #include <iostream> namespace Texturize { /// \brief class TEXTURIZE_API EXRCodec : public ISampleCodec { public: virtual void load(const std::string& fileName, Sample& sample) const override; virtual vo...
27.454545
111
0.738411
Aschratt
3733399ac2e2ccfedf640afe18d3d4056fa00c11
1,757
cpp
C++
queue/queue_LL.cpp
vivekrajx/dsa
23351634652aaabfa40f8679ccff9f6fa9f844e9
[ "MIT" ]
null
null
null
queue/queue_LL.cpp
vivekrajx/dsa
23351634652aaabfa40f8679ccff9f6fa9f844e9
[ "MIT" ]
null
null
null
queue/queue_LL.cpp
vivekrajx/dsa
23351634652aaabfa40f8679ccff9f6fa9f844e9
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct Node { int data; Node* link; }; //declated glboally struct Node * front = NULL; struct Node * rear = NULL; //Enqueue from front & Dequeue from rear both take O(1) time here. //Enqueue from rear void Enqueue(int x) { Node* temp = new Node(); temp->data...
19.307692
78
0.575982
vivekrajx
3735ac75271b959791cd33dbbaa242366ebba1cd
1,004
cpp
C++
Paperworks/src/Paperworks/Graphics/Renderer.cpp
codenobacon4u/paperworks
0e96cd2fb6070a2387ddd36aaa327b04733234fa
[ "MIT" ]
1
2019-08-15T18:58:54.000Z
2019-08-15T18:58:54.000Z
Paperworks/src/Paperworks/Graphics/Renderer.cpp
codenobacon4u/paperworks
0e96cd2fb6070a2387ddd36aaa327b04733234fa
[ "MIT" ]
null
null
null
Paperworks/src/Paperworks/Graphics/Renderer.cpp
codenobacon4u/paperworks
0e96cd2fb6070a2387ddd36aaa327b04733234fa
[ "MIT" ]
null
null
null
#include "pwpch.h" #include "Renderer.h" #include "Renderer2D.h" namespace Paperworks { Unique<Renderer::SceneData> Renderer::s_SceneData = CreateUnique<Renderer::SceneData>(); void Renderer::Init() { RenderCmd::Init(); Renderer2D::Init(); } void Renderer::Shutdown() { Renderer2D::Shutdown(); } void...
20.08
120
0.703187
codenobacon4u
3741ebbac3567d9bd1d0fb3eee75a5c2a9b3a458
2,817
cpp
C++
src/input/SDLJoystickInput.cpp
benlamonica/tetra-table
521082f2a848d04608ef6368004e90e780ef62ea
[ "Apache-2.0" ]
null
null
null
src/input/SDLJoystickInput.cpp
benlamonica/tetra-table
521082f2a848d04608ef6368004e90e780ef62ea
[ "Apache-2.0" ]
null
null
null
src/input/SDLJoystickInput.cpp
benlamonica/tetra-table
521082f2a848d04608ef6368004e90e780ef62ea
[ "Apache-2.0" ]
null
null
null
// // SDLJoystickInput.cpp // TetraTable // // Created by Ben La Monica on 3/23/15. // Copyright (c) 2015 Benjamin Alan La Monica. All rights reserved. // #include "SDLJoystickInput.hpp" #include "../util/SDLUtil.hpp" #include <syslog.h> #include <SDL2/SDL.h> #include "../util/TimeUtil.hpp" SDLJoystickInput::SDLJ...
36.584416
145
0.520412
benlamonica
374816a086693c8e9be578dd2257e444b6fe5ab8
506
cpp
C++
Snipets/01_Decisiones/IfeIfAnidado.cpp
Gabroide/Learning-C
63a89b9b6b84e410756e70e346173d475a1802a6
[ "Apache-2.0" ]
null
null
null
Snipets/01_Decisiones/IfeIfAnidado.cpp
Gabroide/Learning-C
63a89b9b6b84e410756e70e346173d475a1802a6
[ "Apache-2.0" ]
null
null
null
Snipets/01_Decisiones/IfeIfAnidado.cpp
Gabroide/Learning-C
63a89b9b6b84e410756e70e346173d475a1802a6
[ "Apache-2.0" ]
null
null
null
// IfeIfAnidado.cpp // Programa para saber si el numero introducido es par o impar utilizando un bucle if #include <iostream> #include <stdlib.h> int main() { int n; std::cout << "Introduce un numero: "; std::cin >> n; if(n%2 == 0) // Calculamos el residuo del numero al dividirlo entre 2. Si el residuo...
22
114
0.65415
Gabroide
374ebc05844425a2785be3d7ac1b445de32c8207
12,027
cpp
C++
src/mesh/mechanical/plane/fem_submesh.cpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
src/mesh/mechanical/plane/fem_submesh.cpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
src/mesh/mechanical/plane/fem_submesh.cpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
#include "fem_submesh.hpp" #include "exceptions.hpp" #include "constitutive/constitutive_model_factory.hpp" #include "geometry/projection.hpp" #include "interpolations/interpolation_factory.hpp" #include "material/material_property.hpp" #include "mesh/material_coordinates.hpp" #include "mesh/dof_allocator.hpp" #incl...
36.445455
105
0.579529
annierhea
3753e8029f41cd6f3f89d6a217e100fa572871af
20,003
cpp
C++
src/zutil/conn.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
1
2021-03-04T02:35:47.000Z
2021-03-04T02:35:47.000Z
src/zutil/conn.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
src/zutil/conn.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus Inc // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
22.399776
120
0.653602
mgwoo
375eaa78b581f84c658ae81f2e900ae9266ba765
212
hpp
C++
archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_NODE_OMNI_IDX_DEF_HPP #define STAN_LANG_AST_NODE_OMNI_IDX_DEF_HPP #include <stan/lang/ast.hpp> namespace stan { namespace lang { omni_idx::omni_idx() { } } } #endif
15.142857
44
0.707547
alashworth
3764cc4b84406d41e5a8ca372a2e8f204b4dfab6
1,144
cpp
C++
src/input/InputHandler.cpp
Estebanan/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
3
2019-07-31T06:13:41.000Z
2021-04-04T15:32:40.000Z
src/input/InputHandler.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
src/input/InputHandler.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
#include "InputHandler.h" static constexpr unsigned int MAX_KEYS = 1024; static constexpr unsigned int MAX_MOUSEBUTTONS = 32; static bool keys[MAX_KEYS] = {false}; static bool mousebuttons[MAX_MOUSEBUTTONS] = {false}; static int mouse_x; static int mouse_y; bool InputHandler::isKeyPressed(unsigned int key) { if...
24.869565
97
0.714161
Estebanan
3766f6f9125d4549e0161570c5f138a8acec49e9
1,991
cpp
C++
fluffy/core/src/api/modules.cpp
Lo-X/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
3
2015-12-27T14:42:53.000Z
2018-04-18T07:28:05.000Z
fluffy/core/src/api/modules.cpp
lazybobcat/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
3
2018-04-27T14:26:29.000Z
2021-01-29T16:28:18.000Z
fluffy/core/src/api/modules.cpp
lazybobcat/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
null
null
null
#include <fluffy/api/context.hpp> #include <fluffy/api/modules.hpp> #include <fluffy/graphics/shader.hpp> #include <fluffy/graphics/texture.hpp> #include <fluffy/input/input.hpp> #include <fluffy/resources/resource_library.hpp> using namespace Fluffy; void ModuleRegistry::registerModule(BaseModule* module) { Modu...
24.580247
151
0.575088
Lo-X
376853218b7f464eea1549c8f70589ea89b5519c
634
cpp
C++
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
#include "testall.h" #include "cworkplace.h" #include <iostream> #include "cworkerbuilder.h" #include "cluaworker.h" namespace KOT { void TestWorker() { std::cout << "===========TestWorker==========" << std::endl; CLuaWorkerBuilder builder; builder.SetWorkerPath("../script/test/"); // builder.AddEnvPa...
26.416667
72
0.623028
43437
3769d204cf627abd6b7049c46d29850bf6eade8b
3,454
cpp
C++
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
6
2016-06-08T05:29:49.000Z
2020-05-26T14:07:01.000Z
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
null
null
null
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
null
null
null
#include "precomp.h" #include "Game.h" using namespace std; CL_GraphicContext *Game::gc; string Game::winner; Game::Game(CL_DisplayWindow &window) { gc = &window.get_gc(); board = &Board::GetInstance(); startMessage = new string("Press [1] to start first, or\n\n\nPress [2] to start with computer"); whichPlayer[0]...
24.671429
103
0.690214
Mobiletainment
3769fa67cbbf10f4f4b80414b2bc8a4a39fb5aed
6,302
cpp
C++
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
5
2016-06-14T17:56:47.000Z
2022-02-10T19:54:25.000Z
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
42
2016-06-21T20:48:22.000Z
2021-03-23T15:20:51.000Z
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
1
2016-10-02T02:58:49.000Z
2016-10-02T02:58:49.000Z
/** * Copyright (c) 2016 Xavier R. Guerin * * 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, p...
19.571429
80
0.631387
xguerin
376a7ab1b23739b7e20d45adf6fb0641e9c95b0f
2,616
hpp
C++
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/axis.SystemBase.hpp" #include "domain/fwd/numerical_model.hpp" #include "foundation/memory/RelativePointer.hpp" #include "Foundation/Axis.CommonLibrary.hpp" namespace axis { namespace domain { namespace analyses { class ModelOperatorFacade; /** * Implements a version of the numerica...
40.875
96
0.748853
renato-yuzup
3770ca1dd46873dd38256f23ab25bafeb9f6febb
37,357
cpp
C++
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
37.171144
164
0.530048
tonyt73
3779477a90842c9ea994f741358951e2e030df74
105
hpp
C++
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once namespace thor { void initializeTimers(); void initTimerOnThisCpu(); } // namespace thor
11.666667
26
0.742857
kITerE
377c25f611fb8ce80317421179313c9ea52cc430
1,956
cpp
C++
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
#include <stdio.h> #include <sys/utsname.h> #include <string> #include <vector> #include <any> using namespace std; typedef unsigned short int ushort; void run(vector<string>); utsname getUname() { utsname uts; if (uname(&uts) < 0) throw "uname() failed"; return uts; } int main(int argc, char** ...
26.794521
69
0.416155
Marc-JB
3780ccd6e1370bf0a3ac7d3677c50f0c0d0e0db2
2,000
cpp
C++
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
#include "gkpch.h" #include "Input.h" #include "Window.h" namespace Gecko { void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods); void cursor_position_callback(GLFWwindow *window, double xpos, double ypos); void mouse_button_callback(GLFWwindow *window, int button, int action,...
32.258065
88
0.6525
Liamcreed
3786ccf7530bb04fb445a71d1f144c15e5628757
11,406
cpp
C++
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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 wit...
26.711944
131
0.722865
nbtdev
3787b2e14e8aec29261c5661003b1b503ecae611
5,587
cpp
C++
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/basic-calculator-ii/ #include <string> #include <vector> #include <limits> #include "utils.h" namespace basic_calculator_2 { class Solution { public: // Note: The expression must be valid and contain only the following // characters: '0'-'9', '+', '-', '*', '/', ' '....
29.098958
103
0.488992
artureganyan
3788fe0530bfedf4b2e6bad1f465723806fc3ce3
479
cpp
C++
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
1
2022-01-25T10:43:25.000Z
2022-01-25T10:43:25.000Z
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
null
null
null
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
1
2021-07-18T18:05:45.000Z
2021-07-18T18:05:45.000Z
#include<iostream> #include<cstring> class Gun { private: int bullet; public: Gun(int bnum) : bullet(bnum) { } void Shot() { std::cout << "BBANG!" << std::endl; bullet--; } }; class Police : public Gun { private: int handcuffs; public: Police(int bnum, int bcuff) : Gun(bnum), handcuffs(bcuff) { } void P...
12.605263
58
0.613779
100dlswjd
378971e99a6f2f5ed67bb9bedf76c75a656ef0f4
21,041
cc
C++
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
#if defined AEH_WITH_SDL2 && defined AEH_WITH_IMGUI #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) #define _CRT_SECURE_NO_WARNINGS #endif #ifdef _MSC_VER #pragma warning(disable : 4121) // alignment of a member was sensitive to packing #endif #include "imgui_sdl_binding.hh" #include <imgui.h> // SDL,GL3...
44.111111
244
0.740126
asielorz
378a8d3d6ef3cd2a57365c051682f558de2d86b3
943
cpp
C++
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: vector<string> fullJustify(vector<string>& words, int maxWidth) { vector<string> res; // num reprents the number of words in every row // cur is the current sum of lengths of added words int num, cur; for (int i = 0; i < words.size(); i += n...
34.925926
111
0.435843
zszyellow
378b5453822e8722875760675501fe3bfa67f4fd
463
cpp
C++
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
/* write a program that performs LL COMPOUND assignment operations on an integer*/ #include"iostream" #include"conio.h" using namespace std; main() { int a=10; cout<<" Values of a "<<a<<endl; a+=5; cout<<"Values of a+=5 : "<<a<<endl; a-=5; cout<<"Values of a-=5 : "<<a<<endl; a*=2; cout<...
19.291667
69
0.537797
JahanzebNawaz
3795da8821bd6ffe8c5ee2562e4a6098e40ec5dd
2,657
cpp
C++
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
// ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // width of 100 char...
75.914286
324
0.700414
vbkaisetsu
379660dcd5087fcecb1536dbfcc7bc3261befd38
129
hpp
C++
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:03e7fef2ca71e571577cdf63f979796b3db5d2d1dc938db5c767359822f146d4 size 1652
32.25
75
0.883721
realtehcman
379691a259e1f33731f12d3e463e148b22cb7abc
14,463
cpp
C++
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
#include "Display.hh" #include "AICore.hh" bool Display::iaIsPlaying() { if (!this->checkNbPlayer(this->gameloop.getWormsPlayer())) return (false); int idTeam = this->listPlayers[this->gameloop.getWormsPlayer()][0]; int idWorms = this->listPlayers[this->gameloop.getWormsPlayer()][1]; if (this->gameloop.getW...
30.194154
175
0.637212
usernameHed
3798209ae059cf42db81e73227fe89d750a5922f
8,860
cpp
C++
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include <glm/gtc/matrix_transform.hpp> #include "FuncUnitl.h" #include <fbxsdk.h> namespace lly_util { GLenum to_usage(lly::VertexUsage usage) { switch (usage) { case lly::VertexUsage::STATIC_DRAW: return GL_STATIC_DRAW; case lly::VertexUsage::STATIC_COPY: return GL_STATIC_COPY; case lly::VertexUsage::ST...
30.979021
95
0.743567
ooeyusea
379adf1e3c6e043d387b79fecbcb391ca333c0d2
127
cpp
C++
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
// // Created by bddwy on 2021/1/26. // #include "CANRegistration.h" //CANCommunication CANCommunication::CAN1Communication;
15.875
55
0.748031
bddwyx
37af0a4f38530af2840f6bdcd0bb83a91d08aa6f
2,053
cpp
C++
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
2
2021-03-03T12:09:21.000Z
2021-06-19T03:18:53.000Z
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
1
2018-07-23T14:14:59.000Z
2018-07-23T14:14:59.000Z
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
3
2018-07-23T14:04:46.000Z
2021-12-19T22:53:37.000Z
#include <qlist.h> #include <qpixmap.h> #include <qfileinfo.h> #include <qfile.h> #include <qtemporaryfile.h> namespace { template<typename T> void write(QFile& f, const T t) { f.write((const char*)&t, sizeof(t)); } } bool savePixmapsToICO(const QList<QPixmap>& pixmaps, const QString& path) { static_ass...
29.328571
174
0.627862
cbuchart
37af8092b4a0a0816a929b7d6407ee1eae772b08
9,597
cpp
C++
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
// // Created by Liferov Ilia (liferili) on 5/12/16. // #include <fstream> #include <sstream> #include <deque> #include "HtmlDOM.h" #include "DoctypeNode.h" #include "PairTagNode.h" #include "SingleTagNode.h" #include "CommentNode.h" #include "TextNode.h" #include "ErrorTagNode.h" #include <algorithm> #include "String...
40.838298
166
0.530791
liferili
37b0c710dfe57fb3fec4ee13e1cf78a22226997e
4,296
cpp
C++
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
/** @file MeshDrawable.cpp Copyright 2016 Computational Topology Group, University of Kaiserslautern 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/...
29.424658
94
0.661778
dermegges
37b3a9d320f0c5447242fbdcff4ff763dcec47e2
306
cpp
C++
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
#include <iostream> #include "constants.h" int main(){ std::cout << "Constant pi have value:\t\t" << Constants::pi << "\n"; std::cout << "Constant avogadro have value:\t" << Constants::avogadro << "\n"; std::cout << "Constant my_gravity have value:\t" << Constants::my_gravity << "\n"; return 0; }
25.5
83
0.627451
mitsiu-carreno
37b562d25d15dcbaaba466745b5a895f67dac0ee
3,563
cpp
C++
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
1
2020-07-27T02:23:38.000Z
2020-07-27T02:23:38.000Z
#include "threadeventshelper.h" #include <QMutexLocker> #include "SharedModule/internal.hpp" ThreadEvent::ThreadEvent(ThreadEvent::FEventHandler handler, const AsyncResult& result) : m_handler(handler) , m_result(result) {} void ThreadEvent::call() { try { m_handler(); m_result.Resolve(tr...
22.408805
148
0.625596
HowCanidothis-zz
37bb8374d97ff3c0b171fe06c2696f5ccd27ddbf
1,944
cpp
C++
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #include "stdafx.h" #include <boost/test/unit_test.hpp> #include "Common/FabricGlobals.h" using ...
30.375
99
0.609568
vishnuk007
37bcefe894653a0cffcdc28649dbde3c0ae68ac5
5,398
cpp
C++
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
9
2018-10-18T18:13:14.000Z
2021-07-21T19:55:56.000Z
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2020-08-18T02:07:09.000Z
2020-08-19T12:50:55.000Z
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2019-04-22T20:35:04.000Z
2019-04-22T20:35:04.000Z
#include <cassert> #include <algorithm> #include "cflw音频_xa2.h" namespace cflw::音频::xa2 { using 多媒体::FindChunk; using 多媒体::ReadChunkData; //============================================================================== // 辅助函数 //============================================================================== void f销毁声音(...
24.761468
101
0.546684
cflw
37c825d359ca65f19879f852aa75cb8aea511cda
1,625
cpp
C++
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
5
2018-02-10T12:33:53.000Z
2021-03-28T09:27:05.000Z
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
null
null
null
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
6
2017-11-25T17:34:43.000Z
2020-12-20T12:00:04.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Fixed.class.cpp :+: :+: :+: ...
33.163265
80
0.357538
ncoden
56cb13f92dbc1d68a78f29a4143a361e3ffd8184
10,202
cpp
C++
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
#include "Map.h" #include <Game.h> #include <Common\ResourceMgr.h> #include <Common\Random.h> #include "PlayScene.h" #include "Objects\Entities\Player.h" #include "Rooms\Room.h" #include "Rooms\BossRoom.h" #include "Rooms\FinalBossRoom.h" #include "Rooms\TreasureRoom.h" #include "Rooms\ZombieRoom.h" #include "Room...
18.684982
153
0.63517
Harry09
56cf1dd19f125028f80f65ce8b1c857f59aca332
1,083
cpp
C++
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
// // Created by mi on 2021/4/8. // #include "Environment.h" Environment *Environment::GetInstance() { static Environment s_Environment; if (EnvStatus::Initialize == s_Environment.m_CurrentStatus) { s_Environment.InitCaps(); } return &s_Environment; } Environment::Environment() : m_Vers...
19.690909
65
0.662973
phoenixwxy
56d096a390d722384d54795ab77357c4e7250d7a
1,174
cpp
C++
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include "CVTagImageResult.h" #include "../../../../Bundle.h" #include "../../../../AnyArray.h" namespace EasyCpp { namespace Net { namespace Services { namespace Microsoft { namespace Cognitive { CVTagImageResult::CVTagImageResult() { } CVTagImageResult::~CVTagImageResult() ...
20.241379
69
0.59029
Thalhammer
56d300c32f1ad29c49c26264cdb88ead90ce3ea8
5,229
cpp
C++
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
// Generated by Haxe 4.2.0-rc.1+cb30bd580 #include <hxcpp.h> #ifndef INCLUDED_EReg #include <EReg.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_359fe5fd855fee60_28_new,"EReg","new",0x8b859e81,"EReg.new","/usr/local/lib/haxe/std/cpp/_std/EReg.hx",28,0x5a2fdacd) HX_LOCAL_STACK_FRAME(_hx_pos_359fe5fd855fee60_36_match,"EReg","...
30.940828
157
0.689233
TrilateralX
56d99f5671a754fde3e62047fcf4a395f7b0e351
109,845
hpp
C++
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
#pragma once #include"tree_walk.hpp" namespace ParticleSimulator{ /////////////////////////////////////////////////// // // FUNCTIONS OF WALK+FORCE WITH DOUBLE BUFFERING // /////////////////////////////////////////////////// ////////////////////////////////////////////////////////////// ...
48.198771
165
0.537694
Guo-astro
56e03753132a571f60eb153d39a3093b7563e714
1,457
hpp
C++
src/core/stores/preferences_store.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/core/stores/preferences_store.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/core/stores/preferences_store.hpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#pragma once #include "core/serialize.hpp" #include "core/draw_systems/draw_system_identifier.hpp" class DrawSystem; struct DrawSystemPreference { std::size_t playerLowerLimit; DrawSystemIdentifier drawSystem; DrawSystemPreference() = default; DrawSystemPreference(std::size_t playerLowerLimit, DrawS...
29.14
88
0.780371
svendcsvendsen
56e1bb2c38688018ae446fdfbdf16fecc19f6f1e
2,371
hpp
C++
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
9
2019-07-23T10:31:18.000Z
2022-03-15T19:29:26.000Z
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
5
2019-09-11T22:31:29.000Z
2022-01-25T18:26:56.000Z
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
7
2019-08-29T20:47:56.000Z
2021-06-10T15:07:35.000Z
#pragma once #ifndef FILE_WRITER_INCLUDED #define FILE_WRITER_INCLUDED #include "USRP_server_settings.hpp" #include "USRP_server_diagnostic.hpp" #include "USRP_server_memory_management.hpp" #include "USRP_server_network.hpp" #include <ctime> #include "H5Cpp.h" #include "H5CompType.h" using namespace H5; class H5_file_...
29.6375
119
0.628005
zjc263
56ebb968ba92f8bfbfed3c459f23b269fdb50ab0
579
cpp
C++
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
3
2020-08-27T03:55:40.000Z
2020-09-28T17:29:48.000Z
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
null
null
null
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
1
2020-12-08T11:35:17.000Z
2020-12-08T11:35:17.000Z
#include<iostream> using namespace std; int area(int); int area(int,int); float area(float,float); int main() { int s,l,b; float bs,ht; cout<<"Enter side of a square: "; cin>>s; cout<<"Enter length and breadth of rectangle: "; cin>>l>>b; cout<<"Enter base and height of triangle: "; cin>>bs>>ht; cout<<"Area of ...
18.677419
54
0.620035
pranav2012
56ec7bc330ab4bef20982ad0244d497b49547411
147
hpp
C++
include/natalie/types.hpp
davidot/natalie
e5159bacb3831c1720063360570810c0fd2c3ae9
[ "MIT" ]
1
2021-11-17T22:01:36.000Z
2021-11-17T22:01:36.000Z
include/natalie/types.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
include/natalie/types.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #define NAT_INT_MIN INT64_MIN #define NAT_INT_MAX INT64_MAX namespace Natalie { using nat_int_t = int64_t; }
11.307692
29
0.768707
davidot
56f34317250f150f24f5135f02fea980b0f3b444
106
cpp
C++
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
#include "tcppacket.h" PacketDB<TcpPacket> TcpPacket::_packetdb; PacketDB<TcpAck> TcpAck::_packetdb;
21.2
42
0.764151
Flasew
56f5669f234a76ed22fd3e56c98b758224877344
679
cpp
C++
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
luohenyueji/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
293
2019-04-05T14:31:22.000Z
2022-03-30T10:04:51.000Z
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
hktkfly6/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
2
2019-04-05T14:31:04.000Z
2021-11-26T09:27:54.000Z
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
hktkfly6/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
149
2019-04-06T10:51:13.000Z
2022-03-31T01:34:47.000Z
#include "pch.h" #include "opencv2/opencv.hpp" using namespace cv; using namespace std; int main() { Mat im1 = imread("./image/S0.png",IMREAD_GRAYSCALE); Mat im2 = imread("./image/K0.png",IMREAD_GRAYSCALE); Mat im3 = imread("./image/S4.png",IMREAD_GRAYSCALE); double m1 = matchShapes(im1, im1, CONTOURS_MATCH...
30.863636
84
0.617084
luohenyueji
56f74ff70e4a016d75d77729972c677f850f456a
1,942
cpp
C++
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
1
2017-11-21T01:25:19.000Z
2017-11-21T01:25:19.000Z
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
null
null
null
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
null
null
null
#include "MonoCallbackScheduler.h" #include "MonoPluginPrivatePCH.h" bool MonoCallbackScheduler::AddTickableObject(MonoObject * obj) { if(obj == nullptr) return false; MonoClass * ObjectClass = mono_object_get_class(obj); TickObject Data; Data.removed = false; Data.Obj = obj;...
28.558824
117
0.572091
RobertAcksel
56f826e8358547dcae3d8d04b66b055d28548051
2,789
cpp
C++
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Niket Naidu. 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 applic...
28.752577
75
0.662603
d-winsor
56fbc38ea543637a2e94ad8355f09036344b9d42
376
cpp
C++
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#include <mlcmst_solver.hpp> #include <utility> namespace MLCMST { MLCMST_Solver::~MLCMST_Solver() = default; MLCMST_Solver::Result::Result( std::optional<network::MLCST> mlcmst, std::optional<double> lower_bound, double wall_time, bool finished ) : mlcst(std::move(mlcmst)), lower_bound(std::move(lower_b...
23.5
112
0.731383
qaskai
56ffdb1efbe44ece05cdf7a223b4597422a08c75
3,297
cpp
C++
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
// author: a.voss@fh-aachen.de #include <iostream> using namespace std; int main() { cout << endl << "--- " << __FILE__ << " ---" << endl << endl; string s{"Beispiel"}; // (A) cout << "01| s='" << s << "'" << endl; // (B) cout << "-----" << endl; cout << "02| s+s...
28.921053
75
0.451319
pblan