rmeta • Lines: 317rust
+ #rustc 1.92.0 (ded5c06cf 2025-12-08)��� ⷄ�ۆ��p�� -225863f279df55c4� �١� �T�6a��D�
-5080178c80bf7a93� �uӰ]����d��!� -06039bcfba61f665� �**�٭T��HО�9� -3e2e950d4bac10b5�� �t�#3Ҵη��Ǣ -d25e598578fbf080� rustc_std_workspace_core������Nm��gmY��� -327ea4f353b4eb8c� ��y.:i���gy"1�r -94fdfaf0af91a65d� miniz_oxide�M�^�yTLm�L�d=B -5312b588e5cfab93� adler2��;~�7�ɴ,P?��� -1e0b0d62df36c85c� hashbrown�L�ϫ 2݆y��q -2ed6a8f06fc51a9d� rustc_std_workspace_alloc�a���p��H����6Z� -05b02707a5b2a256�
std_detect� c�LN����=1�ʶӐ -5978f0713dd5442d� rustc_demangle�X�Fq��UՃ�>7z
�� -43b2ff22c18e1125� cfg_if�֦<����ɐ¬� -6a40188dd7d989d2� addr2line���,2�!xb�"6�!� -11d54e777384a9e5� gimli��2��I.�ġ����� -35018e994bad7042� object��T �f��Y�
hQec -2dc10b344e05b569� memchr��xZT9�C��I�Mg� -09f2ab7e0d97e07a��~ݤ ����h��� -932f22f820d1e5ec�� +Y�D]�O.ʼ��
$� -965a3d5e7b2182f0� USIZE_BYTES�\� ��� 32�$� ܺ repeat_byte�\� ��� �$� ܪ �D�: �L�9 linux�<�9 ��9 ��9 tests�,�V �$�V � � LO_U64� HI_U64� LO_USIZE� HI_USIZE� � contains_zero_byte� � � memchr_specific� memrchr� memrchr_specific� memchr2� slow� memchr3� �
8 8 8 8 8 8 8 8 ��
��' � � $ 0x0101010101010101� ��
��������� ��' � � $ 0x8080808080808080� |� 4� � ��(
� ,� $9 � _� |� 4� �� ��( � ,� $9 � _� �
� � � ,� # 8�
� � $� �4� �0 c_int�,� �� size_t�4� � � �� � � �
This crate defines two functions, `memchr` and `memrchr`, which expose a safe interface
to the corresponding functions in `libc`.
�
�
� � �0 � �� �� � �� Zd� O�� >A*-�� 4� ��� 4� ��� D� ��� D� �Ě \� ���' �� �
x�� �� \� �
b�� ��; ��
! A safe interface to `memchr`.� �
� ��
J G Returns the index corresponding to the first occurrence of `needle` in� ��
. + `haystack`, or `None` if one is not found.� � � ��H E memchr reduces to super-optimized machine code at around an order of� ��G D magnitude faster than `haystack.iter().position(|&b| b == needle)`.� �� (See benchmarks.)� � � l�
# Example� � � ��I F This shows how to find the first position of a byte in a byte string.� �
� \�
```rust� ��
use memchr::memchr;� �
� ��
* ' let haystack = b"the quick brown fox";� ��0 - assert_eq!(memchr(b'k', haystack), Some(8));� <� ```�4� �
� ������� �� ������ �;t���� �
needle�4� haystack�D� ��@ |� � � � �
�4� �D� d� \� ��<