OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [a-strhas.ads] - Blame information for rev 706

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 706 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT LIBRARY COMPONENTS                          --
4
--                                                                          --
5
--                     A D A . S T R I N G S . H A S H                      --
6
--                                                                          --
7
--                                S p e c                                   --
8
--                                                                          --
9
-- This specification is derived from the Ada Reference Manual for use with --
10
-- GNAT.  In accordance with the copyright of that document, you can freely --
11
-- copy and modify this specification,  provided that if you redistribute a --
12
-- modified version,  any changes that you have made are clearly indicated. --
13
--                                                                          --
14
------------------------------------------------------------------------------
15
 
16
pragma Compiler_Unit;
17
 
18
with Ada.Containers;
19
 
20
function Ada.Strings.Hash (Key : String) return Containers.Hash_Type;
21
--  Note: this hash function has predictable collisions and is subject to
22
--  equivalent substring attacks. It is not suitable for construction of a
23
--  hash table keyed on possibly malicious user input.
24
 
25
pragma Pure (Ada.Strings.Hash);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.