Buckets:
arudradey/fullhtml-storage / emsdk /upstream /emscripten /system /lib /llvm-libc /src /string /memmem.cpp
| //===-- Implementation of memmem ------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| namespace LIBC_NAMESPACE_DECL { | |
| LLVM_LIBC_FUNCTION(void *, memmem, | |
| (const void *haystack, size_t haystack_len, | |
| const void *needle, size_t needle_len)) { | |
| constexpr auto COMP = [](unsigned char l, unsigned char r) -> int { | |
| return l - r; | |
| }; | |
| return inline_memmem(haystack, haystack_len, needle, needle_len, COMP); | |
| } | |
| } // namespace LIBC_NAMESPACE_DECL | |
Xet Storage Details
- Size:
- 926 Bytes
- Xet hash:
- 258595e47994b94d6bc1da3af57187c7295975800e56ac6cd78440a2b347bd07
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.