📄 libadler2-8ddbfa9477eb984f.rmeta
/home/palash/git/iron_learn/target/debug/deps/libadler2-8ddbfa9477eb984f.rmeta
Language: rmeta • Lines: 562
rust
�;#rustc 1.92.0 (ded5c06cf 2025-12-08)��١�	�T�6a��D�
-5080178c80bf7a93��**�٭T��HО�9�-3e2e950d4bac10b5��$��<��,�|�BufRead�<��%�#!#adler32�<�)�<�)�,�)|�)tests�,�,�$�,��algo�
compute�MOD�
CHUNK_SIZE����
�
�

from_checksum�checksum�write_slice�>finish�write�
adler32_slice�U32X4�#
#�%(�)Adler32�+a�+b�.�1�888888888 8!8!8"8)8/8/8/828�##$�%��H�L�FZ�������������_++�,�-�P0�U?6���������`�'#0+(#1+###.+++�2�
�
�����_��`,�
�������#65521�D�$����	5	8��	6�	j�	��#
�	,��	�._��
�	+�	6=4��"
�	&+�	6=4�QY�	m*z�	��4�T�����\����6B �R	<�
qY�
���
���Q
+�����	�$����
;�;�
���*1sum�Fhd�"
#$#�.��	CJ"+����4��`��=�%" Adler-32 checksum implementation.�&��*! This implementation features:�L��P=: - Permissively licensed (0BSD) clean-room implementation.�Ď - Zero dependencies.��� - Zero `unsafe`.���$! - Decent performance (3-4 GB/s).���=: - `#![no_std]` support (with `default-features = false`).�����8�l��7https://docs.rs/adler2/2.0.0�����7����8�$���8�$���8�$���8�t�$�8unused_must_use�|���:"+�������`���ė�D�$�#$�<+	AddAssign�L#�	MulAssign�L.��	RemAssign�L9��	te�+QS9;!#dF��Y.<g343�4

o

$tbytes�,zt�����T��	�	T�"��#$�#55���#
�,�#��$�����%%T�%66����%
$�%�,�%�'�����''T�'77����'
$�'quotient�D�'��(�����)"T�)88����)
$�)rhs��)���d������74 Creates a new Adler-32 instance with default state.���
��,��GD Creates an `Adler32` instance from a precomputed Adler-32 checksum.�����[X This allows resuming checksum calculation without having to keep the `Adler32` instance�\� around.���l�
 # Example���<� ```�Զ # use adler2::Adler32;��� let parts = [�|�     "rust",���
     "acean",�4� ];���41 let whole = adler2::adler32_slice(b"rustacean");�����! let mut sum = Adler32::new();���)& sum.write_slice(parts[0].as_bytes());���! let partial = sum.checksum();���|� // ...later�����2/ let mut sum = Adler32::from_checksum(partial);���)& sum.write_slice(parts[1].as_bytes());���&# assert_eq!(sum.checksum(), whole);�<��l���
�B���:7 Returns the calculated checksum at this point in time.�D�99���
$���+��-* Adds `bytes` to the checksum calculation.�����]Z If efficiency matters, this should be called with Byte slices that contain at least a few��� thousand Bytes.�\�:;:�;���
$��,�������<��
��� !�`�`! �� 4� <<�� 
 $� �� !,� =>=�>��� 
!$� �,� ��"(��!52 Calculates the Adler-32 checksum of a byte slice.��!���!?< This is a convenience function around the [`Adler32`] type.��"���"$! [`Adler32`]: struct.Adler32.html�l�"??���"
"data�$�"�,�"��H�L�FZ$%���2��##
$D�"##�p�	 �"�(�"�)�)!@@��(�"(
),�"p�	����! Adler-32 checksum calculator.�����da An instance of this type is equivalent to an Adler-32 checksum: It can be created in the default���\Y state via [`new`] (or the provided `Default` impl), or from a precalculated checksum via���YV [`from_checksum`], and the currently stored checksum can be fetched via [`checksum`].�����b_ This type also implements `Hasher`, which makes it easy to calculate Adler-32 checksums of any���	da type that implements or derives `Hash`. This also allows using Adler-32 in a `HashMap`, although���
`] that is not recommended (while every checksum is a hash function, they are not necessarily a�t�
 good one).���t� # Examples�����*' Basic, piecewise checksum calculation:���<���� use adler2::Adler32;�����#  let mut adler = Adler32::new();�����" adler.write_slice(&[0, 1, 2]);���" adler.write_slice(&[3, 4, 5]);�����-* assert_eq!(adler.checksum(), 0x00290010);�<�
��
���
'$ Using `Hash` to process structures:��
�<�
���
 use std::hash::Hash;���
�3���� #[derive(Hash)]��� struct Data {���     byte: u8,���     word: u16,���     big: u64,�,� }�����#�4����:7 let data = Data { byte: 0x1F, word: 0xABCD, big: !0 };��� data.hash(&mut adler);�����41 // hash value depends on architecture endianness���'$ if cfg!(target_endian = "little") {���1.     assert_eq!(adler.checksum(), 0x33410990);�,��7��$! if cfg!(target_endian = "big") {���1.     assert_eq!(adler.checksum(), 0x331F0990);�,��7��<������ [`new`]: #method.new���,) [`from_checksum`]: #method.from_checksum���" [`checksum`]: #method.checksum�<��P0�U?6��,-4��++�
4��++�
(��/�_/!ABCA�B�^�^��^��[�^buf��[����e�S�C��������������������q�aX�ÅÅą��:����.�.
/,��5 ��(��2�2!DD��1�1
2,���E
� 
�
\D
#�)�.83� 9(>#
C�G�KPiT
��struct.Adler32.html��
���+�A���
���A�
���>��%bk���1vI�oM���p���c���h��6ܑ�ɹ�y��� �H����#�o�J![�7�.j#�yh�*ڸ�F��L�^��;�[2a�h�ōѪ[M]0:$���5�'�Ζ�!|b�F���?D�G�)�/�����0��������pP9�#fK������ћ�xi�=^ǂ�0��L��&ɫ�ڢ�P\m20�4u��_��b��)*ozRB�:��F�0T���-��M&7{FVS�|%��pn鮟Ρ�uUqщ��)-�z'3��9>S|LԪ�@��ۈDC$��q��@�%~UF��V<
������B�RD2���袕TYxI^}�{ʁ
F���tl�f�g�����
��ni����{�}5)��߅/��1��n'$`��9������O�B�? ��C�;q8����"f�hs�<�ob�U��gd�6��m�(#��eEe��
W��9�3�xH�����e������_���j��O�x�H�x;���b�]��*�w���!.��d��BcZ�"���Ma'����|)㣕�0|���":��� � |
�
2�
K^���]y��G
c
�
�
M�>b|���� 6R�9�����  y
�
W	i�S
�
n��0F}�� 

