Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123809
D7033.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
323 B
Subscribers
None
D7033.diff
View Options
diff --git a/swh/perfecthash/hash.h b/swh/perfecthash/hash.h
--- a/swh/perfecthash/hash.h
+++ b/swh/perfecthash/hash.h
@@ -11,7 +11,7 @@
#define SHARD_OFFSET_MAGIC 32
#define SHARD_OFFSET_HEADER 512
-#define SHARD_KEY_LEN 20
+#define SHARD_KEY_LEN 32
extern const int shard_key_len;
#define SHARD_MAGIC "SWHShard"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 2:49 AM (11 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216770
Attached To
D7033: the desired key len is 32 for sha256
Event Timeline
Log In to Comment