On 12/23/2014 4:27 AM, Rolf Eike Beer wrote:
> cmCTest.cxx
> C:\Dashboards\My Tests\CMakeNext-vs12-64-ninja-src\Source\cmCTest.cxx(1705) :
> warning C4267: 'argument' : conversion from 'size_t' to 'unsigned long',
> possible loss of data
>
> The problem is: this is absolutely right. On Windows64
Am Dienstag, 23. Dezember 2014, 10:27:47 schrieb Rolf Eike Beer:
> Am Montag, 22. Dezember 2014, 22:16:50 schrieb Rolf Eike Beer:
> > Am Montag, 22. Dezember 2014, 10:50:28 schrieb Brad King:
> > > On 12/20/2014 08:44 AM, Rolf Eike Beer wrote:
> > > > This is basically the same, but it avoids the n
Am Montag, 22. Dezember 2014, 22:16:50 schrieb Rolf Eike Beer:
> Am Montag, 22. Dezember 2014, 10:50:28 schrieb Brad King:
> > On 12/20/2014 08:44 AM, Rolf Eike Beer wrote:
> > > This is basically the same, but it avoids the needless floating point
> > > arithmetic. Does it work for you?
> >
> > T
Am Montag, 22. Dezember 2014, 10:50:28 schrieb Brad King:
> On 12/20/2014 08:44 AM, Rolf Eike Beer wrote:
> > This is basically the same, but it avoids the needless floating point
> > arithmetic. Does it work for you?
>
> Thanks, Eike. Please add a topic to put this in 'next' when ready.
Done. I
>>> I received a bad alloc when uploading a large file with CTest. The patch
>>> below resolved this.
I just took a look at the code and noticed that it is quite memory
consumption heavy ((2 * encoded_buffer_size) + file_buffer_size).
This implementation could be used instead (not tested):
std::s
>> I received a bad alloc when uploading a large file with CTest. The patch
>> below resolved this.
>
> Your patch is line-wrapped and can't be applied. However, I did this by hand.
> This is basically the same, but it avoids the needless floating point
> arithmetic. Does it work for you?
snip
>
On 12/20/2014 08:44 AM, Rolf Eike Beer wrote:
> This is basically the same, but it avoids the needless floating point
> arithmetic. Does it work for you?
Thanks, Eike. Please add a topic to put this in 'next' when ready.
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-top
Yes, thank you.
On Saturday, December 20, 2014, Rolf Eike Beer wrote:
> Justin Borodinsky wrote:
> > I received a bad alloc when uploading a large file with CTest. The patch
> > below resolved this.
>
> Your patch is line-wrapped and can't be applied. However, I did this by
> hand.
> This is bas
Justin Borodinsky wrote:
> I received a bad alloc when uploading a large file with CTest. The patch
> below resolved this.
Your patch is line-wrapped and can't be applied. However, I did this by hand.
This is basically the same, but it avoids the needless floating point
arithmetic. Does it work fo