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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15,573 | audio3d_impl.cpp | shadps4-emu_shadPS4/src/core/libraries/audio3d/audio3d_impl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "audio3d_error.h"
#include "audio3d_impl.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/libkernel.h"
using namespace Libraries::Kernel;
... | 385 | C++ | .cpp | 9 | 41.333333 | 66 | 0.801075 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,574 | audio3d.cpp | shadps4-emu_shadPS4/src/core/libraries/audio3d/audio3d.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "audio3d.h"
#include "audio3d_error.h"
#include "audio3d_impl.h"
#include "common/logging/log.h"
#include "core/libraries/audio/audioout.h"
#include "core/libraries/error_codes.h"
#include "core/li... | 15,014 | C++ | .cpp | 297 | 41.323232 | 100 | 0.661373 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,575 | gnmdriver.cpp | shadps4-emu_shadPS4/src/core/libraries/gnmdriver/gnmdriver.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "gnm_error.h"
#include "gnmdriver.h"
#include "common/assert.h"
#include "common/config.h"
#include "common/debug.h"
#include "common/logging/log.h"
#include "common/path_util.h"
#include "common/s... | 122,174 | C++ | .cpp | 2,726 | 37.34226 | 114 | 0.652913 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,576 | msgdialog_ui.cpp | shadps4-emu_shadPS4/src/core/libraries/system/msgdialog_ui.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <thread>
#include <utility>
#include <imgui.h>
#include "common/assert.h"
#include "imgui/imgui_std.h"
#include "msgdialog_ui.h"
using namespace ImGui;
using namespace Libraries::CommonDialog;
usi... | 9,492 | C++ | .cpp | 280 | 27.167857 | 100 | 0.597911 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,577 | userservice.cpp | shadps4-emu_shadPS4/src/core/libraries/system/userservice.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/system/userservice.h"
namespace Libraries::UserS... | 116,211 | C++ | .cpp | 2,594 | 38.798766 | 99 | 0.71515 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,578 | commondialog.cpp | shadps4-emu_shadPS4/src/core/libraries/system/commondialog.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/system/commondialog.h"
namespace Libraries::CommonDialog {
bool g_isInitial... | 8,145 | C++ | .cpp | 185 | 38.308108 | 84 | 0.713511 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,579 | sysmodule.cpp | shadps4-emu_shadPS4/src/core/libraries/system/sysmodule.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#define MAGIC_ENUM_RANGE_MIN 0
#define MAGIC_ENUM_RANGE_MAX 300
#include <magic_enum.hpp>
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "c... | 4,729 | C++ | .cpp | 110 | 37.545455 | 86 | 0.714224 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,580 | msgdialog.cpp | shadps4-emu_shadPS4/src/core/libraries/system/msgdialog.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <imgui.h>
#include <magic_enum.hpp>
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/libs.h"
#include "core/libraries/system/msgdialog.h"
#include "imgui_internal... | 5,904 | C++ | .cpp | 155 | 32.225806 | 98 | 0.671087 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,581 | systemservice.cpp | shadps4-emu_shadPS4/src/core/libraries/system/systemservice.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/system/systemservice.h"
namespace Libraries::Syst... | 133,848 | C++ | .cpp | 2,896 | 40.201312 | 100 | 0.724309 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,582 | posix.cpp | shadps4-emu_shadPS4/src/core/libraries/system/posix.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/libraries/system/posix.h"
namespace Libraries::Posix {
void Registerlibsceposix(Core::Loader::SymbolsResolver* sym) {}
} // namespace Libraries::Posix
| 282 | C++ | .cpp | 6 | 45.333333 | 66 | 0.801471 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,583 | ngs2.cpp | shadps4-emu_shadPS4/src/core/libraries/ngs2/ngs2.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "ngs2.h"
#include "ngs2_error.h"
#include "ngs2_impl.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
namespace Libraries::Ngs2 {
int PS... | 14,323 | C++ | .cpp | 348 | 37.387931 | 100 | 0.710248 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,584 | ngs2_impl.cpp | shadps4-emu_shadPS4/src/core/libraries/ngs2/ngs2_impl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "ngs2_error.h"
#include "ngs2_impl.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/libkernel.h"
using namespace Libraries::Kernel;
names... | 5,140 | C++ | .cpp | 138 | 30.289855 | 99 | 0.628818 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,585 | playgo.cpp | shadps4-emu_shadPS4/src/core/libraries/playgo/playgo.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "common/singleton.h"
#include "core/file_format/playgo_chunk.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/syst... | 13,485 | C++ | .cpp | 312 | 35.958333 | 100 | 0.664225 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,586 | audioout.cpp | shadps4-emu_shadPS4/src/core/libraries/audio/audioout.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <memory>
#include <magic_enum.hpp>
#include "audio_core/sdl_audio.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/audio/audioout.h"
#include "core/libraries/e... | 22,682 | C++ | .cpp | 554 | 35.077617 | 100 | 0.685252 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,587 | audioin.cpp | shadps4-emu_shadPS4/src/core/libraries/audio/audioin.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/audio/audioin.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
namespace Libraries::AudioIn {
int PS4_SYSV_ABI sceAudioIn... | 9,663 | C++ | .cpp | 234 | 36.92735 | 100 | 0.705958 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,588 | rtc.cpp | shadps4-emu_shadPS4/src/core/libraries/rtc/rtc.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <chrono>
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/libkernel.h"
#include "core/libraries/kernel/time_management.h"
#include "core/libra... | 35,982 | C++ | .cpp | 897 | 32.936455 | 99 | 0.632963 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,589 | videodec2_impl.cpp | shadps4-emu_shadPS4/src/core/libraries/videodec/videodec2_impl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "videodec2_impl.h"
#include "common/alignment.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
// The av_err2str macro in libavutil/e... | 8,380 | C++ | .cpp | 194 | 34.273196 | 93 | 0.642663 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,590 | videodec_impl.cpp | shadps4-emu_shadPS4/src/core/libraries/videodec/videodec_impl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "videodec_impl.h"
#include "common/alignment.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
// The av_err2str macro in libavutil/error.h does... | 7,708 | C++ | .cpp | 184 | 34.353261 | 92 | 0.651884 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,591 | videodec.cpp | shadps4-emu_shadPS4/src/core/libraries/videodec/videodec.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "videodec.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "videodec_impl.h"
namespace Libraries::Videodec {
static constexpr u... | 5,213 | C++ | .cpp | 112 | 38.955357 | 99 | 0.693717 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,592 | videodec2.cpp | shadps4-emu_shadPS4/src/core/libraries/videodec/videodec2.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "videodec2.h"
#include "videodec2_impl.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
namespace L... | 7,500 | C++ | .cpp | 162 | 37.17284 | 100 | 0.679609 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,593 | avplayer_common.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer_common.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer.h"
#include "avplayer_common.h"
#include <algorithm> // std::equal
#include <cctype> // std::tolower
#include <string_view> // std::string_view
namespace Libraries::AvPlayer {
us... | 1,848 | C++ | .cpp | 47 | 34.12766 | 83 | 0.643537 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,594 | avplayer_source.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer_source.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer_source.h"
#include "avplayer_file_streamer.h"
#include "common/alignment.h"
#include "common/singleton.h"
#include "common/thread.h"
#include "core/file_sys/fs.h"
#include "core/librari... | 30,894 | C++ | .cpp | 734 | 32.514986 | 100 | 0.585026 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,595 | avplayer_impl.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer_impl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer_common.h"
#include "avplayer_file_streamer.h"
#include "avplayer_impl.h"
#include "common/logging/log.h"
#include "common/singleton.h"
#include "core/libraries/error_codes.h"
#include "co... | 7,666 | C++ | .cpp | 181 | 37.961326 | 95 | 0.718503 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,596 | avplayer_file_streamer.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer_file_streamer.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer_file_streamer.h"
#include "avplayer_common.h"
#include <magic_enum.hpp>
extern "C" {
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
}
#include <algorithm> // std::max,... | 2,996 | C++ | .cpp | 75 | 34.546667 | 100 | 0.665175 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,597 | avplayer.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer.h"
#include "avplayer_impl.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/thread_management.h"
#include "core/libraries/libs.h"... | 12,602 | C++ | .cpp | 290 | 37.393103 | 100 | 0.684618 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,598 | avplayer_state.cpp | shadps4-emu_shadPS4/src/core/libraries/avplayer/avplayer_state.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "avplayer_file_streamer.h"
#include "avplayer_source.h"
#include "avplayer_state.h"
#include "common/singleton.h"
#include "common/thread.h"
#include "core/libraries/error_codes.h"
#include "core/l... | 15,589 | C++ | .cpp | 476 | 25.331933 | 100 | 0.613036 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,599 | file_system.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/file_system.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/scope_exit.h"
#include "common/singleton.h"
#include "core/file_sys/fs.h"
#include "core/libraries/error_codes.h"
#include "core/li... | 22,948 | C++ | .cpp | 591 | 32.788494 | 100 | 0.620798 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,600 | cpu_management.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/cpu_management.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/logging/log.h"
#include "core/libraries/kernel/cpu_management.h"
namespace Libraries::Kernel {
int PS4_SYSV_ABI sceKernelIsNeoMode() {
LOG_DEBUG(Kernel_Sce, ... | 399 | C++ | .cpp | 11 | 34.181818 | 66 | 0.770833 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,601 | libkernel.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/libkernel.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <chrono>
#include <thread>
#include <boost/asio/io_context.hpp>
#include "common/assert.h"
#include "common/debug.h"
#include "common/elf_info.h"
#include "common/logging/log.h"
#include "common/p... | 19,306 | C++ | .cpp | 439 | 38.507973 | 100 | 0.666915 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,602 | event_queue.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/event_queue.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <thread>
#include "common/assert.h"
#include "core/libraries/kernel/event_queue.h"
namespace Libraries::Kernel {
EqueueInternal::~EqueueInternal() = default;
bool EqueueInternal::AddEvent(Equeue... | 4,183 | C++ | .cpp | 117 | 28.025641 | 99 | 0.590379 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,603 | memory_management.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/memory_management.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <bit>
#include "common/alignment.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/singleton.h"
#include "core/address_space.h"
#include "core/libraries/error_codes.h"
... | 18,563 | C++ | .cpp | 385 | 39.07013 | 99 | 0.610875 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,604 | event_queues.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/event_queues.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/debug.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/event_queues.h"
namespace Libraries::Kernel {
ex... | 6,689 | C++ | .cpp | 173 | 32.780347 | 99 | 0.669189 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,605 | time_management.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/time_management.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <thread>
#include "common/assert.h"
#include "common/debug.h"
#include "common/native_clock.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/time_management.h"
#include "c... | 8,949 | C++ | .cpp | 252 | 30.662698 | 99 | 0.678753 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,606 | thread_management.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/thread_management.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <mutex>
#include <semaphore>
#include <thread>
#include "common/alignment.h"
#include "common/assert.h"
#include "common/error.h"
#include "common/logging/log.h"
#include "common/singleton.h"
#incl... | 58,334 | C++ | .cpp | 1,447 | 34.107118 | 100 | 0.655092 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,607 | event_flag_obj.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/event_flag/event_flag_obj.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <thread>
#include "core/libraries/error_codes.h"
#include "event_flag_obj.h"
namespace Libraries::Kernel {
int EventFlagInternal::Wait(u64 bits, WaitMode wait_mode, ClearMode clear_mode, u64* resu... | 3,108 | C++ | .cpp | 91 | 27.10989 | 94 | 0.585252 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,608 | event_flag.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/event_flag/event_flag.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "event_flag.h"
namespace Libraries::Kernel {
int PS4_SYSV_ABI sce... | 6,667 | C++ | .cpp | 180 | 30.377778 | 96 | 0.655423 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,609 | rwlock.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/threads/rwlock.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "threads.h"
namespace Libraries::Kernel {
extern PThreadCxt* g_pthread_cxt;
int PS4_SYSV_A... | 15,211 | C++ | .cpp | 344 | 38.630814 | 100 | 0.673658 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,610 | keys.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/threads/keys.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/libraries/error_codes.h"
#include "core/libraries/kernel/thread_management.h"
#include "core/libraries/libs.h"
namespace Libraries::Kernel {
int PS4_SYSV_ABI scePthreadKeyCreate(OrbisPthread... | 1,677 | C++ | .cpp | 40 | 37.475 | 93 | 0.711739 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,611 | semaphore.cpp | shadps4-emu_shadPS4/src/core/libraries/kernel/threads/semaphore.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <condition_variable>
#include <list>
#include <mutex>
#include <pthread.h>
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/librarie... | 7,235 | C++ | .cpp | 198 | 28.131313 | 95 | 0.594379 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,612 | http.cpp | shadps4-emu_shadPS4/src/core/libraries/network/http.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/network/http.h"
namespace Libraries::Http {
int PS4_SYSV_ABI sceHttpAbortRe... | 24,732 | C++ | .cpp | 601 | 37.252912 | 99 | 0.705522 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,613 | net_ctl_obj.cpp | shadps4-emu_shadPS4/src/core/libraries/network/net_ctl_obj.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/singleton.h"
#include "core/linker.h"
#include "net_ctl_codes.h"
#include "net_ctl_obj.h"
Libraries::NetCtl::NetCtlInternal::NetCtlInternal() {
callbacks.fill({nullptr, nullptr});
n... | 2,278 | C++ | .cpp | 66 | 28.242424 | 94 | 0.647862 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,614 | net.cpp | shadps4-emu_shadPS4/src/core/libraries/network/net.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#ifdef WIN32
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <Ws2tcpip.h>
#include <iphlpapi.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
#include "common/assert.h"
#include "common/logging... | 46,419 | C++ | .cpp | 1,153 | 36.326973 | 100 | 0.698364 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,615 | ssl.cpp | shadps4-emu_shadPS4/src/core/libraries/network/ssl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/libraries/network/ssl.h"
namespace Libraries::Ssl {
int PS4_SYSV_ABI CA_MGMT_allocCer... | 43,580 | C++ | .cpp | 1,074 | 36.700186 | 100 | 0.690854 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,616 | netctl.cpp | shadps4-emu_shadPS4/src/core/libraries/network/netctl.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#ifdef WIN32
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <Ws2tcpip.h>
#include <iphlpapi.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#endif
#include "co... | 25,240 | C++ | .cpp | 604 | 36.332781 | 100 | 0.695493 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,617 | np_manager.cpp | shadps4-emu_shadPS4/src/core/libraries/np_manager/np_manager.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <common/singleton.h>
#include <core/linker.h>
#include "common/config.h"
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "np_manager... | 129,455 | C++ | .cpp | 3,032 | 36.807718 | 100 | 0.696663 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,618 | np_score.cpp | shadps4-emu_shadPS4/src/core/libraries/np_score/np_score.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "np_score.h"
namespace Libraries::NpScore {
int PS4_SYSV_ABI sceNpScoreAbortRequest() {
... | 14,380 | C++ | .cpp | 328 | 37.981707 | 100 | 0.702243 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,619 | usbd.cpp | shadps4-emu_shadPS4/src/core/libraries/usbd/usbd.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "common/singleton.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "usbd.h"
namespace Libraries::Usbd {
int PS4_SYSV_ABI sceUsbd... | 13,895 | C++ | .cpp | 340 | 37.170588 | 100 | 0.711998 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,620 | ajm_instance.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_instance.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/libraries/ajm/ajm_at9.h"
#include "core/libraries/ajm/ajm_instance.h"
#include "core/libraries/ajm/ajm_mp3.h"
#include <magic_enum.hpp>
namespace Libraries::Ajm {
constexpr int ORBIS_AJM_RE... | 5,666 | C++ | .cpp | 132 | 34.871212 | 94 | 0.636166 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,621 | ajm_mp3.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_mp3.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "core/libraries/ajm/ajm_error.h"
#include "core/libraries/ajm/ajm_mp3.h"
#include "core/libraries/error_codes.h"
extern "C" {
#include <libavcodec/avcodec.h>
#include <li... | 15,810 | C++ | .cpp | 384 | 32.601563 | 98 | 0.566829 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,622 | ajm_at9.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_at9.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "core/libraries/ajm/ajm_at9.h"
#include "error_codes.h"
extern "C" {
#include <decoder.h>
#include <libatrac9.h>
}
#include <vector>
namespace Libraries::Ajm {
AjmAt9D... | 5,539 | C++ | .cpp | 124 | 37.491935 | 99 | 0.668521 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,623 | ajm_batch.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_batch.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/alignment.h"
#include "core/libraries/ajm/ajm_batch.h"
namespace Libraries::Ajm {
enum Identifier : u8 {
AjmIdentJob = 0,
AjmIdentInputRunBuf = 1,
AjmIdentInputControlBuf = 2,
... | 17,682 | C++ | .cpp | 398 | 35.778894 | 100 | 0.621441 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,624 | ajm.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/ajm/ajm.h"
#include "core/libraries/ajm/ajm_context.h"
#include "core/libraries/ajm/ajm_error.h"
#include "core/libraries/ajm/ajm_mp3.h"
#include "cor... | 9,274 | C++ | .cpp | 179 | 43.24581 | 100 | 0.652399 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,625 | ajm_context.cpp | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_context.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/libraries/ajm/ajm.h"
#include "core/libraries/ajm/ajm_at9.h"
#include "core/libraries/ajm/ajm_context.h"
#include "core/libraries/ajm... | 5,178 | C++ | .cpp | 147 | 29.231293 | 100 | 0.651079 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,626 | screenshot.cpp | shadps4-emu_shadPS4/src/core/libraries/screenshot/screenshot.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "screenshot.h"
namespace Libraries::ScreenShot {
int PS4_SYSV_ABI _Z5dummyv() {
LOG_ERR... | 3,846 | C++ | .cpp | 93 | 35.989247 | 92 | 0.7053 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,627 | fiber.cpp | shadps4-emu_shadPS4/src/core/libraries/fiber/fiber.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "fiber.h"
#include "common/logging/log.h"
#include "common/singleton.h"
#include "core/libraries/error_codes.h"
#include "core/libraries/libs.h"
#include "core/linker.h"
#ifdef _WIN64
... | 7,925 | C++ | .cpp | 224 | 29.040179 | 100 | 0.657742 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,628 | elf.cpp | shadps4-emu_shadPS4/src/core/loader/elf.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/core.h>
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/loader/elf.h"
namespace Core::Loader {
using namespace Common::FS;
static std::string_view GetProgramTypeNam... | 18,405 | C++ | .cpp | 480 | 31.466667 | 98 | 0.584634 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,629 | symbols_resolver.cpp | shadps4-emu_shadPS4/src/core/loader/symbols_resolver.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/format.h>
#include "common/io_file.h"
#include "common/string_util.h"
#include "common/types.h"
#include "core/aerolib/aerolib.h"
#include "core/loader/symbols_resolver.h"
namespace Core::Load... | 1,837 | C++ | .cpp | 40 | 39.525 | 94 | 0.628284 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,630 | dwarf.cpp | shadps4-emu_shadPS4/src/core/loader/dwarf.cpp | // SPDX-FileCopyrightText: Copyright (C) 2001-2024 Free Software Foundation, Inc.
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/logging/log.h"
#include "core/loader/dwarf.h"
namespace Dwarf {
template <typename T>
T get(uintptr_t addr) {
T val;
memcpy(&val, reinterp... | 4,187 | C++ | .cpp | 123 | 26.853659 | 98 | 0.600247 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,631 | aerolib.cpp | shadps4-emu_shadPS4/src/core/aerolib/aerolib.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cstring>
#include "common/types.h"
#include "core/aerolib/aerolib.h"
namespace Core::AeroLib {
// Use a direct table here + binary search as contents are static
static constexpr NidEntry NIDS[] =... | 841 | C++ | .cpp | 29 | 24.206897 | 66 | 0.599256 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,632 | stubs.cpp | shadps4-emu_shadPS4/src/core/aerolib/stubs.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/aerolib/aerolib.h"
#include "core/aerolib/stubs.h"
namespace Core::AeroLib {
// Helper to provide stub implementations for missing functions
//
// This works ... | 2,491 | C++ | .cpp | 67 | 33.835821 | 99 | 0.683008 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,633 | crypto.cpp | shadps4-emu_shadPS4/src/core/crypto/crypto.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <array>
#include "crypto.h"
CryptoPP::RSA::PrivateKey Crypto::key_pkg_derived_key3_keyset_init() {
CryptoPP::InvertibleRSAFunction params;
params.SetPrime1(CryptoPP::Integer(PkgDerivedKey3K... | 10,248 | C++ | .cpp | 167 | 52.634731 | 100 | 0.672812 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,634 | fs.cpp | shadps4-emu_shadPS4/src/core/file_sys/fs.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
#include "common/config.h"
#include "common/string_util.h"
#include "core/file_sys/fs.h"
namespace Core::FileSys {
constexpr int RESERVED_HANDLES = 3; // First 3 handles are stdin,stdo... | 5,908 | C++ | .cpp | 149 | 31.510067 | 100 | 0.598186 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,635 | pkg.cpp | shadps4-emu_shadPS4/src/core/file_format/pkg.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <zlib-ng.h>
#include "common/io_file.h"
#include "common/logging/formatter.h"
#include "core/file_format/pkg.h"
#include "core/file_format/pkg_type.h"
static void DecompressPFSC(std::span<const cha... | 17,528 | C++ | .cpp | 395 | 33.567089 | 100 | 0.569896 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,636 | splash.cpp | shadps4-emu_shadPS4/src/core/file_format/splash.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fstream>
#include "common/assert.h"
#include "common/io_file.h"
#include "splash.h"
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_PNG
#define STBI_NO_STDIO
#include "externals/stb_image.h"
... | 1,311 | C++ | .cpp | 34 | 31.147059 | 93 | 0.624113 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,637 | psf.cpp | shadps4-emu_shadPS4/src/core/file_format/psf.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cstring>
#include "common/assert.h"
#include "common/io_file.h"
#include "common/logging/log.h"
#include "core/file_format/psf.h"
static const std::unordered_map<std::string_view, u32> psf_known_... | 10,638 | C++ | .cpp | 254 | 35.161417 | 100 | 0.615013 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,638 | playgo_chunk.cpp | shadps4-emu_shadPS4/src/core/file_format/playgo_chunk.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "playgo_chunk.h"
bool PlaygoFile::Open(const std::filesystem::path& filepath) {
Common::FS::IOFile file(filepath, Common::FS::FileAccessMode::Read);
if (file.IsOpen()) {
file.Read(p... | 3,008 | C++ | .cpp | 65 | 33.061538 | 99 | 0.540559 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,639 | trp.cpp | shadps4-emu_shadPS4/src/core/file_format/trp.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "common/path_util.h"
#include "trp.h"
TRP::TRP() = default;
TRP::~TRP() = default;
void TRP::GetNPcommID(const std::filesystem::path& trophyPath, int index) {
s... | 5,275 | C++ | .cpp | 111 | 33.576577 | 99 | 0.519496 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,640 | pkg_type.cpp | shadps4-emu_shadPS4/src/core/file_format/pkg_type.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
#include <array>
#include "pkg_type.h"
struct PkgEntryValue {
u32 type;
std::string_view name;
operator u32() const noexcept {
return type;
}
};
constexpr stat... | 22,683 | C++ | .cpp | 633 | 30.883096 | 66 | 0.602359 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,641 | layer.cpp | shadps4-emu_shadPS4/src/core/devtools/layer.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <imgui.h>
#include "common/config.h"
#include "common/singleton.h"
#include "common/types.h"
#include "core/debug_state.h"
#include "imgui/imgui_std.h"
#include "imgui_internal.h"
#include "layer.h... | 11,752 | C++ | .cpp | 303 | 29.650165 | 100 | 0.580572 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,642 | options.cpp | shadps4-emu_shadPS4/src/core/devtools/options.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <imgui.h>
#include "options.h"
namespace Core::Devtools {
TOptions Options;
void LoadOptionsConfig(const char* line) {
char str[512];
int i;
if (sscanf(line, "disassembly_cli=%511[... | 806 | C++ | .cpp | 23 | 30.956522 | 94 | 0.68299 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,644 | frame_graph.cpp | shadps4-emu_shadPS4/src/core/devtools/widget/frame_graph.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "frame_graph.h"
#include "common/config.h"
#include "common/singleton.h"
#include "core/debug_state.h"
#include "imgui.h"
#include "imgui_internal.h"
using namespace ImGui;
namespace Core::Devt... | 3,695 | C++ | .cpp | 83 | 34.73494 | 100 | 0.573415 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,645 | reg_view.cpp | shadps4-emu_shadPS4/src/core/devtools/widget/reg_view.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <filesystem>
#include <optional>
#include <string>
#include <imgui.h>
#include <magic_enum.hpp>
#include <stdio.h>
#include "common.h"
#include "common/io_file.h"
#include "core/devtools/options.... | 13,815 | C++ | .cpp | 367 | 28.073569 | 99 | 0.547525 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,646 | frame_dump.cpp | shadps4-emu_shadPS4/src/core/devtools/widget/frame_dump.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cstdio>
#include <fmt/chrono.h>
#include <imgui.h>
#include <magic_enum.hpp>
#include "common/io_file.h"
#include "core/devtools/options.h"
#include "frame_dump.h"
#include "imgui_internal.h"
#i... | 7,691 | C++ | .cpp | 179 | 32.374302 | 100 | 0.5002 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,647 | cmd_list.cpp | shadps4-emu_shadPS4/src/core/devtools/widget/cmd_list.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Credits to https://github.com/psucien/tlg-emu-tools/
#include <string>
#include <gcn/si_ci_vi_merged_offset.h>
#include <imgui.h>
#include "cmd_list.h"
#include "frame_dump.h"
#include "imgui_internal... | 49,399 | C++ | .cpp | 1,262 | 26.880349 | 100 | 0.507909 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,648 | reg_popup.cpp | shadps4-emu_shadPS4/src/core/devtools/widget/reg_popup.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "reg_popup.h"
#include <cstdio>
#include <imgui.h>
#include <magic_enum.hpp>
#include "cmd_list.h"
#include "common.h"
#include "imgui/imgui_std.h"
using namespace ImGui;
using magic_enum::enum... | 7,581 | C++ | .cpp | 166 | 36.620482 | 98 | 0.557992 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,649 | gcn_op_names.cpp | shadps4-emu_shadPS4/src/core/devtools/gcn/gcn_op_names.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Credits to https://github.com/psucien/tlg-emu-tools/
#include "common/types.h"
#include "gcn/si_ci_vi_merged_pm4_it_opcodes.h"
namespace Core::Devtools::Gcn {
const char* GetOpCodeName(u32 op) {
s... | 3,638 | C++ | .cpp | 114 | 25.412281 | 67 | 0.626811 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,650 | gcn_shader_regs.cpp | shadps4-emu_shadPS4/src/core/devtools/gcn/gcn_shader_regs.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Credits to https://github.com/psucien/tlg-emu-tools/
#include "common/types.h"
#include "gcn/si_ci_vi_merged_offset.h"
using namespace Pal::Gfx6;
namespace Core::Devtools::Gcn {
const char* GetShader... | 6,608 | C++ | .cpp | 167 | 32.946108 | 67 | 0.665113 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,651 | gcn_context_regs.cpp | shadps4-emu_shadPS4/src/core/devtools/gcn/gcn_context_regs.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Credits to https://github.com/psucien/tlg-emu-tools/
#include "common/types.h"
#include "gcn/si_ci_vi_merged_offset.h"
using namespace Pal::Gfx6;
namespace Core::Devtools::Gcn {
const char* GetContex... | 10,209 | C++ | .cpp | 293 | 28.05802 | 67 | 0.65177 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,652 | page_manager.cpp | shadps4-emu_shadPS4/src/video_core/page_manager.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <thread>
#include <boost/icl/interval_set.hpp>
#include "common/alignment.h"
#include "common/assert.h"
#include "common/error.h"
#include "common/signal_context.h"
#include "core/signals.h"
#includ... | 7,760 | C++ | .cpp | 189 | 33.026455 | 94 | 0.620456 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,653 | renderdoc.cpp | shadps4-emu_shadPS4/src/video_core/renderdoc.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/config.h"
#include "video_core/renderdoc.h"
#include <renderdoc_app.h>
#ifdef _WIN32
#include <windows.h>
#else
#include <dlfcn.h>
#endif
#include <filesystem>
... | 3,451 | C++ | .cpp | 101 | 28.069307 | 99 | 0.640949 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,654 | vk_pipeline_cache.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <ranges>
#include "common/config.h"
#include "common/hash.h"
#include "common/io_file.h"
#include "common/path_util.h"
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recom... | 20,427 | C++ | .cpp | 415 | 40.13012 | 100 | 0.634014 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,655 | vk_compute_pipeline.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <boost/container/small_vector.hpp>
#include "video_core/buffer_cache/buffer_cache.h"
#include "video_core/renderer_vulkan/vk_compute_pipeline.h"
#include "video_core/renderer_vulkan/vk_instance.h"
... | 8,148 | C++ | .cpp | 183 | 34.907104 | 100 | 0.62511 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,656 | vk_resource_pool.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_resource_pool.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cstddef>
#include <optional>
#include "common/assert.h"
#include "common/scope_exit.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_master_semaphore.h... | 7,360 | C++ | .cpp | 166 | 37.590361 | 94 | 0.667457 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,657 | vk_rasterizer.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_rasterizer.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/debug.h"
#include "core/memory.h"
#include "video_core/amdgpu/liverpool.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan... | 22,377 | C++ | .cpp | 480 | 38.602083 | 100 | 0.656963 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,658 | vk_shader_util.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_shader_util.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <memory>
#include <glslang/Include/ResourceLimits.h>
#include <glslang/Public/ShaderLang.h>
#include <glslang/SPIRV/GlslangToSpv.h>
#include "common/assert.h"
#include "common/logging/log.h"
#includ... | 7,959 | C++ | .cpp | 204 | 33.230392 | 99 | 0.708743 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,659 | renderer_vulkan.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/renderer_vulkan.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/debug.h"
#include "common/singleton.h"
#include "core/file_format/splash.h"
#include "core/libraries/system/systemservice.h"
#include "imgui/renderer/imgui_core.h"... | 18,552 | C++ | .cpp | 407 | 35.299754 | 100 | 0.618945 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,660 | vk_master_semaphore.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_master_semaphore.cpp | // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <limits>
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_master_semaphore.h"
#include "common/assert.h"
namespace Vulkan {
constexpr u64 WAIT_TIMEOUT = st... | 2,261 | C++ | .cpp | 59 | 31.661017 | 99 | 0.648106 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,661 | vk_instance.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_instance.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <ranges>
#include <span>
#include <boost/container/static_vector.hpp>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/assert.h"
#include "common/config.h"
#include "sdl_window.h"
#... | 26,932 | C++ | .cpp | 548 | 40.423358 | 136 | 0.674251 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,662 | vk_swapchain.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_swapchain.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
#include <limits>
#include "common/assert.h"
#include "common/logging/log.h"
#include "sdl_window.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vul... | 9,508 | C++ | .cpp | 220 | 36.009091 | 100 | 0.661297 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,663 | liverpool_to_vk.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/liverpool_to_vk.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/number_utils.h"
#include "video_core/amdgpu/pixel_format.h"
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
#include <magic_enum.hpp>
#define INVALID_NUM... | 51,168 | C++ | .cpp | 1,094 | 36.370201 | 100 | 0.629922 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,664 | vk_scheduler.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_scheduler.cpp | // SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <mutex>
#include "common/assert.h"
#include "common/debug.h"
#include "imgui/renderer/texture_manager.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_sche... | 5,515 | C++ | .cpp | 132 | 35.454545 | 98 | 0.678305 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,665 | vk_descriptor_update_queue.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_descriptor_update_queue.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "video_core/renderer_vulkan/vk_descriptor_update_queue.h"
#include "video_core/renderer_vulkan/vk_instance.h"
namespace Vulkan {
DescriptorUpdateQueue::DescriptorUpdateQueue(const Instance& instan... | 4,033 | C++ | .cpp | 92 | 35.195652 | 100 | 0.647898 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,666 | vk_pipeline_common.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_pipeline_common.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <boost/container/static_vector.hpp>
#include "shader_recompiler/info.h"
#include "video_core/buffer_cache/buffer_cache.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/re... | 11,394 | C++ | .cpp | 215 | 40.851163 | 100 | 0.606653 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,667 | vk_graphics_pipeline.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
#include <boost/container/small_vector.hpp>
#include <boost/container/static_vector.hpp>
#include "common/assert.h"
#include "common/scope_exit.h"
#include "video_core/amdgpu/resource.h... | 20,709 | C++ | .cpp | 412 | 38.014563 | 100 | 0.604769 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,668 | vk_platform.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_platform.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Include the vulkan platform specific header
#if defined(ANDROID)
#define VK_USE_PLATFORM_ANDROID_KHR
#elif defined(_WIN64)
#define VK_USE_PLATFORM_WIN32_KHR
#elif defined(__APPLE__)
#define VK_USE_PLATFOR... | 14,430 | C++ | .cpp | 330 | 35.115152 | 100 | 0.648005 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,669 | vk_common.cpp | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_common.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "video_core/renderer_vulkan/vk_common.h"
// Implement vma functions
#define VMA_IMPLEMENTATION
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnullability-completeness"
#include <... | 451 | C++ | .cpp | 11 | 39.727273 | 66 | 0.826087 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,670 | texture_cache.cpp | shadps4-emu_shadPS4/src/video_core/texture_cache/texture_cache.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <optional>
#include <xxhash.h>
#include "common/assert.h"
#include "video_core/buffer_cache/buffer_cache.h"
#include "video_core/page_manager.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#... | 21,063 | C++ | .cpp | 453 | 37.916115 | 100 | 0.643431 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,671 | image_info.cpp | shadps4-emu_shadPS4/src/video_core/texture_cache/image_info.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/assert.h"
#include "common/config.h"
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
#include "video_core/texture_cache/image_info.h"
namespace VideoCore {
using namespace Vulkan;
... | 16,070 | C++ | .cpp | 331 | 41.743202 | 124 | 0.615287 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,672 | image.cpp | shadps4-emu_shadPS4/src/video_core/texture_cache/image.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <ranges>
#include "common/assert.h"
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#... | 16,911 | C++ | .cpp | 376 | 35.335106 | 100 | 0.624628 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
15,673 | sampler.cpp | shadps4-emu_shadPS4/src/video_core/texture_cache/sampler.cpp | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/texture_cache/sampler.h"
namespace VideoCore {
Sampler::Sampler(const Vulkan... | 1,749 | C++ | .cpp | 33 | 47.030303 | 88 | 0.715371 | shadps4-emu/shadPS4 | 9,253 | 501 | 185 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.