资源简介
要对文本文件的进行比较的时候,可以考虑使用google-diff-match-patch,它可以进行比较、匹配和生成补丁的操作 google-diff-match-patch这个类库提供了强大的算法用于纯文本内容的差异比较,匹配,打补丁,实现同步纯文本所需要执行一些操作。支持多种语言包括:Java、JavaScript、C++、C#、Objective C、Lua和Python。
代码片段和文件信息
/*
* Copyright 2008 Google Inc. All Rights Reserved.
* Author: fraser@google.com (Neil Fraser)
* Author: mikeslemmer@gmail.com (Mike Slemmer)
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Diff Match and Patch
* http://code.google.com/p/google-diff-match-patch/
*/
#include
#include
// Code known to compile and run with Qt 4.3 through Qt 4.7.
#include
#include
#include “diff_match_patch.h“
//////////////////////////
//
// Diff Class
//
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-11-19 20:35 diff_match_patch_20121119\
目录 0 2012-11-19 20:35 diff_match_patch_20121119\ja
文件 4979 2012-11-19 20:35 diff_match_patch_20121119\ja
文件 19192 2012-11-19 20:35 diff_match_patch_20121119\ja
文件 76493 2012-11-19 20:35 diff_match_patch_20121119\ja
文件 38310 2012-11-19 20:35 diff_match_patch_20121119\ja
文件 10174 2012-11-19 20:35 diff_match_patch_20121119\COPYING
目录 0 2012-11-19 20:35 diff_match_patch_20121119\dart\
文件 47268 2012-11-19 20:35 diff_match_patch_20121119\dart\DiffMatchPatchTest.dart
文件 483 2012-11-19 20:35 diff_match_patch_20121119\dart\README.txt
文件 808 2012-11-19 20:35 diff_match_patch_20121119\dart\DiffMatchPatch.dart
文件 1606 2012-11-19 20:35 diff_match_patch_20121119\dart\DiffClass.dart
文件 76135 2012-11-19 20:35 diff_match_patch_20121119\dart\DMPClass.dart
文件 2117 2012-11-19 20:35 diff_match_patch_20121119\dart\PatchClass.dart
目录 0 2012-11-19 20:35 diff_match_patch_20121119\python2\
文件 67934 2012-11-19 20:35 diff_match_patch_20121119\python2\diff_match_patch.py
文件 41744 2012-11-19 20:35 diff_match_patch_20121119\python2\diff_match_patch_test.py
文件 59 2012-11-19 20:35 diff_match_patch_20121119\python2\__init__.py
目录 0 2012-11-19 20:35 diff_match_patch_20121119\demos\
文件 4583 2012-11-19 20:35 diff_match_patch_20121119\demos\demo_patch.html
文件 4136 2012-11-19 20:35 diff_match_patch_20121119\demos\demo_match.html
文件 3499 2012-11-19 20:35 diff_match_patch_20121119\demos\demo_diff.html
目录 0 2012-11-19 20:35 diff_match_patch_20121119\csharp\
文件 55946 2012-11-19 20:35 diff_match_patch_20121119\csharp\DiffMatchPatchTest.cs
文件 87264 2012-11-19 20:35 diff_match_patch_20121119\csharp\DiffMatchPatch.cs
目录 0 2012-11-19 20:35 diff_match_patch_20121119\ob
目录 0 2012-11-19 20:35 diff_match_patch_20121119\ob
文件 47 2012-11-19 20:35 diff_match_patch_20121119\ob
文件 1119 2012-11-19 20:35 diff_match_patch_20121119\ob
文件 49 2012-11-19 20:35 diff_match_patch_20121119\ob
文件 969 2012-11-19 20:35 diff_match_patch_20121119\ob
............此处省略43个文件信息
- 上一篇:ICOFormat64.8bi
- 下一篇:vrep_remoteAPI
相关资源
- Griffiths-IntroductiontoElectrodynamics4thEdit
- ParaViewTutorial.pdf
- xyisv_10236804.zip
- 计算机图形学第4版高清电子书.pdf
- 《多粒度知识获取与不确定性度量》
- 华成英模电课件.zip
- 70d0cd041f738f12db575d3b46e97582.pdf
- OfficeTabEnterprise13.1.zip
- wxu998.rar
- PowerDesigner16.5汉化文件.rar
- jsgis.zip
- PinyinIME(关键代码写了注释).zip
- 锁相环设计、仿真与应用第5版中.pd
- novelOnLine.zip
- SingleSensorImagingMethodsandApplicationsforDi
- ControlSystemsEngineering7th(NormanS.Nise)
- ModernControlSystems13th(RichardC.Dorf).ra
- VectorMagic_1.15pojie.rar
- complexityoflattice__problems.pdf
- xnby_883749.zip
- TOGAF培训讲义-周金根.pdf
- OS12.2驱动,手机虚拟定位软件,Loca
- 大话系列-大话数据结构(pdf高清版)
- 梁宁产品经理思维30讲.pdf
- CHI760E辰华电化学工作站软件最新版
- SAPERPHCM葵花宝典系列之配置指南(电
- TangZhuoLin.rar
- Day3_NOI.zip
- 图解HTTP.pdf
- VisionProStandardv7.2(2Day).zip
评论
共有 条评论