Method and apparatus for a user extensible event structure

   
   

A method for extending an event structure including submitting a keyname and a corresponding value for the event structure and determining whether the keyname exists in a keys field array of the event structure. If the keyname does not exist in the keys field array, the method includes incrementing an index of the event structure, adding the keyname to a position in the keys field array based on the index and adding the corresponding value to a position in the values field array based on the index. If the keyname does exist in the keys field array, the method includes determining the position of a previously stored value in the values field array associated with the keyname and replacing the previously stored value in the values field array with the corresponding value.

Μια μέθοδος για μια δομή γεγονότος συμπεριλαμβανομένης της υποβολής ενός keyname και μιας αντίστοιχης αξίας για το γεγονός κτίζει και του καθορισμού εάν το keyname υπάρχει σε μια σειρά τομέων κλειδιών της δομής γεγονότος. Εάν το keyname δεν υπάρχει στη σειρά τομέων κλειδιών, η μέθοδος περιλαμβάνει την αύξηση ενός δείκτη της δομής γεγονότος, την προσθήκη του keyname σε μια θέση στη σειρά τομέων κλειδιών βασισμένη στο δείκτη και την προσθήκη της αντίστοιχης αξίας σε μια θέση στη σειρά τομέων τιμών βασισμένη στο δείκτη. Εάν το keyname υπάρχει στη σειρά τομέων κλειδιών, η μέθοδος περιλαμβάνει τον καθορισμό της θέσης μιας προηγουμένως αποθηκευμένης αξίας στη σειρά τομέων τιμών που συνδέεται με το keyname και την αντικατάσταση της προηγουμένως αποθηκευμένης αξίας στη σειρά τομέων τιμών με την αντίστοιχη αξία.

 
Web www.patentalert.com

< Apparatus and method for managing work and completion queues using head and tail pointers

< Optical waveguide element and method of fabrication thereof

> Method and system of determining well performance

> Forwarding table incorporating hash table and content addressable memory

~ 00115