From b6ce3d25357b4e01daf212a955a6093133bc2fe4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 21 Aug 2025 15:19:01 +0200 Subject: feat: Reworked `hefsi_hash_64` to follow the codebase's conventions. Signed-off-by: Amlal El Mahrouss --- dev/kernel/NeKit/KString.inl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dev/kernel/NeKit/KString.inl') diff --git a/dev/kernel/NeKit/KString.inl b/dev/kernel/NeKit/KString.inl index a0dd3623..1faefb08 100644 --- a/dev/kernel/NeKit/KString.inl +++ b/dev/kernel/NeKit/KString.inl @@ -19,22 +19,22 @@ inline void rt_string_append(Char* lhs, const Char* rhs, Int32 cur) { } } -template<> +template <> inline Char* BasicKString<>::Data() { return this->fData; } -template<> +template <> inline const Char* BasicKString<>::CData() const { return const_cast(this->fData); } -template<> +template <> inline SizeT BasicKString<>::Length() const { return this->fDataSz; } -template<> +template <> inline bool BasicKString<>::operator==(const BasicKString<>& rhs) const { if (rhs.Length() != this->Length()) return false; @@ -45,7 +45,7 @@ inline bool BasicKString<>::operator==(const BasicKString<>& rhs) const { return true; } -template<> +template <> inline bool BasicKString<>::operator==(const Char* rhs) const { if (rt_string_len(rhs) != this->Length()) return false; @@ -56,7 +56,7 @@ inline bool BasicKString<>::operator==(const Char* rhs) const { return true; } -template<> +template <> inline bool BasicKString<>::operator!=(const BasicKString<>& rhs) const { if (rhs.Length() != this->Length()) return false; @@ -67,7 +67,7 @@ inline bool BasicKString<>::operator!=(const BasicKString<>& rhs) const { return true; } -template<> +template <> inline bool BasicKString<>::operator!=(const Char* rhs) const { if (rt_string_len(rhs) != this->Length()) return false; @@ -78,7 +78,7 @@ inline bool BasicKString<>::operator!=(const Char* rhs) const { return true; } -template<> +template <> inline BasicKString<>& BasicKString<>::operator+=(const BasicKString<>& rhs) { if (rt_string_len(rhs.fData) > this->Length()) return *this; @@ -88,7 +88,7 @@ inline BasicKString<>& BasicKString<>::operator+=(const BasicKString<>& rhs) { return *this; } -template<> +template <> inline BasicKString<>& BasicKString<>::operator+=(const Char* rhs) { rt_string_append(this->fData, const_cast(rhs), this->fCur); this->fCur += rt_string_len(const_cast(rhs)); -- cgit v1.2.3