Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 059bd826b5
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.678 kb
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD
license as described in the file LICENSE.
#ifndef CACHE_H
#define CACHE_H
#include "parse_example.h"
const size_t int_size = 6;
const size_t char_size = 2;
char* run_len_decode(char *p, size_t& i);
char* run_len_encode(char *p, size_t i);
int read_cached_features(void*a, example* ec);
void cache_tag(io_buf& cache, v_array<char> tag);
void cache_features(io_buf& cache, example* ae);
void output_byte(io_buf& cache, unsigned char s);
void output_features(io_buf& cache, unsigned char index, feature* begin, feature* end);
Jump to Line
Something went wrong with that request. Please try again.