PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
hash_iterator Struct Reference

A hash table iterator. More...

#include <hash.h>

Collaboration diagram for hash_iterator:
Collaboration graph
[legend]

Data Fields

struct hashhash
 The hash table. More...
 
struct listbucket
 Current bucket. More...
 
struct hash_elemelem
 Current hash element in current bucket. More...
 

Detailed Description

A hash table iterator.

Definition at line 70 of file hash.h.

Field Documentation

◆ bucket

struct list* hash_iterator::bucket

Current bucket.

Definition at line 73 of file hash.h.

Referenced by hash_first(), and hash_next().

◆ elem

struct hash_elem* hash_iterator::elem

Current hash element in current bucket.

Definition at line 74 of file hash.h.

Referenced by hash_cur(), hash_first(), and hash_next().

◆ hash

struct hash* hash_iterator::hash

The hash table.

Definition at line 72 of file hash.h.

Referenced by hash_first(), and hash_next().


The documentation for this struct was generated from the following file: