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,104
OverrideUtils.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/helpers/OverrideUtils.cpp
#include "OverrideUtils.h" #include <QDirIterator> #include "FileSystem.h" namespace Override { void createOverrides(const QString& name, const QString& parent_folder, const QString& override_path) { QString file_path(FS::PathCombine(parent_folder, name + ".txt")); if (QFile::exists(file_path)) FS::...
1,491
C++
.cpp
42
29.619048
101
0.671089
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,105
HashUtils.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/helpers/HashUtils.cpp
#include "HashUtils.h" #include <QBuffer> #include <QDebug> #include <QFile> #include <QtConcurrentRun> #include <MurmurHash2.h> namespace Hashing { Hasher::Ptr createHasher(QString file_path, ModPlatform::ResourceProvider provider) { switch (provider) { case ModPlatform::ResourceProvider::MODRINTH: ...
4,838
C++
.cpp
149
25.456376
132
0.610957
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,106
FlamePackIndex.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlamePackIndex.cpp
#include "FlamePackIndex.h" #include <QFileInfo> #include <QUrl> #include "Json.h" #include "modplatform/ModIndex.h" void Flame::loadIndexedPack(Flame::IndexedPack& pack, QJsonObject& obj) { pack.addonId = Json::requireInteger(obj, "id"); pack.name = Json::requireString(obj, "name"); pack.description = Js...
5,155
C++
.cpp
118
35.127119
123
0.631159
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,107
FlameCheckUpdate.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlameCheckUpdate.cpp
#include "FlameCheckUpdate.h" #include "Application.h" #include "FlameAPI.h" #include "FlameModIndex.h" #include <MurmurHash2.h> #include <memory> #include "Json.h" #include "ResourceDownloadTask.h" #include "minecraft/mod/ModFolderModel.h" #include "minecraft/mod/tasks/GetModDependenciesTask.h" #include "net/ApiD...
7,228
C++
.cpp
152
38.848684
138
0.629119
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,108
PackManifest.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/PackManifest.cpp
#include "PackManifest.h" #include "Json.h" static void loadFileV1(Flame::File& f, QJsonObject& file) { f.projectId = Json::requireInteger(file, "projectID"); f.fileId = Json::requireInteger(file, "fileID"); f.required = Json::ensureBoolean(file, QString("required"), true); } static void loadModloaderV1(F...
2,530
C++
.cpp
58
38.896552
106
0.70122
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,109
FlamePackExportTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlamePackExportTask.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * Copyright (c) 2023 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gener...
17,155
C++
.cpp
392
34.048469
139
0.60055
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,110
FlameInstanceCreationTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlameInstanceCreationTask.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...
26,800
C++
.cpp
583
36.524871
138
0.614088
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,111
FileResolvingTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FileResolvingTask.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,100
C++
.cpp
232
34.87931
129
0.614251
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,112
FlameAPI.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlameAPI.cpp
// SPDX-FileCopyrightText: 2023 flowln <flowlnlnln@gmail.com> // // SPDX-License-Identifier: GPL-3.0-only #include "FlameAPI.h" #include <memory> #include <optional> #include "FlameModIndex.h" #include "Application.h" #include "Json.h" #include "modplatform/ModIndex.h" #include "net/ApiDownload.h" #include "net/ApiUp...
10,627
C++
.cpp
228
39.201754
137
0.649318
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,113
FlameModIndex.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/flame/FlameModIndex.cpp
#include "FlameModIndex.h" #include "FileSystem.h" #include "Json.h" #include "minecraft/MinecraftInstance.h" #include "minecraft/PackProfile.h" #include "modplatform/flame/FlameAPI.h" static FlameAPI api; void FlameMod::loadIndexedPack(ModPlatform::IndexedPack& pack, QJsonObject& obj) { pack.addonId = Json::req...
8,996
C++
.cpp
206
35.286408
140
0.641128
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,114
PackInstallTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/legacy_ftb/PackInstallTask.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,558
C++
.cpp
189
34.883598
137
0.6915
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,115
PackFetchTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/legacy_ftb/PackFetchTask.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,117
C++
.cpp
164
36.957317
123
0.669463
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,116
PrivatePackManager.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/legacy_ftb/PrivatePackManager.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,485
C++
.cpp
67
33.701493
108
0.689212
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,117
PackInstallTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/import_ftb/PackInstallTask.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023 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...
3,797
C++
.cpp
91
35.362637
105
0.68508
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,118
PackHelpers.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/import_ftb/PackHelpers.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023 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...
3,697
C++
.cpp
85
36.070588
104
0.631068
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,119
TechnicPackProcessor.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/technic/TechnicPackProcessor.cpp
/* Copyright 2020-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...
9,511
C++
.cpp
193
35.974093
138
0.569401
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,120
SolderPackManifest.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/technic/SolderPackManifest.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 Jamie Mansfield <jmansfield@cadixdev.org> * * 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 ...
1,813
C++
.cpp
49
33.469388
74
0.707123
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,121
SingleZipPackInstallTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/technic/SingleZipPackInstallTask.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...
5,228
C++
.cpp
118
39.381356
137
0.722506
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,122
SolderPackInstallTask.cpp
PrismLauncher_PrismLauncher/launcher/modplatform/technic/SolderPackInstallTask.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2021-2022 Jamie Mansfield <jmansfield@cadixdev.org> * * 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 Soft...
8,232
C++
.cpp
190
37.126316
140
0.683429
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,123
INIFile.cpp
PrismLauncher_PrismLauncher/launcher/settings/INIFile.cpp
// 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...
6,739
C++
.cpp
190
29.221053
139
0.609042
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,124
OverrideSetting.cpp
PrismLauncher_PrismLauncher/launcher/settings/OverrideSetting.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,281
C++
.cpp
45
25.866667
138
0.727421
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,127
PassthroughSetting.cpp
PrismLauncher_PrismLauncher/launcher/settings/PassthroughSetting.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,523
C++
.cpp
57
23.333333
101
0.693626
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,129
POTranslator.cpp
PrismLauncher_PrismLauncher/launcher/translations/POTranslator.cpp
#include "POTranslator.h" #include <QDebug> #include "FileSystem.h" struct POEntry { QString text; bool fuzzy; }; struct POTranslatorPrivate { QString filename; QHash<QByteArray, POEntry> mapping; QHash<QByteArray, POEntry> mapping_disambiguatrion; bool loaded = false; void reload(); }; ...
10,148
C++
.cpp
297
20.555556
134
0.431985
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,130
TranslationsModel.cpp
PrismLauncher_PrismLauncher/launcher/translations/TranslationsModel.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...
21,342
C++
.cpp
561
31.048128
136
0.626812
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,131
TaskStepWrapper.cpp
PrismLauncher_PrismLauncher/launcher/launch/TaskStepWrapper.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,992
C++
.cpp
61
28.590164
96
0.685714
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,132
LaunchTask.cpp
PrismLauncher_PrismLauncher/launcher/launch/LaunchTask.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,422
C++
.cpp
244
25.065574
120
0.652958
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,133
LogModel.cpp
PrismLauncher_PrismLauncher/launcher/launch/LogModel.cpp
#include "LogModel.h" LogModel::LogModel(QObject* parent) : QAbstractListModel(parent) { m_content.resize(m_maxLines); } int LogModel::rowCount(const QModelIndex& parent) const { if (parent.isValid()) return 0; return m_numLines; } QVariant LogModel::data(const QModelIndex& index, int role) cons...
3,636
C++
.cpp
134
22.097015
96
0.623529
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,134
LaunchStep.cpp
PrismLauncher_PrismLauncher/launcher/launch/LaunchStep.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,153
C++
.cpp
24
45.583333
108
0.766637
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,136
LookupServerAddress.cpp
PrismLauncher_PrismLauncher/launcher/launch/steps/LookupServerAddress.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,125
C++
.cpp
77
34.649351
137
0.683811
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,137
CheckJava.cpp
PrismLauncher_PrismLauncher/launcher/launch/steps/CheckJava.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,023
C++
.cpp
141
42.702128
138
0.673847
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,138
QuitAfterGameStop.cpp
PrismLauncher_PrismLauncher/launcher/launch/steps/QuitAfterGameStop.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 dada513 <dada513@protonmail.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 Foundatio...
895
C++
.cpp
24
35.416667
74
0.754891
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,139
TextPrint.cpp
PrismLauncher_PrismLauncher/launcher/launch/steps/TextPrint.cpp
#include "TextPrint.h" TextPrint::TextPrint(LaunchTask* parent, const QStringList& lines, MessageLevel::Enum level) : LaunchStep(parent) { m_lines = lines; m_level = level; } TextPrint::TextPrint(LaunchTask* parent, const QString& line, MessageLevel::Enum level) : LaunchStep(parent) { m_lines.append(line);...
566
C++
.cpp
25
20.04
113
0.72067
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,140
PrintServers.cpp
PrismLauncher_PrismLauncher/launcher/launch/steps/PrintServers.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2024 Leia uwu <leia@tutamail.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, v...
1,974
C++
.cpp
57
30.140351
95
0.675746
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,142
FileLink.cpp
PrismLauncher_PrismLauncher/launcher/filelink/FileLink.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...
8,714
C++
.cpp
217
33.516129
130
0.631492
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,143
filelink_main.cpp
PrismLauncher_PrismLauncher/launcher/filelink/filelink_main.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...
1,253
C++
.cpp
37
29.405405
84
0.688944
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,144
JavaMetadata.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaMetadata.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...
3,829
C++
.cpp
114
29
87
0.663875
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,145
JavaVersion.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaVersion.cpp
#include "JavaVersion.h" #include "StringUtils.h" #include <QRegularExpression> #include <QString> JavaVersion& JavaVersion::operator=(const QString& javaVersionString) { m_string = javaVersionString; auto getCapturedInteger = [](const QRegularExpressionMatch& match, const QString& what) -> int { au...
4,082
C++
.cpp
114
29.842105
138
0.62557
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,146
JavaInstall.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaInstall.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...
1,851
C++
.cpp
57
29.052632
88
0.693341
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,147
JavaInstallList.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaInstallList.cpp
// 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...
6,703
C++
.cpp
185
31.540541
139
0.685419
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,148
JavaUtils.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaUtils.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...
23,369
C++
.cpp
495
40.169697
139
0.672134
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,149
JavaChecker.cpp
PrismLauncher_PrismLauncher/launcher/java/JavaChecker.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...
6,873
C++
.cpp
184
32.679348
124
0.664816
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,150
SymlinkTask.cpp
PrismLauncher_PrismLauncher/launcher/java/download/SymlinkTask.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...
2,805
C++
.cpp
71
35.070423
139
0.696514
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,151
ManifestDownloadTask.cpp
PrismLauncher_PrismLauncher/launcher/java/download/ManifestDownloadTask.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...
5,825
C++
.cpp
126
39.849206
133
0.668601
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,152
ArchiveDownloadTask.cpp
PrismLauncher_PrismLauncher/launcher/java/download/ArchiveDownloadTask.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...
5,615
C++
.cpp
129
37.023256
114
0.6621
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,153
Version.cpp
PrismLauncher_PrismLauncher/launcher/meta/Version.cpp
/* Copyright 2015-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,027
C++
.cpp
113
23.424779
117
0.686119
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,154
BaseEntity.cpp
PrismLauncher_PrismLauncher/launcher/meta/BaseEntity.cpp
/* Copyright 2015-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...
6,887
C++
.cpp
176
33.204545
138
0.654507
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,155
Index.cpp
PrismLauncher_PrismLauncher/launcher/meta/Index.cpp
/* Copyright 2015-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,863
C++
.cpp
145
28.165517
137
0.637524
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,156
JsonFormat.cpp
PrismLauncher_PrismLauncher/launcher/meta/JsonFormat.cpp
/* Copyright 2015-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...
6,612
C++
.cpp
181
31.19337
121
0.68554
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,157
VersionList.cpp
PrismLauncher_PrismLauncher/launcher/meta/VersionList.cpp
/* Copyright 2015-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...
10,157
C++
.cpp
284
30.274648
138
0.646234
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,158
VanillaInstanceCreationTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/VanillaInstanceCreationTask.cpp
#include "VanillaInstanceCreationTask.h" #include <utility> #include "FileSystem.h" #include "minecraft/MinecraftInstance.h" #include "minecraft/PackProfile.h" #include "settings/INISettingsObject.h" VanillaCreationTask::VanillaCreationTask(BaseVersion::Ptr version, QString loader, BaseVersion::Ptr loader_version) ...
1,293
C++
.cpp
31
36.741935
115
0.72749
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,159
LaunchProfile.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/LaunchProfile.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,963
C++
.cpp
325
26.243077
113
0.702034
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,160
MojangVersionFormat.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/MojangVersionFormat.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...
13,613
C++
.cpp
337
34.020772
139
0.667724
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,161
Logging.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/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 *...
998
C++
.cpp
22
42.363636
81
0.751546
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,162
WorldList.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/WorldList.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...
12,496
C++
.cpp
379
24.923483
132
0.590822
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,163
PackProfile.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/PackProfile.cpp
// SPDX-FileCopyrightText: 2022-2023 Sefa Eyeoglu <contact@scrumplex.net> // // SPDX-License-Identifier: GPL-3.0-only AND Apache-2.0 /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022-2023 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (C) 2022 TheKodeToad <TheKodeToad@proton.me> * * This program...
35,019
C++
.cpp
934
30.88758
139
0.640042
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,164
ComponentUpdateTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/ComponentUpdateTask.cpp
#include "ComponentUpdateTask.h" #include <algorithm> #include "Component.h" #include "ComponentUpdateTask_p.h" #include "PackProfile.h" #include "PackProfile_p.h" #include "ProblemProvider.h" #include "Version.h" #include "cassert" #include "meta/Index.h" #include "meta/Version.h" #include "minecraft/MinecraftInstanc...
34,158
C++
.cpp
738
33.252033
140
0.556458
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,165
MinecraftLoadAndCheck.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/MinecraftLoadAndCheck.cpp
#include "MinecraftLoadAndCheck.h" #include "MinecraftInstance.h" #include "PackProfile.h" MinecraftLoadAndCheck::MinecraftLoadAndCheck(MinecraftInstance* inst, Net::Mode netmode) : m_inst(inst), m_netmode(netmode) {} void MinecraftLoadAndCheck::executeTask() { // add offline metadata load task auto component...
1,447
C++
.cpp
38
33.710526
126
0.69395
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,166
VersionFile.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/VersionFile.cpp
// 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> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
3,296
C++
.cpp
80
37.6875
87
0.740648
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,167
Library.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/Library.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...
14,820
C++
.cpp
380
31.9
125
0.645206
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,168
World.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/World.cpp
// 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> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
14,935
C++
.cpp
477
25.72956
101
0.633315
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,170
MinecraftInstance.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/MinecraftInstance.cpp
// 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...
45,917
C++
.cpp
1,113
34.986523
139
0.662939
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,171
AssetsUtils.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/AssetsUtils.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,072
C++
.cpp
270
31.274074
138
0.648241
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,172
ParseUtils.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/ParseUtils.cpp
#include "ParseUtils.h" #include <QDateTime> #include <QDebug> #include <QString> #include <cstdlib> QDateTime timeFromS3Time(QString str) { return QDateTime::fromString(str, Qt::ISODate); } QString timeToS3Time(QDateTime time) { // this all because Qt can't format timestamps right. int offsetRaw = time.o...
892
C++
.cpp
28
28.214286
63
0.67366
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,173
OneSixVersionFormat.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/OneSixVersionFormat.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,602
C++
.cpp
368
35.32337
131
0.651435
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,174
ProfileUtils.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/ProfileUtils.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...
6,338
C++
.cpp
161
33.621118
138
0.667315
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,176
Component.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/Component.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...
12,504
C++
.cpp
433
23.685912
135
0.641348
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,177
SkinDelete.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/skins/SkinDelete.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (c) 2023 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
2,301
C++
.cpp
57
37.929825
89
0.730683
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,178
SkinList.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/skins/SkinList.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023 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...
11,495
C++
.cpp
357
25.078431
118
0.582508
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,179
SkinUpload.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/skins/SkinUpload.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (c) 2023 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
3,094
C++
.cpp
70
41.328571
123
0.733577
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,180
CapeChange.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/skins/CapeChange.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> * Copyright (c) 2023 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
2,628
C++
.cpp
64
38.140625
94
0.715012
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,181
SkinModel.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/skins/SkinModel.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023 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...
2,260
C++
.cpp
68
29.985294
137
0.685151
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,182
TexturePack.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/TexturePack.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,468
C++
.cpp
64
34.765625
132
0.719129
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,183
ResourceFolderModel.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/ResourceFolderModel.cpp
#include "ResourceFolderModel.h" #include <QMessageBox> #include <QCoreApplication> #include <QDebug> #include <QFileInfo> #include <QHeaderView> #include <QIcon> #include <QMenu> #include <QMimeData> #include <QStyle> #include <QThreadPool> #include <QUrl> #include <utility> #include "Application.h" #include "FileSy...
27,724
C++
.cpp
699
30.914163
138
0.607657
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,184
Resource.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/Resource.cpp
#include "Resource.h" #include <QDirIterator> #include <QFileInfo> #include <QRegularExpression> #include <tuple> #include "FileSystem.h" #include "StringUtils.h" Resource::Resource(QObject* parent) : QObject(parent) {} Resource::Resource(QFileInfo file_info) : QObject() { setFile(file_info); } void Resource::...
6,926
C++
.cpp
218
24.697248
106
0.602341
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,185
ResourcePack.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/ResourcePack.cpp
#include "ResourcePack.h" #include <QCoreApplication> #include <QDebug> #include <QMap> #include <QRegularExpression> #include "MTPixmapCache.h" #include "Version.h" #include "minecraft/mod/tasks/LocalResourcePackParseTask.h" // Values taken from: // https://minecraft.wiki/w/Pack_format#List_of_resource_pack_format...
5,400
C++
.cpp
118
40.466102
132
0.613511
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,186
WorldSave.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/WorldSave.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...
1,290
C++
.cpp
35
34.628571
84
0.757017
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,187
DataPack.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/DataPack.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...
8,577
C++
.cpp
125
37.52
138
0.366299
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,188
Mod.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/Mod.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 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it...
7,934
C++
.cpp
239
27.8159
140
0.657479
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,189
ModFolderModel.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/ModFolderModel.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 Trial97 <alexandru.tripon97@gmail.com> * * This program is free software: you can redistribute it...
9,682
C++
.cpp
225
31.697778
137
0.571747
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,190
TexturePackFolderModel.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/TexturePackFolderModel.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...
6,580
C++
.cpp
151
33.887417
183
0.606358
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,191
ResourcePackFolderModel.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/ResourcePackFolderModel.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...
8,109
C++
.cpp
181
33.707182
140
0.585166
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,192
ShaderPack.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/ShaderPack.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...
1,133
C++
.cpp
30
35.633333
84
0.758212
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,193
GetModDependenciesTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
// SPDX-License-Identifier: GPL-3.0-only /* * Prism Launcher - Minecraft Launcher * Copyright (c) 2023 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...
16,711
C++
.cpp
324
39.552469
138
0.588174
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,194
LocalModParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalModParseTask.cpp
#include "LocalModParseTask.h" #include <qdcss.h> #include <quazip/quazip.h> #include <quazip/quazipfile.h> #include <toml++/toml.h> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QJsonValue> #include <QString> #include "FileSystem.h" #include "Json.h" #include "minecraft/mod/ModDetai...
26,889
C++
.cpp
645
31.945736
150
0.582951
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,195
ResourceFolderLoadTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/ResourceFolderLoadTask.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...
5,656
C++
.cpp
132
34.469697
106
0.627747
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,196
LocalResourceUpdateTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalResourceUpdateTask.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,343
C++
.cpp
58
36.758621
137
0.719684
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,197
LocalShaderPackParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalShaderPackParseTask.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...
3,264
C++
.cpp
92
31.108696
129
0.702763
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,198
LocalTexturePackParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalTexturePackParseTask.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...
7,226
C++
.cpp
204
27.343137
133
0.60281
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,199
LocalWorldSaveParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalWorldSaveParseTask.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...
5,296
C++
.cpp
154
29.62987
123
0.656874
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,200
LocalDataPackParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalDataPackParseTask.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...
5,309
C++
.cpp
141
32.092199
121
0.658807
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,201
LocalResourceParse.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalResourceParse.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...
3,585
C++
.cpp
70
40.085714
138
0.607357
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,202
LocalResourcePackParseTask.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/mod/tasks/LocalResourcePackParseTask.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, ...
12,468
C++
.cpp
318
31.86478
137
0.616396
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,203
GameOptions.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/gameoptions/GameOptions.cpp
#include "GameOptions.h" #include <QDebug> #include <QSaveFile> #include "FileSystem.h" namespace { bool load(const QString& path, std::vector<GameOptionItem>& contents, int& version) { contents.clear(); QFile file(path); if (!file.open(QFile::ReadOnly)) { qWarning() << "Failed to read options file...
3,102
C++
.cpp
116
20.87931
107
0.590114
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,204
AuthFlow.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/AuthFlow.cpp
#include <QDebug> #include <QNetworkAccessManager> #include <QNetworkReply> #include <QNetworkRequest> #include "minecraft/auth/AccountData.h" #include "minecraft/auth/steps/EntitlementsStep.h" #include "minecraft/auth/steps/GetSkinStep.h" #include "minecraft/auth/steps/LauncherLoginStep.h" #include "minecraft/auth/st...
5,696
C++
.cpp
146
31.376712
130
0.648258
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,205
Parsers.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/Parsers.cpp
#include "Parsers.h" #include "Json.h" #include "Logging.h" #include <QDebug> #include <QJsonArray> #include <QJsonDocument> namespace Parsers { bool getDateTime(QJsonValue value, QDateTime& out) { if (!value.isString()) { return false; } out = QDateTime::fromString(value.toString(), Qt::ISODate)...
14,870
C++
.cpp
443
26.75395
132
0.606345
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,206
AuthSession.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/AuthSession.cpp
#include "AuthSession.h" #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QStringList> QString AuthSession::serializeUserProperties() { QJsonObject userAttrs; /* for (auto key : u.properties.keys()) { auto array = QJsonArray::fromStringList(u.properties.values(key...
996
C++
.cpp
39
21.615385
74
0.68377
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,207
MinecraftAccount.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/MinecraftAccount.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...
10,389
C++
.cpp
275
32.843636
123
0.684518
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,208
AccountList.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/AccountList.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...
22,042
C++
.cpp
610
27.74918
129
0.601986
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,209
AccountData.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/AccountData.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...
12,307
C++
.cpp
355
27.842254
101
0.62198
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,210
MinecraftProfileStep.cpp
PrismLauncher_PrismLauncher/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp
#include "MinecraftProfileStep.h" #include <QNetworkRequest> #include "Application.h" #include "minecraft/auth/Parsers.h" #include "net/NetUtils.h" #include "net/RawHeaderProxy.h" MinecraftProfileStep::MinecraftProfileStep(AccountData* data) : AuthStep(data) {} QString MinecraftProfileStep::describe() { return ...
2,825
C++
.cpp
57
41.842105
130
0.654446
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