Skip to content

Commit 1c31148

Browse files
committed
subject line
Corrected spelling Corrected spelling.
1 parent 4147dbf commit 1c31148

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

doc/specs/stdlib_hash_functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ It differs from typical implementations in that it also ecodes the
581581
size of the structure in the hash code.
582582
This code is relatively fast on short keys, and is small enough that it
583583
will often be retained in the instruction cache if hashing is
584-
intermitent.
584+
intermittent.
585585
As a result it should give good performance for typical hash table
586586
applications.
587587
This code does not pass any of the SMHasher tests, but the resulting
@@ -643,7 +643,7 @@ It differs from typical implementations in that it also ecodes the
643643
size of the structure in the hash code.
644644
This code is relatively fast on short keys, and is small enough that it
645645
will often be retained in the instruction cache if hashing is
646-
intermitent.
646+
intermittent.
647647
As a result it should give good performance for typical hash table
648648
applications.
649649
This code does not pass any of the SMHasher tests, but the resulting
@@ -1208,7 +1208,7 @@ It differs from typical implementations in that it also ecodes the
12081208
size of the structure in the hash code.
12091209
This code is relatively fast on short keys, and is small enough that it
12101210
will often be retained in the instruction cache if hashing is
1211-
intermitent.
1211+
intermittent.
12121212
As a result it should give good performance for typical hash table
12131213
applications, although it is rare for them to need 64 bits.
12141214
This code does not pass any of the SMHasher tests, but the resulting
@@ -1270,7 +1270,7 @@ It differs from typical implementations in that it also ecodes the
12701270
size of the structure in the hash code.
12711271
This code is relatively fast on short keys, and is small enough that it
12721272
will often be retained in the instruction cache if hashing is
1273-
intermitent.
1273+
intermittent.
12741274
As a result it should give good performance for typical hash table
12751275
applications.
12761276
This code does not pass any of the SMHasher tests, but the resulting

src/stdlib_32_bit_hash_functions.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ contains
229229
end function universal_mult_hash
230230

231231
subroutine odd_random_integer( harvest )
232-
!! Returns a 32 bit psuedo random integer, HARVEST, distributed uniformly over
232+
!! Returns a 32 bit pseudo random integer, HARVEST, distributed uniformly over
233233
!! the odd integers of the INT32 kind.
234234
integer(int32), intent(out) :: harvest
235235
real(dp) :: sample

src/stdlib_64_bit_hash_functions.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ contains
279279
end function universal_mult_hash
280280

281281
subroutine odd_random_integer( harvest )
282-
!! Returns a 64 bit psuedo random integer, HARVEST, distributed uniformly over
282+
!! Returns a 64 bit pseudo random integer, HARVEST, distributed uniformly over
283283
!! the odd integers of the 64 bit kind.
284284
integer(int64), intent(out) :: harvest
285285
real(dp) :: sample(2)
@@ -293,7 +293,7 @@ contains
293293
end subroutine odd_random_integer
294294

295295
subroutine random_integer( harvest )
296-
!! Returns a 64 bit psuedo random integer, HARVEST, distributed uniformly over
296+
!! Returns a 64 bit pseudo random integer, HARVEST, distributed uniformly over
297297
!! the values of the 64 bit kind.
298298
integer(int64), intent(out) :: harvest
299299
real(dp) :: sample(2)

src/stdlib_64_bit_spookyv2_hashes.fypp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! Integer kinds to be considered during templating
21
!!------------------------------------------------------------------------------
32
!! `SPOOKY_HASH` is a translation to Fortran 2008 of the unsigned 64 bit
43
!! `SpookyHash` V2 function of Bob Jenkins
@@ -11,6 +10,7 @@
1110
!! different on Big Endian processors, but still probably as good quality.
1211
!!------------------------------------------------------------------------------
1312

13+
#! Integer kinds to be considered during templating
1414
#:set INT_KINDS = ["int16", "int32", "int64"]
1515

1616
submodule(stdlib_64_bit_hash_functions) stdlib_64_bit_spookyv2_hashes
@@ -204,7 +204,7 @@ contains
204204
100 c = c + sc_const
205205
d = d + sc_const
206206

207-
888 call shortend( a, b, c, d )
207+
888 call short_end( a, b, c, d )
208208

209209
hash_inout(1) = a
210210
hash_inout(2) = b
@@ -285,7 +285,7 @@ contains
285285

286286
end subroutine shortmix
287287

288-
pure subroutine shortend( h0, h1, h2, h3 )
288+
pure subroutine short_end( h0, h1, h2, h3 )
289289
!
290290
! Mix all 4 inputs together so that h0, h1 are a hash of them all.
291291
!
@@ -334,7 +334,7 @@ contains
334334
h0 = ishftc( h0, 63 )
335335
h1 = h1 + h0
336336

337-
end subroutine shortend
337+
end subroutine short_end
338338

339339
end subroutine spookyhash_short
340340

0 commit comments

Comments
 (0)