Skip to content

An implementation of Content Defined Chunking(CDC)

Notifications You must be signed in to change notification settings

baixiangcpp/FileCDC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An implementation of Content Defined Chunking(CDC)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published