Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
0c3881b5
Commit
0c3881b5
authored
Nov 22, 2012
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run gofmt.
parent
8c884fd9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
benchmark/stat_test.go
benchmark/stat_test.go
+1
-1
fuse/fsetattr_test.go
fuse/fsetattr_test.go
+5
-5
fuse/handle.go
fuse/handle.go
+1
-1
No files found.
benchmark/stat_test.go
View file @
0c3881b5
fuse/fsetattr_test.go
View file @
0c3881b5
fuse/handle.go
View file @
0c3881b5
...
...
@@ -247,7 +247,7 @@ func (m *int64HandleMap) Has(handle uint64) bool {
func
(
m
*
int64HandleMap
)
Decode
(
handle
uint64
)
(
val
*
Handled
)
{
ptrBits
:=
uintptr
(
handle
&
(
1
<<
45
-
1
))
check
:=
uint32
(
handle
>>
45
)
val
=
(
*
Handled
)(
unsafe
.
Pointer
(
ptrBits
<<
3
))
val
=
(
*
Handled
)(
unsafe
.
Pointer
(
ptrBits
<<
3
))
if
val
.
check
!=
check
{
msg
:=
fmt
.
Sprintf
(
"handle check mismatch; handle has 0x%x, object has 0x%x: %v"
,
check
,
val
.
check
,
val
.
object
)
...
...
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