Giter Site home page Giter Site logo

os_homework2's Introduction

OS_Homework2

실습자료로 주어진 프로그램에서 4GB 이상의 파일을 생성후 mmio를 이용해 파일 복사를 시도하면

MapViewOfFile()에서 에러코드를 출력한다.

해결방법으로 1기가와 같이 핸들링 가능한 단위로 메모리맵을 생성해

여러번 핸들링 해주어 파일 처리를 하려고 했으나

1GB 단위로 처리시 4.5기가 파일에서 나머지 500MB에 대한 오프셋 처리가 미숙하여

멘토님이 주신 FileHelperClass를 사용해서 다음과 같이 코딩하였다.

alt tag

컴파일 후 실행시켜보면 다음과 같은 경로를 얻을 수 있다.

alt tag

os_homework2's People

Contributors

morinori avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.