summaryrefslogtreecommitdiff
path: root/lib/update_msk40_hasharray.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:31 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:31 +0200
commit0e579a45e2e5823f90e2632073749583cd15fa0d (patch)
tree5e709e13d41c8ea0da0968fb6c4566057b4b7909 /lib/update_msk40_hasharray.f90
parent28d1767618141cd6481de2e93e36e3dfa555d4b4 (diff)
parent2d1068e60bce7ae1fff11623454900e8cee956b1 (diff)
Update upstream source from tag 'upstream/2.6.0_rc3+repack'
Update to upstream version '2.6.0~rc3+repack' with Debian dir 9ee8bc3a4b60bb88f4d57c7d1f2d37dbc1632144
Diffstat (limited to 'lib/update_msk40_hasharray.f90')
-rwxr-xr-xlib/update_msk40_hasharray.f9050
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/update_msk40_hasharray.f90 b/lib/update_msk40_hasharray.f90
index 64886b41..04758fe3 100755
--- a/lib/update_msk40_hasharray.f90
+++ b/lib/update_msk40_hasharray.f90
@@ -1,25 +1,25 @@
-subroutine update_msk40_hasharray(nhasharray)
-
- use packjt77
- character*37 hashmsg
- integer nhasharray(MAXRECENT,MAXRECENT)
-
- nhasharray=-1
- do i=1,MAXRECENT
- do j=i+1,MAXRECENT
- if( recent_calls(i)(1:1) .ne. ' ' .and. recent_calls(j)(1:1) .ne. ' ' ) then
- hashmsg=trim(recent_calls(i))//' '//trim(recent_calls(j))
- call fmtmsg(hashmsg,iz)
- call hash(hashmsg,37,ihash)
- ihash=iand(ihash,4095)
- nhasharray(i,j)=ihash
- hashmsg=trim(recent_calls(j))//' '//trim(recent_calls(i))
- call fmtmsg(hashmsg,iz)
- call hash(hashmsg,37,ihash)
- ihash=iand(ihash,4095)
- nhasharray(j,i)=ihash
- endif
- enddo
- enddo
-
-end subroutine update_msk40_hasharray
+subroutine update_msk40_hasharray(nhasharray)
+
+ use packjt77
+ character*37 hashmsg
+ integer nhasharray(MAXRECENT,MAXRECENT)
+
+ nhasharray=-1
+ do i=1,MAXRECENT
+ do j=i+1,MAXRECENT
+ if( recent_calls(i)(1:1) .ne. ' ' .and. recent_calls(j)(1:1) .ne. ' ' ) then
+ hashmsg=trim(recent_calls(i))//' '//trim(recent_calls(j))
+ call fmtmsg(hashmsg,iz)
+ call hash(hashmsg,37,ihash)
+ ihash=iand(ihash,4095)
+ nhasharray(i,j)=ihash
+ hashmsg=trim(recent_calls(j))//' '//trim(recent_calls(i))
+ call fmtmsg(hashmsg,iz)
+ call hash(hashmsg,37,ihash)
+ ihash=iand(ihash,4095)
+ nhasharray(j,i)=ihash
+ endif
+ enddo
+ enddo
+
+end subroutine update_msk40_hasharray