mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
9c631e11fe
This solves two main problems: - the looming threat of running out of memory since every thread would consume duplicate (and probably not needed) resources - though I will point out, jak 2's offline tests seem to hardly use any memory even with 400+ files, duplicated across many threads. Where as jak 1 does indeed use tons more memory. So I think there is something going on besides just the source files - condense the output so it's much easier to see what is happening / how close the test is to completing. - one annoying thing about the multiple thread change was errors were typically buried far in the middle of the output, this fixes that - refactors the offline test code in general to be a lot more modular The pretty printing is not enabled by default, run with `-p` or `--pretty-print` if you want to use it https://user-images.githubusercontent.com/13153231/205513212-a65c20d4-ce36-44f6-826a-cd475505dbf9.mp4
45 lines
1.3 KiB
C++
Vendored
Generated
45 lines
1.3 KiB
C++
Vendored
Generated
// Formatting library for C++
|
|
//
|
|
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
// All rights reserved.
|
|
//
|
|
// For the license information refer to format.h.
|
|
|
|
#include "fmt/format-inl.h"
|
|
|
|
FMT_BEGIN_NAMESPACE
|
|
namespace detail {
|
|
|
|
template FMT_API auto dragonbox::to_decimal(float x) noexcept
|
|
-> dragonbox::decimal_fp<float>;
|
|
template FMT_API auto dragonbox::to_decimal(double x) noexcept
|
|
-> dragonbox::decimal_fp<double>;
|
|
|
|
#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
|
|
template FMT_API locale_ref::locale_ref(const std::locale& loc);
|
|
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
|
|
#endif
|
|
|
|
// Explicit instantiations for char.
|
|
|
|
template FMT_API auto thousands_sep_impl(locale_ref)
|
|
-> thousands_sep_result<char>;
|
|
template FMT_API auto decimal_point_impl(locale_ref) -> char;
|
|
|
|
template FMT_API void buffer<char>::append(const char*, const char*);
|
|
|
|
template FMT_API void vformat_to(buffer<char>&, string_view,
|
|
basic_format_args<FMT_BUFFER_CONTEXT(char)>,
|
|
locale_ref);
|
|
|
|
// Explicit instantiations for wchar_t.
|
|
|
|
template FMT_API auto thousands_sep_impl(locale_ref)
|
|
-> thousands_sep_result<wchar_t>;
|
|
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
|
|
|
|
template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
|
|
|
|
} // namespace detail
|
|
FMT_END_NAMESPACE
|