Skip to content

Commit 4f8633a

Browse files
committed
Updated module names
Changed all references to the modules `stdlib_32_bit_hash_codes` and `stdlib_64_bit_hash_codes` to be to rhe renamed modules `stdlib_hash_32bit` and `stdlib_hash_64bit`, respectively. [ticket: X]
1 parent da366e8 commit 4f8633a

10 files changed

+23
-23
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
# Create a list of the files to be preprocessed
44
set(fppFiles
55
stdlib_32_bit_fnv_hashes.fypp
6-
stdlib_32_bit_hash_codes.fypp
76
stdlib_32_bit_nmhashes.fypp
87
stdlib_32_bit_water_hashes.fypp
98
stdlib_64_bit_fnv_hashes.fypp
10-
stdlib_64_bit_hash_codes.fypp
119
stdlib_64_bit_pengy_hashes.fypp
1210
stdlib_64_bit_spookyv2_hashes.fypp
1311
stdlib_ascii.fypp
1412
stdlib_bitsets.fypp
1513
stdlib_bitsets_64.fypp
1614
stdlib_bitsets_large.fypp
15+
stdlib_hash_32bit.fypp
16+
stdlib_hash_64bit.fypp
1717
stdlib_io.fypp
1818
stdlib_io_npy.fypp
1919
stdlib_io_npy_load.fypp

src/Makefile.manual

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
SRCFYPP = \
22
stdlib_32_bit_fnv_hashes.fypp \
3-
stdlib_32_bit_hash_codes.fypp \
43
stdlib_32_bit_nmhashes.fypp \
54
stdlib_32_bit_water_hashes.fypp \
65
stdlib_64_bit_fnv_hashes.fypp \
7-
stdlib_64_bit_hash_codes.fypp \
86
stdlib_64_bit_pengy_hashes.fypp \
97
stdlib_64_bit_spookyv2_hashes.fypp \
108
stdlib_ascii.fypp \
119
stdlib_bitsets_64.fypp \
1210
stdlib_bitsets_large.fypp \
1311
stdlib_bitsets.fypp \
12+
stdlib_hash_32bit.fypp \
13+
stdlib_hash_64bit.fypp \
1414
stdlib_io.fypp \
1515
stdlib_io_npy.fypp \
1616
stdlib_io_npy_load.fypp \
@@ -89,21 +89,21 @@ $(SRCGEN): %.f90: %.fypp common.fypp
8989
# Fortran module dependencies
9090
f18estop.o: stdlib_error.o
9191
stdlib_32_bit_fnv_hashes.o: \
92-
stdlib_32_bit_hash_codes.o
93-
stdlib_32_bit_hash_codes.o: \
92+
stdlib_hash_32bit.o
93+
stdlib_hash_32bit.o: \
9494
stdlib_kinds.o
9595
stdlib_32_bit_nmhashes.o: \
96-
stdlib_32_bit_hash_codes.o
96+
stdlib_hash_32bit.o
9797
stdlib_32_bit_water_hashes.o: \
98-
stdlib_32_bit_hash_codes.o
98+
stdlib_hash_32bit.o
9999
stdlib_64_bit_fnv_hashes.o: \
100-
stdlib_64_bit_hash_codes.o
101-
stdlib_64_bit_hash_codes.o: \
100+
stdlib_hash_64bit.o
101+
stdlib_hash_64bit.o: \
102102
stdlib_kinds.o
103103
stdlib_64_bit_pengy_hashes.o: \
104-
stdlib_64_bit_hash_codes.o
104+
stdlib_hash_64bit.o
105105
stdlib_64_bit_spookyv2_hashes.o: \
106-
stdlib_64_bit_hash_codes.o
106+
stdlib_hash_64bit.o
107107
stdlib_ascii.o: stdlib_kinds.o
108108
stdlib_bitsets.o: stdlib_kinds.o
109109
stdlib_bitsets_64.o: stdlib_bitsets.o

src/stdlib_32_bit_fnv_hashes.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
!#! Integer kinds to be considered during templating
1111
#:set INT_KINDS = ["int16", "int32", "int64"]
1212

13-
submodule(stdlib_32_bit_hash_codes) stdlib_32_bit_fnv_hashes
13+
submodule(stdlib_hash_32bit) stdlib_32_bit_fnv_hashes
1414
!! An implementation of the FNV hashes 1 and 1a of Glenn Fowler, Landon Curt
1515
!! Noll, and Kiem-Phong-Vo,
1616
!! https://en.wikipedia.org/wiki/Fowler–Noll–Vo_hash_function
@@ -29,7 +29,7 @@ contains
2929

3030
integer(int64) :: i
3131

32-
hash_code = offset_basis
32+
hash- hash_code = offset_basis
3333
do i=1_int64, size(key, kind=int64)
3434
hash_code = hash_code * prime
3535
if ( little_endian ) then

src/stdlib_32_bit_nmhashes.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#! Integer kinds to be considered during templating
4545
#:set INT_KINDS = ["int16", "int32", "int64"]
4646

47-
submodule(stdlib_32_bit_hash_codes) stdlib_32_bit_nmhashes
47+
submodule(stdlib_hash_32bit) stdlib_32_bit_nmhashes
4848

4949
implicit none
5050

src/stdlib_32_bit_water_hashes.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#! Integer kinds to be considered during templating
7575
#:set INT_KINDS = ["int16", "int32", "int64"]
7676

77-
submodule(stdlib_32_bit_hash_codes) stdlib_32_bit_water_hashes
77+
submodule(stdlib_hash_32bit) stdlib_32_bit_water_hashes
7878
implicit none
7979

8080
contains

src/stdlib_64_bit_fnv_hashes.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#! Integer kinds to be considered during templating
1313
#:set INT_KINDS = ["int16", "int32", "int64"]
1414

15-
submodule(stdlib_64_bit_hash_codes) stdlib_64_bit_fnv_hashes
15+
submodule(stdlib_hash_64bit) stdlib_64_bit_fnv_hashes
1616
! An implementation of the FNV hashes 1 and 1a of Glenn Fowler, Landon Curt
1717
! Noll, and Kiem-Phong-Vo,
1818
! https://en.wikipedia.org/wiki/Fowler–Noll–Vo_hash_function

src/stdlib_64_bit_pengy_hashes.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#! Integer kinds to be considered during templating
4141
#:set INT_KINDS = ["int16", "int32", "int64"]
4242

43-
submodule(stdlib_64_bit_hash_codes) stdlib_64_bit_pengy_hashes
43+
submodule(stdlib_hash_64bit) stdlib_64_bit_pengy_hashes
4444

4545
implicit none
4646

src/stdlib_64_bit_spookyv2_hashes.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#! Integer kinds to be considered during templating
1414
#:set INT_KINDS = ["int16", "int32", "int64"]
1515

16-
submodule(stdlib_64_bit_hash_codes) stdlib_64_bit_spookyv2_hashes
16+
submodule(stdlib_hash_64bit) stdlib_64_bit_spookyv2_hashes
1717

1818
! I have tried to make this portable while retaining efficiency. I assume
1919
! processors with two's complement integers from 8, 16, 32, and 64 bits.

src/stdlib_hash_32bit.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! Integer kinds to be considered during templating
22
#:set INT_KINDS = ["int8", "int16", "int32", "int64"]
33

4-
module stdlib_32_bit_hash_codes
4+
module stdlib_hash_32bit
55

66
use, intrinsic :: iso_fortran_env, only : &
77
character_storage_size
@@ -270,4 +270,4 @@ contains
270270

271271
end subroutine odd_random_integer
272272

273-
end module stdlib_32_bit_hash_codes
273+
end module stdlib_hash_32bit

src/stdlib_hash_64bit.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! Integer kinds to be considered during templating
22
#:set INT_KINDS = ["int8", "int16", "int32", "int64"]
33

4-
module stdlib_64_bit_hash_codes
4+
module stdlib_hash_64bit
55

66
use, intrinsic :: iso_fortran_env, only : &
77
character_storage_size
@@ -315,4 +315,4 @@ contains
315315

316316
end subroutine random_integer
317317

318-
end module stdlib_64_bit_hash_codes
318+
end module stdlib_hash_64bit

0 commit comments

Comments
 (0)