@@ 1537-1541 (lines=5) @@ | ||
1534 | $buf = fread( $this->filehandle, 2 * $this->record_length ); |
|
1535 | } |
|
1536 | $x = array( 0, 0 ); |
|
1537 | for ( $i = 0; $i < 2; ++$i ) { |
|
1538 | for ( $j = 0; $j < $this->record_length; ++$j ) { |
|
1539 | $x[ $i ] += ord( $buf[ $this->record_length * $i + $j ] ) << ( $j * 8 ); |
|
1540 | } |
|
1541 | } |
|
1542 | ||
1543 | $bnum = 127 - $depth; |
|
1544 | $idx = $bnum >> 3; |
|
@@ 1594-1598 (lines=5) @@ | ||
1591 | } |
|
1592 | ||
1593 | $x = array( 0, 0 ); |
|
1594 | for ( $i = 0; $i < 2; ++$i ) { |
|
1595 | for ( $j = 0; $j < $this->record_length; ++$j ) { |
|
1596 | $x[ $i ] += ord( $buf[ $this->record_length * $i + $j ] ) << ( $j * 8 ); |
|
1597 | } |
|
1598 | } |
|
1599 | if ( $ipnum & ( 1 << $depth ) ) { |
|
1600 | if ( $x[1] >= $this->databaseSegments ) { |
|
1601 | return $x[1]; |