diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
| commit | 2d1068e60bce7ae1fff11623454900e8cee956b1 (patch) | |
| tree | acebe276e30466ef0ab91bc3da5e379bec0d7dc5 /lib/update_msk40_hasharray.f90 | |
| parent | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff) | |
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'lib/update_msk40_hasharray.f90')
| -rwxr-xr-x | lib/update_msk40_hasharray.f90 | 50 |
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
|
