Classes | Macros | Typedefs | Functions | Variables
bloaty/third_party/zlib/examples/enough.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Include dependency graph for bloaty/third_party/zlib/examples/enough.c:

Go to the source code of this file.

Classes

struct  tab
 

Macros

#define INDEX(i, j, k)   (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)
 
#define local   static
 

Typedefs

typedef unsigned long long big_t
 
typedef unsigned long long code_t
 

Functions

int beenhere (int syms, int len, int left, int mem, int rem)
 
void cleanup (void)
 
big_t count (int syms, int len, int left)
 
void enough (int syms)
 
void examine (int syms, int len, int left, int mem, int rem)
 
int main (int argc, char **argv)
 

Variables

intcode
 
struct tabdone
 
int large
 
int max
 
big_tnum
 
int root
 
size_t size
 

Macro Definition Documentation

◆ INDEX

#define INDEX (   i,
  j,
 
)    (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)

Definition at line 179 of file bloaty/third_party/zlib/examples/enough.c.

◆ local

#define local   static

Definition at line 107 of file bloaty/third_party/zlib/examples/enough.c.

Typedef Documentation

◆ big_t

typedef unsigned long long big_t

Definition at line 110 of file bloaty/third_party/zlib/examples/enough.c.

◆ code_t

typedef unsigned long long code_t

Definition at line 111 of file bloaty/third_party/zlib/examples/enough.c.

Function Documentation

◆ beenhere()

int beenhere ( int  syms,
int  len,
int  left,
int  mem,
int  rem 
)

Definition at line 258 of file bloaty/third_party/zlib/examples/enough.c.

◆ cleanup()

void cleanup ( void  )

Definition at line 182 of file bloaty/third_party/zlib/examples/enough.c.

◆ count()

big_t count ( int  syms,
int  len,
int  left 
)

Definition at line 203 of file bloaty/third_party/zlib/examples/enough.c.

◆ enough()

void enough ( int  syms)

Definition at line 403 of file bloaty/third_party/zlib/examples/enough.c.

◆ examine()

void examine ( int  syms,
int  len,
int  left,
int  mem,
int  rem 
)

Definition at line 322 of file bloaty/third_party/zlib/examples/enough.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 458 of file bloaty/third_party/zlib/examples/enough.c.

Variable Documentation

◆ code

Definition at line 174 of file bloaty/third_party/zlib/examples/enough.c.

◆ done

struct tab* done

Definition at line 176 of file bloaty/third_party/zlib/examples/enough.c.

◆ large

int large

Definition at line 172 of file bloaty/third_party/zlib/examples/enough.c.

◆ max

int max

Definition at line 170 of file bloaty/third_party/zlib/examples/enough.c.

◆ num

big_t* num

Definition at line 175 of file bloaty/third_party/zlib/examples/enough.c.

◆ root

int root

Definition at line 171 of file bloaty/third_party/zlib/examples/enough.c.

◆ size

size_t size

Definition at line 173 of file bloaty/third_party/zlib/examples/enough.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:12