Coder Social home page Coder Social logo

wat-array's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

wat-array's Issues

要素の最大値に比例したメモリ空間を必要とする

What steps will reproduce the problem?
1. 以下のサンプルコードを実行する

int main() {
    vector<uint64_t> A;
    A.push_back(INT_MAX);
    wat_array::WatArray wa;
    wa.Init(A);
}


What is the expected output? What do you see instead?
expected: 正常終了する。
actual: 
約4GB程度のメモリを確保しようとし、32bit環境ではプロセス
のメモリ使用量の上限に引っかかり異常終了する。


What version of the product are you using? On what operating system?
Ver 0.0.6


Please provide any additional information below.
以下の行で以上終了しました。
https://code.google.com/p/wat-array/source/browse/trunk/src/wat_array.cpp?spec=s
vn32&r=28#401

Original issue reported on code.google.com by [email protected] on 13 Jan 2014 at 8:52

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.