This site requires javascript.
Android Code Search
file:androidx/compose/ui/util/InlineClassHelper.kt function:packInts
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui-util/src/commonMain/kotlin/androidx/compose/ui/util/
InlineClassHelper.kt
content_copy
Preview
78:
79:
80:
/** Packs two Int values into one Long value for use in inline classes. */
inline
fun
packInts
(val1: Int, val2: Int): Long {
return
(val1.toLong() shl
32
) or (val2.toLong() and
0xFFFFFFFF
)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main