%x
�
r��%��x
0���1]���e_���1 -�
�
�
�
38<@DHZ����Yt��C
^
�
�
�
H�9^x��z���
1P������� d h n s x } � � � � � � � � � � � � �
�
�
6>BF^��y�c
�
s�|�H���R[��� g l q v { � � � � � � � � � � � � � S����Ie��$
O
�
�
@�*Gj��c~��,B��f����� U M�����=_��
I
�
�
8�;d���Wt���&<|�`����� H U����Mg��(
Q
�
�
D�.Kl��g���.D��h����� Y t'�
y
1���2^��f`�2 t'�
y
1���2^��f�2 a}�g
w��� L�T�  "0>���L��`�n�_m���
��Tf�Xj�
�Q�,
�
H�2O�k���] v
�
K�]�G
�
b��$:Y�� �v�j
#'+/37;ISdhlsw~���������������#*.26=AOW_cjnry�����������������xX
j�T
�
�
�
�
o��G� � ��Yp�Z
�
t�0L�� ��~$�u���core_intrinsics�derive_clone_copy���>��%bk�p����.������Z��>��%bk��c�����o��}���`fmt_helpers_for_derive��_�_>��%bk��.�H�����"|��>��%bk�p�>ZO"t�}�J��`�`��>��%bk�}x�6j��d�>��%bk��X��W��t<\�`�`��>��%bk��+�s�C~$�"��`�`��>��%bk���V��100000�/0o11�0�1:1�0;0�1+0�1*1�0�1_1�0�0�1�
ODHT E���}�{ʁ
)H����#@��ۈDC#Uqщ�� �":��D0T���-���!.��d�?�xi�=^7�.j#��g�����+x;���b�=`��9���0��_���j;�Ζ�!|b�pP9�#fK)-�z'3��!b��)*ozR��&ɫ�ڢ�����0D�G�)�/]��*�w�>
������B&ǂ�0��L���0|��C�P\m20�4�gd�6��m6�RD2����'�M&7{FVS�|%��p��? �2F���?���������{�}5-�3�xH���9��1vI�oM�o�J![�9>S|LԪ�"n鮟Ρ�u���O�B�1����|)�B��TYxI^(yh�*ڸ�F	ōѪ[M]0�(#��eEe7�BcZ�"�@��L�^��;
:$���5�'
)��߅/.�[2a�h��<�ob�U�5>��%bk�y��� ��6ܑ�ɹ���"f�hs4��Ma'Ac���h�������ћ
��ni���,��
W��98���p���%~UF��V<%�C�;q8��3F���tl�f*��1��n'$/B�:��F�$��q��@�$��O�x�H�<u��_����e����:������!O|�H���������/]n�O���NW�%���}��)Qa!&C���6t+�������v
���N&z�T�:yq��������/#2YzNH_9MW����wQ�3�e]y��m��������!O|�H���Y/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adler2-2.0.1/src/lib.rs� k�5������ER��SH�=�&">%>8T;'(+
"e]Zcea+$##.($;5(2%2-#<L`9&.&7.+3#
?$62b2#(!6@%+ @_b
F;))#/? * ) 
+69:;B>E69EI=(*(78@a98@ .T07,
&-0�����מ=q3Jگ@�Z/home/palash/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adler2-2.0.1/src/algo.rs� ������x�q?���c��*�153"eZ8e`Pe_?,Z1cdYE>X@N0SXgTdL ,'''P*96"41 (
P:-
/9(..$
$
:("
##
$!!!!!,P!!!! . )�������G�M�f������$9E�8�:x86_64-unknown-linux-gnu���غP+8<
X?adler2�-8ddbfa9477eb984f�>��%bk��wR��:E�,�3�2E�3E.fE.E��33f3f3f3�3f2fd+V+V3%33J3++VV333�2d,,XEX�,3Xf+2V�		�rust-end-file