DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦63b690dd4⟧ TextFile

    Length: 1500 (0x5dc)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Behavior;
with Text_Io;

use Text_Io;
package body Behavior_Test is

    procedure Start is
        B1, B2, B3 : Behavior.Object;
    begin
        B1 := Behavior.Register (Host => "etoile", Socket => 1234);
        Put_Line ("B1 => " & Integer'Image (Behavior.Hash (B1)));

        B2 := Behavior.Register (Host => "ancolie", Socket => 5678);
        Put_Line ("B2 => " & Integer'Image (Behavior.Hash (B2)));

        B3 := Behavior.Register (Host => "belladone", Socket => 1000);
        Put_Line ("B3 => " & Integer'Image (Behavior.Hash (B3)));

        Put_Line ("host 1 => " & Behavior.Get_Host (B1));
        Put_Line ("socket 1 => " & Integer'Image
                                      (Integer (Behavior.Get_Socket (B1))));

        Put_Line ("host 2 => " & Behavior.Get_Host (B2));
        Put_Line ("socket 2 => " & Integer'Image
                                      (Integer (Behavior.Get_Socket (B2))));

        Put_Line ("host 3 => " & Behavior.Get_Host (B3));
        Put_Line ("socket 3 => " & Integer'Image
                                      (Integer (Behavior.Get_Socket (B3))));


        Behavior.Delete (B2);

        B2 := Behavior.Register (Host => "ancolie bis", Socket => 33333);
        Put_Line ("B2 => " & Integer'Image (Behavior.Hash (B2)));

        Put_Line ("host 2 => " & Behavior.Get_Host (B2));
        Put_Line ("socket 2 => " & Integer'Image
                                      (Integer (Behavior.Get_Socket (B2))));
    end Start;

end Behavior_Test;