id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
29,211
MSADeviceCodeStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/MSADeviceCodeStep.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2024 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
10,280
C++
.cpp
249
36.036145
136
0.687394
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,212
GetSkinStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/GetSkinStep.cpp
#include "GetSkinStep.h" #include <QNetworkRequest> #include "Application.h" GetSkinStep::GetSkinStep(AccountData* data) : AuthStep(data) {} QString GetSkinStep::describe() { return tr("Getting skin."); } void GetSkinStep::perform() { QUrl url(m_data->minecraftProfile.skin.url); m_response.reset(new ...
860
C++
.cpp
25
30.88
78
0.717233
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,213
EntitlementsStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/EntitlementsStep.cpp
#include "EntitlementsStep.h" #include <QList> #include <QNetworkRequest> #include <QUrl> #include <QUuid> #include <memory> #include "Application.h" #include "Logging.h" #include "minecraft/auth/Parsers.h" #include "net/Download.h" #include "net/NetJob.h" #include "net/RawHeaderProxy.h" #include "tasks/Task.h" Enti...
1,832
C++
.cpp
44
36.659091
130
0.695775
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,214
MSAStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/MSAStep.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
7,517
C++
.cpp
166
39.457831
136
0.696713
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,215
XboxAuthorizationStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/XboxAuthorizationStep.cpp
#include "XboxAuthorizationStep.h" #include <QJsonDocument> #include <QJsonParseError> #include <QNetworkRequest> #include "Application.h" #include "Logging.h" #include "minecraft/auth/Parsers.h" #include "net/NetUtils.h" #include "net/RawHeaderProxy.h" #include "net/Upload.h" XboxAuthorizationStep::XboxAuthorizatio...
7,767
C++
.cpp
156
37.961538
140
0.600895
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,216
XboxProfileStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/XboxProfileStep.cpp
#include "XboxProfileStep.h" #include <QNetworkRequest> #include <QUrlQuery> #include "Application.h" #include "Logging.h" #include "net/NetUtils.h" #include "net/RawHeaderProxy.h" XboxProfileStep::XboxProfileStep(AccountData* data) : AuthStep(data) {} QString XboxProfileStep::describe() { return tr("Fetching X...
2,440
C++
.cpp
54
38.796296
140
0.675653
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,217
XboxUserStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/XboxUserStep.cpp
#include "XboxUserStep.h" #include <QNetworkRequest> #include "Application.h" #include "minecraft/auth/Parsers.h" #include "net/NetUtils.h" #include "net/RawHeaderProxy.h" XboxUserStep::XboxUserStep(AccountData* data) : AuthStep(data) {} QString XboxUserStep::describe() { return tr("Logging in as an Xbox user."...
2,568
C++
.cpp
63
35.52381
136
0.67081
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,218
LauncherLoginStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/LauncherLoginStep.cpp
#include "LauncherLoginStep.h" #include <QNetworkRequest> #include <QUrl> #include "Application.h" #include "Logging.h" #include "minecraft/auth/Parsers.h" #include "net/NetUtils.h" #include "net/RawHeaderProxy.h" #include "net/Upload.h" LauncherLoginStep::LauncherLoginStep(AccountData* data) : AuthStep(data) {} QS...
2,409
C++
.cpp
60
35.1
137
0.680651
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,219
AssetUpdateTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/update/AssetUpdateTask.cpp
#include "AssetUpdateTask.h" #include "launch/LaunchStep.h" #include "minecraft/AssetsUtils.h" #include "minecraft/MinecraftInstance.h" #include "minecraft/PackProfile.h" #include "net/ChecksumValidator.h" #include "Application.h" #include "net/ApiDownload.h" AssetUpdateTask::AssetUpdateTask(MinecraftInstance* inst...
3,799
C++
.cpp
89
38.123596
105
0.700514
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,220
LibrariesTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/update/LibrariesTask.cpp
#include "LibrariesTask.h" #include "minecraft/MinecraftInstance.h" #include "minecraft/PackProfile.h" #include "Application.h" LibrariesTask::LibrariesTask(MinecraftInstance* inst) { m_inst = inst; } void LibrariesTask::executeTask() { setStatus(tr("Downloading required library files...")); qDebug() <<...
3,326
C++
.cpp
76
37.539474
138
0.686456
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,221
FoldersTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/update/FoldersTask.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
1,914
C++
.cpp
51
35.058824
80
0.722043
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,222
FMLLibrariesTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/update/FMLLibrariesTask.cpp
#include "FMLLibrariesTask.h" #include "FileSystem.h" #include "minecraft/MinecraftInstance.h" #include "minecraft/PackProfile.h" #include "minecraft/VersionFilterData.h" #include "Application.h" #include "BuildConfig.h" #include "net/ApiDownload.h" FMLLibrariesTask::FMLLibrariesTask(MinecraftInstance* inst) { ...
4,229
C++
.cpp
110
32.327273
122
0.669103
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,223
ModMinecraftJar.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/ModMinecraftJar.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
3,277
C++
.cpp
87
33.643678
120
0.693685
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,224
ClaimAccount.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/ClaimAccount.cpp
#include "ClaimAccount.h" #include <launch/LaunchTask.h> #include "Application.h" #include "minecraft/auth/AccountList.h" ClaimAccount::ClaimAccount(LaunchTask* parent, AuthSessionPtr session) : LaunchStep(parent) { if (session->status == AuthSession::Status::PlayableOnline && !session->demo) { auto accou...
623
C++
.cpp
22
24.772727
91
0.713568
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
true
false
true
false
29,225
ReconstructAssets.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/ReconstructAssets.cpp
/* Copyright 2013-2021 MultiMC Contributors * * 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...
1,205
C++
.cpp
30
37.4
85
0.755764
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,226
MinecraftTarget.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/MinecraftTarget.cpp
/* Copyright 2013-2021 MultiMC Contributors * * 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...
2,117
C++
.cpp
55
32.2
100
0.652047
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,227
CreateGameFolders.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/CreateGameFolders.cpp
#include "CreateGameFolders.h" #include "FileSystem.h" #include "launch/LaunchTask.h" #include "minecraft/MinecraftInstance.h" CreateGameFolders::CreateGameFolders(LaunchTask* parent) : LaunchStep(parent) {} void CreateGameFolders::executeTask() { auto instance = m_parent->instance(); if (!FS::ensureFolderPa...
845
C++
.cpp
19
40.105263
102
0.723844
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,228
VerifyJavaInstall.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/VerifyJavaInstall.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
3,710
C++
.cpp
81
40.580247
136
0.700193
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,229
ScanModFolders.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/ScanModFolders.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
2,748
C++
.cpp
81
30.938272
95
0.710685
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,230
LauncherPartLaunch.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/LauncherPartLaunch.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
8,614
C++
.cpp
211
34.033175
137
0.656918
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,231
PrintInstanceInfo.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/PrintInstanceInfo.cpp
/* Copyright 2013-2021 MultiMC Contributors * * 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...
3,764
C++
.cpp
122
25.483607
129
0.611846
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,232
ExtractNatives.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/ExtractNatives.cpp
/* Copyright 2013-2021 MultiMC Contributors * * 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...
2,968
C++
.cpp
92
27.684783
100
0.685844
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,233
AutoInstallJava.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/launch/AutoInstallJava.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023-2024 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softwar...
11,569
C++
.cpp
239
41.171548
139
0.667845
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,234
HttpMetaCache.cpp
PrismLauncher_PrismLauncher/launcher/net/HttpMetaCache.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
10,756
C++
.cpp
276
32.880435
123
0.659954
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,235
ApiUpload.cpp
PrismLauncher_PrismLauncher/launcher/net/ApiUpload.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
1,096
C++
.cpp
28
37
106
0.74718
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,236
FileSink.cpp
PrismLauncher_PrismLauncher/launcher/net/FileSink.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
4,350
C++
.cpp
119
32.235294
93
0.68661
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,237
Logging.cpp
PrismLauncher_PrismLauncher/launcher/net/Logging.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
1,188
C++
.cpp
25
45.8
77
0.776916
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,238
Download.cpp
PrismLauncher_PrismLauncher/launcher/net/Download.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply....
3,115
C++
.cpp
82
35.439024
108
0.725289
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,239
Upload.cpp
PrismLauncher_PrismLauncher/launcher/net/Upload.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply....
2,334
C++
.cpp
57
38.614035
103
0.731074
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,240
MetaCacheSink.cpp
PrismLauncher_PrismLauncher/launcher/net/MetaCacheSink.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
4,914
C++
.cpp
115
37.417391
123
0.678041
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,241
NetRequest.cpp
PrismLauncher_PrismLauncher/launcher/net/NetRequest.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply....
12,836
C++
.cpp
317
34.422713
138
0.640253
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,242
PasteUpload.cpp
PrismLauncher_PrismLauncher/launcher/net/PasteUpload.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Lenny McLennington <lenny@sneed.church> * Copyright (C) 2022 Swirl <swurl@swurl.xyz> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/...
10,396
C++
.cpp
208
39.822115
130
0.608777
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,243
ApiDownload.cpp
PrismLauncher_PrismLauncher/launcher/net/ApiDownload.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
1,528
C++
.cpp
40
35.75
113
0.748313
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,244
NetJob.cpp
PrismLauncher_PrismLauncher/launcher/net/NetJob.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can r...
6,107
C++
.cpp
166
30.253012
135
0.632415
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,245
MurmurHash2.cpp
PrismLauncher_PrismLauncher/libraries/murmur2/src/MurmurHash2.cpp
//----------------------------------------------------------------------------- // MurmurHash2 was written by Austin Appleby, and is placed in the public // domain. The author hereby disclaims copyright to this source code. // // This was modified as to possibilitate it's usage incrementally. // Those modifications are...
2,995
C++
.cpp
84
27.952381
97
0.553324
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,246
rainbow.cpp
PrismLauncher_PrismLauncher/libraries/rainbow/src/rainbow.cpp
/* This was part of the KDE project - see KGuiAddons * Copyright (C) 2007 Matthew Woehlke <mw_triad@users.sourceforge.net> * Copyright (C) 2007 Olaf Schmidt <ojschmidt@kde.org> * Copyright (C) 2007 Thomas Zander <zander@kde.org> * Copyright (C) 2007 Zack Rusin <zack@kde.org> * Copyright (C) 2015 Petr Mrazek <peter...
8,658
C++
.cpp
266
26.68797
126
0.545226
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
true
false
true
false
29,247
distroutils.cpp
PrismLauncher_PrismLauncher/libraries/systeminfo/src/distroutils.cpp
/* Code has been taken from https://github.com/natefoo/lionshead and loosely translated to C++ laced with Qt. MIT License Copyright (c) 2017 Nate Coraor 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 S...
8,500
C++
.cpp
233
29.974249
113
0.629001
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,248
sys_unix.cpp
PrismLauncher_PrismLauncher/libraries/systeminfo/src/sys_unix.cpp
#include "sys.h" #include "distroutils.h" #include <sys/utsname.h> #include <fstream> #include <limits> #include <QDebug> #include <QString> #include <QStringList> Sys::KernelInfo Sys::getKernelInfo() { Sys::KernelInfo out; struct utsname buf; uname(&buf); // NOTE: we assume linux here. this needs f...
2,768
C++
.cpp
85
26.2
118
0.60486
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,249
sys_win32.cpp
PrismLauncher_PrismLauncher/libraries/systeminfo/src/sys_win32.cpp
#include "sys.h" #include <windows.h> Sys::KernelInfo Sys::getKernelInfo() { Sys::KernelInfo out; out.kernelType = KernelType::Windows; out.kernelName = "Windows"; OSVERSIONINFOW osvi; ZeroMemory(&osvi, sizeof(OSVERSIONINFOW)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); GetVersionE...
860
C++
.cpp
30
25
91
0.737288
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,250
sys_test.cpp
PrismLauncher_PrismLauncher/libraries/systeminfo/src/sys_test.cpp
#include <QTest> #include <sys.h> class SysTest : public QObject { Q_OBJECT private slots: void test_kernelNotNull() { auto kinfo = Sys::getKernelInfo(); QVERIFY(!kinfo.kernelName.isEmpty()); QVERIFY(kinfo.kernelVersion != "0.0"); } /* void test_systemDistroNotN...
682
C++
.cpp
23
23.086957
103
0.617737
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,251
sys_apple.cpp
PrismLauncher_PrismLauncher/libraries/systeminfo/src/sys_apple.cpp
#include "sys.h" #include <sys/utsname.h> #include <QDebug> #include <QString> #include <QStringList> Sys::KernelInfo Sys::getKernelInfo() { Sys::KernelInfo out; struct utsname buf; uname(&buf); out.kernelType = KernelType::Darwin; out.kernelName = buf.sysname; QString release = out.kernelVer...
1,501
C++
.cpp
49
25.469388
110
0.630194
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,252
qdcss.cpp
PrismLauncher_PrismLauncher/libraries/qdcss/src/qdcss.cpp
// SPDX-FileCopyrightText: 2023 kumquat-ir 66188216+kumquat-ir@users.noreply.github.com // // SPDX-License-Identifier: LGPL-3.0-only #include "qdcss.h" #include <QRegularExpression> #include <QRegularExpressionMatch> #include <QRegularExpressionMatchIterator> QRegularExpression ruleset_re = QRegularExpression(R"([#....
1,928
C++
.cpp
46
34.5
131
0.6128
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,257
ParseUtils_test.cpp
PrismLauncher_PrismLauncher/tests/ParseUtils_test.cpp
#include <QTest> #include <minecraft/ParseUtils.h> class ParseUtilsTest : public QObject { Q_OBJECT private slots: void test_Through_data() { QTest::addColumn<QString>("timestamp"); const char* timestamps[] = { "2016-02-29T13:49:54+01:00", "2016-02-26T15:21:11+00:01", "2016-02-24T15:52:...
1,023
C++
.cpp
25
32.44
123
0.599798
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,258
CatPack_test.cpp
PrismLauncher_PrismLauncher/tests/CatPack_test.cpp
#include <QTest> #include <QDate> #include <QFileInfo> #include <QList> #include <QTemporaryFile> #include "FileSystem.h" #include "ui/themes/CatPack.h" class CatPackTest : public QObject { Q_OBJECT private slots: void test_catPack() { auto dataDir = QDir(QFINDTESTDATA("testdata/CatPacks")).abs...
1,882
C++
.cpp
36
44.638889
103
0.635179
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,259
DataPackParse_test.cpp
PrismLauncher_PrismLauncher/tests/DataPackParse_test.cpp
// SPDX-FileCopyrightText: 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> // // SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or mo...
2,443
C++
.cpp
60
35.633333
84
0.696277
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,260
Packwiz_test.cpp
PrismLauncher_PrismLauncher/tests/Packwiz_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publi...
3,315
C++
.cpp
69
41.695652
140
0.702728
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,261
ResourceFolderModel_test.cpp
PrismLauncher_PrismLauncher/tests/ResourceFolderModel_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
9,017
C++
.cpp
190
37.578947
101
0.567469
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,262
GZip_test.cpp
PrismLauncher_PrismLauncher/tests/GZip_test.cpp
#include <QTest> #include <GZip.h> #include <random> void fib(int& prev, int& cur) { auto ret = prev + cur; prev = cur; cur = ret; } class GZipTest : public QObject { Q_OBJECT private slots: void test_Through() { // test up to 10 MB static const int size = 10 * 1024 * 1024...
1,284
C++
.cpp
43
22.44186
93
0.580357
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,263
WorldSaveParse_test.cpp
PrismLauncher_PrismLauncher/tests/WorldSaveParse_test.cpp
// SPDX-FileCopyrightText: 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> // // SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or m...
2,879
C++
.cpp
70
35.585714
84
0.690126
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,264
ResourcePackParse_test.cpp
PrismLauncher_PrismLauncher/tests/ResourcePackParse_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
2,746
C++
.cpp
60
40.066667
136
0.704733
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,265
MetaComponentParse_test.cpp
PrismLauncher_PrismLauncher/tests/MetaComponentParse_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
3,116
C++
.cpp
71
39.859155
82
0.723341
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,266
Task_test.cpp
PrismLauncher_PrismLauncher/tests/Task_test.cpp
#include <QTest> #include <QThread> #include <QTimer> #include <tasks/ConcurrentTask.h> #include <tasks/MultipleOptionsTask.h> #include <tasks/SequentialTask.h> #include <tasks/Task.h> #include <array> /* Does nothing. Only used for testing. */ class BasicTask : public Task { Q_OBJECT friend class TaskTest;...
7,726
C++
.cpp
206
29.514563
130
0.602547
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,267
FileSystem_test.cpp
PrismLauncher_PrismLauncher/tests/FileSystem_test.cpp
#include <QDir> #include <QStandardPaths> #include <QTemporaryDir> #include <QTest> #include <tasks/Task.h> #include <FileSystem.h> #include <StringUtils.h> // Snippet from https://github.com/gulrak/filesystem#using-it-as-single-file-header #ifdef __APPLE__ #include <Availability.h> // for deployment target to sup...
26,897
C++
.cpp
600
34.016667
140
0.551818
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,268
TexturePackParse_test.cpp
PrismLauncher_PrismLauncher/tests/TexturePackParse_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 flowln <flowlnlnln@gmail.com> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publi...
2,393
C++
.cpp
56
37.785714
109
0.714532
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,269
Index_test.cpp
PrismLauncher_PrismLauncher/tests/Index_test.cpp
#include <QTest> #include <meta/Index.h> #include <meta/VersionList.h> class IndexTest : public QObject { Q_OBJECT private slots: void test_hasUid_and_getList() { Meta::Index windex({ std::make_shared<Meta::VersionList>("list1"), std::make_shared<Meta::VersionList>("list2"), ...
1,726
C++
.cpp
35
40.028571
121
0.596085
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,270
Library_test.cpp
PrismLauncher_PrismLauncher/tests/Library_test.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
15,465
C++
.cpp
324
39.030864
140
0.642546
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,271
MojangVersionFormat_test.cpp
PrismLauncher_PrismLauncher/tests/MojangVersionFormat_test.cpp
#include <QDebug> #include <QTest> #include <minecraft/MojangVersionFormat.h> class MojangVersionFormatTest : public QObject { Q_OBJECT static QJsonDocument readJson(const QString path) { QFile jsonFile(path); jsonFile.open(QIODevice::ReadOnly); auto data = jsonFile.readAll(); ...
1,605
C++
.cpp
42
31.714286
100
0.686817
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,272
JavaVersion_test.cpp
PrismLauncher_PrismLauncher/tests/JavaVersion_test.cpp
#include <QTest> #include <java/JavaVersion.h> class JavaVersionTest : public QObject { Q_OBJECT private slots: void test_Parse_data() { QTest::addColumn<QString>("string"); QTest::addColumn<int>("major"); QTest::addColumn<int>("minor"); QTest::addColumn<int>("security")...
5,637
C++
.cpp
125
32.176
89
0.449391
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
false
29,273
Version_test.cpp
PrismLauncher_PrismLauncher/tests/Version_test.cpp
/* Copyright 2013-2021 MultiMC Contributors * * 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...
7,062
C++
.cpp
147
33.612245
111
0.490621
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,274
ResourceModel_test.cpp
PrismLauncher_PrismLauncher/tests/ResourceModel_test.cpp
#include <QAbstractItemModelTester> #include <QTest> #include <QTimer> #include <Json.h> #include <ui/pages/modplatform/ResourceModel.h> #include "DummyResourceAPI.h" using ResourceDownload::ResourceModel; #define EXEC_TASK(EXEC) \ QEventLoop loop...
3,974
C++
.cpp
71
44.633803
114
0.517144
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,276
ShaderPackParse_test.cpp
PrismLauncher_PrismLauncher/tests/ShaderPackParse_test.cpp
// SPDX-FileCopyrightText: 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> // // SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or m...
2,305
C++
.cpp
57
35.54386
84
0.7114
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,277
INIFile_test.cpp
PrismLauncher_PrismLauncher/tests/INIFile_test.cpp
#include <QTest> #include <settings/INIFile.h> #include <QList> #include <QSettings> #include <QTemporaryFile> #include <QVariant> #include "FileSystem.h" #include <QVariantUtils.h> class IniFileTest : public QObject { Q_OBJECT private slots: void initTestCase() {} void cleanupTestCase() {} void ...
6,582
C++
.cpp
169
32.011834
128
0.630384
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,278
WindowsConsole.h
PrismLauncher_PrismLauncher/launcher/WindowsConsole.h
// // SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the...
893
C++
.h
22
38.727273
82
0.762673
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,280
Application.h
PrismLauncher_PrismLauncher/launcher/Application.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2022 Tayou <git@tayou.org> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or mod...
9,556
C++
.h
249
34.052209
135
0.736466
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,281
InstanceList.h
PrismLauncher_PrismLauncher/launcher/InstanceList.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Founda...
7,159
C++
.h
166
38.885542
134
0.740474
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,282
FastFileIconProvider.h
PrismLauncher_PrismLauncher/launcher/FastFileIconProvider.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Founda...
910
C++
.h
23
37.521739
74
0.759322
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,283
BaseInstance.h
PrismLauncher_PrismLauncher/launcher/BaseInstance.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (c) 2022 Jamie Mansfield <jmansfield@cadixdev.org> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redist...
10,153
C++
.h
254
35.291339
135
0.720838
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,284
KonamiCode.h
PrismLauncher_PrismLauncher/launcher/KonamiCode.h
#pragma once #include <QKeyEvent> class KonamiCode : public QObject { Q_OBJECT public: KonamiCode(QObject* parent = 0); void input(QEvent* event); signals: void triggered(); private: int m_progress = 0; };
239
C++
.h
12
16.166667
36
0.67713
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,285
FileSystem.h
PrismLauncher_PrismLauncher/launcher/FileSystem.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2022 TheKodeToad <TheKodeToad@proton.me> * Copyright (C) 2022 Rachel Powers <508861+Ryex@users.noreply.github.com> * * This program is free software: you...
16,835
C++
.h
481
28.70894
134
0.64579
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,286
ExponentialSeries.h
PrismLauncher_PrismLauncher/launcher/ExponentialSeries.h
#pragma once template <typename T> inline void clamp(T& current, T min, T max) { if (current < min) { current = min; } else if (current > max) { current = max; } } // List of numbers from min to max. Next is exponent times bigger than previous. class ExponentialSeries { public: Ex...
787
C++
.h
32
19.375
80
0.608522
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,287
SeparatorPrefixTree.h
PrismLauncher_PrismLauncher/launcher/SeparatorPrefixTree.h
#pragma once #include <QMap> #include <QString> #include <QStringList> template <char Tseparator> class SeparatorPrefixTree { public: SeparatorPrefixTree(QStringList paths) { insert(paths); } SeparatorPrefixTree(bool contained = false) { m_contained = contained; } void insert(QStringList paths) { ...
7,135
C++
.h
214
22.785047
94
0.521796
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,288
Commandline.h
PrismLauncher_PrismLauncher/launcher/Commandline.h
/* Copyright 2013-2021 MultiMC Contributors * * Authors: Orochimarufan <orochimarufan.x3@gmail.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/licen...
1,068
C++
.h
31
32.580645
75
0.768411
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,289
SysInfo.h
PrismLauncher_PrismLauncher/launcher/SysInfo.h
#include <QString> namespace SysInfo { QString currentSystem(); QString useQTForArch(); QString getSupportedJavaArchitecture(); int suitableMaxMem(); } // namespace SysInfo
175
C++
.h
7
23.857143
39
0.820359
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,290
InstanceImportTask.h
PrismLauncher_PrismLauncher/launcher/InstanceImportTask.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
2,738
C++
.h
76
32.486842
124
0.711916
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,291
InstancePageProvider.h
PrismLauncher_PrismLauncher/launcher/InstancePageProvider.h
#pragma once #include <FileSystem.h> #include "minecraft/MinecraftInstance.h" #include "ui/pages/BasePage.h" #include "ui/pages/BasePageProvider.h" #include "ui/pages/instance/InstanceSettingsPage.h" #include "ui/pages/instance/LogPage.h" #include "ui/pages/instance/ManagedPackPage.h" #include "ui/pages/instance/ModFol...
2,642
C++
.h
54
43.518519
103
0.722523
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,292
MessageLevel.h
PrismLauncher_PrismLauncher/launcher/MessageLevel.h
#pragma once #include <QString> /** * @brief the MessageLevel Enum * defines what level a log message is */ namespace MessageLevel { enum Enum { Unknown, /**< No idea what this is or where it came from */ StdOut, /**< Undetermined stderr messages */ StdErr, /**< Undetermined stdout messages */ ...
773
C++
.h
23
30.608696
75
0.654618
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,293
RuntimeContext.h
PrismLauncher_PrismLauncher/launcher/RuntimeContext.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
2,373
C++
.h
60
34.15
96
0.689236
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,294
QVariantUtils.h
PrismLauncher_PrismLauncher/launcher/QVariantUtils.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publi...
2,156
C++
.h
61
32.704918
80
0.720785
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,295
LoggedProcess.h
PrismLauncher_PrismLauncher/launcher/LoggedProcess.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022,2023 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
2,944
C++
.h
79
33.962025
111
0.723449
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,296
Exception.h
PrismLauncher_PrismLauncher/launcher/Exception.h
// SPDX-License-Identifier: GPL-3.0-only AND Apache-2.0 /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2024 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free ...
2,070
C++
.h
48
40.75
129
0.72448
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,297
JavaCommon.h
PrismLauncher_PrismLauncher/launcher/JavaCommon.h
#pragma once #include <java/JavaChecker.h> class QWidget; /** * Common UI bits for the java pages to use. */ namespace JavaCommon { bool checkJVMArgs(QString args, QWidget* parent); // Show a dialog saying that the Java binary was usable void javaWasOk(QWidget* parent, const JavaChecker::Result& result); // Show a...
1,407
C++
.h
39
32.769231
110
0.734559
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,298
Filter.h
PrismLauncher_PrismLauncher/launcher/Filter.h
#pragma once #include <QRegularExpression> #include <QString> class Filter { public: virtual ~Filter() = default; virtual bool accepts(const QString& value) = 0; }; class ContainsFilter : public Filter { public: ContainsFilter(const QString& pattern); virtual ~ContainsFilter() = default; bo...
1,366
C++
.h
49
24.081633
55
0.731801
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,299
LaunchController.h
PrismLauncher_PrismLauncher/launcher/LaunchController.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
3,398
C++
.h
83
37.445783
105
0.733617
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,300
PSaveFile.h
PrismLauncher_PrismLauncher/launcher/PSaveFile.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023-2024 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softwar...
2,552
C++
.h
67
34.925373
101
0.731668
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,301
ProblemProvider.h
PrismLauncher_PrismLauncher/launcher/ProblemProvider.h
#pragma once #include <QList> #include <QString> enum class ProblemSeverity { None, Warning, Error }; struct PatchProblem { ProblemSeverity m_severity; QString m_description; }; class ProblemProvider { public: virtual ~ProblemProvider() {} virtual const QList<PatchProblem> getProblems() const = 0...
974
C++
.h
29
29.172414
85
0.732694
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,302
Markdown.h
PrismLauncher_PrismLauncher/launcher/Markdown.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 Joshua Goins <josh@redstrate.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
842
C++
.h
21
38.285714
74
0.7558
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,303
NullInstance.h
PrismLauncher_PrismLauncher/launcher/NullInstance.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
3,455
C++
.h
76
41.802632
118
0.729346
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,304
InstanceCopyPrefs.h
PrismLauncher_PrismLauncher/launcher/InstanceCopyPrefs.h
// // Created by marcelohdez on 10/22/22. // #pragma once #include <QStringList> struct InstanceCopyPrefs { public: [[nodiscard]] bool allTrue() const; [[nodiscard]] QString getSelectedFiltersAsRegex() const; [[nodiscard]] QString getSelectedFiltersAsRegex(const QStringList& additionalFilters) const; ...
1,970
C++
.h
53
32.660377
96
0.731835
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,305
MMCZip.h
PrismLauncher_PrismLauncher/launcher/MMCZip.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (c) 2023-2024 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU...
8,448
C++
.h
210
36.457143
137
0.732976
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,306
VersionProxyModel.h
PrismLauncher_PrismLauncher/launcher/VersionProxyModel.h
#pragma once #include <QAbstractProxyModel> #include "BaseVersionList.h" #include <Filter.h> class VersionFilterModel; class VersionProxyModel : public QAbstractProxyModel { Q_OBJECT public: enum Column { Name, ParentVersion, Branch, Type, CPUArchitecture, Path, Time, JavaName, JavaMajor }; using Filt...
2,423
C++
.h
48
45.916667
117
0.771997
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,307
DataMigrationTask.h
PrismLauncher_PrismLauncher/launcher/DataMigrationTask.h
// SPDX-FileCopyrightText: 2022 Sefa Eyeoglu <contact@scrumplex.net> // // SPDX-License-Identifier: GPL-3.0-only #pragma once #include "FileSystem.h" #include "pathmatcher/IPathMatcher.h" #include "tasks/Task.h" #include <QFuture> #include <QFutureWatcher> /* * Migrate existing data from other MMC-like launchers. ...
977
C++
.h
33
26.090909
116
0.744385
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,308
StringUtils.h
PrismLauncher_PrismLauncher/launcher/StringUtils.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2023 flowln <flowlnlnln@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publi...
3,017
C++
.h
77
37.311688
117
0.753673
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,309
BaseVersionList.h
PrismLauncher_PrismLauncher/launcher/BaseVersionList.h
/* Copyright 2013-2021 MultiMC Contributors * * 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...
4,386
C++
.h
105
37.009524
94
0.712846
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,310
Usable.h
PrismLauncher_PrismLauncher/launcher/Usable.h
#pragma once #include <cstddef> #include <memory> #include "QObjectPtr.h" class Usable; /** * Base class for things that can be used by multiple other things and we want to track the use count. * * @see UseLock */ class Usable { friend class UseLock; public: virtual ~Usable() {} std::size_t use...
1,039
C++
.h
38
23.789474
111
0.680121
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,311
Untar.h
PrismLauncher_PrismLauncher/launcher/Untar.h
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023-2024 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softwar...
1,842
C++
.h
44
40.113636
93
0.743461
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,312
ApplicationMessage.h
PrismLauncher_PrismLauncher/launcher/ApplicationMessage.h
#pragma once #include <QByteArray> #include <QHash> #include <QString> struct ApplicationMessage { QString command; QHash<QString, QString> args; QByteArray serialize(); void parse(const QByteArray& input); };
229
C++
.h
10
20
40
0.75
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,313
InstanceTask.h
PrismLauncher_PrismLauncher/launcher/InstanceTask.h
#pragma once #include "settings/SettingsObject.h" #include "tasks/Task.h" /* Helpers */ enum class InstanceNameChange { ShouldChange, ShouldKeep }; [[nodiscard]] InstanceNameChange askForChangingInstanceName(QWidget* parent, const QString& old_name, const QString& new_name); enum class ShouldUpdate { Update, SkipUpda...
2,316
C++
.h
53
39.037736
127
0.723708
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,314
DefaultVariable.h
PrismLauncher_PrismLauncher/launcher/DefaultVariable.h
#pragma once template <typename T> class DefaultVariable { public: DefaultVariable(const T& value) { defaultValue = value; } DefaultVariable<T>& operator=(const T& value) { currentValue = value; is_default = currentValue == defaultValue; is_explicit = true; return *this; ...
625
C++
.h
21
24.761905
82
0.664452
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,315
MTPixmapCache.h
PrismLauncher_PrismLauncher/launcher/MTPixmapCache.h
#pragma once #include <QCoreApplication> #include <QDebug> #include <QPixmapCache> #include <QThread> #include <QTime> #include <limits> #define GET_TYPE() \ Qt::ConnectionType type; \ if (QThread::currentT...
7,286
C++
.h
135
46.62963
139
0.484662
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
29,316
MMCTime.h
PrismLauncher_PrismLauncher/launcher/MMCTime.h
/* * Copyright 2021 Jamie Mansfield <jmansfield@cadixdev.org> * * 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 b...
1,165
C++
.h
29
38.275862
95
0.76481
PrismLauncher/PrismLauncher
5,558
625
571
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false