<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu-mainline/src/common/cityhash.h, branch master</title>
<subtitle>A backup of the Yuzu mainline repo. Only includes the master branch, nothing else.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/'/>
<entry>
<title>chore: add missing SPDX tags</title>
<updated>2022-04-28T16:24:11+00:00</updated>
<author>
<name>Andrea Pappacoda</name>
<email>andrea@pappacoda.it</email>
</author>
<published>2022-04-28T16:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=01cf05bc75b1e47beb08937439f3ed9339e7b254'/>
<id>01cf05bc75b1e47beb08937439f3ed9339e7b254</id>
<content type='text'>
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
</pre>
</div>
</content>
</entry>
<entry>
<title>common: add missing header after f3805376f726</title>
<updated>2021-02-23T00:04:32+00:00</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2021-02-22T12:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=71526ecfc743ad1547df09937f63ff0a8b9d8745'/>
<id>71526ecfc743ad1547df09937f63ff0a8b9d8745</id>
<content type='text'>
In file included from src/video_core/dma_pusher.cpp:5:
src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
   69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
      |                                               ^~~~~~
src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
   73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
      |                                                       ^~~~~~
src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
   77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
      |                                                        ^~~~~~
src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
   80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
      |                                               ^~~~~~
src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
   84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
      |                                                       ^~~~~~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In file included from src/video_core/dma_pusher.cpp:5:
src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
   69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
      |                                               ^~~~~~
src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
   73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
      |                                                       ^~~~~~
src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
   77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
      |                                                        ^~~~~~
src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
   80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
      |                                               ^~~~~~
src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
   84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
      |                                                       ^~~~~~
</pre>
</div>
</content>
</entry>
<entry>
<title>common/cityhash: Use common types</title>
<updated>2021-02-18T03:45:17+00:00</updated>
<author>
<name>ReinUsesLisp</name>
<email>reinuseslisp@airmail.cc</email>
</author>
<published>2021-02-18T03:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=f3805376f726e10ff2fe26e99b8702f20eee3eea'/>
<id>f3805376f726e10ff2fe26e99b8702f20eee3eea</id>
<content type='text'>
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array&lt;u64, 2&gt;', meanwhile Google's code uses
'uint128 = std::pair&lt;u64, u64&gt;'.

While we are at it, use size_t instead of std::size_t.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array&lt;u64, 2&gt;', meanwhile Google's code uses
'uint128 = std::pair&lt;u64, u64&gt;'.

While we are at it, use size_t instead of std::size_t.
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Make use of [[nodiscard]] where applicable</title>
<updated>2020-08-15T21:17:52+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2020-08-14T13:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=df7248039553b3ebd338380c3ef0428b0e046e79'/>
<id>df7248039553b3ebd338380c3ef0428b0e046e79</id>
<content type='text'>
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Port #4182 from Citra: "Prefix all size_t with std::"</title>
<updated>2018-09-15T13:21:06+00:00</updated>
<author>
<name>fearlessTobi</name>
<email>thm.frey@gmail.com</email>
</author>
<published>2018-09-15T13:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=63c2e32e207d31ecadd9022e1d7cd705c9febac8'/>
<id>63c2e32e207d31ecadd9022e1d7cd705c9febac8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Port cityhash code from Citra.</title>
<updated>2018-04-14T03:48:22+00:00</updated>
<author>
<name>bunnei</name>
<email>bunneidev@gmail.com</email>
</author>
<published>2018-04-07T04:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=45fd7c4a37d4b890f98f8a0a9373e57c0830cc8d'/>
<id>45fd7c4a37d4b890f98f8a0a9373e57c0830cc8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
