mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-0: Formatting
This commit is contained in:
parent
52d93f78cf
commit
0de824949c
1 changed files with 3 additions and 2 deletions
|
@ -119,7 +119,7 @@ public class SemisparseByteArray {
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Copies {@code length} bytes of data from the semisparse array starting at index {@code loc}
|
* Copies {@code length} bytes of data from the semisparse array starting at index {@code loc}
|
||||||
* into {@code data} starting at index {@code} offset. All initialized portions within the
|
* into {@code data} starting at index {@code offset}. All initialized portions within the
|
||||||
* requested region are copied. The uninitialized portions may be treated as zeroes or not
|
* requested region are copied. The uninitialized portions may be treated as zeroes or not
|
||||||
* copied at all. Typically, the destination array has been initialized to zero by the caller,
|
* copied at all. Typically, the destination array has been initialized to zero by the caller,
|
||||||
* such that all uninitialized portions are zero. To avoid fetching uninitialized data, use
|
* such that all uninitialized portions are zero. To avoid fetching uninitialized data, use
|
||||||
|
@ -244,7 +244,8 @@ public class SemisparseByteArray {
|
||||||
final int length) {
|
final int length) {
|
||||||
if (length < 0) {
|
if (length < 0) {
|
||||||
throw new IllegalArgumentException("length: " + length);
|
throw new IllegalArgumentException("length: " + length);
|
||||||
} else if (length == 0) {
|
}
|
||||||
|
else if (length == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
defined.add(ULongSpan.extent(loc, length));
|
defined.add(ULongSpan.extent(loc, length));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue