mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Deprecate the internal int/uint types in favor of the cstdint types they were based on
This commit is contained in:
parent
18e4976c6c
commit
54752ef9a1
218 changed files with 1331 additions and 1323 deletions
|
@ -16,7 +16,7 @@ namespace probabilistic {
|
|||
struct Element;
|
||||
|
||||
struct Bucket {
|
||||
uint64 count;
|
||||
uint64_t count;
|
||||
std::list<Element*> elements;
|
||||
|
||||
// Iterators only get invalidated for removed elements. This one
|
||||
|
@ -26,7 +26,7 @@ struct Bucket {
|
|||
};
|
||||
|
||||
struct Element {
|
||||
uint64 epsilon;
|
||||
uint64_t epsilon;
|
||||
Val* value;
|
||||
Bucket* parent;
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
|||
*
|
||||
* @return A newly initialized TopkVal
|
||||
*/
|
||||
explicit TopkVal(uint64 size);
|
||||
explicit TopkVal(uint64_t size);
|
||||
|
||||
/**
|
||||
* Destructor.
|
||||
|
@ -167,8 +167,8 @@ private:
|
|||
CompositeHash* hash;
|
||||
std::list<Bucket*> buckets;
|
||||
PDict<Element>* elementDict;
|
||||
uint64 size; // how many elements are we tracking?
|
||||
uint64 numElements; // how many elements do we have at the moment
|
||||
uint64_t size; // how many elements are we tracking?
|
||||
uint64_t numElements; // how many elements do we have at the moment
|
||||
bool pruned; // was this data structure pruned?
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue