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
816278711cb11e8e796b3a24f2135f307fb43b95
7,671
hpp
C++
src/base/command/NonlinearConstraint.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/command/NonlinearConstraint.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/command/NonlinearConstraint.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
//$Id$ //------------------------------------------------------------------------------ // NonlinearConstraint //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2017 United States Governmen...
38.355
103
0.589754
supalogix
816420d3307460a8cacc078101748f9e1e32d1ba
3,003
cpp
C++
test-suite/generated-src/wasm/NativeConstantsInterface.cpp
paulo-coutinho/djinni
72fc4f08e77338bd80f1f47071c5b541d89b9bc9
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/wasm/NativeConstantsInterface.cpp
paulo-coutinho/djinni
72fc4f08e77338bd80f1f47071c5b541d89b9bc9
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/wasm/NativeConstantsInterface.cpp
paulo-coutinho/djinni
72fc4f08e77338bd80f1f47071c5b541d89b9bc9
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from constants.djinni #include "NativeConstantsInterface.hpp" // my header #include "NativeConstantRecord.hpp" namespace djinni_generated { em::val NativeConstantsInterface::cppProxyMethods() { static const em::val methods = em::val::ar...
42.9
123
0.744589
paulo-coutinho
81652283efc7751d4048f500d3d3bf43791cba7d
882
cpp
C++
D3D9_Renderer/D3D9_Renderer/source/utils/Time.cpp
codenameone-akshat/D3D9_Renderer
9925a827e45f987639f144aebd53974b27ddfb18
[ "MIT" ]
null
null
null
D3D9_Renderer/D3D9_Renderer/source/utils/Time.cpp
codenameone-akshat/D3D9_Renderer
9925a827e45f987639f144aebd53974b27ddfb18
[ "MIT" ]
null
null
null
D3D9_Renderer/D3D9_Renderer/source/utils/Time.cpp
codenameone-akshat/D3D9_Renderer
9925a827e45f987639f144aebd53974b27ddfb18
[ "MIT" ]
null
null
null
#include <sstream> #include <cmath> #include <windows.h> #include "Time.h" #include "Logger.h" namespace renderer { Time::Time() :m_tStart(), m_tEnd(), m_dt(0), m_systemTimer(0), m_numFrames(0), m_fps(0) { } Time::~Time() { } void Time::OnTim...
21.512195
101
0.540816
codenameone-akshat
816619a9af82fa50d1964046d8dbb038685819f7
1,300
hpp
C++
source/vulkan/reshade_api_swapchain.hpp
Moroque/reshade
bf1d263780a817130f6547dca0432dfe64c8beda
[ "BSD-3-Clause" ]
1
2017-11-27T14:50:39.000Z
2017-11-27T14:50:39.000Z
source/vulkan/reshade_api_swapchain.hpp
kingeric1992/reshade
22f57c10ea87ee83ceb7a5d0cb737cdfb02dedb2
[ "BSD-3-Clause" ]
null
null
null
source/vulkan/reshade_api_swapchain.hpp
kingeric1992/reshade
22f57c10ea87ee83ceb7a5d0cb737cdfb02dedb2
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include "runtime.hpp" namespace reshade::vulkan { class device_impl; class command_queue_impl; class swapchain_impl : public api::api_object_impl<VkSwapchainKHR, runtime> { sta...
30.952381
220
0.783077
Moroque
8167278acbb28ce040a314106f24dfd1162a1142
963
cpp
C++
src/burner/sdl/stringset.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
src/burner/sdl/stringset.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
src/burner/sdl/stringset.cpp
tt-arcade/fba-pi
10407847a98f0d315b05e44f0ecf01824f4558aa
[ "Apache-2.0" ]
null
null
null
// StringSet C++ class #include "burner.h" int __cdecl StringSet::Add(TCHAR* szFormat,...) { TCHAR szAdd[256]; int nAddLen = 0; TCHAR* NewMem; va_list Arg; va_start(Arg, szFormat); _vstprintf(szAdd, szFormat, Arg); nAddLen = _tcslen(szAdd); // find out the length of the new text NewMem = (TCH...
18.169811
73
0.598131
tt-arcade
8168533dc2ae946cecfb421b7b282272ac0b17b4
7,492
cxx
C++
src/vw/Image/tests/TestConvolution.cxx
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
1
2020-06-02T04:06:43.000Z
2020-06-02T04:06:43.000Z
src/vw/Image/tests/TestConvolution.cxx
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
null
null
null
src/vw/Image/tests/TestConvolution.cxx
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
null
null
null
// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ // TestConvolution.h #include <gtest/gtest.h> #include <vw/Image/Convolution.h> #include <vw/Image/ImageView...
35.507109
158
0.672317
tkeemon
816cc674d3229bf23f354530cd930799620878d1
1,417
hpp
C++
src/private/qhttpserverrequest_private.hpp
Targoman/qhttp
2351076d2e23c8820e6e94d064de689d99edb22f
[ "MIT" ]
2
2020-07-03T06:34:15.000Z
2020-07-03T19:19:09.000Z
src/private/qhttpserverrequest_private.hpp
Targoman/QHttp
55df46aab918a1f923e8b1b79674cf9f82490bc5
[ "MIT" ]
null
null
null
src/private/qhttpserverrequest_private.hpp
Targoman/QHttp
55df46aab918a1f923e8b1b79674cf9f82490bc5
[ "MIT" ]
null
null
null
/** private imeplementation. * https://github.com/azadkuh/qhttp * * @author amir zamani * @version 2.0.0 * @date 2014-07-11 */ #ifndef QHTTPSERVER_REQUEST_PRIVATE_HPP #define QHTTPSERVER_REQUEST_PRIVATE_HPP /////////////////////////////////////////////////////////////////////////////// #include "httpreader.hxx...
27.784314
107
0.515879
Targoman
816de890b819e1b27644a6e004949cfcf5075d9f
1,957
cpp
C++
src/board/agp01/Agp01Relays.cpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
null
null
null
src/board/agp01/Agp01Relays.cpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
4
2022-03-13T23:07:12.000Z
2022-03-13T23:10:09.000Z
src/board/agp01/Agp01Relays.cpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
null
null
null
#include <thread> #include <Poco/Format.h> #include <common/DigitalOut.hpp> #include "Agp01Relays.hpp" using namespace std; Agp01Relays::Agp01Relays( int id ) : DigitalOut(id) , myEN{gpiod::find_line("pioB21") } , myOHCL{ gpiod::find_line("pioB20") } , myOLCH{ gpiod::find_line("pioB19") } , m...
26.808219
87
0.605008
amsobr
816f6d613d21c4f5bbf3317030577af202971215
5,297
cpp
C++
FileDialogEx.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
FileDialogEx.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
FileDialogEx.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////// // MSDN -- August 2000 // If this code works, it was written by Paul DiLascia. // If not, I don't know who wrote it. // Largely based on original implementation by Michael Lemley. // Compiles with Visual C++ 6.0, runs on Windows 98 and probably NT to...
28.326203
78
0.67963
matthias-christen
40c4660d7340fe6a5a09bd932db657d0c16bfe07
737
cpp
C++
Genome_Antivirus_10.0/thread.cpp
Rossterrrr/Qt
3e5c2934ce19675390d2ad6d513a14964d8cbe50
[ "MIT" ]
3
2019-09-02T05:17:08.000Z
2021-01-07T11:21:34.000Z
Genome_Antivirus_10.0/thread.cpp
Jhongesell/Qt
3fc548731435d3f6fffbaec1bdfd19371232088e
[ "MIT" ]
null
null
null
Genome_Antivirus_10.0/thread.cpp
Jhongesell/Qt
3fc548731435d3f6fffbaec1bdfd19371232088e
[ "MIT" ]
null
null
null
#include "thread.h" #include <QDebug> Thread::Thread(QStringList list, QStringList vList, QThread *parent) : QThread(parent), directories(list),virusList(vList) { } void Thread::run() { emit scanStart(); foreach (QString element, directories) { QDirIterator directory(element, QDirIterator...
24.566667
125
0.523745
Rossterrrr
40c63246f25bda155cd0ecd4ff9be5eda870da0f
3,514
cc
C++
src/RTT_Format_Reader/CellFlags.cc
hppritcha/Draco
6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/RTT_Format_Reader/CellFlags.cc
hppritcha/Draco
6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/RTT_Format_Reader/CellFlags.cc
hppritcha/Draco
6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file RTT_Format_Reader/CellFlags.cc * \author B.T. Adams * \date Mon Jun 7 10:33:26 2000 * \brief Implementation file for RTT_Format_Reader/CellFlags class * \note Copyright (C) 2016-2020 Triad Nation...
36.989474
100
0.527604
hppritcha
40c88774a7c02cb268096c3107ab7d5a029ec234
3,816
hh
C++
src/BasicObjects.hh
hirdrac/rend
937fa3dc0eff23d831004766929c601862079791
[ "MIT" ]
2
2021-08-31T07:18:27.000Z
2021-11-15T22:02:26.000Z
src/BasicObjects.hh
hirdrac/rend
937fa3dc0eff23d831004766929c601862079791
[ "MIT" ]
null
null
null
src/BasicObjects.hh
hirdrac/rend
937fa3dc0eff23d831004766929c601862079791
[ "MIT" ]
null
null
null
// // BasicObjects.hh // Copyright (C) 2021 Richard Bradley // // Definitions for primitive object classes // #pragma once #include "Object.hh" // **** Types **** class Disc final : public Primitive { public: // SceneItem Functions std::string desc() const override { return "<Disc>"; } // Object Functions ...
24.461538
62
0.70414
hirdrac
40c98e19385b51a0f26c1f35a0bdcddc3234b7e7
423
cpp
C++
docs/mfc/codesnippet/CPP/implementing-working-areas-in-list-controls_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/implementing-working-areas-in-list-controls_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/implementing-working-areas-in-list-controls_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// set insertion points for each work area CPoint rgptWork[4]; for (int i = 0; i < 4; i++) { rgptWork[i].x = rcWorkAreas[i].left + 10; rgptWork[i].y = rcWorkAreas[i].top + 10; } // now move all the items to the different quadrants for (int i = 0; i < 20; i++) { m_WorkAreaListCtrl.SetItemPosition(i, rgptWork[i ...
28.2
58
0.683215
bobbrow
40cf717a9bf2f41129386946df187d083db7403a
303
cpp
C++
src/generator/ui/LitesqlMethodPanel.cpp
cshnick/liteSql_custom_generator
31f81ab13b689616672ab45805c3ffdfab3a1057
[ "BSD-3-Clause" ]
14
2018-04-20T03:11:34.000Z
2021-12-29T02:02:28.000Z
src/generator/ui/LitesqlMethodPanel.cpp
cshnick/liteSql_custom_generator
31f81ab13b689616672ab45805c3ffdfab3a1057
[ "BSD-3-Clause" ]
14
2016-05-24T00:20:42.000Z
2019-02-11T18:36:36.000Z
src/generator/ui/LitesqlMethodPanel.cpp
cshnick/liteSql_custom_generator
31f81ab13b689616672ab45805c3ffdfab3a1057
[ "BSD-3-Clause" ]
5
2019-08-31T17:07:08.000Z
2022-03-21T06:57:39.000Z
#include "LitesqlMethodPanel.h" #include "objectmodel.hpp" using namespace xml; LitesqlMethodPanel::LitesqlMethodPanel( wxWindow* parent , Method::Ptr& pMethod) : MethodPanel( parent ), m_pMethod(pMethod) { m_textCtrlName->SetValidator(StdStringValidator(wxFILTER_ALPHANUMERIC,&m_pMethod->name)); }
23.307692
91
0.79538
cshnick
40cfc6dceaf044e48a6a14da92c1e56a72526ce6
5,145
cpp
C++
src/items/items.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
1
2021-12-31T23:52:57.000Z
2021-12-31T23:52:57.000Z
src/items/items.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
src/items/items.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
// // Created by daniel on 24.09.21. // #include "items.hpp" namespace items { Listbox::Item create_inventory_item(INVENTORY_ITEM item_type) { Listbox::Item item; switch (item_type) { case INVENTORY_ITEM::GATE_PART: item = create_gate_part(INVENTORY_ITEM::GATE_PART); break; case INVENTORY_ITEM::AP...
24.975728
121
0.710982
Blackhawk-TA
40d092cfa1696d5905a37a26ae97ab2e05964f40
1,159
cpp
C++
src/ulib/FileFinder.cpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
src/ulib/FileFinder.cpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
src/ulib/FileFinder.cpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
// // ulib - a collection of useful classes // Copyright (C) 2008-2014,2017 Michael Fink // /// \file FileFinder.cpp File finder // // includes #include "stdafx.h" #include <ulib/FileFinder.hpp> #include <ulib/Path.hpp> std::vector<CString> FileFinder::FindAllInPath(const CString& path, const CString& fileSpec, bool ...
24.659574
126
0.620362
vividos
40d1852ec0aba78e9722ea095b77914a2264988c
4,657
cpp
C++
HCore/CCore/test/test4014.SysFile.cpp
SergeyStrukov/CCore-2-xx
118aa4011ee7cc587298d6373b6587540e044a83
[ "BSL-1.0" ]
8
2017-12-21T07:00:16.000Z
2020-04-02T09:05:55.000Z
HCore/CCore/test/test4014.SysFile.cpp
SergeyStrukov/CCore-2-99
1eca5b9b2de067bbab43326718b877465ae664fe
[ "BSL-1.0" ]
null
null
null
HCore/CCore/test/test4014.SysFile.cpp
SergeyStrukov/CCore-2-99
1eca5b9b2de067bbab43326718b877465ae664fe
[ "BSL-1.0" ]
1
2020-03-30T09:54:18.000Z
2020-03-30T09:54:18.000Z
/* test4014.SysFile.cpp */ //---------------------------------------------------------------------------------------- // // Project: CCore 2.00 // // Tag: HCore Mini // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // ...
15.680135
90
0.591797
SergeyStrukov
40d3362406b38275b0edb6490753fad9cf0c904f
15,657
cpp
C++
cfgmgr/vxlanmgr.cpp
antony-rheneus/sonic-swss
4bb9142edacf013bdbd613dc5f5e8b2aa1265584
[ "Apache-2.0" ]
null
null
null
cfgmgr/vxlanmgr.cpp
antony-rheneus/sonic-swss
4bb9142edacf013bdbd613dc5f5e8b2aa1265584
[ "Apache-2.0" ]
null
null
null
cfgmgr/vxlanmgr.cpp
antony-rheneus/sonic-swss
4bb9142edacf013bdbd613dc5f5e8b2aa1265584
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <regex> #include <sstream> #include <string> #include <net/if.h> #include "logger.h" #include "producerstatetable.h" #include "macaddress.h" #include "vxlanmgr.h" #include "exec.h" #include "tokenize.h" #include "shellcmd.h" #include "warm_restart.h" using namespace std; using namespace ...
27.277003
117
0.605288
antony-rheneus
40d55c42fe669f510fc1d218f82bf4521d558aba
4,498
cpp
C++
Userland/userdel.cpp
howar6hill/serenity
3523071bb7527159f213d3710f4c74d10cf93b1a
[ "BSD-2-Clause" ]
null
null
null
Userland/userdel.cpp
howar6hill/serenity
3523071bb7527159f213d3710f4c74d10cf93b1a
[ "BSD-2-Clause" ]
null
null
null
Userland/userdel.cpp
howar6hill/serenity
3523071bb7527159f213d3710f4c74d10cf93b1a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2019-2020, Fei Wu <f.eiwu@yahoo.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this *...
29.592105
93
0.581147
howar6hill
40d65b0d5998de530a36e9fba1b2dbde81aa0165
228
cpp
C++
0006 - Beginner Series #3 Sum of Numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
0006 - Beginner Series #3 Sum of Numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
0006 - Beginner Series #3 Sum of Numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
#include <iostream> using std::cin; using std::cout; int get_sum(int a, int b) { int n = (a < b ? b - a : a - b) + 1; return n * (a + b) / 2; } int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); }
14.25
40
0.526316
dimitri-dev
40d742ae6cde6569ce9dd7d213a2241797716128
539
cpp
C++
Codeforces/1000~1999/1244/G.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1244/G.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1244/G.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> typedef long long ll; const int N = 1e6 + 61; int n, l, r, a[N]; ll k, c; int main() { scanf("%d%lld", &n, &k); if ((c = n * (n + 1ll) / 2) > k) return puts("-1"), 0; for (int i = 1; i <= n; i++) a[i] = i; l = 1, r = n; for (; l < r && c < k; l++, r--) { ...
24.5
63
0.445269
tiger0132
40d7a913383786c67a1d3eb9b5586bd8b0bb3050
3,482
cpp
C++
ReShade/Runtime/runtime_config.cpp
nipkownix/Silent-Hill-2-Enhancements
53f0990c0eb2ca1b81b6645d08a586075556bf64
[ "Zlib" ]
356
2017-11-24T21:59:54.000Z
2022-03-12T01:41:39.000Z
ReShade/Runtime/runtime_config.cpp
nipkownix/Silent-Hill-2-Enhancements
53f0990c0eb2ca1b81b6645d08a586075556bf64
[ "Zlib" ]
501
2017-11-24T23:32:16.000Z
2022-03-31T22:28:14.000Z
ReShade/Runtime/runtime_config.cpp
nipkownix/Silent-Hill-2-Enhancements
53f0990c0eb2ca1b81b6645d08a586075556bf64
[ "Zlib" ]
41
2018-04-22T19:24:56.000Z
2022-02-28T01:56:10.000Z
/** * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license * * Copyright (C) 2021 Elisha Riedlinger * * This software is provided 'as-is', without any express or implied warranty. In no event will the * authors be held liable for any damages arising from the us...
25.985075
101
0.649339
nipkownix
40d8ff15adf3570c79c5f9e9a05603c15c8dd3a0
503
hpp
C++
addons/flag/CfgVehicles.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
2
2020-05-25T20:29:29.000Z
2020-05-26T21:11:23.000Z
addons/flag/CfgVehicles.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
3
2020-06-02T07:38:40.000Z
2021-11-13T04:54:28.000Z
addons/flag/CfgVehicles.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
1
2020-05-26T21:11:28.000Z
2020-05-26T21:11:28.000Z
class CfgVehicles { class Flag_White_F; class GVAR(Flag): Flag_White_F { author = ECSTRING(main, author); displayName = CSTRING(display); scopecurator = public; scope = public; class EventHandlers { init = QUOTE((_this select 0) setFlagTexture QUOTE(QPATHTOF(data\61stFlag.paa))); }; }; class GVAR(Fla...
27.944444
85
0.709742
61st-Cavalry-Regiment
40d96d3485682aa186723caedee313509a5f52f9
4,274
cpp
C++
modules/clientnotify.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
null
null
null
modules/clientnotify.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
null
null
null
modules/clientnotify.cpp
md-5/znc
39c741fcd2307d707a0d1bebbed3d80be9b1899b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2004-2015 ZNC, see the NOTICE file for details. * * 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 requi...
30.528571
172
0.697005
md-5
40dbcfa342afd32f1a1720e306ca54d697957d1c
1,251
hpp
C++
PUTM_EV_TELEMETRY_2022/Core/Inc/Data_Handling.hpp
PUT-Motorsport/PUTM_EV_TELEMETRY_2022
808ed3e7c9b4263b541a804233e5905f6a9b4240
[ "Apache-2.0" ]
null
null
null
PUTM_EV_TELEMETRY_2022/Core/Inc/Data_Handling.hpp
PUT-Motorsport/PUTM_EV_TELEMETRY_2022
808ed3e7c9b4263b541a804233e5905f6a9b4240
[ "Apache-2.0" ]
null
null
null
PUTM_EV_TELEMETRY_2022/Core/Inc/Data_Handling.hpp
PUT-Motorsport/PUTM_EV_TELEMETRY_2022
808ed3e7c9b4263b541a804233e5905f6a9b4240
[ "Apache-2.0" ]
1
2021-11-22T20:06:58.000Z
2021-11-22T20:06:58.000Z
#ifndef INC_DATA_HANDLING_HPP_ #define INC_DATA_HANDLING_HPP_ #include <stdlib.h> #include <cstring> #include "stdio.h" #include "main.h" enum struct HeartBeat { Buffer1, Buffer2, Buffer3, DEFAULT, FRAME_BY_FRAME }; class Data_management { private: // Buffers containing data and states. uint8_t DataBu...
19.246154
80
0.723421
PUT-Motorsport
40dc24da71519bd60392ec90b5ecbbd3cae32a58
121,192
cpp
C++
src/game/shared/choreoevent.cpp
Planimeter/hl2sb-src
8ffdae584f8e4837b7a1bd90286d199d934e4b7d
[ "MIT" ]
15
2016-04-07T21:29:55.000Z
2022-03-18T08:03:31.000Z
src/game/shared/choreoevent.cpp
Planimeter/hl2sb-src
8ffdae584f8e4837b7a1bd90286d199d934e4b7d
[ "MIT" ]
1
2021-12-05T23:46:21.000Z
2021-12-06T15:48:33.000Z
src/game/shared/choreoevent.cpp
Planimeter/hl2sb-src
8ffdae584f8e4837b7a1bd90286d199d934e4b7d
[ "MIT" ]
4
2020-10-02T00:28:21.000Z
2021-12-12T16:40:01.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "tier0/dbg.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include "choreoevent.h" #incl...
26.842082
176
0.459494
Planimeter
40de540be43e454c19ddb6c11050259be9da9466
7,760
cpp
C++
root/stat.cpp
amcghie/watchman
27ed35666681a48df42fc9a22f863fa99a2e1c85
[ "Apache-2.0" ]
null
null
null
root/stat.cpp
amcghie/watchman
27ed35666681a48df42fc9a22f863fa99a2e1c85
[ "Apache-2.0" ]
2
2020-02-27T11:22:22.000Z
2021-05-20T10:23:12.000Z
root/stat.cpp
amcghie/watchman
27ed35666681a48df42fc9a22f863fa99a2e1c85
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include "InMemoryView.h" #include "watchman_error_category.h" namespace watchman { void InMemoryView::statPath( const std::shared_ptr<w_root_t>& root, SyncView::LockedPtr& view, PendingColl...
32.605042
80
0.581959
amcghie
40e23dda4ca58a0ffe1944e246c378314124fa2a
15,458
cpp
C++
CPUT/CPUT/CPUTModelOGL.cpp
GameTechDev/OpenGLESTessellation
b504ec95be716d1671dd55a61aa142d0c133fd1b
[ "Apache-2.0" ]
13
2016-03-06T12:05:52.000Z
2021-07-24T21:17:46.000Z
CPUT/CPUT/CPUTModelOGL.cpp
GameTechDev/OpenGLESTessellation
b504ec95be716d1671dd55a61aa142d0c133fd1b
[ "Apache-2.0" ]
null
null
null
CPUT/CPUT/CPUTModelOGL.cpp
GameTechDev/OpenGLESTessellation
b504ec95be716d1671dd55a61aa142d0c133fd1b
[ "Apache-2.0" ]
8
2016-05-06T14:08:44.000Z
2022-03-17T09:37:20.000Z
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2017 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 // // htt...
41.111702
169
0.64355
GameTechDev
40e2d5dd4597b18047d34d0bbba22d245005e884
2,697
cpp
C++
DirectX3D11/Objects/Model/Ninja.cpp
GyumLee/DirectX3D11
6158874aa12e790747e6fd8a53de608071c49574
[ "Apache-2.0" ]
null
null
null
DirectX3D11/Objects/Model/Ninja.cpp
GyumLee/DirectX3D11
6158874aa12e790747e6fd8a53de608071c49574
[ "Apache-2.0" ]
null
null
null
DirectX3D11/Objects/Model/Ninja.cpp
GyumLee/DirectX3D11
6158874aa12e790747e6fd8a53de608071c49574
[ "Apache-2.0" ]
null
null
null
#include "Framework.h" Ninja::Ninja(UINT instanceID) : instanceID(instanceID), state(IDLE) { collider = new SphereCollider(); collider->tag = "NinjaCollider"; collider->Load(); hpBar = new ProgressBar("Textures/UI/hp_bar.png", "Textures/UI/hp_bar_BG.png"); //hpBar->scale *= 0.1f; } Ninja::~Ninja() { delete co...
17.860927
80
0.661846
GyumLee
40ede24a47a7e4ef4ea39f532d744d241801d6e5
1,572
cpp
C++
sunglasses/src/Scripting/LuaPrimitives.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
1
2016-04-01T02:21:27.000Z
2016-04-01T02:21:27.000Z
sunglasses/src/Scripting/LuaPrimitives.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
49
2015-07-08T13:48:06.000Z
2017-06-27T01:40:51.000Z
sunglasses/src/Scripting/LuaPrimitives.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
null
null
null
// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #include <sunglasses/Scripting/LuaPrimitives.h> namespace sunglasses { namespace Scripting { template<> int getFromStack(lua_State *l, int index) { return lua_to...
26.644068
76
0.646947
jonathanbuchanan
40f14e72764036e435e6ed78ad0b700bcb9b7d46
4,773
hh
C++
src/Distributed/VoronoiRedistributeNodes.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Distributed/VoronoiRedistributeNodes.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Distributed/VoronoiRedistributeNodes.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // VoronoiRedistributeNodes // // This algorithm uses the Voronoi tessellation to decide how to domain // decompose our points. The idea is to relax a set of generator points into // the SPH node distribution -- the generators are attrac...
38.184
90
0.635659
jmikeowen
40f1d837ef4f8597647e34528cac584fa16008e2
2,118
hpp
C++
include/toy/memory/Allocator01.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
include/toy/memory/Allocator01.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
include/toy/memory/Allocator01.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include <cstdlib> #include <cstring> #include "toy/Math.hpp" namespace toy{ namespace memory{ // The memory size of Allocator01 always base of 2. template<typename T> class Allocator01 { public: Allocator01() { ; } ~Allocator01() { free(); } Allocator01(const Allocator01 &other...
14.408163
61
0.580264
ToyAuthor
40f2d4edc294a2c8d6ce2e049e487625902b155e
1,488
cpp
C++
src/utils/random.cpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
1
2019-01-27T17:54:45.000Z
2019-01-27T17:54:45.000Z
src/utils/random.cpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
null
null
null
src/utils/random.cpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
null
null
null
#include "random.hpp" #include <assert.h> namespace Util{ Random::Random(uint32_t _seed) { m_state[0] = 0xaffeaffe ^ _seed; m_state[1] = 0xf9b2a750 ^ (_seed * 0x804c8a24 + 0x68f699be); m_state[2] = 0x485eac66 ^ (_seed * 0x0fe56638 + 0xc917c8ce); m_state[3] = 0xcbd02714 ^ (_seed * 0x57571dae + 0xce2b3bd1); ...
27.054545
76
0.508065
Thanduriel
40f5ed080c871109c885e4cd200331d257b41c20
10,502
cpp
C++
Hercules0.1/src/Hercules/Scene/Level/LevelManager.cpp
CletusG/Hercules-Engine
d2e2e5a04b5149fd7779f7a1598070593fcc574d
[ "Apache-2.0" ]
null
null
null
Hercules0.1/src/Hercules/Scene/Level/LevelManager.cpp
CletusG/Hercules-Engine
d2e2e5a04b5149fd7779f7a1598070593fcc574d
[ "Apache-2.0" ]
null
null
null
Hercules0.1/src/Hercules/Scene/Level/LevelManager.cpp
CletusG/Hercules-Engine
d2e2e5a04b5149fd7779f7a1598070593fcc574d
[ "Apache-2.0" ]
null
null
null
#include "hcpch.h" #include "LevelManager.h" namespace Hercules { LevelData levelData; const void Hercules::LevelManager::OpenLevel(const char* levelPath, std::string projectPath) { HC_STAT("Opening {0}", levelPath); levelData.matColors.clear(); levelData.matShinies.clear(); SceneManager::GetEntites(...
30.618076
109
0.602838
CletusG
40f99ccf7408edf201d3985d87537b535ed68eac
1,761
ipp
C++
implement/oglplus/enums/object_type_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/object_type_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/object_type_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/oglplus/enums/object_type_names.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/object_type.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost Software Licens...
25.521739
73
0.776263
jnbrq
40fb78161ebbab40e852536757f7d8380de74454
118,110
cpp
C++
private/parser.cpp
kociap/vush2
4002afb9c86638ff9882a44b1010a13348eed664
[ "MIT" ]
6
2021-04-27T22:17:30.000Z
2021-12-31T12:42:44.000Z
private/parser.cpp
kociap/vush2
4002afb9c86638ff9882a44b1010a13348eed664
[ "MIT" ]
1
2021-05-11T10:50:52.000Z
2021-05-11T10:50:52.000Z
private/parser.cpp
kociap/vush2
4002afb9c86638ff9882a44b1010a13348eed664
[ "MIT" ]
null
null
null
#include <parser.hpp> #include <anton/optional.hpp> #include <anton/string7_stream.hpp> #include <anton/string7_view.hpp> // TODO: When matching keywords, ensure that the keyword is followed by non-identifier character (Find a cleaner way). // TODO: Figure out a way to match operators that use overlapping symbols (+ ...
42.303009
159
0.53683
kociap
dc088ec29b504b6cba126846e4f5513a380338bd
2,191
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/geometry/index/detail/rtree/node/pairs.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ios/Pods/boost-for-react-native/boost/geometry/index/detail/rtree/node/pairs.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ios/Pods/boost-for-react-native/boost/geometry/index/detail/rtree/node/pairs.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Boost.Geometry Index // // Pairs intended to be used internally in nodes. // // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. // // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1...
30.430556
138
0.740301
Harshitha91
dc099f9300c0294a933f125597250addf2186707
5,273
cpp
C++
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
1
2019-12-16T16:32:46.000Z
2019-12-16T16:32:46.000Z
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
null
null
null
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
1
2019-12-13T22:04:02.000Z
2019-12-13T22:04:02.000Z
#include <stdint.h> #include "../Level.h" #include "../Game.h" #include "../Log.h" #include "../MathUtil.h" //#define SPIRAL_OFFSET_FIX //Fixes the radius offset to scale properly static const uint8_t FlipAngleTable[] = { 0x00,0x00, 0x01,0x01,0x16,0x16,0x16,0x16,0x2C,0x2C, 0x2C,0x2C,0x42,0x42,0x42,0x42,0x58,0x58, ...
26.497487
100
0.535938
heyjoeway
dc0a628b5b8c4cefbfa6addb955d5241025331d7
1,731
cc
C++
Codeforces/252 Division 2/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/252 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/252 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
18.612903
79
0.514731
VastoLorde95
dc0ddd3dc12fe6d5070d300b9baf89cb9ff7d362
1,436
cpp
C++
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
/* * source code: hp_rechner.cpp * author: Lukas Eder * date: 28.12.2017 * * Descr.: * Grundlegende Rechnungen von Addition, Subtraktion, Multiplikation und Division nach dem HP-Rechner-Model. */ #include "hpFunktionen.h" #include <iostream> using namespace std; // Hauptprogramm int main(...
18.894737
109
0.533426
EderLukas
dc0ee3e12e145c6957d7534a82041d2733c608e8
38,320
hpp
C++
include/armadillo_bits/wrapper_lapack.hpp
embarktrucks/armadillo-code
edfce747962f8ad508db660caa3892ed1a4069f8
[ "Apache-2.0" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
include/armadillo_bits/wrapper_lapack.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
1
2018-01-08T09:16:37.000Z
2018-02-28T15:43:40.000Z
include/armadillo_bits/wrapper_lapack.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
29.91413
268
0.582777
embarktrucks
dc133148e87e81cf79dcc080817d4377684ab185
12,250
hh
C++
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
62
2020-11-06T17:29:24.000Z
2022-03-21T19:21:16.000Z
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
134
2017-02-25T20:47:43.000Z
2022-03-14T06:54:58.000Z
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
6
2021-02-19T07:20:19.000Z
2021-12-27T09:07:27.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
30.397022
129
0.533224
hporro
dc17e129762729e809cefe6f33c1e5dcee550e89
217
hh
C++
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
4
2022-02-08T07:04:49.000Z
2022-02-09T23:43:49.000Z
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
null
null
null
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
null
null
null
#pragma once namespace Zion { class Log { public: static void Open(const char *filename); static void Close(); static void Write(const char *format, ...); }; };
18.083333
55
0.520737
zionmultiplayer
dc19b4bf11e668d5cf6fc8dd48356bd945c17f06
34,710
cpp
C++
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
36.006224
172
0.681648
den-rain
dc1abdf77ef4738900b3dcc654db8e753608f195
28,436
cpp
C++
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
2,728
2015-01-01T10:06:45.000Z
2022-03-30T18:12:58.000Z
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
1,192
2015-01-01T06:03:19.000Z
2022-03-31T09:14:36.000Z
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
334
2015-01-08T20:47:03.000Z
2022-02-18T07:07:01.000Z
#include <TestSupport.h> #include <Core/SpawningKit/Handshake/Prepare.h> #include <Core/SpawningKit/Handshake/Perform.h> #include <LoggingKit/Context.h> #include <SystemTools/UserDatabase.h> #include <boost/bind/bind.hpp> #include <cstdio> #include <IOTools/IOUtils.h> using namespace std; using namespace Passenger; us...
31.630701
122
0.727247
m5o
dc218df738ec770a57a06c101e884a29706610e6
1,106
cpp
C++
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include "matrix.h" #include <iostream> Matrix::~Matrix() { for (size_t i = 0; i < cols; i++) delete[] arr[i]; delete[] arr; } Matrix& Matrix::operator *= (int k) { for (size_t i = 0; i < cols; i++) for (size_t j = 0; j < rows; j++) arr[i][j] *= k; return *this; } bool Mat...
19.75
55
0.536166
nkotelevskii
dc25ac98836587fdbea428d73ec9a32938708afe
626
cpp
C++
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
/* D. Up the Strip */ // https://codeforces.com/contest/1561/problem/D1 // Date: Aug/24/2021 18:29 (00:54:05) // Runtime: 6000 ms // Memory: 29160 KB // Verdict: TLE #include <iostream> #include <string.h> using namespace std; int n, m; int memo[4000010]; int count(int x) { if (memo[x] != -1) return memo[x];...
21.586207
68
0.535144
LeKSuS-04
dc25d7aff1fd976c19d99335e047bf0468cbcf07
4,090
hpp
C++
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * 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 publishe...
40.9
83
0.771394
ORNL-BTRIC
dc27846a28ec616352a0fc676d036a4916953736
357
hpp
C++
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
#ifndef _FUNCTION_HPP #define _FUNCTION_HPP #include <SDL2/SDL.h> #include <string> #include "block.hpp" void gameover(const std::string &message); block *XYtoArr(int x, int y); void dfs(block *it); block *mouseToArr(int _x, int _y); void setball(); void init(); inline void clock(const unsigned int frames_per_second...
19.833333
56
0.747899
Kayasama
dc28d53b00a958fb711ad49fcc2ab21a0a8a650d
612
cpp
C++
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
1
2021-03-03T19:07:41.000Z
2021-03-03T19:07:41.000Z
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
null
null
null
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
null
null
null
#include<iostream> #define MAX_SIZE 5 int sort(int arr[MAX_SIZE], int key) { int pos = 0; for(int i=0;i<MAX_SIZE;i++) { if(arr[i]==key) return(i); } return (-1); } int main() { int list[MAX_SIZE]; int ele; std::cout<<"Enter Array: "; for(int i = 0; ...
20.4
54
0.503268
kanitmann
dc2ae9cd37386c66d6357345fa01b89e2cc54e02
4,899
hpp
C++
code/linear/tropical.hpp
Brunovsky/competitive
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
1
2020-02-10T09:15:59.000Z
2020-02-10T09:15:59.000Z
code/linear/tropical.hpp
Brunovsky/kickstart
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
null
null
null
code/linear/tropical.hpp
Brunovsky/kickstart
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
null
null
null
#pragma once #include <bits/stdc++.h> using namespace std; // Tropical matrix operations (max plus or min plus) template <typename T> struct tmat { using vec = vector<T>; using unit_type = T; static constexpr T inf = numeric_limits<T>::lowest() / 2; static const T add(const T& a, const T& b) { return ...
31.606452
80
0.441519
Brunovsky
dc2bedf536d5a1d5870e4417529522bcc453dcb7
1,234
cpp
C++
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
#include <glapi.h> #include <device.h> #include <config.h> #include <window.h> #include <GLFW/glfw3.h> #include <GL/gl.h> namespace engine { namespace gfx { Device::Device(Window& wnd): m_log("GFX_DEVICE"), m_window(wnd) { } bool Device::init() { m_log.debug("init"); if (!glapi::init()) { ...
18.984615
61
0.664506
Necrys
dc2f19297e0c528f98ef5d47fc7902bac8ede3ca
2,151
hpp
C++
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
1
2016-08-31T04:44:17.000Z
2016-08-31T04:44:17.000Z
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
#ifndef COCO_COMBIX_COMBINATORS_CHOICE_HPP_ #define COCO_COMBIX_COMBINATORS_CHOICE_HPP_ #include <type_traits> #include <utility> #include <coco/combix/error.hpp> #include <coco/combix/parser_traits.hpp> namespace coco { namespace combix { template <typename... P> struct choice_parser; template <type...
26.231707
79
0.598326
agatan
dc310cc44ed33e191a9bcd380ff199740ab2f7f8
8,593
hpp
C++
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_NONMEN_EVENTS_RECORD_HPP #define STAN_MATH_TORSTEN_NONMEN_EVENTS_RECORD_HPP #include <stan/math/torsten/dsolve/pk_vars.hpp> #include <stan/math/torsten/return_type.hpp> #include <boost/math/tools/promotion.hpp> #include <Eigen/Dense> #include <numeric> #include <string> #include <vector> nam...
32.673004
124
0.584895
csetraynor
dc3280a3a76518bc325fbc6be30ddd3f46936cd0
2,793
hpp
C++
include/framework/Parser.hpp
Vitaliy-Grigoriev/Protocol-Analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
14
2018-02-06T20:45:00.000Z
2020-06-23T06:53:51.000Z
include/framework/Parser.hpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
null
null
null
include/framework/Parser.hpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
6
2018-02-03T11:53:52.000Z
2020-05-07T03:10:29.000Z
// ============================================================================ // Copyright (c) 2017-2019, by Vitaly Grigoriev, <Vit.link420@gmail.com>. // This file is part of ProtocolAnalyzer open source project under MIT License. // ============================================================================ #ifnd...
33.25
110
0.56212
Vitaliy-Grigoriev
dc37ebc2fe2e18f2e37f8402565df01993e2b02f
1,290
inl
C++
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
34
2021-04-17T14:25:24.000Z
2021-08-21T19:22:58.000Z
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
1
2021-11-19T00:30:13.000Z
2021-11-26T04:13:38.000Z
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
3
2021-04-17T14:25:27.000Z
2021-08-06T08:28:09.000Z
// xcharconv.h internal header // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception //~ #pragma once #ifndef _XCHARCONV_H #define _XCHARCONV_H //~ #include <yvals_core.h> //~ #if _STL_COMPILER_PREPROCESSOR //~ #include <cstdint> //~ #include <type_traits> //~ #include <x...
23.888889
117
0.693798
iboB
dc3a411dcdb33e8e5a1608ec599746c217ea97e4
734
hpp
C++
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
#ifdef NALL_STRING_INTERNAL_HPP namespace nall { template<bool Insensitive> bool chrequal(char x, char y) { if(Insensitive) return chrlower(x) == chrlower(y); return x == y; } template<bool Quoted, typename T> bool quoteskip(T*& p) { if(Quoted == false) return false; if(*p != '\'' && *p != '\"') return false...
18.35
52
0.506812
wareya
dc40a7c67eb1603a55fdb5c56b0fe89b3c260e25
8,226
cpp
C++
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
37.221719
120
0.752127
hongyuanjia
dc42d4f656d36b3228e4cc905fd4ae855bd88645
1,529
cpp
C++
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
28
2019-03-20T22:33:11.000Z
2022-03-19T16:59:21.000Z
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
204
2017-10-08T22:26:31.000Z
2022-03-26T16:16:51.000Z
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
30
2020-01-17T17:48:49.000Z
2022-03-13T06:18:20.000Z
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2019-2020 Joel E. Anderson * * 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 * ...
27.8
75
0.671681
Jk-bit
dc43ac26e14ecadfa5e82081eaa80a7b45c1a934
5,295
cpp
C++
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
4
2020-01-25T04:20:07.000Z
2022-01-14T02:59:28.000Z
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
null
null
null
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
1
2020-04-01T04:36:48.000Z
2020-04-01T04:36:48.000Z
/****************************************************************************** Author: Matthew Nolan OrangeMUD Codebase Date: January 2001 [Crossplatform] License: MIT License Permission is hereby granted, free of charge, to any pers...
19.046763
79
0.552786
nolancs
dc465eb06aee5b46116e2c94acc01f27161d8217
5,761
cpp
C++
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
3
2019-11-26T05:33:47.000Z
2020-05-18T06:49:41.000Z
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
#include "CExpressionPicker.h" #include <QHeaderView> #include <QMouseEvent> #include "CExpressionPickerDelegate.h" #include <QDebug> CExpressionPicker::CExpressionPicker(QWidget *parent) :QTableView(parent) ,mModel(new QStandardItemModel(this)) ,mPreView(new QLabel(this)) ,mShowPreView(fal...
25.267544
87
0.619511
xylsxyls
dc469b8ca9fec546a251c4f9eb45ca3db0986ab9
2,777
cpp
C++
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
claytonv/xbox-live-api
d8db86cf930085c7547ae95999c9b301506de343
[ "MIT" ]
3
2020-07-15T17:50:24.000Z
2021-11-17T11:15:11.000Z
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
1
2021-02-01T01:56:08.000Z
2021-02-01T01:56:08.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/contextual_search_service.h" NAMESPACE_MICROSOFT_XBOX_SERVICES_CONTEXTUAL_SEARCH_CPP_BEGIN contextual_search_game_clip_uri_info::contextual_se...
30.855556
107
0.764494
claytonv
dc4e683a355e65a3d1e39c1feca306c11c8830cb
8,329
cpp
C++
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "FSDWidgetBlueprintLibrary.h" #include "Templates/SubclassOf.h" class UObject; class UWidget; class UHorizontalBox; class UUserWidget; class UWidgetAnimation; class USizeBox; class UPanelWidget; class UTextBlock; class UImage; class UWindowWidget; class AFSDPlayerState; class UFSDCheatManager; class APlayerCo...
37.017778
312
0.817505
Dr-Turtle
dc4e79d12722135d83cc445feee48bd77d308cff
4,491
cpp
C++
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
#include "AnimalThirdPersonControler.h" #include <OgreMath.h> #include "TerrainUtils.h" const float camDist = 900.f; AnimalThirdPersonControler::AnimalThirdPersonControler() : m_lookAround(false), m_camDistance(camDist), m_camAngularSpeed(0.0015f), m_camHeightOffset(0.f), m_pCamera(nullptr), m_pAnimal(nullptr...
32.543478
153
0.754843
BeanOfLight
dc51ab493c502205b7f761e6168f2ae218120cc9
59,189
cpp
C++
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
28
2017-01-20T15:25:54.000Z
2020-03-17T00:28:31.000Z
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
1
2021-07-12T02:57:17.000Z
2021-07-16T02:07:29.000Z
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
2
2019-07-15T19:07:04.000Z
2019-09-07T14:21:04.000Z
/* NOTE - eventually this file will be automatically updated using a Perl script that understand * the naming of test case files, functions, and namespaces. */ #include <time.h> /* for time() */ #include <stdlib.h> /* for srand() */ #include "std_testcase.h" #include "testcases.h" int main(int argc, ch...
46.938144
97
0.871513
RanerL
dc57539f88602e33d29c83670d425b7994305558
4,469
hpp
C++
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
2
2021-12-17T10:46:20.000Z
2021-12-18T11:53:50.000Z
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
/****************************************************************************/ /* Copyright 2005-2006, Francis Russell */ /* */ /* Licensed under the Apache License, Version 2.0 (the License); */ /* y...
22.685279
142
0.573059
FrancisRussell
dc58390656a009f243fd7e7855f84365afe22107
10,279
cpp
C++
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. 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 ...
28.792717
129
0.67633
zorofee
dc5dd1a91bef80ba080bbcc5820c6b3ea8ac9b14
2,771
cpp
C++
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
/* * BSD License * * Copyright (c) Lydia Zoghbi 2019 * * Permission is hereby granted, free of charge, to any person or organization * obtaining a copy of the software and accompanying documentation covered by * this license (the "Software") to use, reproduce, display, distribute, * execute, and transmit the So...
33.792683
82
0.716348
lydiazoghbi
dc5eba32b42ce287379b17be3d5bdf1d80ce1415
826
cc
C++
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
1
2022-02-28T04:19:34.000Z
2022-02-28T04:19:34.000Z
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
null
null
null
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
null
null
null
#include "plane.hh" namespace geometry { bool Plane::intersect(const Line& line, Out<Vec3> point) const { constexpr double EPS = 1e-7; if (line.direction.cross(normal).norm() < EPS) { // Parallel return false; } const double d = (origin - line.point).dot(normal) / (line.direction.dot(normal)); *po...
22.324324
84
0.634383
IJDykeman
dc6110aa5a8ab5613b01d86632d47725e2432275
2,918
cpp
C++
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#include "radio.hpp" namespace radio { DEFINE_FLOAT64(kRadioParamModule, timeout, 0.25, "Timeout after which radio will assume a robot is disconnected. Seconds."); Radio::Radio() : Node{"radio", rclcpp::NodeOptions{} .automatically_declare_parameters_from_overrides(true) ...
43.552239
100
0.577108
xiaoqingyu0113
dc62bad401397865017b61073ec57761399965c8
14,278
cpp
C++
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * 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 publishe...
33.516432
155
0.698697
ORNL-BTRIC
dc64ff403dd7d036b83871e06a9e3282ee996373
5,488
cpp
C++
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
//////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Config/GeneratorConfiguration.h" #include "Items/StructSpecificCode.h" #include "Items/StructDescription.h" #include "Generator/StructHelperGenerator.h" using namespace std; using namespace dxcodegen::Config...
33.876543
208
0.552843
attila-sim
dc6678ef9afe543c5d5deced9af83b002c54688a
347
cpp
C++
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
null
null
null
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
1
2021-11-29T23:15:50.000Z
2021-11-29T23:15:50.000Z
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
null
null
null
// // file: package.cpp // author: Michael Brockus // gmail: <michaelbrockus@gmail.com> // #include "hackazon/package.hpp" // // Should return a greeting message as it’s initial value // // Param list: // -> There is none to speak of at this time. // const char *hak::greet(void) { return "Hello, C++ Developer."; }...
19.277778
57
0.665706
michaelbrockus
dc68b8da5e55997fa812e97a16c0ff0cdf99d031
1,680
hpp
C++
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
/** * @file binaryBuffer.hpp * @data 21 september, 2017 * * \class BinaryBuffer * * \brief Buffer between sensor and SPI SD write * * This class holds a finite amount of data and acts * as a FiFo. */ #pragma once #include <vector> #include "SystemVariables.hpp" #include "esp_log.h" class BinaryBuffer...
19.310345
121
0.630357
HU-ACTS
dc6b1ac6b929f04af408a582bff1b04a643f3be5
496
cpp
C++
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
3
2019-04-28T14:45:33.000Z
2021-04-15T09:04:32.000Z
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
null
null
null
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
1
2019-07-07T03:19:05.000Z
2019-07-07T03:19:05.000Z
#include "ionspaymentprocessor.h" #include <QString> #include <iostream> IONSPaymentProcessor::IONSPaymentProcessor(BitcoinGUI * gui, QObject * parent) : QObject(parent), gui(gui) { } void IONSPaymentProcessor::pay(QString address, QString fee) { QString uri("chameleon:" + address + "?amount=" + fee); gui...
19.84
78
0.719758
IOCoin
dc6bd473fb4f511baf9097d7d38c69e7d537650f
4,209
cxx
C++
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
26.980769
91
0.692801
developkits
dc7096bc57120b88d88b63f377fb508eaa3183aa
5,104
cpp
C++
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
#include "modules/twinkle.h" // Background color for 'unlit' pixels // Can be set to CRGB::Black if desired. CRGB gBackgroundColor = CRGB::Black; // Example of dim incandescent fairy light background color // CRGB gBackgroundColor = CRGB(CRGB::FairyLight).nscale8_video(16); // Add or remove palette names from this ...
28.513966
94
0.669867
Cameloah
dc70f7550217cfede7f560d4066f7d67f637bf1e
1,574
cpp
C++
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#include "browser.hpp" #include <cstdlib> #include <string> #include "../util/range.hpp" #include "config/config.hpp" #ifdef ELONA_OS_WINDOWS #include <windows.h> #endif using namespace std::literals::string_literals; namespace { bool _is_trusted_url(const char* url) { const char* trusted_urls[] = { "...
18.963855
68
0.617535
XrosFade
dc78e1b955c29b261b2103479ea00bb836c0a31f
3,457
cc
C++
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
33.240385
78
0.649407
xw-github
dc7b9cfa26f956c189206b088a989af82ea64920
47,529
inl
C++
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_bold_35_us...
66.660589
133
0.797913
stetre
dc7c7aad5a84b37e159d8e5fcb8c8879c09905b7
13,988
hpp
C++
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
32.082569
100
0.696097
devjsc
dc7df497c6f0f6510db247d9385e1e9d2214fe87
7,100
cpp
C++
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
8
2018-05-25T17:58:46.000Z
2018-06-23T21:13:26.000Z
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
14
2018-05-25T19:44:30.000Z
2018-08-03T11:35:27.000Z
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
6
2018-05-30T04:37:46.000Z
2019-03-05T14:47:34.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
43.030303
183
0.600282
petrkotegov
dc828fcddb0a659452f04bb7a96fd368e4a1d4d6
4,625
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
// // Windows Server (Printing) Driver Development Kit Samples. // // // Copyright (c) 1990 - 2005 Microsoft Corporation. // All Rights Reserved. // // // This source code is intended only as a supplement to Microsoft // Development Tools and/or on-line documentation. See these other // materials for detailed in...
34.774436
141
0.568649
zzgchina888
dc87d18e6b2106b111bb9e13745676a8752e419b
2,268
cpp
C++
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
1
2020-06-14T01:16:20.000Z
2020-06-14T01:16:20.000Z
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
null
null
null
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
1
2020-06-14T01:16:21.000Z
2020-06-14T01:16:21.000Z
#include "RegisterServer.h" RegisterServer::RegisterServer(int port) { int sockFd= CreateServerSocket(port); CreateEpollSocket(sockFd); watchEvent = &SocketWatcher::StartServerWatcher; printf("Register Server\n"); } RegisterServer::RegisterServer(char* ipAddr,int port) { int sockFd = CreateClientS...
23.873684
86
0.666226
kiranjosek
dc8807302de6a2674509187012e123a28919d462
7,388
cpp
C++
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
/* 移行 Note: map を各 GraphicsResource から CommandBuffer へ移動する。 ※ ネイティブの map (transfar) は RenderPass の外側でなければ使えないので、順序制御するため CommandBuffer に統合したい CommandBuffer と RenderPass は全て pool からインスタンスを得る。インスタンスを外側で保持し続けてはならない。 */ #include "Internal.hpp" #include <LuminoEngine/Graphics/Texture.hpp> #include <LuminoEngine/Gra...
28.091255
177
0.70804
infinnie
dc8812275a6a339a60bb8ae06392c6c1fb9d39ae
1,108
cpp
C++
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-26 // Author : Rahul Sharma // Problem : http://codeforces.com/contest/6/problem/B #include <iostream> #include <string> int main() { using namespace std; ios_base::sync_with_stdio(false); cin.tie(0); int n, m; cin >> n >> m; char p; cin >> p; char d[128] = {}...
20.518519
54
0.351083
rahulsrma26
dc893fd46df1575862244fb3ec44f42cbb74d463
532
cpp
C++
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://codeforces.com/problemset/problem/339/A #include<bits/stdc++.h> using namespace std ; #define aakriti string int main() { ios_base::sync_with_stdio(false); cin.tie(0); aakriti s ; int a ; cin >> s ; sort(s.begin(), s.end()); vector<char>v; for(int i = 0; i < s.size(...
19
50
0.443609
canis-majoris123
dc8ffd8eb171620b43a8b04ac703d218ae42e844
9,300
cpp
C++
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
2
2020-02-28T10:40:12.000Z
2021-02-18T03:32:28.000Z
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this f...
21.330275
126
0.605806
UoS-SCCS
dc942c79cd64ccf6f1695c44efd44629642dc60b
194
hpp
C++
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
#pragma once #include <QIcon> #include <QColor> QIcon loadSvgIconReplacingColor(const char * file, QColor newColor); QIcon loadSvgIconReplacingColor(const char * file, const char * newColor);
24.25
74
0.783505
nagalun
dc968986514ea0009709d2dae96c4023c687eb2a
1,486
cpp
C++
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
2
2021-05-02T04:44:00.000Z
2021-07-08T09:39:42.000Z
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
null
null
null
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
null
null
null
#include <fstream> #include <stack> #include <vector> int main() { std::ifstream in_file("input.txt"); int N; in_file >> N; std::vector<int> a(N); for(int i = 0; i < N; ++i) { in_file >> a[i]; } in_file.close(); std::stack<int> stack; std::vector<int> nums_global_end(N); ...
27.018182
77
0.415882
ErofeevAA
dca84e1837382a5d915962c1f8f563619001e9b6
393
hpp
C++
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/RenderSystem.Direct3D/PrerequisitesDirect3D.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_PREREQUISITESDIRECT3D_373FDC61_HPP #define POMDOG_PREREQUISITESDIRECT3D_373FDC61_HPP #if defined(_XBOX_ONE) && defined(_TITLE) #include <d3dcompiler_x.h> #else #include <d3dcompiler.h> #include <...
26.2
70
0.80916
bis83
dcaeb731ec2a112ef61adb5b892de419a3edd2b6
11,227
cpp
C++
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
890
2017-12-15T17:55:42.000Z
2022-03-27T07:46:49.000Z
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
29
2017-12-16T21:49:08.000Z
2021-09-08T23:04:10.000Z
vireo/encode/h264.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
88
2017-12-15T19:29:49.000Z
2022-03-21T00:59:29.000Z
/* * MIT License * * Copyright (c) 2017 Twitter * * 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, ...
43.34749
258
0.703394
shahzadlone
dcaff48a13a08466dd426f5713284ae52db97bd7
62,756
cpp
C++
SOURCES/sim/fcc/fccmain.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/fcc/fccmain.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/fcc/fccmain.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "Graphics\Include\Render2D.h" #include "Graphics\Include\DrawBsp.h" #include "stdhdr.h" #include "entity.h" #include "PilotInputs.h" #include "simveh.h" #include "sms.h" #include "airframe.h" #include "object.h" #include "fsound.h" #include "soundfx.h" #include "simdrive.h" #include "mfd.h" #include "radar.h" ...
24.072114
192
0.656846
IsraelyFlightSimulator
dcb191f58b8f8965632d152292210f1c119e9587
847
cpp
C++
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/Level - 2/Recursion/Subset2.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: void subsets(vector<int> nums, set<vector<int>> &s, int i, vector<int> r) { if(i == nums.size()) { sort(r.begin(), r.end()); s.insert(r); return; } else { subsets(nums, s, i+1, r); r.push...
26.46875
77
0.475797
Tiger-Team-01
dcb2dc65f5d0c224f199ea103597941bc05e14bf
11,359
cpp
C++
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
94
2015-03-12T14:49:43.000Z
2021-08-05T00:43:50.000Z
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
3
2017-06-05T20:36:09.000Z
2021-05-08T21:39:48.000Z
ARM/Nordic/exemples/BlueIOThingy/BlueIOMPU9250.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
24
2015-04-22T20:35:28.000Z
2022-01-10T13:08:40.000Z
/* * BLueIOMPU9250.h * * Created on: Jul 25, 2018 * Author: hoan */ #include "app_util_platform.h" #include "app_scheduler.h" #include "istddef.h" #include "ble_app.h" #include "ble_service.h" #include "device_intrf.h" #include "coredev/spi.h" #include "coredev/timer.h" #include "sensors/agm_mpu9250.h" #inc...
24.58658
123
0.640725
tmaltesen
dcb6598eb2eb0d9e87bffeb93e34dd6533eadcf1
3,881
hpp
C++
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/sweepers/mc/fission_bank.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
25.532895
79
0.644164
tp-ntouran
dcb6a1644cf3c3baa909cf163721d1324f193a37
369
cpp
C++
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
2
2020-10-27T11:56:10.000Z
2020-10-27T12:42:32.000Z
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
null
null
null
src/23/zad3_9.cpp
AdamSiekierski/cpp
09b9a46b44ecce5cc1d6e0cb9d1c689b350563d5
[ "WTFPL" ]
null
null
null
#include <iostream> int main() { float x; int n; std::cout << "Podaj x i n: "; std::cin >> x >> n; switch (n) { case 1: std::cout << "y = " << sqrt(2 * x); break; case 2: std::cout << "y = " << (x * x) - 5; break; case 3: std::cout << "y = " << cos(x) + 1; break; default:...
13.178571
39
0.414634
AdamSiekierski
dcb7c38bae57b96d1ec8c378f65844df77ba0800
4,355
cc
C++
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:10.000Z
2017-10-12T13:49:10.000Z
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
null
null
null
LibreOJ/2245.cc
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:38.000Z
2017-10-12T13:49:38.000Z
/* * libreoj2245 * * LCT 维护最大值。 * 首先把边按 a 权值排序,从小到大加入,那么所需的 a 就是当前边的 a 。 * 然后用 LCT 维护从 1 到 n 的路径的 b 权值的最大值。 * 由于维护的是边权,我们要给边特别地开点,然后把本来应该相连的点连到两边。 * 动态维护一棵最小生成树,每次加入一条从 u 到 v 的路径的时候就把原来的 * u, v 之间的路径拉出来查询一下路径上的最大值,如果比当前的边要大, * 就把代表这条边的点从路径里拿出来,再把新边放进去。 * */ #include <cstdio> #include <algorithm> #incl...
20.162037
79
0.439265
DesZou
dcbd88bbf7b50be1b27c9846ddd29f0b192622d4
15,217
cpp
C++
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index_fm_rank_dictionary.cpp
kneubert/seqan
3c4f01dbe67ead02b1ca957b217309493f1ddccf
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2016, Knut Reinert, FU Berlin // Copyright (c) 2013 NVIDIA Corporation // All rig...
41.576503
112
0.51495
kneubert
dcc19d9965d66836aaf2949a938de1a5a15c19ca
215,503
cpp
C++
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
275
2017-07-31T16:42:07.000Z
2022-01-27T09:27:45.000Z
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
114
2017-08-01T07:37:35.000Z
2020-01-12T20:27:56.000Z
usdmayautils/AL/usdmaya/utils/DgNodeHelper.cpp
garvitverma/AL_USDMaya
5976020facdafce4783fc59aae73a773579f796b
[ "Apache-2.0" ]
87
2017-08-02T03:00:43.000Z
2021-09-13T02:09:19.000Z
// // Copyright 2017 Animal Logic // // 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 ...
32.766155
151
0.55667
garvitverma