Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit141752b

Browse files
committed
Fix typos in simplehash.h
Author: Richard Guo <guofenglinux@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/18252-d46d27900a277d87@postgresql.org
1 parenta7928a5 commit141752b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎src/include/lib/simplehash.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,8 @@ SH_INSERT_HASH_INTERNAL(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found)
770770
}
771771

772772
/*
773-
* Insert the key key into the hash-table, set *found to true if the key
774-
* already exists, false otherwise. Returns the hash-table entry in either
775-
* case.
773+
* Insert the key into the hash-table, set *found to true if the key already
774+
* exists, false otherwise. Returns the hash-table entry in either case.
776775
*/
777776
SH_SCOPESH_ELEMENT_TYPE*
778777
SH_INSERT(SH_TYPE*tb,SH_KEY_TYPEkey,bool*found)
@@ -783,9 +782,9 @@ SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
783782
}
784783

785784
/*
786-
* Insert the keykeyinto the hash-table using an already-calculated
787-
*hash. Set*found to true if the key already exists, false
788-
*otherwise. Returns thehash-table entry in either case.
785+
* Insert the key into the hash-table using an already-calculated hash. Set
786+
* *found to true if the key already exists, false otherwise. Returns the
787+
* hash-table entry in either case.
789788
*/
790789
SH_SCOPESH_ELEMENT_TYPE*
791790
SH_INSERT_HASH(SH_TYPE*tb,SH_KEY_TYPEkey,uint32hash,bool*found)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp