CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - mfile.r
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - mfile.r - List
[
CA auth
]
DESProcess
DL : 0
DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,\"r\"))==NULL) {cout<<\"Cannot open the file to compare\"<<endl } if((cfp=fopen(cfile,\"r\"))==NULL) {cout<<\"Cannot open the file to compare\"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
Date
: 2008-10-13
Size
: 4.8kb
User
:
wxh
[
CA auth
]
DESProcess
DL : 0
DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff -DESProcess FILE*mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
Date
: 2025-07-04
Size
: 5kb
User
:
wxh
[
Graph program
]
figner_IMcode_mfile
DL : 0
指纹识别的一套完整成,还有指纹图像。绝对有用,适合毕业设计研究-Into a complete fingerprint recognition, as well as the fingerprint image. Definitely useful for the design of graduation
Date
: 2025-07-04
Size
: 412kb
User
:
宋琦
[
Program doc
]
mfile
DL : 0
gold.m is mfile that generate gold sequency.
Date
: 2025-07-04
Size
: 1kb
User
:
cyrus
[
JSP/Java
]
pdfread
DL : 0
PDDocument doc PDFTextStripper stripper = new PDFTextStripper() stripper.resetEngine() stripper.setWordSeparator(" ") // stripper.setShouldSeparateByBeads(false) stripper.setShouldSeparateByBeads(true) stripper.setLineSeparator("\r\n ") // stripper.setSpacingTolerance(0.1f) String text = stripper.getText(doc) doc.close() // stripper.get File file = new File(fileName) file.getPath() input(mfile,"\n\n"+file.getPath(),"old") input(mfile,text,"old")
Date
: 2025-07-04
Size
: 19.89mb
User
:
niktok
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.