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
108
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
67k
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
d6b6efad1e77ced176a5bec421e7b66f4fab30fb
7,692
cc
C++
src/developer/build_info/build_info_unittest.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/build_info/build_info_unittest.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/developer/build_info/build_info_unittest.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build_info.h" #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/fdio/fdio.h> #include <lib/fdio/namespace.h...
36.803828
100
0.727899
wwjiang007
d6b72ff253851c83c2993880e81f78e70d7d0fa2
3,323
hpp
C++
AdenitaCoreSE/include/SEAdenitaCoreSEAppGUI.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2020-09-07T20:48:43.000Z
2021-09-03T05:49:59.000Z
AdenitaCoreSE/include/SEAdenitaCoreSEAppGUI.hpp
edellano/Adenita-SAMSON-Edition
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
6
2020-04-05T18:39:28.000Z
2022-01-11T14:28:55.000Z
AdenitaCoreSE/include/SEAdenitaCoreSEAppGUI.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2021-07-13T12:58:13.000Z
2022-01-11T13:52:00.000Z
#pragma once #include "SBGApp.hpp" #include "ui_SEAdenitaCoreSEAppGUI.h" #include <QMessageBox> #include <QComboBox> #include <QSpinBox> #include <QToolButton> class SEAdenitaCoreSEApp; /// This class implements the GUI of the app // SAMSON Element generator pro tip: add GUI functionality in this class. The non-G...
25.75969
141
0.676497
edellano
d6b7722e541ebf76bffe5916983ea58851b594fb
934
cpp
C++
Examples/MacroEquals/main_macro_equals.cpp
sapphire-devteam/SA-UnitTestHelper
5413b64f5554036e9fd18e2e0f7784f97aaf3c2f
[ "MIT" ]
null
null
null
Examples/MacroEquals/main_macro_equals.cpp
sapphire-devteam/SA-UnitTestHelper
5413b64f5554036e9fd18e2e0f7784f97aaf3c2f
[ "MIT" ]
null
null
null
Examples/MacroEquals/main_macro_equals.cpp
sapphire-devteam/SA-UnitTestHelper
5413b64f5554036e9fd18e2e0f7784f97aaf3c2f
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved.. All Rights Reserved. #include <UnitTestHelper.hpp> using namespace Sa; #include <limits> struct MyClass { float myFloat = 0.0f; std::string ToString() const { return std::to_string(myFloat); } bool operator==(const MyClass& _rhs) const { return myFlo...
18.68
82
0.647752
sapphire-devteam
d6b93ff1997f8e0b9757ff88ebc8c24bf999b815
21,359
cpp
C++
bLSM.cpp
sears/bLSM
fc49c4e0ce1ef69bd9d18b7ed5c83151aee9c91c
[ "Apache-2.0" ]
114
2015-03-10T16:07:35.000Z
2022-01-11T08:36:42.000Z
bLSM.cpp
anqin/bLSM
fc49c4e0ce1ef69bd9d18b7ed5c83151aee9c91c
[ "Apache-2.0" ]
1
2019-03-16T11:31:59.000Z
2019-03-16T11:31:59.000Z
bLSM.cpp
anqin/bLSM
fc49c4e0ce1ef69bd9d18b7ed5c83151aee9c91c
[ "Apache-2.0" ]
36
2015-02-17T22:04:17.000Z
2021-06-06T02:38:18.000Z
/* * blsm.cpp * * Copyright 2009-2012 Yahoo! Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
29.706537
197
0.607145
sears
d6b9f8e0069ac4caae585da9e627391370769674
3,832
cc
C++
pdns-recursor-4.0.6/ednssubnet.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
7
2017-07-16T15:09:26.000Z
2021-09-01T02:13:15.000Z
pdns-recursor-4.0.6/ednssubnet.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
null
null
null
pdns-recursor-4.0.6/ednssubnet.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
3
2017-09-13T09:54:49.000Z
2019-03-18T01:29:15.000Z
/* * This file is part of PowerDNS or dnsdist. * Copyright -- PowerDNS.COM B.V. and its contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * In addition, for t...
36.495238
110
0.699635
hankai17
d6be3a6d75ddc19a8644ddffec93b7abf0149286
8,720
cpp
C++
deps/vision/src/kernel/Vca_VcaProxyFacilitator.cpp
MichaelJCaruso/vxa-node
4b02a17f48bed6f71f622e0bb743f87d932a2a6f
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
src/kernel/Vca_VcaProxyFacilitator.cpp
MichaelJCaruso/vision-software-src-master
12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/master/src/kernel/Vca_VcaProxyFacilitator.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** VcaProxyFacilitator Implementation *****/ /************************ ************************ ***** Interfaces ***** ************************ ************************/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** **********...
35.737705
89
0.613532
MichaelJCaruso
d6c0d342360774357947dd6c476b50068613d00b
514
cpp
C++
Algorithms/0397.Integer_Replacement.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/0397.Integer_Replacement.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/0397.Integer_Replacement.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class Solution { public: unsigned int n; map<unsigned int,int> dp; int f(unsigned int x) { if(x == 1) return 0; map<unsigned int,int>::iterator it = dp.find(x); if(it != dp.end()) return it->second; int res; if(x % 2 == 0) res = dp[...
23.363636
56
0.441634
metehkaya
d6c104fa17fa520526bfcf9bb738caf35463c9d0
2,379
cpp
C++
Graph/SmartTravelAgent_mst.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
Graph/SmartTravelAgent_mst.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
Graph/SmartTravelAgent_mst.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
/**************erik****************/ #include<bits/stdc++.h> #include <cstdio> #include <iostream> #include <algorithm> using namespace std; typedef long long int ll; typedef unsigned long long int ull; //map<ll,ll> mp1; //set<int> s1; //set<int>::iterator it; #define maxm(a,b,c) max(a,max(c,b)) #define minm(a,b,c) ...
21.432432
45
0.497268
Satyabrat35
d6c1056bfef3fed68dadf7c849e6745cab5b1819
1,001
cpp
C++
opencl/test/unit_test/mocks/ult_cl_device_factory.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
1
2020-09-03T17:10:38.000Z
2020-09-03T17:10:38.000Z
opencl/test/unit_test/mocks/ult_cl_device_factory.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
opencl/test/unit_test/mocks/ult_cl_device_factory.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/test/unit_test/mocks/ult_cl_device_factory.h" #include "shared/test/unit_test/mocks/ult_device_factory.h" #include "opencl/test/unit_test/mocks/mock_cl_device.h" using namespace NEO; UltClDeviceFactory::UltClDevic...
29.441176
117
0.733267
8tab
d6cc54b5038fd2b46509fb1f732378ab4a3a6cb1
6,704
cpp
C++
export/windows/obj/src/haxe/Utf8.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/haxe/Utf8.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/haxe/Utf8.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_haxe_Utf8 #include <haxe/Utf8.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_37807d8ab8df9b7c_31_new,"haxe.Utf8","new",0x67cc940b,"haxe.Utf8.new","C:\\HaxeToolkit\\haxe\\std/cpp/_std/haxe/Utf8.hx",31,0xf320feca) HX_LOCAL_STACK_FRAME(_hx_pos_37807d...
32.230769
184
0.717482
arturspon
d6ce0baedf06b54df8f51de1a3ba69492bc3413c
4,481
cpp
C++
source/projectionView.cpp
ixsiid/VST_Sample
88d12dcf2cde163e9577c23545b3f8f436125197
[ "MIT" ]
null
null
null
source/projectionView.cpp
ixsiid/VST_Sample
88d12dcf2cde163e9577c23545b3f8f436125197
[ "MIT" ]
null
null
null
source/projectionView.cpp
ixsiid/VST_Sample
88d12dcf2cde163e9577c23545b3f8f436125197
[ "MIT" ]
null
null
null
#include "../include/projectionView.h" #include "../include/dft.h" #include "../include/log.h" namespace Steinberg { namespace HelloWorld { using namespace VSTGUI; ProjectionView::ProjectionView(const CRect& rect, Projection * proj) : CControl(rect) { this->proj = proj; top = rect.top; left = rect.left; _poi...
25.752874
128
0.649409
ixsiid
d6d4077878bdf7b27ae363f9c09f59580f36cbb2
4,753
hpp
C++
include/cppdevtk/base/posix_signals_watcher_unx.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/posix_signals_watcher_unx.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/posix_signals_watcher_unx.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
35.470149
126
0.637492
CoSoSys
d6d474fa9f74a5839fb55c4fb4a80b55b004b937
3,072
cpp
C++
infer/tests/codetoanalyze/cpp/performance/array.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/tests/codetoanalyze/cpp/performance/array.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/tests/codetoanalyze/cpp/performance/array.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <algorithm> #include <iostream> #include <iterator> void array_access_constant() { float radii[8]; for (int i = 0; i <...
21.942857
75
0.57194
sujin0529
d6d7d99503a87163132fb0ff83f209a325e291b2
155
cpp
C++
tests/action/test_path_explorer.cpp
regisf/r-backup
480f69c166266be9d853cbcbf1df4dd12abcffc6
[ "BSD-3-Clause" ]
null
null
null
tests/action/test_path_explorer.cpp
regisf/r-backup
480f69c166266be9d853cbcbf1df4dd12abcffc6
[ "BSD-3-Clause" ]
null
null
null
tests/action/test_path_explorer.cpp
regisf/r-backup
480f69c166266be9d853cbcbf1df4dd12abcffc6
[ "BSD-3-Clause" ]
null
null
null
// #include "../../src/action/path_explorer.hpp" // #include <gtest/gtest.h> // TEST(test_path_explorer, test_should_be_skipped) // { // FAIL(); // }
19.375
51
0.632258
regisf
d6da8c6b211848a0fd427c0bf6717da1d518aa0f
21,683
cpp
C++
Engine/Source/Developer/GameplayDebugger/Private/GameplayDebuggerTypes.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Developer/GameplayDebugger/Private/GameplayDebuggerTypes.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Developer/GameplayDebugger/Private/GameplayDebuggerTypes.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "GameplayDebuggerTypes.h" #include "InputCoreTypes.h" #include "Serialization/MemoryWriter.h" #include "Serialization/MemoryReader.h" #include "GameplayDebuggerConfig.h" #include "DrawDebugHelpers.h" #include "CanvasItem.h" #include "Engine/Canvas.h...
28.014212
188
0.733662
windystrife
d6dbe2b458bb202daf066b4258ca621ef81265e3
5,335
cpp
C++
Source/DialogSystemEditor/Private/DialogSystemEditor.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
Source/DialogSystemEditor/Private/DialogSystemEditor.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
Source/DialogSystemEditor/Private/DialogSystemEditor.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
#include "DialogSystemEditor.h" #include "Developer/AssetTools/Public/AssetTypeCategories.h" #include "Editor/PropertyEditor/Public/PropertyEditorModule.h" #include "Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructure.h" #include "Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructureModule.h" #include "IS...
48.063063
177
0.837863
n3td0g
d6e120a0bfa0ea8773815e18dc1282910dbd1a6c
1,061
cpp
C++
i2c/BMP180/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
2
2019-01-24T19:53:40.000Z
2020-01-08T07:41:35.000Z
i2c/BMP180/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
null
null
null
i2c/BMP180/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
5
2019-01-12T04:48:11.000Z
2020-12-16T09:36:43.000Z
/** * Bosch BMP180 Digital Pressure Sensor * * Der Sensor liefert keinen Wert fuer Luftfeuchtigkeit, deshalb wird der Luftdruck in kPa geliefert. */ #include "mbed.h" #include <BMP180Wrapper.h> #include "OLEDDisplay.h" // UI OLEDDisplay oled( MBED_CONF_IOTKIT_OLED_RST, MBED_CONF_IOTKIT_OLED_SDA, MBED_CONF_IOTKIT_...
25.261905
101
0.655985
mc-b
d6e1d1b1639cad42a803f7393044fb8a46502eb5
20
cpp
C++
tutorials/cplusplus.com#1.0#1/basicsofcpp/basicinputoutput/cin/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/cplusplus.com#1.0#1/basicsofcpp/basicinputoutput/cin/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/cplusplus.com#1.0#1/basicsofcpp/basicinputoutput/cin/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
int age; cin >> age;
10
11
0.6
officialrafsan
d6e39e70fae327912f6873c30dbdedebf5e06f51
21,363
cpp
C++
src/prod/src/Common/NamingUri.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/Common/NamingUri.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Common/NamingUri.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
32.368182
188
0.509011
AnthonyM
d6e4c6fbaf3b25abe73d2ba982b61b08b5df586c
9,425
cpp
C++
PanelSwCustomActions/RegistryKey.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
PanelSwCustomActions/RegistryKey.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
PanelSwCustomActions/RegistryKey.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "RegistryKey.h" #include <strutil.h> #include "..\CaCommon\SummaryStream.h" #pragma comment( lib, "CaCommon.lib") CRegistryKey::CRegistryKey(void) : _hKey( NULL) , _hRootKey( NULL) , _area( RegArea::Default) , _samAccess( RegAccess::All) { Close(); } CRegistryKey::~...
24.737533
102
0.655491
jozefizso
d6e55864a45b653f2c47e24a7b36362958ed11dd
53,607
cpp
C++
src/mame/drivers/gameplan.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/gameplan.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/gameplan.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Chris Moore /*************************************************************************** GAME PLAN driver driver by Chris Moore Killer Comet memory map MAIN CPU: Address Dir Data Name Description ---------------- --- -------- --------- ----------------...
45.429661
187
0.704218
Robbbert
d6eb8f831c53eadf73c7a302ff50b2fa9423ce2c
1,385
cpp
C++
game/game/definitions/visualfxdefinitions.cpp
houkama/OpenGothic
0a5e429bc1fd370259abe8664f19dc9e365ecac5
[ "MIT" ]
576
2019-07-22T19:14:33.000Z
2022-03-31T22:27:28.000Z
game/game/definitions/visualfxdefinitions.cpp
houkama/OpenGothic
0a5e429bc1fd370259abe8664f19dc9e365ecac5
[ "MIT" ]
208
2019-07-22T17:25:30.000Z
2022-03-14T18:53:06.000Z
game/game/definitions/visualfxdefinitions.cpp
houkama/OpenGothic
0a5e429bc1fd370259abe8664f19dc9e365ecac5
[ "MIT" ]
67
2019-10-14T19:39:38.000Z
2022-01-27T13:58:03.000Z
#include "visualfxdefinitions.h" #include <Tempest/Log> #include "graphics/visualfx.h" #include "gothic.h" using namespace Tempest; VisualFxDefinitions::VisualFxDefinitions() { vm = Gothic::inst().createVm("VisualFx.dat"); } VisualFxDefinitions::~VisualFxDefinitions() { vm->clearReferences(Daedalus::IC_Pfx);...
25.648148
105
0.66426
houkama
d6eee2708dbb00fd305fc1cc4b9964a38cf58567
1,332
cpp
C++
code/engine.vc2008/xrCore/DateTime.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
1
2021-09-14T14:28:56.000Z
2021-09-14T14:28:56.000Z
code/engine.vc2008/xrCore/DateTime.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrCore/DateTime.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
3
2021-11-01T06:21:26.000Z
2022-01-08T16:13:23.000Z
#include "stdafx.h" #include "DateTime.hpp" Time::Time() { t = time(nullptr); aTm = *localtime(&t); } Time::Time(time_t InTime) : t(InTime) { aTm = *localtime(&t); } int Time::GetSeconds() const { return aTm.tm_sec; } int Time::GetMinutes() const { return aTm.tm_min; } int Time::GetHours() const { return aT...
18
106
0.671171
icetorch2001
d6f089d99a397f8a5e7b624930a39dc86f3b8f0a
3,682
cpp
C++
004_Metalights Improved Interleaved Shading/SplitGBufferPass.cpp
Mr-Devin/GraphicAlgorithm
58877e6a8dba75ab171b0d89260defaffa22d047
[ "MIT" ]
1
2021-11-16T11:40:04.000Z
2021-11-16T11:40:04.000Z
004_Metalights Improved Interleaved Shading/SplitGBufferPass.cpp
younha169/GraphicAlgorithm
93287ae4d4171764e788371887c4fd1549304552
[ "MIT" ]
null
null
null
004_Metalights Improved Interleaved Shading/SplitGBufferPass.cpp
younha169/GraphicAlgorithm
93287ae4d4171764e788371887c4fd1549304552
[ "MIT" ]
null
null
null
#include "SplitGBufferPass.h" #include "Interface.h" #include "Common.h" #include "Utils.h" #include "Shader.h" CSplitGBufferPass::CSplitGBufferPass(const std::string& vPassName, int vExcutionOrder) : IRenderPass(vPassName, vExcutionOrder) { } CSplitGBufferPass::~CSplitGBufferPass() { } void CSplitGBufferPass::initV...
54.955224
135
0.828083
Mr-Devin
d6f1d738d10176761223244ddd03d4c2762231f1
1,187
cpp
C++
src/test/multi/1.cpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
1
2020-03-28T15:53:08.000Z
2020-03-28T15:53:08.000Z
src/test/multi/1.cpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
null
null
null
src/test/multi/1.cpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
null
null
null
#include "multi.hpp" MultiInteractionTest::MultiInteractionTest(bool is_quiet) : TestRunner("Multi particle test", is_quiet) { this->input_data = { Vec3({4.22479, 1.67952, 10.0}) }; this->expected_results = { Vec3({4.0653970383976529845, 1.3030129329153037343, 0.77670979214002822122}) }; } void M...
25.255319
137
0.656276
cbosoft
d6f2721ece0f2de78fbe13346552ceae479b4c4a
373
cpp
C++
tests/testcases/unary.cpp
graydon/uint128_t
e7d55400adde4fa13008d6f4778ad3514d41aca7
[ "MIT" ]
180
2015-02-23T22:18:43.000Z
2022-03-12T11:46:31.000Z
tests/testcases/unary.cpp
graydon/uint128_t
e7d55400adde4fa13008d6f4778ad3514d41aca7
[ "MIT" ]
15
2017-06-14T13:09:42.000Z
2022-01-16T22:25:50.000Z
tests/testcases/unary.cpp
graydon/uint128_t
e7d55400adde4fa13008d6f4778ad3514d41aca7
[ "MIT" ]
52
2015-04-08T03:44:06.000Z
2022-03-25T14:04:36.000Z
#include <gtest/gtest.h> #include "uint128_t.h" TEST(Arithmetic, unary_plus){ const uint128_t value(0x12345ULL); EXPECT_EQ(+value, value); } TEST(Arithmetic, unary_minus){ const uint128_t val(1); const uint128_t neg = -val; EXPECT_EQ(-val, neg); EXPECT_EQ(-neg, val); EXPECT_EQ(neg, uint12...
23.3125
76
0.705094
graydon
d6f39dfa02feb89ede21cceaec669673a72df4f6
763
cpp
C++
0049 - Group Anagrams/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0049 - Group Anagrams/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0049 - Group Anagrams/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 49 - Group Anagrams // // Created by ynfMac on 2019/12/7. // Copyright © 2019 ynfMac. All rights reserved. // #include <iostream> #include <vector> #include <unordered_map> using namespace std; class Solution { public: vector<vector<string>> groupAnagrams(vector<string>& strs) { unor...
20.621622
64
0.551769
xiaoswu
d6f566cc52dacde8c6ea30a0da584fef01856ac7
4,710
cpp
C++
ouster_viz/src/image.cpp
UTS-CAS/ouster_example
d4572d0ea4d724d0802e1ca789a29bbf365198aa
[ "MIT", "BSD-3-Clause" ]
null
null
null
ouster_viz/src/image.cpp
UTS-CAS/ouster_example
d4572d0ea4d724d0802e1ca789a29bbf365198aa
[ "MIT", "BSD-3-Clause" ]
null
null
null
ouster_viz/src/image.cpp
UTS-CAS/ouster_example
d4572d0ea4d724d0802e1ca789a29bbf365198aa
[ "MIT", "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2020, Ouster, Inc. * All rights reserved. */ #include "image.h" #include <stdexcept> #include <vector> #include "camera.h" #include "common.h" #include "glfw.h" #include "ouster/point_viz.h" namespace ouster { namespace viz { namespace impl { bool GLImage::initialized = false; GLuint GLImage...
32.040816
76
0.634607
UTS-CAS
d6f7ad1910e4f6b4486444fe307b734c4a62613b
754
hxx
C++
ds/adsi/winnt/cuoi.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/winnt/cuoi.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/winnt/cuoi.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
class CWinNTUserOtherInfo; class CWinNTUserOtherInfo : INHERIT_TRACKING, public IADsFSUserOtherInfo { friend class CWinNTUser; public: /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ; DECLARE_STD_REFCOUNTING ...
17.952381
71
0.651194
npocmaka
d6f7bcff72dda89ef8880f3cb0501646fa1349f5
357
hpp
C++
PlanetaMatchMakerServer/source/utilities/asio_stream_compatibility.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
6
2019-08-15T09:48:55.000Z
2021-07-25T14:40:59.000Z
PlanetaMatchMakerServer/source/utilities/asio_stream_compatibility.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
43
2019-12-25T14:54:52.000Z
2022-02-24T17:22:48.000Z
PlanetaMatchMakerServer/source/utilities/asio_stream_compatibility.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
2
2020-05-06T20:14:44.000Z
2020-06-02T21:21:10.000Z
#pragma once #include <boost/asio.hpp> namespace boost { namespace asio { std::ostream& operator <<(std::ostream& os, const basic_socket<ip::tcp>::endpoint_type& endpoint); } namespace system { std::ostream& operator <<(std::ostream& os, const error_code& error_code); std::ostream& operator <<(std::ostream& ...
25.5
100
0.703081
InstytutXR
d6fb0c289baea16265ec7b05735877e69c88a012
2,301
cpp
C++
utility/checked_delete.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
utility/checked_delete.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
utility/checked_delete.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> using namespace std; #include <boost/checked_delete.hpp> using namespace boost; /////////////////////////////////////// class demo_class; void do_delete(demo_class* p) //{ delete p;} { checked_delete(p);} /////////////////////////////////////// vo...
17.044444
63
0.544111
MaxHonggg
d6fe59a8c3a1b85861b53530072006152e35cdf8
2,768
cpp
C++
source/custom/nirfmxinstr_service.custom.cpp
DavidCurtiss/grpc-device
74f49a0c29dd016c46cf0ca21973a53edda71bac
[ "MIT" ]
null
null
null
source/custom/nirfmxinstr_service.custom.cpp
DavidCurtiss/grpc-device
74f49a0c29dd016c46cf0ca21973a53edda71bac
[ "MIT" ]
null
null
null
source/custom/nirfmxinstr_service.custom.cpp
DavidCurtiss/grpc-device
74f49a0c29dd016c46cf0ca21973a53edda71bac
[ "MIT" ]
null
null
null
#include <nirfmxinstr/nirfmxinstr_service.h> #include <server/converters.h> #include <sstream> namespace nirfmxinstr_grpc { const auto kErrorReadBufferTooSmall = -200229; const auto kWarningCAPIStringTruncatedToFitBuffer = 200026; //--------------------------------------------------------------------- //------------...
41.939394
174
0.649566
DavidCurtiss
d9010b55ad78ce4d46baa6ae6a686e8932f05969
121
hpp
C++
src/rolmodl/hpp/forwarddecl/Win.hpp
maximsmol/rolmodl
fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f
[ "MIT" ]
1
2022-02-19T21:34:42.000Z
2022-02-19T21:34:42.000Z
src/rolmodl/hpp/forwarddecl/Win.hpp
maximsmol/rolmodl
fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f
[ "MIT" ]
null
null
null
src/rolmodl/hpp/forwarddecl/Win.hpp
maximsmol/rolmodl
fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f
[ "MIT" ]
1
2021-12-07T09:33:42.000Z
2021-12-07T09:33:42.000Z
#pragma once #include <cstdint> #include <SDL.h> namespace rolmodl { class Win_Base; class Win; class Win_SW; }
10.083333
19
0.68595
maximsmol
d902c74f190f2586b6730d9b3dc14bec827c6668
7,534
cpp
C++
musicplayer/plugins/openmptplugin/openmpt/soundlib/Load_far.cpp
Osmose/moseamp
8357daf2c93bc903c8041cc82bf3567e8d085a60
[ "MIT" ]
6
2017-04-19T19:06:03.000Z
2022-01-11T14:44:14.000Z
plugins/openmptplugin/openmpt/soundlib/Load_far.cpp
sasq64/musicplayer
372852c2f4e3231a09db2628fc4b7e7c2bfeec67
[ "MIT" ]
4
2018-04-04T20:27:32.000Z
2020-04-25T10:46:21.000Z
musicplayer/plugins/openmptplugin/openmpt/soundlib/Load_far.cpp
Osmose/moseamp
8357daf2c93bc903c8041cc82bf3567e8d085a60
[ "MIT" ]
2
2018-06-08T15:20:48.000Z
2020-08-19T14:24:21.000Z
/* * Load_far.cpp * ------------ * Purpose: Farandole (FAR) module loader * Notes : (currently none) * Authors: OpenMPT Devs (partly inspired by Storlek's FAR loader from Schism Tracker) * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include...
22.158824
114
0.678922
Osmose
d9039defe88679682a44ede05e8bdb7ccadcc678
273
cpp
C++
test/prog_tests/test1/problems/keyboard.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
test/prog_tests/test1/problems/keyboard.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
test/prog_tests/test1/problems/keyboard.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
#include "keyboard.h" #include "strlib.h" char arr[] = {'?', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' }; void getAllEncryption(string digits, Set<string> &words, Lexicon &lex) { }
27.3
150
0.435897
Liquidibrium
d905a9ffc825dde40cd5c10f1e3ea532268ff364
3,459
cpp
C++
Source/Engine/Engine/GameObject3D.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Engine/Engine/GameObject3D.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Engine/Engine/GameObject3D.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
#include "GameObject3D.h" #include "GameObjectRenderState.h" // ================================================================= // Constructor / Destructor // ================================================================= GameObject3D::GameObject3D() : parent_(nullptr) , children_() { this->transform_ = new...
20.110465
108
0.596993
Syoukei66
d906207eb9cd47b104e346b5cb69ccdf83e246b2
1,516
cc
C++
components/autofill/core/browser/suggestion.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
components/autofill/core/browser/suggestion.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/core/browser/suggestion.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/core/browser/suggestion.h" #include "base/strings/utf_string_conversions.h" #include "components/autofill/core/browser/auto...
24.451613
77
0.676121
kjthegod
d9069f1e1538cf1f8469e29bbc94bbd40f57f2c3
12,569
hxx
C++
opencascade/AppDef_Variational.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/AppDef_Variational.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/AppDef_Variational.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1996-05-14 // Created by: Philippe MANGIN / Jeannine PANCIATICI // Copyright (c) 1996-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under ...
41.896667
512
0.782003
mgreminger
d90727825ec09c42fad4533752c89cd24eb0ad1f
2,607
cpp
C++
ChessVisualizer/ChessGame.cpp
nErumin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
3
2019-06-08T09:10:45.000Z
2019-11-24T03:10:00.000Z
ChessVisualizer/ChessGame.cpp
Jang-Woo-Jin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
4
2019-03-23T14:59:57.000Z
2019-09-18T04:29:18.000Z
ChessVisualizer/ChessGame.cpp
Jang-Woo-Jin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
null
null
null
#include "ChessGame.h" #include "Player.h" #include "Board.h" #include "PieceColor.h" #include "PlayerType.h" #include "NullPiece.h" #include <memory> #include "Vector2.h" #include "MathUtils.h" ChessGame::ChessGame() : result{ GameResult::None } { } void ChessGame::initializeGame(std::pair<PieceColor, PieceColor...
24.59434
103
0.721903
nErumin
d91133aa2d6e50a954999b734a5f129b200ef21c
1,308
cpp
C++
leetcode/787. Cheapest Flights Within K Stops.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
1
2018-09-13T12:16:42.000Z
2018-09-13T12:16:42.000Z
leetcode/787. Cheapest Flights Within K Stops.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
leetcode/787. Cheapest Flights Within K Stops.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
class Solution { public: int findCheapestPrice(int n, vector<vector<int>>& flights, int src, int dst, int K) { vector< vector< pair<int, int> > > adj(n); for(int i = 0; i < flights.size(); i++) { int u = flights[i][0]; int v = flights[i][1]; int w = flights[i][2];...
31.902439
89
0.407492
chamow97
d91148dff2f98caf9ebfc8bbd422ef78cc17fad9
4,368
hpp
C++
src/tools/include/benchmark.hpp
kovdan01/parallel-computing
878d836e4b05563dc7fe11b6d7ca65fea950b5b7
[ "Intel" ]
null
null
null
src/tools/include/benchmark.hpp
kovdan01/parallel-computing
878d836e4b05563dc7fe11b6d7ca65fea950b5b7
[ "Intel" ]
null
null
null
src/tools/include/benchmark.hpp
kovdan01/parallel-computing
878d836e4b05563dc7fe11b6d7ca65fea950b5b7
[ "Intel" ]
null
null
null
#ifndef PARALLEL_COMPUTING_TOOLS_BENCHMARK_HPP_ #define PARALLEL_COMPUTING_TOOLS_BENCHMARK_HPP_ #include <chrono> // NOTE: gcc 8.2.0 on cHARISMa does not support concepts // Instead, use horrible std::enable_if // #include <concepts> #include <cstdint> #include <cstdlib> #include <iomanip> #include <iostream> #include...
25.846154
128
0.633013
kovdan01
d911b4fcec81fea1c844a18f81a150e5deff5489
16,907
cpp
C++
OpenTESArena/src/Game/Game.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Game/Game.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Game/Game.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include <chrono> #include <cmath> #include <cstdint> #include <sstream> #include <stdexcept> #include <string> #include <thread> #include "SDL.h" #include "Game.h" #include "Options.h" #include "PlayerInterface.h" #include "../Assets/CityDataFile.h" #include "../Interface/Panel.h" #include "../Media/FontManager.h" #...
29.250865
99
0.71497
Digital-Monk
d913cf8009db59777cb25dd5b9ffb58230955898
856
hpp
C++
env/message_list.hpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
61
2015-12-05T19:34:20.000Z
2021-06-25T09:07:09.000Z
env/message_list.hpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
9
2016-02-19T23:22:20.000Z
2017-01-03T18:41:04.000Z
env/message_list.hpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
35
2015-12-17T00:09:14.000Z
2021-01-27T10:47:11.000Z
#pragma once #include "strings.hpp" #include "message_std.hpp" namespace msg { inline string ToString(char const * s) { return s; } /// Override ToString function for your custom class in it's namespace. /// Your function will be called according to the ADL lookup. /// This is the default "last chance" implementati...
19.454545
71
0.696262
mapsme
d9148fb579e05a5f56eef4b51b873bc619bf2c09
1,645
cpp
C++
src/armnn/layers/MemImportLayer.cpp
UberLambda/armnn
ba163f93c8a0e858c9fb1ea85e4ac34c966ef38a
[ "MIT" ]
null
null
null
src/armnn/layers/MemImportLayer.cpp
UberLambda/armnn
ba163f93c8a0e858c9fb1ea85e4ac34c966ef38a
[ "MIT" ]
null
null
null
src/armnn/layers/MemImportLayer.cpp
UberLambda/armnn
ba163f93c8a0e858c9fb1ea85e4ac34c966ef38a
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "MemImportLayer.hpp" #include "LayerCloneBase.hpp" #include <armnn/TypesUtils.hpp> #include <backendsCommon/WorkloadData.hpp> #include <backendsCommon/WorkloadFactory.hpp> #include <backendsCommon/MemImpo...
28.362069
109
0.768997
UberLambda
d9150cc66db91b2e7def973f1b5f6bcf9b967920
667
hpp
C++
Murat/src/core/LayerStack.hpp
dilmuratjohn/openglTutorial-cpp
98b524db0c0f13fa9166a13e252777bee8ec60cd
[ "Apache-2.0" ]
null
null
null
Murat/src/core/LayerStack.hpp
dilmuratjohn/openglTutorial-cpp
98b524db0c0f13fa9166a13e252777bee8ec60cd
[ "Apache-2.0" ]
null
null
null
Murat/src/core/LayerStack.hpp
dilmuratjohn/openglTutorial-cpp
98b524db0c0f13fa9166a13e252777bee8ec60cd
[ "Apache-2.0" ]
null
null
null
// // Created by murat on 2019-08-09. // #ifndef M_LAYER_STACK_HPP #define M_LAYER_STACK_HPP #include "Layer.hpp" #include <muratpch.hpp> namespace Murat { class LayerStack { public: LayerStack(); ~LayerStack(); void pushLayer(Layer *layer); void pushOverlay(Layer *overlay...
18.027027
75
0.611694
dilmuratjohn
d91a238a3c440aa54ae9f3d30e36724a5c777042
1,971
cpp
C++
bezGameEngine/src/bez/Events/MouseEvent.cpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/Events/MouseEvent.cpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/Events/MouseEvent.cpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
#include <stdafx.hpp> #include <bez/Events/MouseEvent.hpp> namespace bez { /// Mouse Motion Event MouseMotionEvent::MouseMotionEvent(float x, float y) { m_mouseCoordinates = std::make_pair(x, y); registerInput(std::make_pair(x, y)); }; std::string MouseMotionEvent::toString() const { std::stringstream ss; ...
23.464286
79
0.726027
Gustvo
d91c0500122a7a3f3517f87c43aff269db2af384
162
hpp
C++
WinApiFramework/OpenGL/Surface3.hpp
TonSharp/OpenWAPI
d61a8f006ea866c399e68f338c2661e9ef624369
[ "MS-PL" ]
3
2021-09-17T07:54:28.000Z
2021-09-18T08:28:33.000Z
WinApiFramework/OpenGL/Surface3.hpp
TonSharp/WAPITIS
d61a8f006ea866c399e68f338c2661e9ef624369
[ "MS-PL" ]
21
2021-09-19T18:13:55.000Z
2021-12-14T10:28:53.000Z
WinApiFramework/OpenGL/Surface3.hpp
TonSharp/OpenWAPI
d61a8f006ea866c399e68f338c2661e9ef624369
[ "MS-PL" ]
null
null
null
#pragma once #include <vector> #include "GLContext.hpp" using namespace std; struct Surface3 { Vertex normal; Vertex points[3]; TextureCoord texCoords[3]; };
13.5
27
0.740741
TonSharp
d91cf6b58e0d9ef32c0b2003e5ae0186af652950
4,819
cpp
C++
src/libQts/QtsTimeStamper.cpp
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
8
2016-08-09T14:05:58.000Z
2020-09-05T14:43:36.000Z
src/libQts/QtsTimeStamper.cpp
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
15
2016-08-09T14:11:21.000Z
2022-01-15T23:39:07.000Z
src/libQts/QtsTimeStamper.cpp
qtlmovie/qtlmovie
082ad5ea6522a02d5ac0d86f23cdd6152edff613
[ "BSD-2-Clause" ]
1
2017-08-26T22:08:58.000Z
2017-08-26T22:08:58.000Z
//---------------------------------------------------------------------------- // // Copyright (c) 2013-2017, Thierry Lelegard // 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. Redistri...
35.696296
88
0.550322
qtlmovie
0ba804d2e7625df0820087d850d2a864b2cf2882
16,584
cpp
C++
src/Window.cpp
Lehdari/evolution_simulator_2
daf7e8699e29cc25964f3a4234e3a1385ee7b1cf
[ "CC0-1.0" ]
null
null
null
src/Window.cpp
Lehdari/evolution_simulator_2
daf7e8699e29cc25964f3a4234e3a1385ee7b1cf
[ "CC0-1.0" ]
null
null
null
src/Window.cpp
Lehdari/evolution_simulator_2
daf7e8699e29cc25964f3a4234e3a1385ee7b1cf
[ "CC0-1.0" ]
null
null
null
// // Project: evolution_simulator_2 // File: Window.cpp // // Copyright (c) 2021 Miika 'Lehdari' Lehtimäki // You may use, distribute and modify this code under the terms // of the licence specified in file LICENSE which is distributed // with this source code package. // #include <Window.hpp> #include <Utils.hpp> #i...
35.435897
124
0.599855
Lehdari
0ba807b6f8d1c0b61363c1a49e899c37fdbce4e6
19,035
cpp
C++
plugin_cssrpg/cssrpg_misc.cpp
jameslk/cssrpg-archive
fecf7b04db3eb2edeb741cd379c0233229d38e1c
[ "Unlicense", "MIT" ]
null
null
null
plugin_cssrpg/cssrpg_misc.cpp
jameslk/cssrpg-archive
fecf7b04db3eb2edeb741cd379c0233229d38e1c
[ "Unlicense", "MIT" ]
null
null
null
plugin_cssrpg/cssrpg_misc.cpp
jameslk/cssrpg-archive
fecf7b04db3eb2edeb741cd379c0233229d38e1c
[ "Unlicense", "MIT" ]
null
null
null
/* # Copyright (c) 2005-2006 CSS:RPG Mod for Counter-Strike Source(TM) Developement Team # # zlib/libpng License # 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 use of this software. # Permission is granted to a...
21.411699
163
0.640872
jameslk
0ba95ca95977bdcd247d1625b254eb9ca1388f52
889
cpp
C++
Native/Framework/source/Tools/ModelPipeline/Program.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Tools/ModelPipeline/Program.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Tools/ModelPipeline/Program.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
#include "pch.h" using namespace std; using namespace ModelPipeline; using namespace Library; int main(int argc, char* argv[]) { #if defined(DEBUG) | defined(_DEBUG) _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); #endif try { if (argc < 2) { throw exception("Usage: ModelPipeline pathToInputF...
21.682927
86
0.723285
btrowbridge
0bac7f19913e9e100fc4e8ba1ed065f99cb75a51
8,910
cpp
C++
framework/code/mesh/instanceGenerator.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
framework/code/mesh/instanceGenerator.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
framework/code/mesh/instanceGenerator.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021, Qualcomm Innovation Center, Inc. All rights reserved. // SPDX-License-Identifier: BSD-3-Clause #include "instanceGenerator.hpp" #include "vulkan/MeshObject.h" #include "system/crc32c.hpp" #include <glm/gtx/norm.hpp> #define EIGEN_INITIALIZE_MATRICES_BY_ZERO #include <eigen/Eigen/Dense> #include ...
43.463415
207
0.588103
MikeCurrington
0bad188a8c9958ee5f94c4ca05a73f0cf8ef61b5
355
cpp
C++
codeforce3/580A. Kefa and First Steps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/580A. Kefa and First Steps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/580A. Kefa and First Steps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int const N = 1e5 + 1; int n, a[N]; int main() { cin >> n; for(int i = 0; i < n; ++i) cin >> a[i]; a[n] = -1; int lst = a[0], res = 0; for(int i = 0, tmp; i < n; ++i) { tmp = i; while(a[i] <= a[i + 1]) ++i; res = max(res, i - tmp + 1); } c...
13.653846
35
0.43662
khaled-farouk
0bad32c49e39045d506aed745a89a492e63810e4
1,062
cpp
C++
gmtl-0.6.1/examples/faqexample.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/examples/faqexample.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/examples/faqexample.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
/** This is an example about a lot of cool stuff. * The comments in this example use a slightly special * format to make them easy to process into * doxygen backend stuff. */ /* These are the headers that we need to include. * They are all needed because we say so. */ #include <gmtl/gmtl.h> #include <gmtl/Matrix.h> in...
24.697674
56
0.654426
Glitch0011
0bafffdcacf0c86777b2a8d87836cb7357f7da4b
127
cpp
C++
source/main/main.cpp
wilvk/pbec
225e475cab70dc59fd5c060b97c9f521e021bc9c
[ "MIT" ]
20
2018-01-05T07:39:11.000Z
2022-03-28T07:07:54.000Z
source/main/main.cpp
wilvk/pbe-linux
225e475cab70dc59fd5c060b97c9f521e021bc9c
[ "MIT" ]
11
2018-01-04T11:01:22.000Z
2020-03-04T11:07:57.000Z
source/main/main.cpp
wilvk/pbec
225e475cab70dc59fd5c060b97c9f521e021bc9c
[ "MIT" ]
2
2019-02-26T05:16:56.000Z
2019-07-02T11:54:49.000Z
#include "headers.h" int main(int argc, char** argv) { CliOptions options; return options.ParseCommandLine(argc, argv); }
15.875
46
0.716535
wilvk
0bb7a8234e4429790c908a27256cde3d8ba6f2a7
1,220
cc
C++
10-More-about-MergeSort/cpp/09-Solving-Reverse-Pairs-Problem-by-MergeSort/Solution2.cc
OpenCreate/Play-with-DSA
49de3eb3e54815d1ff6520e5933e467c1f56bdfc
[ "MIT" ]
9
2020-08-10T03:43:54.000Z
2021-11-12T06:26:32.000Z
10-More-about-MergeSort/cpp/09-Solving-Reverse-Pairs-Problem-by-MergeSort/Solution2.cc
OpenCreate/Play-with-DSA
49de3eb3e54815d1ff6520e5933e467c1f56bdfc
[ "MIT" ]
null
null
null
10-More-about-MergeSort/cpp/09-Solving-Reverse-Pairs-Problem-by-MergeSort/Solution2.cc
OpenCreate/Play-with-DSA
49de3eb3e54815d1ff6520e5933e467c1f56bdfc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution2 { public: int reversePairs(vector<int> &nums) { int res = 0; vector<int> temp(nums); res = sort(nums, 0, nums.size() - 1, temp); return res; } private: int sort(vector<int> &nums, int l, int r, vector<int> &temp) { ...
21.403509
74
0.47623
OpenCreate
0bb98d873e78976da89a6d136a3216e1db481ffe
2,512
cpp
C++
DX11 Framework/utility/Vector3D.cpp
kyle-robinson/dx11-framework
7e4f6517b4e7e3ddda405250c46815e6e970207d
[ "MIT" ]
1
2021-04-22T03:15:56.000Z
2021-04-22T03:15:56.000Z
DX11 Framework/utility/Vector3D.cpp
kyle-robinson/dx11-framework
7e4f6517b4e7e3ddda405250c46815e6e970207d
[ "MIT" ]
null
null
null
DX11 Framework/utility/Vector3D.cpp
kyle-robinson/dx11-framework
7e4f6517b4e7e3ddda405250c46815e6e970207d
[ "MIT" ]
null
null
null
#include "Vector3D.h" #include <sstream> #include <math.h> #include <cmath> #include <assert.h> #include <debugapi.h> Vector3D::Vector3D() : x( 0 ), y( 0 ), z( 0 ) { } Vector3D::Vector3D( float x, float y, float z ) : x( x ), y( y ), z( z ) { } Vector3D::Vector3D( const Vector3D &vec ) : x( vec.x ), y( vec.y ), z( v...
17.942857
82
0.591959
kyle-robinson
0bbac2da2f5a4bbc70f66b97e89a02a9f7006025
328
cpp
C++
Algorithm/stack-based/TOH.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
Algorithm/stack-based/TOH.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
Algorithm/stack-based/TOH.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void TOH(int n,char I,char F,char A){ if(n==1){ cout<<"moving top disk from "<<I<<" to "<<F<<"\n"; }else{ TOH(n-1,I,A,F); cout<<"move top disk from "<<I<<" to "<<F<<"\n"; TOH(n-1,A,F,I); } } int main(){ TOH(3,'I','F','A'); retu...
21.866667
59
0.466463
Alquama00s
0bbada82b5dc6eab35eb9f20edb812a6463f4268
485
cpp
C++
src/Geometry/point3D.cpp
sebastiandaberdaku/PoCavEDT
bc4fa2d8c52d138d6eb1446f78a4162e05d97d6b
[ "BSD-3-Clause" ]
1
2021-10-01T16:51:28.000Z
2021-10-01T16:51:28.000Z
src/Geometry/point3D.cpp
sebastiandaberdaku/VoxMeshSurfOpenMP
dc5c13a6b3cb3d1b47fa2a195635063b19bf73d7
[ "BSD-3-Clause" ]
null
null
null
src/Geometry/point3D.cpp
sebastiandaberdaku/VoxMeshSurfOpenMP
dc5c13a6b3cb3d1b47fa2a195635063b19bf73d7
[ "BSD-3-Clause" ]
1
2022-03-29T18:14:51.000Z
2022-03-29T18:14:51.000Z
/* * point3D.cpp * * Created on: 01/dic/2014 * Author: sebastian */ #include "point3D.h" #include "../PDB/atom.h" point3D::point3D(atom const & atm) : x(atm.x), y(atm.y), z(atm.z) { } /** * Calculates the square of the distance between this point3D and the center of * the argument. */ float point3D::s_...
20.208333
79
0.606186
sebastiandaberdaku
0bbc9ab21156b2a36a4ca9d986cd5d27e3909e95
5,910
cpp
C++
olp-cpp-sdk-core/src/logging/MessageFormatter.cpp
forslund/here-data-sdk-cpp
6226950ef2543281e027b2a458fcff0c71e2f0b2
[ "Apache-2.0" ]
21
2019-07-03T07:26:52.000Z
2019-09-04T08:35:07.000Z
olp-cpp-sdk-core/src/logging/MessageFormatter.cpp
forslund/here-data-sdk-cpp
6226950ef2543281e027b2a458fcff0c71e2f0b2
[ "Apache-2.0" ]
639
2019-09-13T17:14:24.000Z
2020-05-13T11:49:14.000Z
olp-cpp-sdk-core/src/logging/MessageFormatter.cpp
forslund/here-data-sdk-cpp
6226950ef2543281e027b2a458fcff0c71e2f0b2
[ "Apache-2.0" ]
21
2020-05-14T15:32:28.000Z
2022-03-15T13:52:33.000Z
/* * Copyright (C) 2019-2021 HERE Europe B.V. * * 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...
30.307692
80
0.614721
forslund
0bbce92c471249cca5f10b7eb437600e68408103
11,997
cpp
C++
server/src/WSStreamer.cpp
urbenlegend/WebStreamer
562b16a4b8e10cce25c4088e38e83f93bc87e1ee
[ "MIT" ]
42
2015-09-19T13:33:02.000Z
2021-08-12T18:36:51.000Z
server/src/WSStreamer.cpp
cqzhanghy/WebStreamer
562b16a4b8e10cce25c4088e38e83f93bc87e1ee
[ "MIT" ]
3
2015-08-05T19:09:03.000Z
2017-08-08T18:30:53.000Z
server/src/WSStreamer.cpp
cqzhanghy/WebStreamer
562b16a4b8e10cce25c4088e38e83f93bc87e1ee
[ "MIT" ]
14
2015-09-20T14:01:56.000Z
2020-01-06T17:26:28.000Z
#include <string> #include <fstream> #include <vector> #include "boost/shared_ptr.hpp" #include "boost/asio.hpp" #include "websocketpp.hpp" #include "websocket_connection_handler.hpp" #include "utils.h" #include "rtpdump.h" #include "WSStreamer.h" using namespace std; extern ofstream debug; vector<unsigned char> r...
30.372152
165
0.674752
urbenlegend
0bbe39564381d21ba4fd2d26747a8a2f4195b835
3,036
cpp
C++
src/RcsGraphics/RigidBodyTracker.cpp
famura/Rcs
4f8b997d2649a2cd7a1945ea079e07a71ee215fc
[ "BSD-3-Clause" ]
37
2018-03-20T12:28:45.000Z
2022-02-28T08:39:32.000Z
src/RcsGraphics/RigidBodyTracker.cpp
famura/Rcs
4f8b997d2649a2cd7a1945ea079e07a71ee215fc
[ "BSD-3-Clause" ]
19
2018-04-19T08:49:53.000Z
2021-06-11T09:47:09.000Z
src/RcsGraphics/RigidBodyTracker.cpp
famura/Rcs
4f8b997d2649a2cd7a1945ea079e07a71ee215fc
[ "BSD-3-Clause" ]
15
2018-03-28T11:52:39.000Z
2022-02-04T19:34:01.000Z
/******************************************************************************* Copyright (c) 2017, Honda Research Institute Europe GmbH Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sour...
37.95
80
0.644269
famura
0bbe6460148f47156b49021f25cf9ea43874ee2a
369
cpp
C++
2021.09.27_homework-3/Project3/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
2021.09.27_homework-3/Project3/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
2021.09.27_homework-3/Project3/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int a = 1; int n = 0; cin >> n; for (int i = 1; i <= n; ++i) { for (int j = 1; j <= i; ++j) { if (j == i || a == n) { cout << a << " " << endl; a++; break; } else { cout << a << " "; a++; } } ...
11.903226
32
0.401084
HudzievaPolina
0bbf5ad61ba8db5ba02b382b9c17078337aa6faa
1,173
cpp
C++
Chapter-4-Making-Decisions/Review Questions and Exercises/Algorithm Workbench/41.cpp
jesushilarioh/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
3
2019-02-02T16:59:48.000Z
2019-02-28T14:50:08.000Z
Chapter-4-Making-Decisions/Review Questions and Exercises/Algorithm Workbench/41.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
null
null
null
Chapter-4-Making-Decisions/Review Questions and Exercises/Algorithm Workbench/41.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
4
2020-04-10T17:22:17.000Z
2021-11-04T14:34:00.000Z
/******************************************************************** * * 41. Match the conditional expression with the if/else * statement that performs the same operation. * * A) q = x < y ? a + b : x * 2; * B) q = x < y ? x * 2 : a + b; * C) x < y ? q = 0 : q = 1; * ____ if (x < y) * ...
20.578947
69
0.311168
jesushilarioh
0bc2810b2261b1a9ce35f7563376965ba463f9f4
3,211
cpp
C++
Sesion2/main.cpp
Miguel445Ar/A-y-R-Algoritmos-1
c9b64573965d5c4371d2de1a1fff1a9425c34388
[ "CC0-1.0" ]
null
null
null
Sesion2/main.cpp
Miguel445Ar/A-y-R-Algoritmos-1
c9b64573965d5c4371d2de1a1fff1a9425c34388
[ "CC0-1.0" ]
null
null
null
Sesion2/main.cpp
Miguel445Ar/A-y-R-Algoritmos-1
c9b64573965d5c4371d2de1a1fff1a9425c34388
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <functional> #include <vector> #include <algorithm> #include <string> using std::cout; using std::cin; using std::function; using std::vector; using std::sort; using std::string; // Functores en C++ (Los de verdad) class Inc { int num; public: Inc(int n) : num(n) { } // T...
20.06875
72
0.521956
Miguel445Ar
0bc4950c55f86ccbab4a1d49be00e9152bf7f157
14,926
cpp
C++
src/test/UnsupportedAPITests.cpp
ipuustin/crypto-api-toolkit
87ff5308200ac1b904e45e6778f69a4500ac0d6a
[ "BSD-2-Clause" ]
28
2019-03-29T14:41:27.000Z
2022-03-29T04:30:36.000Z
src/test/UnsupportedAPITests.cpp
ipuustin/crypto-api-toolkit
87ff5308200ac1b904e45e6778f69a4500ac0d6a
[ "BSD-2-Clause" ]
6
2021-01-15T19:28:06.000Z
2022-03-27T15:00:42.000Z
src/test/UnsupportedAPITests.cpp
ipuustin/crypto-api-toolkit
87ff5308200ac1b904e45e6778f69a4500ac0d6a
[ "BSD-2-Clause" ]
15
2019-05-02T06:32:40.000Z
2022-02-16T17:24:35.000Z
/* * Copyright (C) 2019-2020 Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and...
33.466368
118
0.726718
ipuustin
0bc71853638f5b80269dd0cd94279ff60a22cbf6
21,082
cpp
C++
source/main.cpp
io55/ART_IO55
8c7fa55955260a4ba4c780fa8ae8c0bba775e1b7
[ "Unlicense" ]
1
2022-03-12T02:43:54.000Z
2022-03-12T02:43:54.000Z
source/main.cpp
io55/ART_IO55
8c7fa55955260a4ba4c780fa8ae8c0bba775e1b7
[ "Unlicense" ]
null
null
null
source/main.cpp
io55/ART_IO55
8c7fa55955260a4ba4c780fa8ae8c0bba775e1b7
[ "Unlicense" ]
null
null
null
#include <grrlib.h> #include <stdlib.h> #include <wiiuse/wpad.h> #include <algorithm> #include <cmath> #include <cstdio> #include <vector> #include "icon_jpg.h" #include "terminus_ttf.h" #include "game/scenegenerator.cpp" #include "globals.h" #include "math/camera.h" #include "menu.h" #include "options.h" static in...
39.040741
120
0.482592
io55
0bca0f63f9af371a9f9df2a4d47ff4650e9eee5e
378
cpp
C++
Security/2_Terminology_and_Concepts/Security-Message_Space_and_Ciphertext_Space/security-message-space-and-ciphertext-space.cpp
christosg88/hackerrank
21bc44aac842325ad0a48265658f7674984aeff2
[ "MIT" ]
null
null
null
Security/2_Terminology_and_Concepts/Security-Message_Space_and_Ciphertext_Space/security-message-space-and-ciphertext-space.cpp
christosg88/hackerrank
21bc44aac842325ad0a48265658f7674984aeff2
[ "MIT" ]
null
null
null
Security/2_Terminology_and_Concepts/Security-Message_Space_and_Ciphertext_Space/security-message-space-and-ciphertext-space.cpp
christosg88/hackerrank
21bc44aac842325ad0a48265658f7674984aeff2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> int main() { std::ios_base::sync_with_stdio(false); std::string plaintext; std::cin >> plaintext; std::string cyphertext(plaintext, 0); for (size_t i = 0, length = cyphertext.length(); i < length; i++) cyphertext[i] = (((int)(cyphertext[i] - '0') + 1) % 10) + ...
21
67
0.592593
christosg88
0bca657a0e975efae2c82aeab5fc93f3d027b8dc
722
hpp
C++
test/openp2p/src/OpenP2P/Crypt/ECDSA/PrivateKey.hpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
test/openp2p/src/OpenP2P/Crypt/ECDSA/PrivateKey.hpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
test/openp2p/src/OpenP2P/Crypt/ECDSA/PrivateKey.hpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
#ifndef OPENP2P_CRYPT_ECDSA_PRIVATEKEY_HPP #define OPENP2P_CRYPT_ECDSA_PRIVATEKEY_HPP #include <cryptopp/eccrypto.h> #include <cryptopp/ecp.h> #include <cryptopp/sha.h> #include <OpenP2P/Crypt/ECDSA/Curve.hpp> namespace OpenP2P { namespace Crypt { class RandomPool; namespace ECDSA { class PrivateKey...
18.512821
91
0.680055
goodspeed24e
0bcc54ac82e17955fc42528cc2f78e58a1799faf
350
hpp
C++
kernel/lib/bitmap.hpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/lib/bitmap.hpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/lib/bitmap.hpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#ifndef BITMAP_HPP_ #define BITMAP_HPP_ #include <cstddef> #include <cstdint> #include <types.hpp> namespace lib { class bitmap { public: bitmap(size_t inital_size, bool can_grow = false); bitmap() = default; ssize_t alloc(); void free(size_t index); private: uint8_t *bm; size_t bm_size; ...
13.461538
54
0.674286
ethan4984
0bd802c971a528be05a7c16576008aa2e15705f0
194
cc
C++
source/agent/addons/audioRanker/addon.cc
andreasunterhuber/owt-server
128b83714361c0b543ec44fc841c9094f4267633
[ "Apache-2.0" ]
890
2019-03-08T08:04:10.000Z
2022-03-30T03:07:44.000Z
source/agent/addons/audioRanker/addon.cc
vgemv/owt-server
fa6070af33feeeb79a962de08307ac5092991cbf
[ "Apache-2.0" ]
583
2019-03-11T10:27:42.000Z
2022-03-29T01:41:28.000Z
source/agent/addons/audioRanker/addon.cc
vgemv/owt-server
fa6070af33feeeb79a962de08307ac5092991cbf
[ "Apache-2.0" ]
385
2019-03-08T07:50:13.000Z
2022-03-29T06:36:28.000Z
// Copyright (C) <2019> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 #include "AudioRankerWrapper.h" #include <nan.h> using namespace v8; NODE_MODULE(addon, AudioRanker::Init)
17.636364
41
0.737113
andreasunterhuber
0bdcd1f139ccc1dbe76f6c6be173579a63dcd9ff
3,009
hxx
C++
main/chart2/source/view/main/VTitle.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/view/main/VTitle.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/view/main/VTitle.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
37.6125
111
0.52775
Grosskopf
0bdce7529632b1136276ef0cd58ec9ec58eade22
8,897
cc
C++
centreon-engine/src/configuration/daterange.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
8
2020-07-26T09:12:02.000Z
2022-03-30T17:24:29.000Z
centreon-engine/src/configuration/daterange.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
47
2020-06-18T12:11:37.000Z
2022-03-16T10:28:56.000Z
centreon-engine/src/configuration/daterange.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
5
2020-06-29T14:22:02.000Z
2022-03-17T10:34:10.000Z
/* ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Engine is distributed in the hope...
23.229765
76
0.688771
centreon
0be023d8a91bfd830b80ba1c0fccebe175f68e89
6,642
cpp
C++
Engine/source/gfx/gl/ggl/mac/aglBind.cpp
camporter/Torque3D
938e28b6f36883cb420da4b04253b1394467a1f4
[ "Unlicense" ]
13
2015-04-13T21:46:01.000Z
2017-11-20T22:12:04.000Z
Engine/source/gfx/gl/ggl/mac/aglBind.cpp
camporter/Torque3D
938e28b6f36883cb420da4b04253b1394467a1f4
[ "Unlicense" ]
1
2015-11-16T23:57:12.000Z
2015-12-01T03:24:08.000Z
Engine/source/gfx/gl/ggl/mac/aglBind.cpp
camporter/Torque3D
938e28b6f36883cb420da4b04253b1394467a1f4
[ "Unlicense" ]
10
2015-01-05T15:58:31.000Z
2021-11-20T14:05:46.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
33.887755
106
0.631286
camporter
0be32f6e8335377b2d68fade9fd7747cca977aa9
3,832
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/widgets/ToggleButton.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
3
2020-11-07T07:01:59.000Z
2022-03-06T10:54:52.000Z
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/widgets/ToggleButton.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
1
2020-11-14T16:53:09.000Z
2020-11-14T16:53:09.000Z
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/widgets/ToggleButton.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
3
2020-03-15T14:35:38.000Z
2021-04-07T14:55:42.000Z
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
30.412698
112
0.61143
ramkumarkoppu
0be56dc2b2cde2157428b68d2bcb3524a3dbcdb5
51
hh
C++
RAVL2/MSVC/include/Ravl/DList.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DList.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DList.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././Core/Container/DList/DList.hh"
12.75
48
0.627451
isuhao
0be9e2f4b4680081b0905ea468680ce0b89a4f02
12,781
hh
C++
maps/mi.hh
krishna-beemanapalli/PlotSim
5c90671798db323a6109e1cdfa6fbbf8b96fb713
[ "MIT" ]
6
2020-03-30T15:18:23.000Z
2020-05-09T01:24:22.000Z
maps/mi.hh
krishna-beemanapalli/PlotSim
5c90671798db323a6109e1cdfa6fbbf8b96fb713
[ "MIT" ]
1
2020-05-06T20:41:07.000Z
2020-05-06T20:41:07.000Z
maps/mi.hh
krishna-beemanapalli/PlotSim
5c90671798db323a6109e1cdfa6fbbf8b96fb713
[ "MIT" ]
4
2020-04-22T06:48:32.000Z
2020-10-21T01:03:08.000Z
static short state[][3] = { 0, -210, -403, 1, -211, -433, 1, -240, -432, 1, -239, -417, 1, -210, -403, 0, -157, -449, 1, -157, -469, 1, -191, -496, 1, -197, -468, 1, -187, -454, 1, -157, -449, 0, 108, -41, 1, 125, -45, 1, 136, -64, 1, 115, -66, 1, 105, -69, 1, 87, -51, 1, 108, -41, 0, 177, -120...
118.342593
122
0.493623
krishna-beemanapalli
0bebed57b3a5b50373572542065644ea862ca1f2
17,189
cc
C++
visitor/auto.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
visitor/auto.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
visitor/auto.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
1
2020-01-03T20:13:50.000Z
2020-01-03T20:13:50.000Z
/* <visitor/auto.test.cc> Unit test for <visitor/visitor.h> This file demonstrates how to use the visitor library. It uses the template magic in the library to generate the abstract visitors. If there are too many final types in the family, you can manually write out (probably code gen) the abstract visit...
35.441237
128
0.667055
jssmith
0bf02dfc7db3196778d39d7f62a505c5e099aa56
695
cpp
C++
super-mario-dx10/05-SceneManager/GameObject.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
super-mario-dx10/05-SceneManager/GameObject.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
super-mario-dx10/05-SceneManager/GameObject.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
#include <d3dx9.h> #include <algorithm> #include "debug.h" #include "Textures.h" #include "Game.h" #include "GameObject.h" #include "Sprites.h" CGameObject::CGameObject() { x = y = 0; vx = vy = 0; nx = 1; state = -1; isDeleted = false; } void CGameObject::RenderBoundingBox() { D3DXVECTOR3 p(x, y, 0); RECT re...
15.795455
69
0.634532
HoangTuan0611
0bf0a1bbcc4da5111588ba61aaf135ad5712bb1e
2,211
cpp
C++
sdk/boost_1_30_0/libs/thread/src/mac/st_scheduler.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
2
2020-01-30T12:51:49.000Z
2020-08-31T08:36:49.000Z
sdk/boost_1_30_0/libs/thread/src/mac/st_scheduler.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
sdk/boost_1_30_0/libs/thread/src/mac/st_scheduler.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
// Copyright (C) 2001 // Mac Murrett // // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and this permission notice a...
24.032609
93
0.613749
acidicMercury8
0bf1b2ada0e24712623ad06b8779c4d9f0f5cd02
36,292
cpp
C++
XimaSSS/Win/GUI.cpp
Centril/XimaSSS
80261052eba2e4b73bcfa2ad29f0087cd9dae9c8
[ "Unlicense" ]
1
2016-09-24T14:51:10.000Z
2016-09-24T14:51:10.000Z
XimaSSS/Win/GUI.cpp
Centril/XimaSSS
80261052eba2e4b73bcfa2ad29f0087cd9dae9c8
[ "Unlicense" ]
null
null
null
XimaSSS/Win/GUI.cpp
Centril/XimaSSS
80261052eba2e4b73bcfa2ad29f0087cd9dae9c8
[ "Unlicense" ]
null
null
null
#ifdef WIN32 #include "..\StdAfx.hpp" #include "Main.hpp" #include "GUI.hpp" #include "../Globals.func.hpp" #include "XBrowseForFolder.hpp" #include "../FTP/FTPUploader.class.hpp" #include <commctrl.h> #include <shlobj.h> #include "makelink.h" static Win::Options* g_opt = 0; __inline int __stdcall generalproc(HWN...
27.852648
160
0.66629
Centril
0bf371ce31423b5c6a8edb3d7129277e4e48b770
3,759
cc
C++
auxil/binpac/src/pac_decl.cc
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
1
2021-03-06T19:51:07.000Z
2021-03-06T19:51:07.000Z
auxil/binpac/src/pac_decl.cc
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
null
null
null
auxil/binpac/src/pac_decl.cc
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
null
null
null
#include "pac_attr.h" #include "pac_context.h" #include "pac_dataptr.h" #include "pac_embedded.h" #include "pac_exception.h" #include "pac_expr.h" #include "pac_exttype.h" #include "pac_id.h" #include "pac_output.h" #include "pac_param.h" #include "pac_record.h" #include "pac_type.h" #include "pac_utils.h" #include "p...
19.578125
64
0.646449
hugolin615
0bf3c04d24efd8fc163ffca218251295659579b9
614
cpp
C++
test/ui/test-item-vector.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
9
2016-01-10T20:59:02.000Z
2019-01-09T14:18:13.000Z
test/ui/test-item-vector.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
31
2015-01-30T17:46:17.000Z
2017-03-04T17:33:50.000Z
test/ui/test-item-vector.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
2
2015-04-05T08:45:22.000Z
2018-08-24T06:43:24.000Z
//////////////////////////////////////////////////////////////////////////////// // Name: test-item-vector.cpp // Purpose: Implementation for wex unit testing // Author: Anton van Wezenbeek // Copyright: (c) 2020 Anton van Wezenbeek /////////////////////////////////////////////////////////////////////////////...
25.583333
80
0.480456
antonvw
0bf994f35b0d7ff227e0729fff5bf868543f3641
82,546
cpp
C++
src/3rdparty/sheets/odf/SheetsOdfSheet.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/odf/SheetsOdfSheet.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/odf/SheetsOdfSheet.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
/* This file is part of the KDE project Copyright 1998-2016 The Calligra Team <calligra-devel@kde.org> Copyright 2016 Tomas Mecir <mecirt@gmail.com> Copyright 2010 Marijn Kruisselbrink <mkruisselbrink@kde.org> Copyright 2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net> Copyright 2007 Thorsten Zachmann <...
44.667749
192
0.586667
afarcat
0bfd32a2b6d8c545ab700009809831d72b393531
8,038
cxx
C++
main/dbaccess/source/core/recovery/subcomponentloader.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/dbaccess/source/core/recovery/subcomponentloader.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/dbaccess/source/core/recovery/subcomponentloader.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
40.39196
108
0.528738
Grosskopf
0bffc3dc70fd8e9de9cccdb7f0c8eb6b65cae632
579
cpp
C++
demos/exchange_manager_clean.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2020-09-08T04:01:02.000Z
2021-01-28T15:02:11.000Z
demos/exchange_manager_clean.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
13
2019-09-24T17:21:49.000Z
2021-03-02T10:09:03.000Z
demos/exchange_manager_clean.cpp
MaximilienNaveau/shared_memory
1440454759cdd19e0d898753d86b8714c1aefa84
[ "BSD-3-Clause" ]
2
2019-05-06T08:25:35.000Z
2020-04-14T11:49:02.000Z
#include <signal.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <iostream> #include "shared_memory/demos/four_int_values.hpp" #include "shared_memory/exchange_manager_producer.hpp" #define SEGMENT_ID "exchange_demo_segment" #define QUEUE_SIZE 2000 int main() { shared_memory::Exchange_manage...
27.571429
59
0.75475
MaximilienNaveau
0403c640059b4859021c1f971e08408d502920e4
6,216
cc
C++
third_party/blink/renderer/bindings/tests/results/core/element_sequence_or_byte_string_double_or_string_record.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/bindings/tests/results/core/element_sequence_or_byte_string_double_or_string_record.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/bindings/tests/results/core/element_sequence_or_byte_string_double_or_string_record.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated from the Jinja2 template // third_party/blink/renderer/bindings/templates/union_container.cc.tmpl // by the script co...
46.736842
193
0.813385
mghgroup
0404cb6280df53ce68fcbb7349b9781d68959ed2
2,258
cpp
C++
Unix/UnixDirectoryReader.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
Unix/UnixDirectoryReader.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
Unix/UnixDirectoryReader.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
// Copyright 2000-2021 Mark H. P. Lord #include "UnixDirectoryReader.h" #include "../Path.h" #include "UnixCloseOnExec.h" #include <errno.h> namespace Prime { UnixDirectoryReader::UnixDirectoryReader() { _dir = NULL; _ent = NULL; _preventInherit = false; } UnixDirectoryReader::~UnixDirectoryReader() { ...
18.209677
82
0.54783
malord
0405eeac55d49dc3fb9f801220a850c5c48fcb26
1,201
cpp
C++
lib/src/io/Stream.cpp
tuanphuc/Viry3D
8f6e141f222ce01372ffd2183a4d39e7a076aad2
[ "Apache-2.0" ]
null
null
null
lib/src/io/Stream.cpp
tuanphuc/Viry3D
8f6e141f222ce01372ffd2183a4d39e7a076aad2
[ "Apache-2.0" ]
null
null
null
lib/src/io/Stream.cpp
tuanphuc/Viry3D
8f6e141f222ce01372ffd2183a4d39e7a076aad2
[ "Apache-2.0" ]
1
2020-09-04T07:38:32.000Z
2020-09-04T07:38:32.000Z
/* * Viry3D * Copyright 2014-2019 by Stack - stackos@qq.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
17.157143
74
0.668609
tuanphuc
040700cc399337a7b35ef964523fd9bd98b6c7a1
1,469
hpp
C++
lib/aoc2021/include/aoc2021/day3/part2.hpp
bencodestx/aoc-2021-cpp
41518858a6ec4af65754d0170f4d6bfbe4d9548d
[ "MIT" ]
null
null
null
lib/aoc2021/include/aoc2021/day3/part2.hpp
bencodestx/aoc-2021-cpp
41518858a6ec4af65754d0170f4d6bfbe4d9548d
[ "MIT" ]
null
null
null
lib/aoc2021/include/aoc2021/day3/part2.hpp
bencodestx/aoc-2021-cpp
41518858a6ec4af65754d0170f4d6bfbe4d9548d
[ "MIT" ]
null
null
null
#pragma once #include "aoc2021/day3/operators.hpp" #include "aoc2021/read_vector.hpp" #include <array> #include <bitset> #include <cstddef> #include <functional> #include <istream> namespace aoc2021::day3 { template <std::size_t bit_count> auto count_bits_in_position(const std::size_t bit, const auto &reports) { ...
27.203704
80
0.671205
bencodestx
040942e8a5f9792ace3579338f93c58f580a870a
842
cpp
C++
to edit/menu/title.cpp
wengxxaa/Ninja
a7e11b6db16fd614234c4a282411bd80cbfb5ad3
[ "Apache-2.0" ]
1
2019-10-23T04:39:51.000Z
2019-10-23T04:39:51.000Z
to edit/menu/title.cpp
wengxxaa/Ninja
a7e11b6db16fd614234c4a282411bd80cbfb5ad3
[ "Apache-2.0" ]
null
null
null
to edit/menu/title.cpp
wengxxaa/Ninja
a7e11b6db16fd614234c4a282411bd80cbfb5ad3
[ "Apache-2.0" ]
1
2019-10-23T04:39:52.000Z
2019-10-23T04:39:52.000Z
#include "title.h" #include <stdlib.h> Title::Title() { // empty } Title::~Title() { belt.free(); title.free(); } void Title::load( const int& screen_w ) { belt.setName( "title-belt" ); belt.load( "data/sprites/menu/belt.png" ); belt.setPosition( screen_w/2 - belt.getWidth()/2, 10 ); title.setName( "t...
16.84
67
0.625891
wengxxaa
040ba98d9766871e116a3362d484b066a11fd83d
282
cpp
C++
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int x=1; void myfunc(int y) { y = y * 2; x = x + 10; printf("Value inside myfunc,x:%d and y:%d\n",x,y); } int main() { int y=5; x=10; myfunc(y); printf("Value inside main,x:%d and y:%d",x,y); return 0; }
14.842105
54
0.535461
arifparvez14
040f916f455594c396309ad8c777580543648548
8,934
cpp
C++
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
/***************************************************************************************** * SGCT * * Simple Graphics Cluster Toolkit * * ...
27.831776
90
0.573763
inviwo
040ff9a27996e5b157c1e640a86a2a797cf7a4e4
344
cpp
C++
Framework/mainmenu.cpp
huangdgm/lost-in-zombies
56c62510436fe8a64a83772829240523dbb5abee
[ "Apache-2.0" ]
null
null
null
Framework/mainmenu.cpp
huangdgm/lost-in-zombies
56c62510436fe8a64a83772829240523dbb5abee
[ "Apache-2.0" ]
1
2017-11-17T23:56:47.000Z
2017-11-17T23:56:47.000Z
Framework/mainmenu.cpp
huangdgm/lost-in-zombies
56c62510436fe8a64a83772829240523dbb5abee
[ "Apache-2.0" ]
null
null
null
// This include: #include "mainmenu.h" // Local includes: // Library includes: MainMenu::MainMenu() : Entity() { } MainMenu::~MainMenu() { } void MainMenu::Initialise(Sprite* sprite) { Entity::Initialise(sprite); m_dead = false; this->SetPosition(0, 0); } void MainMenu::SetSprite(Sprite* sprite) { Entity...
9.828571
36
0.674419
huangdgm
04119933a8ffff68b1ebbbfee2b0c6812d42b967
24,325
cc
C++
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/* * Copyright 2015 Scientific Computation Research Center * * This work is open source software, licensed under the terms of the * BSD license as described in the LICENSE file in the top-level directory. */ #include "crv.h" #include "crvBezier.h" #include "crvBezierShapes.h" #include "crvMath.h" #include "crvTabl...
31.468305
82
0.61073
cwsmith
041313275ba2334ac0cbe059dc09eb138a69087e
1,623
cpp
C++
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
null
null
null
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
67
2015-10-14T12:15:52.000Z
2021-08-06T07:20:42.000Z
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
null
null
null
#pragma once #include <MY_ResourceManager.h> Scenario * MY_ResourceManager::scenario = nullptr; std::vector<Scenario *> MY_ResourceManager::randomEvents; std::vector<Scenario *> MY_ResourceManager::lossEvents; std::vector<Scenario *> MY_ResourceManager::destinationEvents; void MY_ResourceManager::init(){ Json::Valu...
39.585366
110
0.707948
PureBread
041365df87c48879c21861554c04f58cc97b0376
2,722
cpp
C++
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 100010 #define DIGIT_SIZE 10 int arr[SIZE], orig[SIZE], ava[SIZE]; int ans[SIZE], ansPt; bool lazy[SIZE]; priority_queue<pair<int, int> > pq; set<int> avaList; void updatePq() { int cntPt = pq.top().second; pq.pop(); if (ava[cntPt] > 0) p...
27.22
73
0.3964
codgician
04161e31d1c66952000bf55e21753351563b674b
96
hpp
C++
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
#pragma once #include "./mainmenu.hpp" #include "./splashscene.hpp" #include "./testscene.hpp"
16
28
0.708333
seanbutler
041771075e4012550ddbdc91e23f392324821fbd
595
hpp
C++
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
11
2018-04-15T21:00:48.000Z
2021-12-30T20:55:21.000Z
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
tlein/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
58
2016-04-17T20:41:25.000Z
2017-02-27T01:21:46.000Z
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
4
2018-05-04T17:03:20.000Z
2021-02-12T21:26:57.000Z
#ifndef Ancona_Platformer_Action_ScaleAction_hpp #define Ancona_Platformer_Action_ScaleAction_hpp #include <SFML/System.hpp> #include "ValueAction.hpp" namespace ild { template<typename T> class ScaleAction : public ValueAction<T> { public: ScaleAction(std::string drawableKey = "") : _drawableKey(drawab...
20.517241
87
0.685714
ild-games
04183465a7a336ec50ded1424e177fd3453cf548
8,982
cpp
C++
Base/src/cts/UserCmd.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Base/src/cts/UserCmd.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Base/src/cts/UserCmd.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #65 $ // // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/...
35.928
134
0.60599
mpartio