mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Reformat x:y as x: y
This commit is contained in:
1 parent
a9ea63ff06
commit
5b4e3647c0
12 files changed
+195
-196
No files matched your search
@@ -32,8 +32,8 @@ pub func hasher.update!(x slice base.u8) base.u32 {
|
||||
this.state = 1
|
||||
}
|
||||
|
||||
s1 = this.state.low_bits(n:16)
|
||||
s2 = this.state.high_bits(n:16)
|
||||
s1 = this.state.low_bits(n: 16)
|
||||
s2 = this.state.high_bits(n: 16)
|
||||
|
||||
while args.x.length() > 0 {
|
||||
remaining = args.x[.. 0]
|
||||
@@ -42,7 +42,7 @@ pub func hasher.update!(x slice base.u8) base.u32 {
|
||||
args.x = args.x[.. 5552]
|
||||
}
|
||||
|
||||
iterate (p = args.x)(length:1, unroll:8) {
|
||||
iterate (p = args.x)(length: 1, unroll: 8) {
|
||||
s1 ~mod+= p[0] as base.u32
|
||||
s2 ~mod+= s1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user