- 김희성/MTFREADER . . . . 75 matches
#define FILE_LOAD_ERROR 1
PFILE_RECORD_HEADER MFT;
U32 BytesPerFileRecord;
long ReadAttribute(FILE* fp, unsigned char* offset, long flag);
hVolume = CreateFile(drive, GENERIC_READ,FILE_SHARE_READ | FILE_SHARE_WRITE, 0,OPEN_EXISTING, 0, 0);
ReadFile(hVolume, &boot_block, sizeof(boot_block), &cnt, 0);
ErrorCode=FILE_LOAD_ERROR;
void MakeBinaryFile(char* filename); //MFT를 Binary 그대로 저장한다.
void MakeTextFile(char* filename, long flag); //MFT 속성을 text 파일로 저장.
PFILE_RECORD_HEADER $MFT;
BytesPerFileRecord = boot_block.ClustersPerFileRecord < 0x80? boot_block.ClustersPerFileRecord* boot_block.SectorsPerCluster* boot_block.BytesPerSector : 1 << (0x100 - boot_block.ClustersPerFileRecord);
$MFT = PFILE_RECORD_HEADER(new U8[BytesPerFileRecord]);
ReadSector((boot_block.MftStartLcn) * boot_block.SectorsPerCluster, BytesPerFileRecord / boot_block.BytesPerSector, $MFT);
MFT=PFILE_RECORD_HEADER(new U8[*((unsigned __int64*)((unsigned char*)$MFT+point+40))]);
ReadFile(hVolume, buffer, count * boot_block.BytesPerSector, &n, &overlap);
long _MFT_READER::ReadAttribute(FILE* fp, unsigned char* point, long flag)
FileTimeToSystemTime((FILETIME*)offset,&time);
fprintf(fp,"File 생성 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
FileTimeToSystemTime((FILETIME*)(offset+8),&time);
fprintf(fp,"File 수정 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
- 새싹교실/2012/세싹 . . . . 54 matches
U64 BaseFileRecord;
} FILE_RECORD_HEADR, *PFILE_RECORD_HEADER;
AttributeFileName = 0x30,
U32 ClustersPerFileRecord; // 파일 레코드당 클러스터수
U32 BytesPerFileRecord;
PFILE_RECORD_HEADER MFT;
hVolume = CreateFile(drive, GENERIC_READ,FILE_SHARE_READ | FILE_SHARE_WRITE, 0,OPEN_EXISTING, 0, 0);
ReadFile(hVolume, &boot_block, sizeof(boot_block), &cnt, 0);
printf("======My FILE SYSTEM INFO==========\n");
printf("File System : %s \n",boot_block.Format);
printf("Clusters Per FileRecord : %u\n",boot_block.ClustersPerFileRecord);
BytesPerFileRecord = boot_block.ClustersPerFileRecord < 0x80? boot_block.ClustersPerFileRecord* boot_block.SectorsPerCluster* boot_block.BytesPerSector : 1 << (0x100 - boot_block.ClustersPerFileRecord);
MFT = PFILE_RECORD_HEADER(new U8[BytesPerFileRecord]);
ReadSector(boot_block.MftStartLcn * boot_block.SectorsPerCluster, BytesPerFileRecord / boot_block.BytesPerSector, MFT);
ReadFile(hVolume, buffer, count * boot_block.BytesPerSector, &n, &overlap);
* CreateFile함수를 처음 사용하여보았습니다. - [김희성]
http://www.winapi.co.kr/reference/Function/CreateFile.htm
http://www.winapi.co.kr/reference/Function/ReadFile.htm
* ReadFile의 overlap인자 사용법이 나와있는 곳을 찾기 힘듭니다 ;ㅅ;
ReadFile은 파일포인터를 읽은 만큼 옮기던데 ReadSector에서는 옮긴 지점부터 섹터 단위로 세어서 읽는 건가요? 아니면 처음부터 다시 세어 읽는건가요? - [김희성]
- 토이/메일주소셀렉터/김정현 . . . . 14 matches
FileIo io= new FileIo();
io.write("result.txt", io.getRemadeFromFile(input));
public class FileIo {
public FileIo() {
public void write(String fileName, String text) {
FileWriter fw;
fw = new FileWriter(getTextFileForm(fileName));
public String read(String fileName) {
FileReader fr;
fr = new FileReader(getTextFileForm(fileName));
} catch (FileNotFoundException e) {
public String getTextFileForm(String inputName) {
public String getRemadeFromFile(String fileName) {
return getRemade(read(fileName));
- CxxTest . . . . 10 matches
testFiles = []
for eachFile in listdir("."):
if isfile(eachFile):
lastestPeriod = eachFile.rfind(".")
fileName = eachFile[:lastestPeriod]
extension = eachFile[lastestPeriod+1:]
if fileName.endswith("Test"):
print fileName, extension
testFiles.append(eachFile)
'''cmd= "python cxxtestgen.py --runner=ParenPrinter --gui=Win32Gui -o runner.cpp "+toStr(testFiles)'''
cmd= "python cxxtestgen.py --runner=ParenPrinter -o runner.cpp "+toStr(testFiles)
- ProjectTriunity . . . . 10 matches
|| Upload:ExternalSort_FileIO_1.zip || 이상규 || File I/O 라이브러리 버전 1 ||
|| Upload:ExternalSort_FileIO_2.zip || 이상규 || File I/O 라이브러리 버전 2 ||
|| Upload:ExternalSort_FileIO_3.zip || 이상규 || File I/O 라이브러리 버전 3 ||
|| Upload:ExternalSort_FileIO_4.zip || 이상규 || File I/O 라이브러리 버전 4 ||
|| Upload:ExternalSort_FileIO_5.zip || 이상규 || File I/O 라이브러리 버전 5 ||
- NamedPipe . . . . 8 matches
fSuccess = ReadFile(
fSuccess = WriteFile(
FlushFileBuffers(hPipe);
hPipe = CreateFile( // 파일을 연다
NULL); // no template file
fSuccess = WriteFile(
MyErrExit("WriteFile");
fSuccess = ReadFile(
if (! WriteFile(GetStdHandle(STD_OUTPUT_HANDLE),
- SignatureSurvey . . . . 7 matches
def readFromFile(aFileName):
f = open(aFileName, 'r')
def writeToFile(aFileName, aStr):
f = open(aFileName, 'w')
data = readFromFile("sig.html")
- NSIS/예제2 . . . . 6 matches
OutFile "example2.exe"
InstallDir $PROGRAMFILES\Example2
File "C:\winnt\notepad.exe"
InstallDir $PROGRAMFILES\Example2
OutFile "example2.exe"
InstallDir $PROGRAMFILES\Example2
File "C:\winnt\notepad.exe"
Processing script file: "example2.nsi"
OutFile: "example2.exe"
InstallDir: "$PROGRAMFILES\Example2"
File: "NOTEPAD.EXE" [compress] 21719/50960 bytes
Processed 1 file, writing output:
- NSIS/예제4 . . . . 5 matches
LoadLanguageFile "${NSISDIR}\Contrib\Language files\Korean.nlf"
OutFile "VncKorPatch.exe"
InstallDir $PROGRAMFILES\RealVNC\VNC4
File "vncconfig.exe"
File "vncviewer.exe"
File "winvnc4.exe"
- RubyLanguage/InputOutput . . . . 4 matches
* File.new
* File.open / File.close
* 단 예외 발생시 File.close는 호출되지 않는다. ensure 구문에서 처리할 수 있다.
- DebuggingSeminar_2005/DebugCRT . . . . 3 matches
CRT의 기본 함수들의 출력은 디버그 메시지 윈도우이다. 이를 변경하기위해서는 _CrtSetReportMode()라는 함수를 이용해서 출력에대한 일반 목적지를 지정하고, _CrtSetReportFile()를 이용해서 특별한 스트림 목적지를 설정해야한다.
|| _CRTDBG_MODE_FILE || output stream ||
{{{~cpp _HFILE _CrtSetReportFile(int reportType, _HFILE reportFile);
''두번째 인수는 파일 스트림의 _HFILE 형식의 포인터이거나 다음의 식별자들 중의 하나이다.''
|| _CRTDBG_FILE_STDERR || 표준 에러 스트림으로 전달 ||
|| _CRTDBG_FILE_STDOUT || 표준 출력 스트림으로 전달 ||
|| _CRTDBG_REPORT_FILE || 현재의 목적지를 리턴한다. ||
- PragmaticVersionControlWithCVS/WhatIsVersionControl . . . . 3 matches
== workspaces and manipulate files ==
== project. module, and files ==
{{{~cpp file1.java 1.11
file2.java 1.7
file3.java 1.10}}}
public class File1 {
public class File1 {
public class File1 {
- 오목/곽세환,조재화 . . . . 3 matches
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
- 오목/재니형준원 . . . . 3 matches
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
- 오목/진훈,원명 . . . . 3 matches
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
- ClassifyByAnagram/sun . . . . 2 matches
System.out.println( "usage: java anagram.FindAnagram out_file < input_file" );
out = new BufferedOutputStream( new FileOutputStream( args[0] ));
System.out.println( "usage: java anagram.FindAnagram out_file < input_file" );
out = new BufferedOutputStream( new FileOutputStream( args[0] ));
- HelpOnActions . . . . 2 matches
* `!UploadFile`: 파일 업로드 UploadFile 페이지를 참조하세요.
- Ruby/2011년스터디/서지혜 . . . . 2 matches
pe32.szExeFile, pe32.th32ProcessID, pe32.cntThreads, pe32.th32ParentProcessID);
if(0 == _tcscmp(pe32.szExeFile, target)){
- ServerBackup . . . . 2 matches
def uploadFile(filename):
f = open(filename,'rb') # file to send
s.storbinary('STOR %s'%filename, f) # Send the file
f.close() # Close file and FTP
uploadFile('index.html')
gpg --passphrase #{PASSWORD} --no-use-agent -c file
gpg file
- SmallTalk/강좌FromHitel/강의3 . . . . 2 matches
Dolphin Smalltalk를 시작합니다. 그런 다음 File > Exit Dolphin 메뉴를 실
여전히 화면에 큼지막한 디지털 시계가 표시되고 있을 것입니다. 이제 File
이 파일은 '변경 기록 파일'(change log file)이라고 부릅니다. 이 파일 안
- 2학기파이선스터디/모듈 . . . . 1 match
['__builtins__', '__doc__', '__file__', '__name__', 'add', 'c', 'mul']
['_StringTypes', '__builtins__', '__doc__', '__file__', '__name__', '_float', '_idmap', '_idmapL', '_int', '_long', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'capitalize', 'capwords', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowercase', 'lstrip', 'maketrans', 'octdigits', 'printable', 'punctuation', 'replace', 'rfind', 'rindex', 'rjust', 'rstrip', 'split', 'splitfields', 'strip', 'swapcase', 'translate', 'upper', 'uppercase', 'whitespace', 'zfill']
File "<pyshell#17>", line 1, in ?
- 2학기파이선스터디/문자열 . . . . 1 match
File "<pyshell#40>", line 1, in ?
- 5인용C++스터디 . . . . 1 match
* '''숙제 및 결과물은 UploadFile을 참고하여 올리면 됩니다.'''
- AcceleratedC++/Chapter9 . . . . 1 match
=== 9.5.3 Entire Source File ===
- AttachmentMacro . . . . 1 match
See also UploadFile
- Class/2006Fall . . . . 1 match
=== [(zeropage)FileStructureClass] ===
- EmbedAudioFilesForFireFox . . . . 1 match
<EMBED SRC=somefile type="application/x-mplayer2" width="300" height="45"></embed>
<param name="FileName" value="URL" />
- FileInputOutput . . . . 1 match
fin = file('input.txt')
fout = file('output.txt.','w')
InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName));
- Gof/Facade . . . . 1 match
Choices operating system [CIRM93] 은 많은 framework를 하나로 합치기 위해 facade를 사용한다. Choices에서의 key가 되는 추상객체들은 process와 storge, 그리고 adress spaces 이다. 이러한 각 추상객체들에는 각각에 대응되는 서브시스템이 있으며, framework로서 구현된다. 이 framework는 다양한 하드웨어 플랫폼에 대해 Choices에 대한 porting을 지원한다. 이 두 서브시스템은 '대표자'를 가진다. (즉, facade) 이 대표자들은 FileSystemInterface (storage) 와 Domain (address spaces)이다.
- ProgrammingPearls/Column1 . . . . 1 match
for e in inputFile:
- ProjectGaia/기록 . . . . 1 match
* 12/9 : Pc실 Key Sequential File 초안 , Extendible Hash 초안 구현
- SearchAndReplaceTool . . . . 1 match
* HandyFile Find and Replace (http://www.silveragesoftware.com/hffr.html)
- wiz네처음화면 . . . . 1 match
* MP3 file download site to listen English - [http://iteslj.org/links/ESL/Listening/Downloadable_MP3_Files Listening English]
- woodpage/VisualC++HotKeyTip . . . . 1 match
*Find in File 로 현재 페이지가 아닌 전체 파일에서 찾아줌 소스분석할때 필수
- 데블스캠프2006/월요일 . . . . 1 match
||am 04:00~06:00 ||[데블스캠프2006/CPPFileInput] [http://zerowiki.dnip.net/~namsangboy/schoolScore.html 데블스캠프2006/성적관리프로그램] [http://zeropage.org/svn/namsangboy/SchoolScore/SchoolScore.cpp Source]|| 남상협 (01) ||
- 수업평가 . . . . 1 match
||FileStructureClass || 0 || -1 ||-1 || 2 || 0 || 2 ||0 ||
Found 36 matching pages out of 7557 total pages (930 pages are searched)
You can also click here to search title.