Skip to content
An implementation of Content Defined Chunking(CDC)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
cdc.c
cdc.h
checksum.c
checksum.h
main.c
readme.md
utils.c
utils.h

readme.md

Introduction

This is an implementation Content Defined Chunking based on Rabin Footprint .It is extracted from the source code of seafile project.

You can build this project by running make.

Usage

cdc

Set min block size and max block size

#define CDC_MIN_BLOCK_SIZE (6 * (1 << 20))     /* 6MB */
#define CDC_MAX_BLOCK_SIZE (10 * (1 << 20))    /* 10MB */

If you need the block to be larger or smaller,just change these macros in cdc.c to the value you need.

You can’t perform that action at this time.