diff options
author | Android Partner Docs <noreply@android.com> | 2017-06-21 01:25:52 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-21 01:25:52 +0000 |
commit | bb57032f17abb0cfb5ebe780451d58a97779c5b6 (patch) | |
tree | 9d32c0a36693b9ce3d89bd10152cd3a2564f486e /en/devices/tech/dalvik/dex-format.html | |
parent | c20ae7c7396e6f7d9a9e52be1823fffe30450ee8 (diff) | |
parent | f51ce4101185686a65dbe91027eec09c50b8c73e (diff) | |
download | source.android.com-bb57032f17abb0cfb5ebe780451d58a97779c5b6.tar.gz |
Merge "Docs: Changes to source.android.com" am: 14605d77b5 am: 833d7d4b81
am: f51ce41011
Change-Id: I78382338377cfd4f1e3e90e568047d8cf93a9d77
Diffstat (limited to 'en/devices/tech/dalvik/dex-format.html')
-rw-r--r-- | en/devices/tech/dalvik/dex-format.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/en/devices/tech/dalvik/dex-format.html b/en/devices/tech/dalvik/dex-format.html index 3ff22c0d..fde14a8b 100644 --- a/en/devices/tech/dalvik/dex-format.html +++ b/en/devices/tech/dalvik/dex-format.html @@ -291,7 +291,7 @@ in the detection of certain forms of corruption. The value also encodes a format version number as three decimal digits, which is expected to increase monotonically over time as the format evolves.</p> -<pre> +<pre class="devsite-click-to-copy"> ubyte[8] DEX_FILE_MAGIC = { 0x64 0x65 0x78 0x0a 0x30 0x33 0x38 0x00 } = "dex\n038\0" </pre> @@ -328,7 +328,7 @@ header whose <code>endian_tag</code> is <code>REVERSE_ENDIAN_CONSTANT</code> instead of <code>ENDIAN_CONSTANT</code>, it would know that the file has been byte-swapped from the expected form.</p> -<pre> +<pre class="devsite-click-to-copy"> uint ENDIAN_CONSTANT = 0x12345678; uint REVERSE_ENDIAN_CONSTANT = 0x78563412; </pre> @@ -345,7 +345,7 @@ an index value is absent.</p> <p>The chosen value for <code>NO_INDEX</code> is representable as a single byte in the <code>uleb128p1</code> encoding.</p> -<pre> +<pre class="devsite-click-to-copy"> uint NO_INDEX = 0xffffffff; // == -1 if treated as a signed int </pre> @@ -2659,7 +2659,7 @@ each register for the <code>DBG_RESTART_LOCAL</code> code.</p> registers by a small amount and then emit a new position table entry. The formula for the increments are as follows:</p> -<pre> +<pre class="devsite-click-to-copy"> DBG_FIRST_SPECIAL = 0x0a // the smallest special opcode DBG_LINE_BASE = -4 // the smallest line number increment DBG_LINE_RANGE = 15 // the number of line increments represented |