GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
bcache.c File Reference
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "bcache.h"
#include <algorithm>

Go to the source code of this file.

Classes

struct  gdb::bstring
 

Namespaces

namespace  gdb
 

Macros

#define CHAIN_LENGTH_THRESHOLD   (5)
 
#define BSTRING_SIZE(n)   (offsetof (struct bstring, d.data) + (n))
 

Functions

static void gdb::print_percentage (int portion, int total)
 

Macro Definition Documentation

◆ BSTRING_SIZE

#define BSTRING_SIZE ( n)    (offsetof (struct bstring, d.data) + (n))

Definition at line 134 of file bcache.c.

Referenced by gdb::bcache::insert().

◆ CHAIN_LENGTH_THRESHOLD

#define CHAIN_LENGTH_THRESHOLD   (5)

Definition at line 61 of file bcache.c.

Referenced by gdb::bcache::insert().