Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
2a56a719
Commit
2a56a719
authored
4 years ago
by
Enkelmann
Committed by
Enkelmann
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cargo fmt
parent
a85352c5
master
…
v0.7
v0.6
v0.5
v0.4
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
mod.rs
cwe_checker_rs/src/intermediate_representation/mod.rs
+1
-1
No files found.
cwe_checker_rs/src/intermediate_representation/mod.rs
View file @
2a56a719
...
...
@@ -76,7 +76,7 @@ impl From<ByteSize> for apint::BitWidth {
impl
From
<
apint
::
BitWidth
>
for
ByteSize
{
/// Convert to `ByteSize`, while always rounding up to the nearest full byte.
fn
from
(
bitwidth
:
apint
::
BitWidth
)
->
ByteSize
{
ByteSize
::
new
(
(
bitwidth
.to_usize
()
+
7
)
as
u64
/
8
)
ByteSize
::
new
(
(
bitwidth
.to_usize
()
+
7
)
as
u64
/
8
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment