Files
archy/core/target/debug/deps/libinout-aab5bd67b95a5e95.rmeta
T

115 lines
44 KiB
Plaintext
Raw Normal View History

2026-01-24 22:59:20 +00:00
rust
²®#rustc 1.93.0 (254b59607 2026-01-19)Á³VOÐêùÿ²?ÑL¼§Ì±-a7a40eb546f9e2b0Á
2026-01-24 22:59:20 +00:00
generic_arrayÁwù
Ã54#™÷¢D¯-ac360eb0ff86a03cÁtypenumÁ®÷ä8` 6#°«¶ŠEDˆ-1e66d7cf02bc5a08Áë&Gf·Ã ¬ëñq:¤»b-bb76018b1173caf6Á,€
block_paddingÁlþ
block-paddingÁ|«Ì¡PadErrorÁDî«ÌðÆD…<V«|`ÌVInOutÁ,½<•«Ì•InOutBufÁDÄ'«%#%—PadTypeÁ<…«ÌÕPaddingÁ<Ž&«$"$— ArrayLengthÁ\Ϋ̞ GenericArrayÁdÛ+«)')—PaddedInOutBufÁt÷3<—3«|¡3Ì—3³errorsÁÍÍ Í         'inpÁ'outÁin_ptrÁout_ptrÁ_pdÁ û²
'aÁget_inÁ Ýget_outÁ"Ýinto_rawÁfrom_rawÁ &û&&&clone_inÁ +Ý++ï /û///ï 4û444Í4getÁ9Ý4into_bufÁ <û<<Í<
xor_in2outÁ AûAAÍAAç inout_bufÁGGGGGGGGGG G
G­SûSSS˜S¥S¾ S³G[Ý[[ïG_Ý__from_mutÁGcûccc½cIntoIterÁcŠ Gjûjjj from_ref_mutÁj j¾ jis_emptyÁj®rÝjætÝjúvÝjinto_outÁjj²
zÝjžjsplit_atÁj into_chunksÁ~ÍGûçGûÍG InOutBufIterÁûbufÁposÁGû½¥ reservedÁInOutBufReservedÁœûœœœ˜œ¥œin_lenÁœout_lenÁœ³¥Ý¥¥from_mut_sliceÁ¥ž¥¥
get_in_lenÁ¥ get_out_lenÁ­û­­­ from_slicesÁ­æ²Ý­ú´ÝûIntoArrayErrorÁ¾
ÂÈÄÍ
NotEqualErrorÁÆ
 ÊÈ
ÌÍOutIsTooSmallErrorÁÎ
  ÑÈ
ÔÍ








*
@
@
F
F
p
q
ƒ
ƒ

«
¬
Ã
Å
Å
Å
Ë
Í
Í
Í
Ò
Õ
Õ
Õ
þ¾¾¿è Nˆ¾\g°Öá¯Þ¯à`¯å`¯þÆÆÇ¢ ÷»”³
ÉáƒÞƒà`ƒå`ƒáÎÎÏÛ @wxÚºR"Þ×þ×à`×å`×ú˜¥³
f±7ŽžUÝÝ Ýôú˜¥³
f±7ŽžUû ûÔ ÔúSS­W˜X¥Y¾ Z³N|(¿´ ÝÝô Ý
ô®JSS­W˜X¥Y¾ Z³N|(¿´ ûÔýÞ˜¥³
f±7ŽžUû¾dataÁk˜q«Âß?ÔÍÞKš
Æ
GÑ
Gâ½7ÓUŽpÉûÔÀ¾ÈÆÓÎÁ¾ÉÆÐÎÂ¾ÊÆÑÎÄ¾ÌÆÔÎ¾Æ Î+/[ScS„S‘þáÞà`å`ú®JýÞK G—³­D S¼,>»š
d¦D¼«„ùœ½èt|¾ºè¿º¢Æº¢ÇºÛ”ž κÛϺüƒüKH Collection of custom reference types for code generic over in-place andÁüL(% buffer-to-buffer modes of operation.Á¡  ö 8l 7Dhttps://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svgÁüF$ ã8µ„é ú7¼üüF$ Â8¹ Ö7https://docs.rs/inout/0.1.4ÁìØü÷ G—³5­6S¼6»š
6¼«5œ½è4¾ºèE¿º¢5ƺ¢FǺÛ5κÛFϺñô÷4’¾¿ÆÇÎÏÍ
Á]Lü$¯æ`ü¸C»Öר Ö¯ ×Á`Á`œÃ`è Á]Ä`Æ
Á]Ê­\É:•Øê³í³î³Òï³ìð³ñ³ò³ìäs{©¶ѼѼÒ¼ štÀ. ¿
þ Æüå#ƒæ`üCÙÚÛ Ùƒ ÚÁ`Á`œÃ`è Á]Ä`Æ
Á]Ê­\É:•Û”$ 
$—þ ü³ (×
æ`
üâ Cå ÜÝÞ Ü× ÝÁ`Á`œÃ`è Á]Ä`Æ
Á]Ê­\É:•Þ”$  é 
 þ ð ­ôS  ¼ PhantomDataÁ\( ã'Š ÷ 5ê \Oé ¾d\ |oü œ eBDü?*8:*,üúülLI Custom pointer type which contains one immutable (input) and one mutableÁü¹@= (output) pointer, which are either equal or non-overlapping.Á,…û©âÔ Ôûüá3Ô
f±7ŽžU$$DFÜ  ÔÔÁ ÔwìŠã'Ñ{·Ë…YÚÚü™(û¿+ ª "$%ü÷5¤È Reborrow `self`.ÁDþ ˜¥³
f±7ŽžUÔ
2026-01-24 22:59:20 +00:00
ûÔ$“"$üÿ$üµ/, Get immutable reference to the input value.Á4†! ! 
ûÔ$•"$ü›-üÒ.+ Get mutable reference to the output value.Á<¢# # ª
"ûÔ"$üÕ+üü>; Convert `self` to a pair of raw input and output pointers.ÁDܱ,Ë,
$ûÔüÃQü² 63 Create `InOut` from raw input and output pointers.Áí Ë # SafetyÁü†
JG Behavior is undefined if any of the following conditions are violated:ÁüÕ
IF - `in_ptr` must point to a properly initialized value of type `T` andÁä£  must be valid for reads.ÁüÄ JG - `out_ptr` must point to a properly initialized value of type `T` andÁü“ ,) must be valid for both reads and writes.ÁüÄ EB - `in_ptr` and `out_ptr` must be either equal or non-overlapping.ÁüŽ
HE - If `in_ptr` and `out_ptr` are equal, then the memory referenced byÁüÛ
IF them must not be accessed through any other pointer (not derived fromÁü©JG the return value) for the duration of lifetime 'a. Both read and writeÁÜø accesses are forbidden.Áü˜LI - If `in_ptr` and `out_ptr` are not equal, then the memory referenced byÁüéNK `out_ptr` must not be accessed through any other pointer (not derived fromÁü¼LI the return value) for the duration of lifetime `'a`. Both read and writeÁüIF accesses are forbidden. The memory referenced by `in_ptr` must not beÁüÛMJ mutated for the duration of lifetime `'a`, except inside an `UnsafeCell`.ÁDѱ,Ë,‹
%ûÔ˜¥ü€/û'())'(¿+ ÞÔ,”*$…$$&Üõü¶$! Clone input value and return it.ÁDüß ßÔ& &
*ûÔ$†üÇ0Ý,-,-©âô Ы.ü.Ìü”$—ú«++
.ÝôœüÄIû012120¿+ Õ3ü3üª:Ú//
3ûÔüþLû567Í85786¿+ ©âº éºÔt•¾9;$‰9;68üã<üÑ+( Returns `InOut` for the given position.ÁËd‰ # PanicsÁüš.+ If `pos` greater or equal to array length.Áê: ˜¥³
f±7ŽžU::Ô4î4
9ûÔºÑ
2026-01-24 22:59:20 +00:00
-/üè0ü¥(% Convert `InOut` array to `InOutBuf`.ÁDï¾Þ44
;ûÔºüÔ Kû=>Í??>=©âÍ å éÿF˜¥³
f±7ŽžUû¾šk˜q«Âß?”GÿF@Ÿ¡üŸ#8ü¦!;8 XOR `data` with values behind the input slice and writeÁüæ! result to the output slice.ÁŠ"Ëd"ÆBü£"74 If `data` length is not equal to the buffer length.ÁT¦#àá à›G áäGâ$< ±#<
@ûÿF$¶#š$¼#üö%•ûBCÍD EDBEC÷F ‡&©â Š&ŠG|Ò&é½KäGüê& ˜¥³
f±7ŽžUû¾šk˜q«Âß?äG½KF$û%$&º¼´ü‹)Iü’';ÀGüÒ'„Hö'Ëdþ'ÆBü(7ÂHT)âã âáK ãªLâ$A )A
2026-01-24 22:59:20 +00:00
FûÿF½K$¢)š$¨)Sèt¾GJè¿GJ¢l*ÆGK¢ÇGKì
GL»ã'\[GNã'ŠGNî,hªcGO\„éGQ¾dGB¿Áž ì
ì
üL"œSuRTüt*HJ9;üÛ"ü¡JG Custom slice type which references one immutable (input) slice and oneÁüìGD mutable (output) slice of equal length. Input and output slices areÁü´&# either the same or do not overlap.ÁûTUVUVT¿+ ûÏ+üà3Þ+ÞN|(¿´ WXYZ$ï79Ü„4SS±,Ô¥SSË,¬ÅÐSS´DëSSã,ü˜5Ý\]\]È? ¡ö^ü^üê!
$
ÞÞ°Jcc
iûÔ
ü™ +ûklmlmk¿+ ª Þnopqrtvxyz|}~  -/ü¬ BüË FC Create `InOutBuf` from a pair of immutable and mutable references.Ád³ ÜåÞjj
2026-01-24 22:59:20 +00:00
nûÔin_valÁ4À out_valÁ<Ñ ü»Tü—85 Create `InOutBuf` from immutable and mutable slices.ÁÔËüÜDA Returns an error if length of slices is not equal to each other.Á û
Ô ˜\ê³í³î³Òï³ìð³ñ³ò³ìäs{©¶Þƒjj
oûÔin_bufÁ4Æout_bufÁ<ÙÔŠüË$! Get length of the inner buffers.Áä äÞ´Dj j
pûÔ$–ô‘üÃ30 Returns `true` if the buffer has a length of 0.ÁD˜å åÞj ¡j
qûÔüâ<üÓ'$ Returns `InOut` for given position.ÁÿËd‡ÆBü˜/, If `pos` greater or equal to buffer length.Áés ´D˜¥³
f±7ŽžUssÔjíj
rûÔÑ
ÿ*,ü¹&¤Š Get input slice.Á4Àu  u˜\jÇj
tûÔ"$üÝ/¬­ Get output slice.Á<äw  w˜\jìj
vûÔ"$ü¶&üß<9 Consume self and return output slice with lifetime `'a`.ÁD½Þœ\jj
xûÔüð+ü¯&# Get raw input and output pointers.ÁD÷Þæ2jj
yûÔ$€üü8¤Í÷,Dƒ{ SS­W˜X¥Y¾ Z³N|(¿´ {{ÔjŒj
zûÔ$˜"$ü¥*üØ;8 Create [`InOutBuf`] from raw input and output pointers.Á˜ Ëí2ü± J‚3ü€!IÕ3üÎ!GD must be valid for reads for `len * mem::size_of::<T>()` many bytes.Áüš"JË4üé"KH must be valid for both reads and writes for `len * mem::size_of::<T>()`Á|¹# many bytes.ÁüÍ#EÓ5ü—$H¡6üä$Iò6ü²%JÄ7Ü&8ü¡&Lº8üò&N9üÅ'JÄ7ü”(I»:üâ(M;ü´)VS - The total size `len * mem::size_of::<T>()` must be no larger than `isize::MAX`.ÁD³*±,Ë,´jj