Skip to content
Snippets Groups Projects
Select Git revision
  • ll-php8
  • master default protected
  • php84
  • detached4
  • detached5
  • detached3
  • detached
  • detached2
  • ll-php8-bs5
  • 4.x
  • 6.3.0
  • 6.2.5
  • 6.2.4
  • 6.2.3
  • 6.2.2
  • 6.2.1
  • 6.2.0
  • 6.1.0
  • 6.0.2
  • 6.0.1
  • 6.0.0
  • 5.0.3
  • 5.0.2
  • 5.0.1
  • 5.0
  • 4.2.1
  • 4.2
  • 4.1
  • 4.0
  • 3.0.2
30 results

autoload_classmap.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    bst.h 448 B
    #ifndef __BST__
    #define __BST__
    
    struct node_t {
      unsigned long int key;
      void* val;
      struct node_t* left;
      struct node_t* right;
    };
    
    typedef struct bst_t {
      unsigned long int size;
      struct node_t* tree;
    } bst_t;
    
    unsigned long int hash(void*);
    bst_t bst_empty(void);
    int bst_is_empty(bst_t);
    bst_t bst_add(bst_t, void*);
    void bst_destroy(bst_t, void (*free_void)(void*));
    int bst_in(bst_t, void*);
    unsigned long int bst_size(bst_t);
    
    #endif