Skip to content

baixiangcpp/FileCDC

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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