Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

auth2table(3) [debian man page]

AUTH2TABLE(3)						     AUT STRUCTURE DEFINITIONS						     AUTH2TABLE(3)

NAME
auth2table - hash table structure DESCRIPTION
The auth2table structure is used to describe an hash table with two keys. The declarations needed to work on auth2table are available in the header file "/labo/include/aut101.h", where '101' is the actual aut ver- sion. The following C structure supports the description of an hash element : typedef struct auth2table { auth2elem *TABLE; long TABLE_SIZE; long NUMBER_ELEM; long NUMBER_ADD; long NUMBER_SCAN; long NUMBER_DEL; long NUMBER_STRETCH; } auth2table; TABLE TABLE is the hash element array. TABLE_SIZE TABLE_SIZE is the size of the hash table. NUMBER_ELEM NUMBER_ELEM is the number of element in the hash table. NUMBER_ADD NUMBER_ADD is the number of added elements. NUMBER_SCAN NUMBER_SCAN is the number of scans to find an element. NUMBER_DEL NUMBER_DEL is the number of deleted elements. NUMBER_STRETCH NUMBER_STRETCH is the number of hash table stretch. SEE ALSO
aut(1), auth2table(3), BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 AUTH2TABLE(3)

Check Out this Related Man Page

AUTHTABLE(3)						     AUT STRUCTURE DEFINITIONS						      AUTHTABLE(3)

NAME
authtable - hash table structure DESCRIPTION
The authtable structure is used to describe an hash table. The declarations needed to work on authtable are available in the header file "/labo/include/aut101.h", where '101' is the actual aut ver- sion. The following C structure supports the description of an hash element : typedef struct authtable { authelem *TABLE; long TABLE_SIZE; long NUMBER_ELEM; long NUMBER_ADD; long NUMBER_SCAN; long NUMBER_DEL; long NUMBER_STRETCH; } authtable; TABLE TABLE is the hash element array. TABLE_SIZE TABLE_SIZE is the size of the hash table. NUMBER_ELEM NUMBER_ELEM is the number of element in the hash table. NUMBER_ADD NUMBER_ADD is the number of added elements. NUMBER_SCAN NUMBER_SCAN is the number of scans to find an element. NUMBER_DEL NUMBER_DEL is the number of deleted elements. NUMBER_STRETCH NUMBER_STRETCH is the number of hash table stretch. SEE ALSO
aut(1), authtable(3), BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 AUTHTABLE(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

nested hash table

Hi, I have a nested hash table say for example as follows: %coins = ( 1 => { "Quarter"=>25, "Dime"=>10, "Nickel"=>5, }, 2 => { "asd"=>34, "qwe"=>45, ... (0 Replies)
Discussion started by: arthi
0 Replies

2. Shell Programming and Scripting

Perl question - print last element in a hash?

I am modifying someone else's code. There is a foreach statement printing the contents of a hash. Can someone give me an example of printing the last element in a hash? The output currently is A B C D E I want the output to be E (1 Reply)
Discussion started by: streetfighter2
1 Replies

3. Web Development

Intersection and union of array by hash

Hi, A piece of script from Perl-cookbook I do not understand, and post here for explanation. The purpose is to find the element in either array (union), and in both array (intersection). Thank you in advance. @a=qw(1 3 5 6 7 8); @b=qw(2 3 5 7 9); foreach $e (@a, @b) {$union{$e}++ &&... (3 Replies)
Discussion started by: yifangt
3 Replies

4. Shell Programming and Scripting

Confusion in hash

Hi folks, If a declare a direct hash , then the hash element works fine. my %test = ("test",1); print %test; print "\n"; Here in the above, the name of the hash is predeclared... Suppose now I need to create the hash elements dynamically in the for loop. $test="hash"; my... (1 Reply)
Discussion started by: scriptscript
1 Replies