Lines Matching refs:key
7 Tie::SubstrHash - Fixed-table-size, fixed-key-length hashing
18 an array of determinate size, with constant key size and record size.
22 keys will index, and the size of the overall table (in terms of key-value
28 key not exactly C<$key_len> characters in length. While these constraints
34 Because the current implementation uses the table and key sizes for the
63 local($self,$key) = @_;
74 elsif (substr($record, 1, $klen) eq $key) {
82 local($self,$key,$val) = @_;
94 $record = "\2". $key . $val;
104 elsif (substr($record, 1, $klen) eq $key) {
105 $record = "\2". $key . $val;
115 local($self,$key) = @_;
126 elsif (substr($record, 1, $klen) eq $key) {
158 croak(qq/Key "$key" is not $klen characters long/)
159 if length($key) != $klen;
161 for (unpack('C*', $key)) {