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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,306 | cellVdec.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellVdec.cpp | #include "stdafx.h"
#include "Emu/IdManager.h"
#include "Emu/perf_meter.hpp"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/savestate_utils.hpp"
#include "sysPrxForUser.h"
#include "util/media_utils.h"
#ifd... | 49,621 | C++ | .cpp | 1,407 | 31.803127 | 332 | 0.670355 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,307 | sys_net_.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/sys_net_.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/IdManager.h"
#include "sys_net_.h"
LOG_CHANNEL(libnet);
// Temporarily
#ifndef _MSC_VER
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
s32 sys_net_accept(s32 s, vm::ptr<sys_net_sockaddr> addr, vm::ptr<u32> paddrlen)
{
libnet.todo("accept... | 14,789 | C++ | .cpp | 584 | 23.611301 | 170 | 0.723643 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,308 | cellSysutilAvc.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellSysutilAvc.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/Modules/cellSysutilAvc.h"
#include "Emu/Cell/Modules/cellSysutil.h"
#include "Emu/IdManager.h"
LOG_CHANNEL(cellSysutil);
template<>
void fmt_class_string<CellAvcError>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](auto error)
{
... | 10,428 | C++ | .cpp | 289 | 33.557093 | 158 | 0.771855 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,309 | cellSpursJq.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellSpursJq.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellSpursJq.h"
LOG_CHANNEL(cellSpursJq);
error_code cellSpursJobQueueAttributeInitialize()
{
UNIMPLEMENTED_FUNC(cellSpursJq);
return CELL_OK;
}
error_code cellSpursJobQueueAttributeSetMaxGrab()
{
UNIMPLEMENTED_FUNC(ce... | 10,511 | C++ | .cpp | 386 | 25.569948 | 76 | 0.85257 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,310 | sys_mmapper_.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/sys_mmapper_.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_mmapper.h"
LOG_CHANNEL(sysPrxForUser);
error_code sys_mmapper_allocate_memory(ppu_thread& ppu, u32 size, u64 flags, vm::ptr<u32> mem_id)
{
sysPrxForUser.notice("sys_mmapper_allocate_memory(size=0x%x, flags=0x%llx, mem_id=*0x%x)", size, fl... | 1,842 | C++ | .cpp | 37 | 48.054054 | 143 | 0.756274 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,311 | sceNpSns.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/sceNpSns.cpp | #include "stdafx.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "sceNpSns.h"
#include "sceNp.h"
#include "Emu/NP/np_handler.h"
LOG_CHANNEL(sceNpSns);
template<>
void fmt_class_string<sceNpSnsError>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](auto error)
{
switch (error)
... | 7,467 | C++ | .cpp | 255 | 26.890196 | 144 | 0.729184 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,312 | cellMusicSelectionContext.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellMusicSelectionContext.cpp | #include "stdafx.h"
#include "cellMusic.h"
#include "util/yaml.hpp"
#include "Emu/VFS.h"
#include <random>
// This is just a helper and not a real cell entity
LOG_CHANNEL(cellMusicSelectionContext);
bool music_selection_context::set(const CellMusicSelectionContext& in)
{
if (memcmp(in.data, magic, sizeof(magic)) !... | 8,571 | C++ | .cpp | 282 | 27.765957 | 153 | 0.691569 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,313 | cellDmux.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellDmux.cpp | #include "stdafx.h"
#include "Emu/System.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellPamf.h"
#include "cellDmux.h"
#include "util/asm.hpp"
LOG_CHANNEL(cellDmux);
template <>
void fmt_class_string<CellDmuxError>::format(std::string& out, u64 arg)
{
... | 32,782 | C++ | .cpp | 1,137 | 25.244503 | 209 | 0.663153 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,314 | sys_rsxaudio_.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/sys_rsxaudio_.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);
error_code sys_rsxaudio_close_connection()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
error_code sys_rsxaudio_create_connection()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
error_c... | 1,553 | C++ | .cpp | 61 | 23.819672 | 62 | 0.810135 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,315 | cellNetCtl.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellNetCtl.cpp | #include "stdafx.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellGame.h"
#include "cellSysutil.h"
#include "cellNetCtl.h"
#include "Utilities/StrUtil.h"
#include "Emu/NP/np_handler.h"
#include "Emu/NP/np_helpers.h"
LOG_CHA... | 15,593 | C++ | .cpp | 437 | 33.407323 | 181 | 0.758252 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,316 | cellGame.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellGame.cpp | #include "stdafx.h"
#include "Emu/localized_string.h"
#include "Emu/System.h"
#include "Emu/system_utils.hpp"
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellSysutil.h"
#in... | 59,787 | C++ | .cpp | 1,556 | 35.71144 | 208 | 0.713636 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,317 | cellSailRec.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellSailRec.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "cellSail.h"
LOG_CHANNEL(cellSailRec);
error_code cellSailProfileSetEsAudioParameter()
{
UNIMPLEMENTED_FUNC(cellSailRec);
return CELL_OK;
}
error_code cellSailProfileSetEsVideoParameter()
{
UNIMPLEMENTED_FUNC(cellSailRec);
return CELL_OK;
}
error_code... | 9,402 | C++ | .cpp | 357 | 24.655462 | 63 | 0.851192 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,318 | cellAtracXdec.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellAtracXdec.cpp | #include "stdafx.h"
#include "Emu/perf_meter.hpp"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/savestate_utils.hpp"
#include "sysPrxForUser.h"
#include "util/asm.hpp"
#include "util/media_utils.h"
#include "cellAtracXdec.h"
vm::gvar<CellAdec... | 31,457 | C++ | .cpp | 726 | 39.710744 | 267 | 0.712482 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,319 | sys_lv2dbg.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/sys_lv2dbg.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "sys_lv2dbg.h"
LOG_CHANNEL(sys_lv2dbg);
template <>
void fmt_class_string<CellLv2DbgError>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](CellLv2DbgError value)
{
switch (value)
{
STR_CASE(CELL_LV2DBG_ERROR_DEINVALIDPROCESSID);
STR... | 10,592 | C++ | .cpp | 279 | 36.039427 | 117 | 0.767462 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,320 | cellStorage.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellStorage.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "cellSysutil.h"
#include "cellStorage.h"
LOG_CHANNEL(cellSysutil);
template <>
void fmt_class_string<CellStorageError>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](auto error)
{
switch (error)
{
STR_CASE(CELL_STORAGEDATA_ERROR_ACCES... | 2,498 | C++ | .cpp | 57 | 41.701754 | 232 | 0.766063 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,321 | cellAtrac.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellAtrac.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "cellAtrac.h"
LOG_CHANNEL(cellAtrac);
template <>
void fmt_class_string<CellAtracError>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](CellAtracError value)
{
switch (value)
{
STR_CASE(CELL_ATRAC_ERROR_API_FAIL);
STR_CASE(CELL_ATRA... | 9,750 | C++ | .cpp | 211 | 44.199052 | 212 | 0.798818 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,322 | cellSysmodule.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/cellSysmodule.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
LOG_CHANNEL(cellSysmodule);
constexpr auto CELL_SYSMODULE_LOADED = CELL_OK;
enum CellSysmoduleError : u32
{
CELL_SYSMODULE_ERROR_DUPLICATED = 0x80012001,
CELL_SYSMODULE_ERROR_UNKNOWN = 0x80012002,
CELL_SYSMODULE_ERROR_UNLOADED ... | 14,101 | C++ | .cpp | 387 | 34.449612 | 98 | 0.772245 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,323 | libad_core.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/Modules/libad_core.cpp | #include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
LOG_CHANNEL(libad_core);
error_code sceAdOpenContext()
{
UNIMPLEMENTED_FUNC(libad_core);
return CELL_OK;
}
error_code sceAdFlushReports()
{
UNIMPLEMENTED_FUNC(libad_core);
return CELL_OK;
}
error_code sceAdGetAssetInfo()
{
UNIMPLEMENTED_FUNC(libad_core);
ret... | 1,052 | C++ | .cpp | 48 | 20.291667 | 58 | 0.792965 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,324 | sys_overlay.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_overlay.cpp | #include "stdafx.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Memory/vm_ptr.h"
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Emu/system_config.h"
#include "Crypto/unself.h"
#include "Crypto/unedat.h"
#include "Loader/ELF.h"
#include "sys_process.h"
#include "sys_overlay.h"
#include "sys_fs.h"
extern... | 4,939 | C++ | .cpp | 150 | 30.533333 | 189 | 0.683777 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,325 | sys_timer.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_timer.cpp | #include "stdafx.h"
#include "sys_timer.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/timers.hpp"
#include "util/asm.hpp"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "sys_event.h"
#include "sys_process.h"
#include <thread>
#inclu... | 10,122 | C++ | .cpp | 376 | 24.087766 | 163 | 0.675174 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,326 | sys_mutex.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_mutex.cpp | #include "stdafx.h"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "util/asm.hpp"
#include "sys_mutex.h"
LOG_CHANNEL(sys_mutex);
lv2_mutex::lv2_mutex(utils::serial& ar)
: protocol(ar)
, recursive(ar)
, adaptive(ar)
, key(ar)
, name(ar... | 6,982 | C++ | .cpp | 302 | 19.817881 | 129 | 0.640594 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,327 | sys_storage.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_storage.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_event.h"
#include "sys_fs.h"
#include "util/shared_ptr.hpp"
#include "sys_storage.h"
LOG_CHANNEL(sys_storage);
namespace
{
struct storage_manager
{
// This is probably wrong and should be ass... | 10,627 | C++ | .cpp | 368 | 26.345109 | 236 | 0.681581 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,328 | sys_gamepad.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_gamepad.cpp | #include "stdafx.h"
#include "sys_gamepad.h"
#include "Emu/Cell/ErrorCodes.h"
LOG_CHANNEL(sys_gamepad);
u32 sys_gamepad_ycon_initalize(vm::ptr<u8> in, vm::ptr<u8> out)
{
sys_gamepad.todo("sys_gamepad_ycon_initalize(in=%d, out=%d) -> CELL_OK", in, out);
return CELL_OK;
}
u32 sys_gamepad_ycon_finalize(vm::ptr<u8> in... | 2,830 | C++ | .cpp | 85 | 31.435294 | 113 | 0.698279 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,329 | sys_hid.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_hid.cpp | #include "stdafx.h"
#include "sys_hid.h"
#include "Emu/Memory/vm.h"
#include "Emu/Memory/vm_var.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/Modules/cellPad.h"
#include "sys_process.h"
LOG_CHANNEL(sys_hid);
error_code sys_hid_manager_open(ppu_thread& ppu, u64 device_type, ... | 8,669 | C++ | .cpp | 161 | 51.52795 | 232 | 0.55916 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,330 | sys_prx.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_prx.cpp | #include "stdafx.h"
#include "sys_prx.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Crypto/unself.h"
#include "Loader/ELF.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Crypto/unedat.h"
#include "Utilities/StrUtil.h"
... | 30,206 | C++ | .cpp | 963 | 28.692627 | 206 | 0.66708 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,331 | sys_semaphore.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_semaphore.cpp | #include "stdafx.h"
#include "sys_semaphore.h"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_semaphore);
lv2_sema::lv2_sema(utils::serial& ar)
: protocol(ar)
, key(ar)
, name(ar)
, max(ar)
{
ar(val);
}
... | 6,585 | C++ | .cpp | 286 | 20.006993 | 160 | 0.633644 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,332 | lv2.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/lv2.cpp | #include "stdafx.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Memory/vm_ptr.h"
#include "Emu/Memory/vm_reservation.h"
#include "Emu/Memory/vm_locking.h"
#include "Emu/Cell/PPUFunction.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/MFC.h"
#include "sys_sync.h"
#include "sys_lwmutex.h"... | 91,024 | C++ | .cpp | 1,973 | 43.526102 | 180 | 0.566234 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,333 | sys_vm.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_vm.cpp | #include "stdafx.h"
#include "sys_vm.h"
#include "sys_process.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Memory/vm_locking.h"
sys_vm_t::sys_vm_t(u32 _addr, u32 vsize, lv2_memory_container* ct, u32 psize)
: ct(ct)
, addr... | 9,100 | C++ | .cpp | 336 | 24.6875 | 161 | 0.663278 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,334 | sys_trace.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_trace.cpp | #include "stdafx.h"
#include "sys_trace.h"
#include "Emu/Cell/ErrorCodes.h"
LOG_CHANNEL(sys_trace);
// TODO: DEX/DECR mode support?
s32 sys_trace_create()
{
sys_trace.todo("sys_trace_create()");
return CELL_ENOSYS;
}
s32 sys_trace_start()
{
sys_trace.todo("sys_trace_start()");
return CELL_ENOSYS;
}
s32 sys_... | 1,077 | C++ | .cpp | 55 | 17.945455 | 48 | 0.729891 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,335 | sys_event.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_event.cpp | #include "stdafx.h"
#include "sys_event.h"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/System.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/SPUThread.h"
#include "sys_process.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_event);
lv2_event_queue::lv2_event_que... | 16,591 | C++ | .cpp | 625 | 23.6368 | 150 | 0.66219 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,336 | sys_interrupt.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_interrupt.cpp | #include "stdafx.h"
#include "sys_interrupt.h"
#include "Emu/IdManager.h"
#include "Emu/System.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/SPUThread.h"
#include "Emu/Cell/PPUOpcodes.h"
LOG_CHANNEL(sys_interrupt);
lv2_int_tag::lv2_int_tag() noexcept
: lv2_obj{1}
, id(idm:... | 6,237 | C++ | .cpp | 238 | 23.210084 | 162 | 0.662622 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,337 | sys_dbg.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_dbg.cpp | #include "stdafx.h"
#include "sys_dbg.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUInterpreter.h"
#include "Emu/Cell/Modules/sys_lv2dbg.h"
#include "Emu/Memory/vm_locking.h"
#include "util/asm.hpp"
void ppu_register_function_at(u32 addr, u32 size, ppu_intrp_func_t ptr = nullptr);
LOG_CHANNEL(sys_dbg);... | 3,120 | C++ | .cpp | 101 | 28.227723 | 124 | 0.685514 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,338 | sys_usbd.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_usbd.cpp | #include "stdafx.h"
#include "sys_usbd.h"
#include "sys_ppu_thread.h"
#include "sys_sync.h"
#include <queue>
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Memory/vm.h"
#include "Emu/IdManager.h"
#include "Emu/vfs_config.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#inclu... | 45,007 | C++ | .cpp | 1,185 | 35.277637 | 231 | 0.712837 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,339 | sys_tty.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_tty.cpp | #include "stdafx.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/timers.hpp"
#include "sys_tty.h"
#include <deque>
#include <mutex>
LOG_CHANNEL(sys_tty);
extern fs::file g_tty;
extern atomic_t<s64> g_tty_size;
extern std::array<std::deque<std::string>, 16> g_tty_input;
extern st... | 4,992 | C++ | .cpp | 164 | 27.243902 | 131 | 0.643351 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,340 | sys_ss.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_ss.cpp | #include "stdafx.h"
#include "sys_ss.h"
#include "sys_process.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/system_config.h"
#include "util/sysinfo.hpp"
#include <charconv>
#include <shared_mutex>
#include <unordered_set>
#ifdef _WIN32
#include <Windows.h>... | 11,433 | C++ | .cpp | 470 | 21.742553 | 155 | 0.67636 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,341 | sys_rwlock.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_rwlock.cpp | #include "stdafx.h"
#include "sys_rwlock.h"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_rwlock);
lv2_rwlock::lv2_rwlock(utils::serial& ar)
: protocol(ar)
, key(ar)
, name(ar)
{
ar(owner);
}
std::shared... | 10,383 | C++ | .cpp | 472 | 18.557203 | 127 | 0.614913 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,342 | sys_cond.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_cond.cpp | #include "stdafx.h"
#include "util/serialization.hpp"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/System.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "sys_cond.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_cond);
lv2_cond::lv2_cond(utils::serial& ar)
: key(ar)
, na... | 11,107 | C++ | .cpp | 461 | 20.277657 | 182 | 0.627684 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,343 | sys_fs.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_fs.cpp | #include "stdafx.h"
#include "sys_sync.h"
#include "sys_fs.h"
#include "sys_memory.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/PPUThread.h"
#include "Crypto/unedat.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/VFS.h"
#include "Emu/vfs_config.h"
#include "Emu/IdManager.h"
#include "E... | 78,615 | C++ | .cpp | 2,659 | 26.714554 | 205 | 0.654851 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,344 | sys_console.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_console.cpp | #include "stdafx.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_console.h"
LOG_CHANNEL(sys_console);
error_code sys_console_write(vm::cptr<char> buf, u32 len)
{
sys_console.todo("sys_console_write(buf=*0x%x, len=0x%x)", buf, len);
return CELL_OK;
}
| 259 | C++ | .cpp | 9 | 27 | 70 | 0.730612 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,345 | sys_crypto_engine.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_crypto_engine.cpp | #include "stdafx.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_crypto_engine.h"
LOG_CHANNEL(sys_crypto_engine);
error_code sys_crypto_engine_create(vm::ptr<u32> id)
{
sys_crypto_engine.todo("sys_crypto_engine_create(id=*0x%x)", id);
return CELL_OK;
}
error_code sys_crypto_engine_destroy(u32 id)
{
sys_crypt... | 618 | C++ | .cpp | 19 | 30.736842 | 113 | 0.755932 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,346 | sys_gpio.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_gpio.cpp | #include "stdafx.h"
#include "sys_gpio.h"
#include "Emu/Cell/ErrorCodes.h"
LOG_CHANNEL(sys_gpio);
error_code sys_gpio_get(u64 device_id, vm::ptr<u64> value)
{
sys_gpio.trace("sys_gpio_get(device_id=0x%llx, value=*0x%x)", device_id, value);
if (device_id != SYS_GPIO_LED_DEVICE_ID && device_id != SYS_GPIO_DIP_SWITC... | 940 | C++ | .cpp | 29 | 30.37931 | 101 | 0.72949 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,347 | sys_rsx.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_rsx.cpp | #include "stdafx.h"
#include "sys_rsx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Memory/vm_locking.h"
#include "Emu/RSX/Core/RSXEngLock.hpp"
#include "Emu/RSX/Core/RSXReservationLock.hpp"
#include "Emu/RSX/RSXThread.h"
#include "util/asm.hpp"
#inclu... | 27,906 | C++ | .cpp | 787 | 32.584498 | 196 | 0.674568 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,348 | sys_io.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_io.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_io.h"
LOG_CHANNEL(sys_io);
error_code sys_io_buffer_create(u32 block_count, u32 block_size, u32 blocks, u32 unk1, vm::ptr<u32> handle)
{
sys_io.todo("sys_io_buffer_create(block_count=0x%x, block_... | 1,480 | C++ | .cpp | 56 | 24.160714 | 157 | 0.696797 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,349 | sys_process.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_process.cpp | #include "stdafx.h"
#include "sys_process.h"
#include "Emu/Memory/vm_ptr.h"
#include "Emu/System.h"
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Crypto/unedat.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "sys_lwmutex.h"
#include "sys_lwcond.h"
#include "sys_mutex.h"
#includ... | 14,683 | C++ | .cpp | 420 | 32.604762 | 191 | 0.693964 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,350 | sys_uart.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_uart.cpp | #include "stdafx.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_rsxaudio.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "sys_uart.h"
LOG_CHANNEL(sys_uart);
template <>
void fm... | 67,436 | C++ | .cpp | 2,086 | 29.053212 | 208 | 0.677096 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,351 | sys_memory.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_memory.cpp | #include "stdafx.h"
#include "sys_memory.h"
#include "Emu/Memory/vm_locking.h"
#include "Emu/CPU/CPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/SPUThread.h"
#include "Emu/IdManager.h"
#include "util/vm.hpp"
#include "util/asm.hpp"
LOG_CHANNEL(sys_memory);
//
static shared_mutex s_memstats_mtx;
lv... | 9,660 | C++ | .cpp | 329 | 26.841945 | 141 | 0.690058 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,352 | sys_ppu_thread.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp | #include "stdafx.h"
#include "sys_ppu_thread.h"
#include "Emu/System.h"
#include "Emu/IdManager.h"
#include "Emu/perf_meter.hpp"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/PPUCallback.h"
#include "Emu/Cell/PPUOpcodes.h"
#include "Emu/Memory/vm_locking.h"
#include "sys_event.h"... | 14,942 | C++ | .cpp | 522 | 25.862069 | 189 | 0.686624 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,353 | sys_net.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net.cpp | #include "stdafx.h"
#include "sys_net.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUThread.h"
#include "Utilities/Thread.h"
#include "sys_sync.h"
#ifdef _WIN32
#include <winsock2.h>
#include <WS2tcpip.h>
#else
#ifdef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#endif... | 43,876 | C++ | .cpp | 1,548 | 24.982558 | 246 | 0.648484 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,354 | sys_rsxaudio.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Emu/IdManager.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu//Cell/Modules/cellAudioOut.h"
#include "util/video_provider.h"
#include "sys_process.h"
#include "sys_rsxaudio.h"
#include <cmath>
#include <bitset>
#include <optional>
#ifde... | 62,144 | C++ | .cpp | 1,970 | 28.576142 | 221 | 0.694523 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,355 | sys_lwcond.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_lwcond.cpp | #include "stdafx.h"
#include "sys_lwcond.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "sys_lwmutex.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_lwcond);
lv2_lwcond::lv2_lwcond(utils::serial& ar)
: name(ar.pop<be_t<u64>>())
, lwid(ar)
, protocol(ar)
, con... | 12,306 | C++ | .cpp | 507 | 20.023669 | 199 | 0.616552 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,356 | sys_time.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_time.cpp | #include "stdafx.h"
#include "sys_time.h"
#include "sys_process.h"
#include "Emu/system_config.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/timers.hpp"
#include "util/asm.hpp"
#include "util/sysinfo.hpp"
static u64 timebase_offset;
static u64 systemtime_offset;
#ifdef _WIN32
#include <Windows.h>
struct ... | 11,120 | C++ | .cpp | 360 | 28.666667 | 167 | 0.708704 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,357 | sys_mmapper.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_mmapper.cpp | #include "stdafx.h"
#include "sys_mmapper.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Memory/vm_var.h"
#include "sys_memory.h"
#include "sys_sync.h"
#include "sys_process.h"
#include <span>
#include "util/vm.hpp"
LOG_CHANNEL(sys_mmapper);
template <>
void fmt_class_string<l... | 17,837 | C++ | .cpp | 701 | 22.824536 | 206 | 0.678729 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,358 | sys_spu.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_spu.cpp | #include "stdafx.h"
#include "sys_spu.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Crypto/unself.h"
#include "Crypto/unedat.h"
#include "Crypto/sha1.h"
#include "Loader/ELF.h"
#include "Utilities/bin_patch.h"
#include "Emu/Cell/ErrorCodes.h"
#incl... | 61,700 | C++ | .cpp | 2,147 | 26.072194 | 207 | 0.676797 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,359 | sys_event_flag.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_event_flag.cpp | #include "stdafx.h"
#include "sys_event_flag.h"
#include "Emu/IdManager.h"
#include "Emu/IPC.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include <algorithm>
#include "util/asm.hpp"
LOG_CHANNEL(sys_event_flag);
lv2_event_flag::lv2_event_flag(utils::serial& ar)
: protocol(ar)
, key(ar)
,... | 10,798 | C++ | .cpp | 456 | 20.333333 | 145 | 0.628376 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,360 | sys_game.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_game.cpp | #include "stdafx.h"
#include "util/sysinfo.hpp"
#include "util/v128.hpp"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Memory/vm_ptr.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/System.h"
#include "Emu/system_utils.hpp"
#include "Emu/IdManager.h"
#include "Utilities/StrUtil.h"
#include "Utilities/Thread.h"
... | 5,723 | C++ | .cpp | 228 | 22.307018 | 94 | 0.681274 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,361 | sys_lwmutex.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_lwmutex.cpp | #include "stdafx.h"
#include "sys_lwmutex.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "util/asm.hpp"
LOG_CHANNEL(sys_lwmutex);
lv2_lwmutex::lv2_lwmutex(utils::serial& ar)
: protocol(ar)
, control(ar.pop<decltype(control)>())
, name(ar.pop<be_t<u64>>())... | 7,376 | C++ | .cpp | 309 | 20.304207 | 224 | 0.63622 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,362 | sys_config.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_config.cpp | #include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Memory/vm.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_config.h"
LOG_CHANNEL(sys_config);
// Enums
template<>
void fmt_class_string<sys_config_service_id>::format(std::string& out, u64 id)
... | 11,143 | C++ | .cpp | 356 | 29.103933 | 250 | 0.715341 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,363 | sys_btsetting.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_btsetting.cpp | #include "stdafx.h"
#include "sys_btsetting.h"
#include "Emu/Cell/ErrorCodes.h"
LOG_CHANNEL(sys_btsetting);
error_code sys_btsetting_if(u64 cmd, vm::ptr<void> msg)
{
sys_btsetting.todo("sys_btsetting_if(cmd=0x%llx, msg=*0x%x)", cmd, msg);
return CELL_OK;
}
| 263 | C++ | .cpp | 9 | 27.555556 | 73 | 0.736 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,364 | sys_sm.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_sm.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Emu/System.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "sys_sm.h"
LOG_CHANNEL(sys_sm);
error_code sys_sm_get_params(vm::ptr<u8> a, vm::ptr<u8> b, vm::ptr<u32> c, vm::ptr<u64> d)
{
sys_sm... | 2,353 | C++ | .cpp | 83 | 26.26506 | 104 | 0.673787 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,365 | sys_bdemu.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_bdemu.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Emu/Cell/ErrorCodes.h"
#include "sys_bdemu.h"
LOG_CHANNEL(sys_bdemu);
error_code sys_bdemu_send_command(u64 cmd, u64 a2, u64 a3, vm::ptr<void> buf, u64 buf_len)
{
sys_bdemu.todo("sys_bdemu_send_command(cmd=0%llx, a2=0x%x, a3=0x%x, buf=0x%x, buf_len=0x%x)", c... | 367 | C++ | .cpp | 10 | 35 | 122 | 0.704545 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,366 | network_context.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/network_context.cpp | #include "stdafx.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/Modules/sceNp.h" // for SCE_NP_PORT
#include "network_context.h"
#include "Emu/system_config.h"
#include "sys_net_helpers.h"
LOG_CHANNEL(sys_net);
// Used by RPCN to send signaling packets to RPCN server(for UDP hole punching)
s32 send_packet_... | 6,005 | C++ | .cpp | 221 | 24.276018 | 165 | 0.662552 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,367 | lv2_socket_native.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_native.cpp | #include "stdafx.h"
#include "Emu/Cell/lv2/sys_net.h"
#include "Emu/NP/np_dnshook.h"
#include "Emu/NP/np_handler.h"
#include "lv2_socket_native.h"
#include "sys_net_helpers.h"
#ifdef _WIN32
constexpr SOCKET invalid_socket = INVALID_SOCKET;
#else
constexpr int invalid_socket = -1;
#endif
LOG_CHANNEL(sys_net);
lv2_so... | 30,522 | C++ | .cpp | 1,101 | 24.782925 | 239 | 0.663943 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,368 | lv2_socket_p2ps.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_p2ps.cpp | #include "stdafx.h"
#include "Utilities/Thread.h"
#include "util/asm.hpp"
#include "util/atomic.hpp"
#include "lv2_socket_p2ps.h"
#include "Emu/NP/np_helpers.h"
#include "nt_p2p_port.h"
#include "network_context.h"
#include "sys_net_helpers.h"
LOG_CHANNEL(sys_net);
// Object in charge of retransmiting packets for ST... | 29,261 | C++ | .cpp | 879 | 30.054608 | 208 | 0.662709 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,369 | nt_p2p_port.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp | #include "stdafx.h"
#include <fcntl.h>
#include "nt_p2p_port.h"
#include "lv2_socket_native.h"
#include "lv2_socket_p2ps.h"
#include "util/asm.hpp"
#include "sys_net_helpers.h"
#include "Emu/NP/signaling_handler.h"
#include "sys_net_helpers.h"
#include "Emu/NP/vport0.h"
#include "Emu/NP/np_handler.h"
LOG_CHANNEL(sys... | 10,626 | C++ | .cpp | 294 | 32.914966 | 197 | 0.677344 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,370 | lv2_socket_p2p.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_p2p.cpp | #include "stdafx.h"
#include "lv2_socket_p2p.h"
#include "Emu/NP/np_helpers.h"
#include "network_context.h"
#include "sys_net_helpers.h"
LOG_CHANNEL(sys_net);
lv2_socket_p2p::lv2_socket_p2p(lv2_socket_family family, lv2_socket_type type, lv2_ip_protocol protocol)
: lv2_socket(family, type, protocol)
{
sockopt_cache... | 10,514 | C++ | .cpp | 320 | 30.315625 | 192 | 0.677907 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,371 | lv2_socket.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/lv2_socket.cpp | #include "stdafx.h"
#include "lv2_socket.h"
#include "network_context.h"
LOG_CHANNEL(sys_net);
lv2_socket::lv2_socket(lv2_socket_family family, lv2_socket_type type, lv2_ip_protocol protocol)
{
this->family = family;
this->type = type;
this->protocol = protocol;
}
std::unique_lock<shared_mutex> lv2_socket::... | 3,756 | C++ | .cpp | 151 | 22.635762 | 147 | 0.691255 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,372 | sys_net_helpers.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/sys_net_helpers.cpp | #include "stdafx.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUThread.h"
#include "lv2_socket.h"
#include "sys_net_helpers.h"
LOG_CHANNEL(sys_net);
int get_native_error()
{
int native_error;
#ifdef _WIN32
native_error = WSAGetLastError();
#else
native_error = errno;
#endif
return native_error;
}
sys_net... | 5,954 | C++ | .cpp | 211 | 25.677725 | 139 | 0.683842 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,373 | lv2_socket_raw.cpp | RPCS3_rpcs3/rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_raw.cpp | #include "stdafx.h"
#include "lv2_socket_raw.h"
#include "Emu/NP/vport0.h"
LOG_CHANNEL(sys_net);
template <typename T>
struct socket_raw_logging
{
socket_raw_logging() = default;
socket_raw_logging(const socket_raw_logging&) = delete;
socket_raw_logging& operator=(const socket_raw_logging&) = delete;
atomic_t<b... | 4,042 | C++ | .cpp | 118 | 32.542373 | 207 | 0.675225 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,374 | CPUThread.cpp | RPCS3_rpcs3/rpcs3/Emu/CPU/CPUThread.cpp | #include "stdafx.h"
#include "CPUThread.h"
#include "CPUDisAsm.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Memory/vm_locking.h"
#include "Emu/Memory/vm_reservation.h"
#include "Emu/IdManager.h"
#include "Emu/GDB.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/SPUThread.h"
#include "Em... | 35,286 | C++ | .cpp | 1,393 | 21.502513 | 319 | 0.629672 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,375 | CPUTranslator.cpp | RPCS3_rpcs3/rpcs3/Emu/CPU/CPUTranslator.cpp | #ifdef LLVM_AVAILABLE
#include "CPUTranslator.h"
#include "util/v128.hpp"
#include "util/simd.hpp"
llvm::LLVMContext g_llvm_ctx;
llvm::Value* peek_through_bitcasts(llvm::Value* arg)
{
llvm::CastInst* i;
while ((i = llvm::dyn_cast_or_null<llvm::CastInst>(arg)) && i->getOpcode() == llvm::Instruction::BitCast)
{
... | 11,281 | C++ | .cpp | 387 | 26.372093 | 125 | 0.645191 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,376 | AArch64Signal.cpp | RPCS3_rpcs3/rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp | #include <stdafx.h>
#include "AArch64Signal.h"
namespace aarch64
{
// Some of the EC codes we care about
enum class EL1_exception_class
{
undefined = 0,
instr_abort_0 = 32, // PAGE_FAULT - Execute, change in EL
instr_abort_1 = 33, // PAGE_FAULT - Execute, same EL
da... | 3,233 | C++ | .cpp | 91 | 27.076923 | 114 | 0.581202 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,377 | AArch64Common.cpp | RPCS3_rpcs3/rpcs3/Emu/CPU/Backends/AArch64/AArch64Common.cpp | #include "stdafx.h"
#include "AArch64Common.h"
#include <thread>
#include <map>
#if defined(__APPLE__)
#include <sys/sysctl.h>
#endif
namespace aarch64
{
#if !defined(__APPLE__)
struct cpu_entry_t
{
u32 vendor;
u32 part;
const char* arch;
const char* family;
const char... | 8,262 | C++ | .cpp | 229 | 27.200873 | 123 | 0.52231 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,378 | AArch64JIT.cpp | RPCS3_rpcs3/rpcs3/Emu/CPU/Backends/AArch64/AArch64JIT.cpp | #include "stdafx.h"
#include "AArch64JIT.h"
#include "AArch64ASM.h"
LOG_CHANNEL(jit_log, "JIT");
#define STDOUT_DEBUG 0
#define DPRINT1(...)\
do {\
printf(__VA_ARGS__);\
printf("\n");\
fflush(stdout);\
} while (0)
#if STDOUT_DEBUG
#define DPRINT DPRINT1
#else
#define DPRINT jit_log.... | 20,764 | C++ | .cpp | 471 | 31.656051 | 189 | 0.548283 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,379 | vm.cpp | RPCS3_rpcs3/rpcs3/Emu/Memory/vm.cpp | #include "stdafx.h"
#include "vm_locking.h"
#include "vm_ptr.h"
#include "vm_ref.h"
#include "vm_reservation.h"
#include "Utilities/mutex.h"
#include "Utilities/Thread.h"
#include "Utilities/address_range.h"
#include "Utilities/JIT.h"
#include "Emu/CPU/CPUThread.h"
#include "Emu/RSX/RSXThread.h"
#include "Emu/Cell/SPU... | 56,472 | C++ | .cpp | 1,987 | 24.464519 | 211 | 0.618234 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,380 | rsx_utils.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/rsx_utils.cpp | #include "stdafx.h"
#include "rsx_utils.h"
#include "rsx_methods.h"
#include "Emu/RSX/GCM.h"
#include "Emu/Cell/Modules/cellVideoOut.h"
#include "Overlays/overlays.h"
#ifdef _MSC_VER
#pragma warning(push, 0)
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wall"
#pragma GCC diagnostic ignored "-Wextr... | 7,220 | C++ | .cpp | 201 | 33.0199 | 151 | 0.708113 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,381 | gcm_printing.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/gcm_printing.cpp | #include "gcm_printing.h"
#include "rsx_decode.h"
#include <unordered_map>
#include <Utilities/StrFmt.h>
namespace
{
constexpr u32 opcode_list[] = {NV4097_SET_VIEWPORT_HORIZONTAL, NV4097_SET_VIEWPORT_VERTICAL,
NV4097_SET_SCISSOR_HORIZONTAL, NV4097_SET_SCISSOR_VERTICAL, NV4097_SET_SURFACE_CLIP_HORIZONTAL,
NV4097_S... | 70,790 | C++ | .cpp | 1,024 | 66.06543 | 125 | 0.698872 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,382 | GSRender.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/GSRender.cpp | #include "stdafx.h"
#include "GSRender.h"
GSRender::GSRender(utils::serial* ar) noexcept : rsx::thread(ar)
{
if (auto gs_frame = Emu.GetCallbacks().get_gs_frame())
{
m_frame = gs_frame.release();
}
else
{
m_frame = nullptr;
}
}
GSRender::~GSRender()
{
m_context = nullptr;
if (m_frame)
{
m_frame->clos... | 862 | C++ | .cpp | 55 | 13.672727 | 64 | 0.667503 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,383 | RSXFIFO.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXFIFO.cpp | #include "stdafx.h"
#include "RSXFIFO.h"
#include "RSXThread.h"
#include "Capture/rsx_capture.h"
#include "Common/time.hpp"
#include "Core/RSXReservationLock.hpp"
#include "Emu/Memory/vm_reservation.h"
#include "Emu/Cell/lv2/sys_rsx.h"
#include "NV47/HW/context.h"
#include "util/asm.hpp"
#include <bitset>
using spu... | 21,076 | C++ | .cpp | 755 | 22.744371 | 144 | 0.60813 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,384 | rsx_vertex_data.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/rsx_vertex_data.cpp | #include "stdafx.h"
#include "rsx_vertex_data.h"
#include "rsx_methods.h"
namespace rsx
{
void push_buffer_vertex_info::clear()
{
if (size)
{
data.clear();
vertex_count = 0;
dword_count = 0;
size = 0;
}
}
u8 push_buffer_vertex_info::get_vertex_size_in_dwords() const
{
// NOTE: Types are alway... | 3,141 | C++ | .cpp | 86 | 33.453488 | 161 | 0.699013 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,385 | RSXZCULL.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXZCULL.cpp | #include "stdafx.h"
#include "Core/RSXEngLock.hpp"
#include "Core/RSXReservationLock.hpp"
#include "RSXThread.h"
namespace rsx
{
namespace reports
{
ZCULL_control::ZCULL_control()
{
for (auto& query : m_occlusion_query_data)
{
m_free_occlusion_pool.push(&query);
}
for (auto& stat... | 26,182 | C++ | .cpp | 851 | 24.549941 | 145 | 0.615695 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,386 | RSXDisAsm.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXDisAsm.cpp | #include "stdafx.h"
#include "RSXDisAsm.h"
#include "RSXThread.h"
#include "gcm_enums.h"
#include "gcm_printing.h"
#include "rsx_methods.h"
namespace rsx
{
void invalid_method(context*, u32, u32);
}
u32 RSXDisAsm::disasm(u32 pc)
{
last_opcode.clear();
auto try_read_op = [this](u32 pc) -> bool
{
if (pc < m_sta... | 4,236 | C++ | .cpp | 174 | 21.16092 | 111 | 0.60144 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,387 | rsx_methods.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/rsx_methods.cpp | #include "stdafx.h"
#include "rsx_methods.h"
#include "RSXThread.h"
#include "rsx_utils.h"
#include "rsx_decode.h"
#include "Common/time.hpp"
#include "Emu/Cell/PPUCallback.h"
#include "Emu/Cell/lv2/sys_rsx.h"
#include "Emu/RSX/Common/BufferUtils.h"
#include "Emu/RSX/NV47/HW/nv47.h"
#include "Emu/RSX/NV47/HW/nv47_sync... | 89,507 | C++ | .cpp | 1,679 | 49.887433 | 216 | 0.693341 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,388 | RSXOffload.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXOffload.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "Common/BufferUtils.h"
#include "Core/RSXReservationLock.hpp"
#include "RSXOffload.h"
#include "RSXThread.h"
#include <thread>
#include "util/asm.hpp"
namespace rsx
{
struct dma_manager::offload_thread
{
lf_queue<transport_packet> m_work_queue;
atomic_t<u... | 5,580 | C++ | .cpp | 206 | 23.378641 | 162 | 0.667416 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,389 | RSXThread.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXThread.cpp | #include "stdafx.h"
#include "RSXThread.h"
#include "Capture/rsx_capture.h"
#include "Common/BufferUtils.h"
#include "Common/buffer_stream.hpp"
#include "Common/texture_cache.h"
#include "Common/surface_store.h"
#include "Common/time.hpp"
#include "Core/RSXReservationLock.hpp"
#include "Core/RSXEngLock.hpp"
#include "... | 123,626 | C++ | .cpp | 3,566 | 30.448121 | 281 | 0.675362 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,390 | RSXTexture.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/RSXTexture.cpp | #include "stdafx.h"
#include "RSXTexture.h"
#include "rsx_methods.h"
#include "rsx_utils.h"
#include "Emu/system_config.h"
namespace rsx
{
u32 fragment_texture::offset() const
{
return registers[NV4097_SET_TEXTURE_OFFSET + (m_index * 8)] & 0x7FFFFFFF;
}
u8 fragment_texture::location() const
{
return (regis... | 14,009 | C++ | .cpp | 380 | 34.081579 | 178 | 0.700465 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,391 | gcm_enums.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/gcm_enums.cpp | #include "gcm_enums.h"
#include "Utilities/StrFmt.h"
#include "Utilities/Thread.h"
using namespace rsx;
template <>
void fmt_class_string<CellGcmLocation>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](CellGcmLocation value)
{
switch (value)
{
case CELL_GCM_LOCATION_LOCAL: return "Local";
ca... | 19,601 | C++ | .cpp | 567 | 32.144621 | 114 | 0.72629 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,392 | NullGSRender.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Null/NullGSRender.cpp | #include "stdafx.h"
#include "NullGSRender.h"
u64 NullGSRender::get_cycles()
{
return thread_ctrl::get_cycles(static_cast<named_thread<NullGSRender>&>(*this));
}
NullGSRender::NullGSRender(utils::serial* ar) noexcept : GSRender(ar)
{
}
void NullGSRender::end()
{
execute_nop_draw();
rsx::thread::end();
}
| 311 | C++ | .cpp | 14 | 20.785714 | 81 | 0.748299 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,393 | texture_cache.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Common/texture_cache.cpp | #include "stdafx.h"
#include "texture_cache_utils.h"
#include "Utilities/address_range.h"
#include "util/fnv_hash.hpp"
namespace rsx
{
constexpr u32 min_lockable_data_size = 4096; // Increasing this value has worse results even on systems with pages > 4k
void buffered_section::init_lockable_range(const address_rang... | 5,650 | C++ | .cpp | 180 | 28.172222 | 135 | 0.706738 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,394 | surface_store.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Common/surface_store.cpp | #include "stdafx.h"
#include "surface_store.h"
#include "util/asm.hpp"
namespace rsx
{
namespace utility
{
std::vector<u8> get_rtt_indexes(surface_target color_target)
{
switch (color_target)
{
case surface_target::none: return{};
case surface_target::surface_a: return{ 0 };
case surface_target::... | 2,377 | C++ | .cpp | 64 | 33.609375 | 81 | 0.731169 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,395 | BufferUtils.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Common/BufferUtils.cpp | #include "stdafx.h"
#include "BufferUtils.h"
#include "../rsx_methods.h"
#include "../RSXThread.h"
#include "util/to_endian.hpp"
#include "util/sysinfo.hpp"
#include "Utilities/JIT.h"
#include "util/asm.hpp"
#include "util/v128.hpp"
#include "util/simd.hpp"
#if !defined(_MSC_VER)
#pragma GCC diagnostic push
#pragma G... | 20,698 | C++ | .cpp | 634 | 29.425868 | 184 | 0.661259 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,396 | TextureUtils.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Common/TextureUtils.cpp | #include "stdafx.h"
#include "Emu/Memory/vm.h"
#include "TextureUtils.h"
#include "../RSXThread.h"
#include "../rsx_utils.h"
#include "util/asm.hpp"
namespace utils
{
template <typename T, typename U>
[[nodiscard]] auto bless(const std::span<U>& span)
{
return std::span<T>(bless<T>(span.data()), sizeof(U) * span... | 55,559 | C++ | .cpp | 1,421 | 35.660099 | 251 | 0.691993 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,397 | rsx_replay.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Capture/rsx_replay.cpp | #include "stdafx.h"
#include "rsx_replay.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/lv2/sys_rsx.h"
#include "Emu/Cell/lv2/sys_memory.h"
#include "Emu/RSX/RSXThread.h"
#include "util/asm.hpp"
namespace rsx
{
be_t<u32> rsx_replay_thread::allocate_context()
{
u32 buffer_size = 4;
// run through repla... | 8,633 | C++ | .cpp | 198 | 39.464646 | 250 | 0.678073 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,398 | rsx_capture.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Capture/rsx_capture.cpp | #include "stdafx.h"
#include "rsx_capture.h"
#include "Emu/RSX/Common/BufferUtils.h"
#include "Emu/RSX/Common/TextureUtils.h"
#include "Emu/RSX/Common/surface_store.h"
#include "Emu/RSX/GCM.h"
#include "Emu/RSX/RSXThread.h"
#include "Emu/Memory/vm.h"
#include "xxhash.h"
namespace rsx
{
namespace capture
{
void in... | 15,497 | C++ | .cpp | 330 | 41.821212 | 156 | 0.676778 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
5,399 | RSXDMAWriter.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Host/RSXDMAWriter.cpp | #include "stdafx.h"
#include "RSXDMAWriter.h"
#include "Utilities//Thread.h"
#include <util/asm.hpp>
namespace rsx
{
void RSXDMAWriter::update()
{
if (m_dispatch_handlers.empty())
{
m_job_queue.clear();
return;
}
while (!m_job_queue.empty())
{
const auto job = m_job_queue.front... | 1,453 | C++ | .cpp | 56 | 21.660714 | 97 | 0.672727 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,400 | overlay_cursor.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_cursor.cpp | #include "stdafx.h"
#include "overlay_cursor.h"
#include "overlay_manager.h"
namespace rsx
{
namespace overlays
{
cursor_item::cursor_item()
{
m_cross_h.set_size(15, 1);
m_cross_v.set_size(1, 15);
}
bool cursor_item::set_position(s16 x, s16 y)
{
if (m_x == x && m_y == y)
{
return false;
... | 2,973 | C++ | .cpp | 121 | 20.570248 | 116 | 0.639943 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,401 | overlay_animation.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_animation.cpp | #include "stdafx.h"
#include "overlay_animation.h"
#include "overlay_controls.h"
#include "Emu/system_config.h"
namespace rsx
{
namespace overlays
{
void animation_base::begin_animation(u64 timestamp_us)
{
timestamp_start_us = timestamp_us;
timestamp_end_us = timestamp_us + get_total_duration_us();
}
... | 3,378 | C++ | .cpp | 154 | 17.954545 | 92 | 0.636221 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,402 | overlay_compile_notification.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_compile_notification.cpp | #include "stdafx.h"
#include "overlays.h"
#include "overlay_message.h"
#include "overlay_loading_icon.hpp"
namespace rsx
{
namespace overlays
{
static std::shared_ptr<loading_icon24> s_shader_loading_icon24;
static std::shared_ptr<loading_icon24> s_ppu_loading_icon24;
void show_shader_compile_notification()
... | 1,221 | C++ | .cpp | 44 | 24.022727 | 76 | 0.700855 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
5,403 | overlay_user_list_dialog.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_user_list_dialog.cpp | #include "stdafx.h"
#include "overlay_manager.h"
#include "overlay_user_list_dialog.h"
#include "Emu/vfs_config.h"
#include "Emu/system_utils.hpp"
#include "Emu/System.h"
#include "Utilities/StrUtil.h"
#include "Utilities/Thread.h"
namespace rsx
{
namespace overlays
{
user_list_dialog::user_list_entry::user_list_e... | 7,324 | C++ | .cpp | 217 | 29.447005 | 171 | 0.66261 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,404 | overlay_message_dialog.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_message_dialog.cpp | #include "stdafx.h"
#include "overlay_manager.h"
#include "overlay_message_dialog.h"
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/IdManager.h"
#include "Utilities/Thread.h"
#include <thread>
namespace rsx
{
namespace overlays
{
message_dialog::message_dialo... | 12,367 | C++ | .cpp | 404 | 25.693069 | 171 | 0.654746 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
5,405 | overlay_progress_bar.cpp | RPCS3_rpcs3/rpcs3/Emu/RSX/Overlays/overlay_progress_bar.cpp | #include "stdafx.h"
#include "overlay_progress_bar.hpp"
namespace rsx
{
namespace overlays
{
progress_bar::progress_bar()
{
text_view.back_color = {0.f, 0.f, 0.f, 0.f};
}
void progress_bar::inc(f32 value)
{
set_value(m_value + value);
}
void progress_bar::dec(f32 value)
{
set_value(m_value... | 1,832 | C++ | .cpp | 73 | 21.506849 | 60 | 0.646586 | RPCS3/rpcs3 | 15,204 | 1,895 | 1,021 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.