Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
9795c9e7
Commit
9795c9e7
authored
Nov 13, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp fix for map not multiple of 8
R=r OCL=19166 CL=19166
parent
bc0b4f0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
hashmap.c
src/runtime/hashmap.c
+1
-0
No files found.
src/runtime/hashmap.c
View file @
9795c9e7
...
...
@@ -125,6 +125,7 @@ hash_init (struct hash *h,
if
(
datasize
<
sizeof
(
void
*
))
datasize
=
sizeof
(
void
*
);
datasize
=
rnd
(
datasize
,
8
);
init_sizes
(
hint
,
&
init_power
,
&
max_power
);
h
->
datasize
=
datasize
;
h
->
max_power
=
max_power
;
...
...
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