Guest User

tupplespacepackage-realtupples.ads

a guest
May 11th, 2026
59
0
Never
6
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. pragma Ada_2022;
  2. with Ada.Containers.Hashed_Maps, Ada.Containers.Synchronized_Queue_Interfaces, Ada.Tags, Ada.Finalization, System.Storage_Elements, Ada.Containers.Unbounded_Synchronized_Queues, Ada.Strings.Unbounded;
  3. use Ada.Strings.Unbounded;
  4. private with Ada.Strings.Hash, Ada.Containers.Vectors;
  5.  
  6. package tupplespacepackage.RealTupples is
  7. type MyMapType is limited private;
  8. protected type RealTuppleSpace is new TuppleSpace with
  9. overriding
  10. procedure Out_Operation
  11. (T : Tupple'Class);
  12. overriding
  13. entry In_Operation
  14. (Result : out Tupple'Class);
  15. overriding
  16. entry RD_Operation
  17. (Result : out Tupple'Class);
  18. overriding
  19. procedure Inp_Operation
  20. (Result : out Tupple'Class);
  21. overriding
  22. procedure RDP_Operation
  23. (Result : out Tupple'Class);
  24. private
  25. The_Map : MyMapType;
  26. end RealTuppleSpace;
  27.  
  28. type Integer_Positive_String_Tupple is new Tupple with private;
  29. type String_String_Tupple is new Tupple with private;
  30. function Encode (I: Integer; Pos: Positive; A: String) return Integer_Positive_String_Tupple;
  31. function Encode (A, B: String) return String_String_Tupple;
  32. procedure Decode (the_Tupple: Integer_Positive_String_Tupple; I: out Integer; Pos: out Positive; A: out Ada.Strings.Unbounded.Unbounded_String);
  33. procedure Decode (the_Tupple: String_String_Tupple; A, B: out Ada.Strings.Unbounded.Unbounded_String);
  34. overriding procedure Copy_Into (A: Tupple'Class; B: out Integer_Positive_String_Tupple);
  35. overriding procedure Copy_Into (A: Tupple'Class; B: out String_String_Tupple);
  36.  
  37. private
  38. use Ada.Tags;
  39. type AccessToClass is access Tupple'Class;
  40. package newQueues is new Ada.Containers.Vectors (Positive, AccessToClass);
  41. subtype Queue is newQueues.Vector;
  42. protected type LockedQueue is
  43. procedure Out_Operation
  44. (T : Tupple'Class);
  45. entry In_Operation
  46. (Result : out Tupple'Class);
  47. entry RD_Operation
  48. (Result : out Tupple'Class);
  49. private
  50. PatternQueue: Queue;
  51. end LockedQueue;
  52. type AccessToProtected is access LockedQueue;
  53. function Hash (A: Ada.Tags.Tag) return Ada.Containers.Hash_Type is (Ada.Strings.Hash (Ada.Tags.External_Tag(A)));
  54. package newMaps is new Ada.Containers.Hashed_Maps (Key_Type => Ada.Tags.Tag, Element_type => AccessToProtected, Hash => Hash, Equivalent_Keys => "=");
  55. type MyMapType is new newMaps.Map with null record;
  56. type Integer_Positive_String_Tupple is new Tupple with record
  57. I: Integer;
  58. Pos: Positive;
  59. A: Unbounded_String;
  60. end record;
  61. type String_String_Tupple is new Tupple with record
  62. A, B: Unbounded_String;
  63. end record;
  64.  
  65. end tupplespacepackage.RealTupples;
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Caximce
    23 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Hokqolom
    20 hours
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=vzvpkygbpu
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment