hatari 0.95
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 50
Hatari 0.95
Hatari is an Atari ST and STE emulator for Linux. more>>
Hatari is project an Atari ST and STE emulator for Linux, BSD, BeOS, Mac OS X and other systems that are supported by the SDL library. The Atari ST was a 16/32 bit computer system which was first released by Atari in 1985.
Using the Motorola 68000 CPU, it was a very popular computer having quite a lot of CPU power at that time. Unlike many other Atari ST emulators which try to give you a good environment for running GEM applications, Hatari tries to emulate the hardware of a ST as close as possible so that it is able to run most of the old ST games and demos.
Hatari is open source software and is distributed under the terms of the GNU General Public License (GPL).
Enhancements:
- This release brings you basic Atari TT and Falcon emulation! Please note that both new emulation modes are still highly experiemental, some few games and demos work, but most still have more or less big problems.
- Basic emulation of Falcon video shifter (Videl), NVRAM and DMA sound is in place. The biggest drawback: There is no working Falcon DSP emulation yet.
- Screen/Shifter emulation timings have slightly been changed. Some things now work better, some others work worse...
- Some patches for compiling on RiscOS and AmigaOS have been included.
- Compiling Hatari for Windows now works better.
- Added Hatari icon (hatari-icon.bmp).
- Fixed "movec" bug in 68020 CPU mode.
- Keyboard shortcuts for loading & saving memory snapshots (AltGr+k & AltGr+l).
- The built-in debugger has been slightly improved to be more user-friendly.
- Added "hmsa" tool a little program for converting .MSA files to .ST and vice versa.
<<lessUsing the Motorola 68000 CPU, it was a very popular computer having quite a lot of CPU power at that time. Unlike many other Atari ST emulators which try to give you a good environment for running GEM applications, Hatari tries to emulate the hardware of a ST as close as possible so that it is able to run most of the old ST games and demos.
Hatari is open source software and is distributed under the terms of the GNU General Public License (GPL).
Enhancements:
- This release brings you basic Atari TT and Falcon emulation! Please note that both new emulation modes are still highly experiemental, some few games and demos work, but most still have more or less big problems.
- Basic emulation of Falcon video shifter (Videl), NVRAM and DMA sound is in place. The biggest drawback: There is no working Falcon DSP emulation yet.
- Screen/Shifter emulation timings have slightly been changed. Some things now work better, some others work worse...
- Some patches for compiling on RiscOS and AmigaOS have been included.
- Compiling Hatari for Windows now works better.
- Added Hatari icon (hatari-icon.bmp).
- Fixed "movec" bug in 68020 CPU mode.
- Keyboard shortcuts for loading & saving memory snapshots (AltGr+k & AltGr+l).
- The built-in debugger has been slightly improved to be more user-friendly.
- Added "hmsa" tool a little program for converting .MSA files to .ST and vice versa.
Download (0.58MB)
Added: 2007-05-12 License: GPL (GNU General Public License) Price:
903 downloads
KaTeker 0.95
KaTeker is a backup tool for Linux useful for small companies and private people. more>>
KaTeker is a backup tool for Linux useful for small companies and private people. It saves data onto hard disk and CDs or other random access media.
<<less Download (15.72MB)
Added: 2005-09-26 License: GPL (GNU General Public License) Price:
1488 downloads
Relations 0.95
Relations is a Perl module with functions to use with databases and queries. more>>
Relations is a Perl module with functions to use with databases and queries.
SYNOPSIS
use Relations;
$as_clause = as_clause({full_name => "concat(f_name, ,l_name)",
{status => "if(married,Married,Single)"})
$query = "select $as_clause from person";
$avoid = to_hash("virustbug","t");
if ($avoid->{bug}) {
print "Avoiding the bug...";
}
unless ($avoid->{code}) {
print "Not avoiding the code...";
}
<<lessSYNOPSIS
use Relations;
$as_clause = as_clause({full_name => "concat(f_name, ,l_name)",
{status => "if(married,Married,Single)"})
$query = "select $as_clause from person";
$avoid = to_hash("virustbug","t");
if ($avoid->{bug}) {
print "Avoiding the bug...";
}
unless ($avoid->{code}) {
print "Not avoiding the code...";
}
Download (0.018MB)
Added: 2007-05-16 License: Perl Artistic License Price:
891 downloads
Netrok 0.95
Netrok is a GPL open source SDL game for linux and Windows. more>>
Netrok is a GPL open source SDL game for linux and Windows. It`s a platform game like Super Mario, but it is not a clone. Netrok has a new, fast and unique gameplay with some puzzle passages, where you have to think, how to proceed.
In Netrok you jump on small buttons on the ground and upgrade your player and depending of this upgrade you have to destroy the enemies different, and you have to react fast.
Also Netrok has a very complex score system and you get score for everything well done and you loose score for actions, which makes gameplay easier. E.g. you can throw a level jump`in flag and if you die, you can replay level from the position of this flag, but it costs 1000 score to place the flag, and you have only once the possibility to throw it and you have to deliberate about where to place it, if you place it to early, you have to replay much more than if you place it later in the level, which is also risky, because you could die before.
Main features:
- very portable source code
- resolution 320*200
- 1 level is 20 screens big, with 13*20 tiles per screen
- 20 levels full of fun
- 8 different enemies
- Leveleditor
- Retro Feeling
- Netrok can be upgraded
- new unique game design
- funny gameplay instead of super graphics and effects
- midi music and sound
- compley score system
<<lessIn Netrok you jump on small buttons on the ground and upgrade your player and depending of this upgrade you have to destroy the enemies different, and you have to react fast.
Also Netrok has a very complex score system and you get score for everything well done and you loose score for actions, which makes gameplay easier. E.g. you can throw a level jump`in flag and if you die, you can replay level from the position of this flag, but it costs 1000 score to place the flag, and you have only once the possibility to throw it and you have to deliberate about where to place it, if you place it to early, you have to replay much more than if you place it later in the level, which is also risky, because you could die before.
Main features:
- very portable source code
- resolution 320*200
- 1 level is 20 screens big, with 13*20 tiles per screen
- 20 levels full of fun
- 8 different enemies
- Leveleditor
- Retro Feeling
- Netrok can be upgraded
- new unique game design
- funny gameplay instead of super graphics and effects
- midi music and sound
- compley score system
Download (0.32MB)
Added: 2006-06-26 License: GPL (GNU General Public License) Price:
1219 downloads
StarPlot 0.95.2
StarPlot is a 3-dimensional perspective star map viewer. more>>
StarPlot is a program for Unix that allows you to view charts of the relative 3-dimensional positions of stars in space.
It is free software; the source code for StarPlot is available under the GNU General Public License. Here is a screenshot (click for a larger image).
Main features:
- Stars can be right-clicked to display a data popup window.
- Stars can be displayed or hidden by spectral class and absolute magnitude (also shown above).
- Stellar absolute magnitude limits can be set automatically based on the radius of the chart.
- Non-stellar objects such as nebulae are also supported.
- The stars being viewed may be plotted on a Hertzsprung-Russell diagram.
- Charts may be viewed in either celestial or galactic coordinate systems.
- Charts may be recentered, rotated, or zoomed in or out with a mouse click (this can also, of course, be done via dialog boxes for more precision).
- Current chart parameters may be saved to a file and reloaded later.
- The data file format is easy to read, well-documented, and text based.
- StarPlot is packaged with a program (starconvert) that converts line-oriented stellar data records to StarPlot format. Several well-known star catalogues are available from this website, complete with all the data needed for conversions.
<<lessIt is free software; the source code for StarPlot is available under the GNU General Public License. Here is a screenshot (click for a larger image).
Main features:
- Stars can be right-clicked to display a data popup window.
- Stars can be displayed or hidden by spectral class and absolute magnitude (also shown above).
- Stellar absolute magnitude limits can be set automatically based on the radius of the chart.
- Non-stellar objects such as nebulae are also supported.
- The stars being viewed may be plotted on a Hertzsprung-Russell diagram.
- Charts may be viewed in either celestial or galactic coordinate systems.
- Charts may be recentered, rotated, or zoomed in or out with a mouse click (this can also, of course, be done via dialog boxes for more precision).
- Current chart parameters may be saved to a file and reloaded later.
- The data file format is easy to read, well-documented, and text based.
- StarPlot is packaged with a program (starconvert) that converts line-oriented stellar data records to StarPlot format. Several well-known star catalogues are available from this website, complete with all the data needed for conversions.
Download (0.45MB)
Added: 2005-04-01 License: GPL (GNU General Public License) Price:
1666 downloads
One-JAR 0.95
One-JAR is a Java jar distribution mechanism. more>>
One-JAR is a simple solution to the problem of distributing an application as a single jar file, when it depends on multiple other jar files.
It uses a custom classloader to discover library jar files inside the main jar.
<<lessIt uses a custom classloader to discover library jar files inside the main jar.
Download (0.027MB)
Added: 2005-04-07 License: Freely Distributable Price:
932 downloads
JAMin 0.95.0
JAMin is the JACK Audio Connection Kit (JACK) Audio Mastering interface. more>>
JAMin is the JACK Audio Connection Kit (JACK) Audio Mastering interface. JAMin is an open source application designed to perform professional audio mastering of stereo input streams.
JAMin project uses LADSPA for digital signal processing (DSP).
Main features:
- Linear filters
- JACK I/O
- 30 band graphic EQ
- 1023 band hand drawn EQ with parametric controls
- Spectrum analyser
- 3 band peak compressor
- Lookahead brickwall limiter
- Multiband stereo processing
- Presets and scenes
- Loudness maximiser
<<lessJAMin project uses LADSPA for digital signal processing (DSP).
Main features:
- Linear filters
- JACK I/O
- 30 band graphic EQ
- 1023 band hand drawn EQ with parametric controls
- Spectrum analyser
- 3 band peak compressor
- Lookahead brickwall limiter
- Multiband stereo processing
- Presets and scenes
- Loudness maximiser
Download (0.98MB)
Added: 2006-02-09 License: GPL (GNU General Public License) Price:
1356 downloads
Chart::XMGR 0.95
Chart::XMGR is a Perl object for displaying data via XMGR. more>>
Chart::XMGR is a Perl object for displaying data via XMGR.
SYNOPSIS
use Chart::XMGR;
xmgr($a, { SYMBOL => plus};
use Chart::XMGR ();
$xmgr = new Chart::XMGR;
$xmgr->line($pdl);
$pdl->$xmgr->line;
xmgr($pdl, { LINESTYLE => dotted });
Provides a perl/PDL interface to the XMGR plotting package. Can be used to plot PDLs or Perl arrays.
A simple function interface is provided that is based on the more complete object-oriented interface.
The interface can be implemented using either anonymous pipes or named pipes (governed by the module variable Chart::XMGR::NPIPE). If named pipes are used ($NPIPE = 1) XMGR can be controlled via the pipe and buttons are available for use in XMGR. If an anonymous pipe is used XMGR will not accept button events until the pipe has been closed.
Currently the named pipe option can not support data sets containing 3 or more columns (I havent worked out how to do it anyway!). This means that only TYPE XY is supported. For anonymouse pipe 3 or more columns can be supplied along with the graph type.
The default option is to use the named pipe.
<<lessSYNOPSIS
use Chart::XMGR;
xmgr($a, { SYMBOL => plus};
use Chart::XMGR ();
$xmgr = new Chart::XMGR;
$xmgr->line($pdl);
$pdl->$xmgr->line;
xmgr($pdl, { LINESTYLE => dotted });
Provides a perl/PDL interface to the XMGR plotting package. Can be used to plot PDLs or Perl arrays.
A simple function interface is provided that is based on the more complete object-oriented interface.
The interface can be implemented using either anonymous pipes or named pipes (governed by the module variable Chart::XMGR::NPIPE). If named pipes are used ($NPIPE = 1) XMGR can be controlled via the pipe and buttons are available for use in XMGR. If an anonymous pipe is used XMGR will not accept button events until the pipe has been closed.
Currently the named pipe option can not support data sets containing 3 or more columns (I havent worked out how to do it anyway!). This means that only TYPE XY is supported. For anonymouse pipe 3 or more columns can be supplied along with the graph type.
The default option is to use the named pipe.
Download (0.008MB)
Added: 2007-04-24 License: Perl Artistic License Price:
939 downloads
Netdisco 0.95
Netdisco is an Open Source web-based network management tool. more>>
Netdisco is an Open Source web-based network management tool.
Designed for moderate to large networks, configuration information and connection data for network devices are retrieved by SNMP. With Netdisco you can locate the switch port of an end-user system by IP or MAC address. Data is stored using a SQL database for scalability and speed.
Cisco Discovery Protocol (CDP) optionally provides automatic discovery of the network topology. The network is inventoried by both device model and operating system (like IOS). Netdisco uses router ARP tables and L2 switch MAC forwarding tables to locate nodes on physical ports and track them by their IP addresses.
For each node, a time stamped history of the ports it has visited and the IP addresses it has used is maintained. Netdisco gets all its data, including CDP topology information, with SNMP polls and DNS queries. It does not use CLI access and has no need for privilege passwords. Security features include a wire-side Wireless Access Point (AP) locator.
Main features:
Switch Ports
- Central location to disable/enable switch ports.
- Network administrators can disable and enable ports without having to know enable or privilege passwords. Reasons for switching on/off ports are logged for end-of-the-year auditing and reporting. Non-IOS savvy managers can control port access from a familiar browser interface. This feature was designed with a University Residential Networks (ResNet) in mind.
- Only users you specify in Netdisco will have access to switch off a port. Netdisco will also not allow people to switch off uplink ports by accident.
- MAC Address to switch port resolution.
- IP Address to switch port resolution.
- Find Switch Ports with multiple nodes attached
- Find nodes using multiple IP addresses
- Find nodes by vendor (using MAC address OUI)
Easy Administration
- Navigation through a Web Interface. Maintenance through a Command Line Interface (CLI).
- Database store for scalability and speed (Postgresql).
- Easily extendible to new network device types and vendors.
- Built-in user system to restrict access to sensitive data and features.
Network Administration and Security
- Administratively enable/disable switch ports from web interface with logging.
- Automatic inventory and search of network hardware.
- Duplex Mismatch Finder for uplink ports.
- Find rouge Wireless Access Points (APs) from the wired-side of network.
- Layer-Two Traceroute
Reporting
- Netdisco creates a clickable graph/map of your network topology.
- Get statistics of the number of actual nodes connected to network and their address-space usage.
- Optional integration with a Pinnacle Database.
- Inventory of Network Devices:
- by Operating System (IOS,CatOS,HP...)
- by Model, Vendor, OSI Layer, DNS Name
- Find devices using IP Addresses without DNS entries.
Enhancements:
- This is a major release with many enhancements, including Apache2 support, per-port VLAN control on some devices, wireless network SSID inventory, significantly-expanded device support with support of SNMP::Info, and many bugfixes.
<<lessDesigned for moderate to large networks, configuration information and connection data for network devices are retrieved by SNMP. With Netdisco you can locate the switch port of an end-user system by IP or MAC address. Data is stored using a SQL database for scalability and speed.
Cisco Discovery Protocol (CDP) optionally provides automatic discovery of the network topology. The network is inventoried by both device model and operating system (like IOS). Netdisco uses router ARP tables and L2 switch MAC forwarding tables to locate nodes on physical ports and track them by their IP addresses.
For each node, a time stamped history of the ports it has visited and the IP addresses it has used is maintained. Netdisco gets all its data, including CDP topology information, with SNMP polls and DNS queries. It does not use CLI access and has no need for privilege passwords. Security features include a wire-side Wireless Access Point (AP) locator.
Main features:
Switch Ports
- Central location to disable/enable switch ports.
- Network administrators can disable and enable ports without having to know enable or privilege passwords. Reasons for switching on/off ports are logged for end-of-the-year auditing and reporting. Non-IOS savvy managers can control port access from a familiar browser interface. This feature was designed with a University Residential Networks (ResNet) in mind.
- Only users you specify in Netdisco will have access to switch off a port. Netdisco will also not allow people to switch off uplink ports by accident.
- MAC Address to switch port resolution.
- IP Address to switch port resolution.
- Find Switch Ports with multiple nodes attached
- Find nodes using multiple IP addresses
- Find nodes by vendor (using MAC address OUI)
Easy Administration
- Navigation through a Web Interface. Maintenance through a Command Line Interface (CLI).
- Database store for scalability and speed (Postgresql).
- Easily extendible to new network device types and vendors.
- Built-in user system to restrict access to sensitive data and features.
Network Administration and Security
- Administratively enable/disable switch ports from web interface with logging.
- Automatic inventory and search of network hardware.
- Duplex Mismatch Finder for uplink ports.
- Find rouge Wireless Access Points (APs) from the wired-side of network.
- Layer-Two Traceroute
Reporting
- Netdisco creates a clickable graph/map of your network topology.
- Get statistics of the number of actual nodes connected to network and their address-space usage.
- Optional integration with a Pinnacle Database.
- Inventory of Network Devices:
- by Operating System (IOS,CatOS,HP...)
- by Model, Vendor, OSI Layer, DNS Name
- Find devices using IP Addresses without DNS entries.
Enhancements:
- This is a major release with many enhancements, including Apache2 support, per-port VLAN control on some devices, wireless network SSID inventory, significantly-expanded device support with support of SNMP::Info, and many bugfixes.
Download (0.33MB)
Added: 2006-11-30 License: BSD License Price:
1064 downloads
Chart::GRACE 0.95
Chart::GRACE is a Perl object for displaying data via Xmgrace. more>>
Chart::GRACE is a Perl object for displaying data via Xmgrace.
SYNOPSIS
use Chart::GRACE;
xmgrace($a, { SYMBOL => plus};
use Chart::GRACE ();
$grace = new Chart::GRACE;
$grace->plot($pdl);
xmgrace($pdl, { LINESTYLE => dotted });
Provides a perl/PDL interface to the XMGR plotting package. Can be used to plot PDLs or Perl arrays.
A simple function interface is provided that is based on the more complete object-oriented interface.
The interface can be implemented using either anonymous pipes or named pipes (governed by the module variable Chart::GRACE::NPIPE). If named pipes are used ($NPIPE = 1) XMGR can be controlled via the pipe and buttons are available for use in XMGR. If an anonymous pipe is used XMGR will not accept button events until the pipe has been closed.
Currently the named pipe option can not support data sets containing 3 or more columns (I have not worked out how to do it anyway!). This means that only TYPE XY is supported. For anonymouse pipe 3 or more columns can be supplied along with the graph type.
The default option is to use the named pipe.
<<lessSYNOPSIS
use Chart::GRACE;
xmgrace($a, { SYMBOL => plus};
use Chart::GRACE ();
$grace = new Chart::GRACE;
$grace->plot($pdl);
xmgrace($pdl, { LINESTYLE => dotted });
Provides a perl/PDL interface to the XMGR plotting package. Can be used to plot PDLs or Perl arrays.
A simple function interface is provided that is based on the more complete object-oriented interface.
The interface can be implemented using either anonymous pipes or named pipes (governed by the module variable Chart::GRACE::NPIPE). If named pipes are used ($NPIPE = 1) XMGR can be controlled via the pipe and buttons are available for use in XMGR. If an anonymous pipe is used XMGR will not accept button events until the pipe has been closed.
Currently the named pipe option can not support data sets containing 3 or more columns (I have not worked out how to do it anyway!). This means that only TYPE XY is supported. For anonymouse pipe 3 or more columns can be supplied along with the graph type.
The default option is to use the named pipe.
Download (0.008MB)
Added: 2007-04-24 License: Perl Artistic License Price:
932 downloads
SQLBuster 0.95
SQLBuster project is a simple MySQL benchmarking utility. more>>
SQLBuster project is a simple MySQL benchmarking utility that runs a query a specified number of times over a given number of threads and displays how long it took.
Enhancements:
- An option to report various statistics to a results file has been added.
- This release provides more end of run statistics, such as CPU percentage, I/O wait, and disk reads/writes.
<<lessEnhancements:
- An option to report various statistics to a results file has been added.
- This release provides more end of run statistics, such as CPU percentage, I/O wait, and disk reads/writes.
Download (0.009MB)
Added: 2007-05-10 License: GPL (GNU General Public License) Price:
900 downloads
Lesstif 0.95.0
Lesstif is LGPLd re-implementation of Motif. more>>
LessTif is the Hungry Programmers version of OSF/Motif. Lesstif aims to be source compatible meaning that the same source code should compile with both and work exactly the same!
Most Motif apps should compile and run out of the box.
Enhancements:
- Implement XmStringGenerate() and XmStringParseText() somewhat better.
- Fix an initialisation problem with RenderTables which caused colour settings to fail in some circumstances.
- Fix a bug that caused XmTextField to overwrite its border.
- Remove a couple of fprintf statements saying "Yow"
- Fix freetype installation check which appears to require #include < ft2built.h >.
- Fix the build so it wont override defaults from libtool (bug #1331548).
- Bug #1312056 add an #include for Solaris on x86.
- Fix compile error in TextOut.c when compiling with Xft.
- RPM specfile syntax has renamed Copyright into License.
- Patch by Eric Branlund for _MOTIF_DRAG_TARGETS on x86_64.
- Patches by Winfried to fix warnings detected with GCC 4.
<<lessMost Motif apps should compile and run out of the box.
Enhancements:
- Implement XmStringGenerate() and XmStringParseText() somewhat better.
- Fix an initialisation problem with RenderTables which caused colour settings to fail in some circumstances.
- Fix a bug that caused XmTextField to overwrite its border.
- Remove a couple of fprintf statements saying "Yow"
- Fix freetype installation check which appears to require #include < ft2built.h >.
- Fix the build so it wont override defaults from libtool (bug #1331548).
- Bug #1312056 add an #include for Solaris on x86.
- Fix compile error in TextOut.c when compiling with Xft.
- RPM specfile syntax has renamed Copyright into License.
- Patch by Eric Branlund for _MOTIF_DRAG_TARGETS on x86_64.
- Patches by Winfried to fix warnings detected with GCC 4.
Download (0.94MB)
Added: 2006-06-10 License: LGPL (GNU Lesser General Public License) Price:
1233 downloads
rwdmovies 0.95
rwdmovies is a personal DVD database. more>>
rwdmovies is a simple little database program using flat files, that can list movies and store movies and photos. It features Amazon search support.
<<less Download (0.20MB)
Added: 2005-04-21 License: GPL (GNU General Public License) Price:
1646 downloads
fakehermes 0.95
fakehermes is a companion program to hermes that implements a fake (and very simple) SMTP server. more>>
fakehermes project is a companion program to hermes that implements a fake (and very simple) SMTP server.
Why would I want to run a fake SMTP server?
The main use of fakehermes is to configure it as a secondary MX server. Some spammers will try to send spam directly to your least prefered SMTP server, because some secondary SMTP servers are badly configured and will relay spam to the main SMTP server without any check.
Placing fakehermes as a secondary SMTP server will receive (but not proccess) those spammers connections. Legitimate connections will retry sooner or later on the main SMTP server.
fakehermes will also log all attempts to send email through it with a very detailed log that will log not only who sent the email but also what tricks did they try to send it.
fakehermes does NOT implement a full SMTP server. It will NOT deliver ANY mail, so DO NOT try to use it as your main SMTP server.
<<lessWhy would I want to run a fake SMTP server?
The main use of fakehermes is to configure it as a secondary MX server. Some spammers will try to send spam directly to your least prefered SMTP server, because some secondary SMTP servers are badly configured and will relay spam to the main SMTP server without any check.
Placing fakehermes as a secondary SMTP server will receive (but not proccess) those spammers connections. Legitimate connections will retry sooner or later on the main SMTP server.
fakehermes will also log all attempts to send email through it with a very detailed log that will log not only who sent the email but also what tricks did they try to send it.
fakehermes does NOT implement a full SMTP server. It will NOT deliver ANY mail, so DO NOT try to use it as your main SMTP server.
Download (0.009MB)
Added: 2007-04-25 License: GPL (GNU General Public License) Price:
914 downloads
Search::Binary 0.95
Search::Binary is a Perl module for generic binary search. more>>
Search::Binary is a Perl module for generic binary search.
SYNOPSIS
use Seach::Binary;
$pos = binary_search($min, $max, $val, $read, $handle, [$size]);
binary_search implements a generic binary search algorithm returning the position of the first record whose index value is greater than or equal to $val. The search routine does not define any of the terms position, record or index value, but leaves their interpretation and implementation to the user supplied function &$read(). The only restriction is that positions must be integer scalars.
During the search the read function will be called with three arguments: the input parameters $handle and $val, and a position. If the position is not undef, the read function should read the first whole record starting at or after the position; otherwise, the read function should read the record immediately following the last record it read. The search algorithm will guarantee that the first call to the read function will not be with a position of undef. The read function needs to return a two element array consisting of the result of comparing $val with the index value of the read record and the position of the read record. The comparison value must be positive if $val is strictly greater than the index value of the read record, 0 if equal, and negative if strictly less. Furthermore, the returned position value must be greater than or equal to the position the read function was called with.
The input parameters $min and $max are positions and represents the extent of the search. Only records which begin at positions within this range (inclusive) will be searched. Moreover, $min must be the starting position of a record. If present $size is a difference between positions and determines when the algorithms switches to a sequential search. $val is an index value. The value of $handle is of no consequence to the binary search algorithm; it is merely passed as a convenience to the read function.
<<lessSYNOPSIS
use Seach::Binary;
$pos = binary_search($min, $max, $val, $read, $handle, [$size]);
binary_search implements a generic binary search algorithm returning the position of the first record whose index value is greater than or equal to $val. The search routine does not define any of the terms position, record or index value, but leaves their interpretation and implementation to the user supplied function &$read(). The only restriction is that positions must be integer scalars.
During the search the read function will be called with three arguments: the input parameters $handle and $val, and a position. If the position is not undef, the read function should read the first whole record starting at or after the position; otherwise, the read function should read the record immediately following the last record it read. The search algorithm will guarantee that the first call to the read function will not be with a position of undef. The read function needs to return a two element array consisting of the result of comparing $val with the index value of the read record and the position of the read record. The comparison value must be positive if $val is strictly greater than the index value of the read record, 0 if equal, and negative if strictly less. Furthermore, the returned position value must be greater than or equal to the position the read function was called with.
The input parameters $min and $max are positions and represents the extent of the search. Only records which begin at positions within this range (inclusive) will be searched. Moreover, $min must be the starting position of a record. If present $size is a difference between positions and determines when the algorithms switches to a sequential search. $val is an index value. The value of $handle is of no consequence to the binary search algorithm; it is merely passed as a convenience to the read function.
Download (0.002MB)
Added: 2007-04-05 License: Perl Artistic License Price:
932 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above hatari 0.95 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed