Subject | Hash | Author | Date (UTC) |
---|---|---|---|
function return type was incorrect | d095cdc706932415067829757403130aeebc9344 | Your Name | 2019-12-06 23:04:40 |
implicit cast for warnings hiding | d6dc308d46629d67669202e62ecb6215a5caff75 | jp.larry | 2019-12-06 17:02:25 |
array compare function and renamed count_uXX to countXX | e1c738d042137a46c422948ec737baf23ac1786a | jp.larry | 2019-12-06 17:02:05 |
made isert_no_resize_check more readable | 3e84fd061fb69e497258abd25c5799887cc78844 | jp.larry | 2019-12-06 17:01:09 |
renamed grow_info to grow_policy | 009368f9bd34994568b9fda4d809914d71008ab9 | Your Name | 2019-12-04 15:36:38 |
write content to file function | ac49339ac47b43f66714e56358c72fa349b4ab01 | jp.larry | 2019-12-04 11:49:44 |
soft assertion and debug abort added | edcde42b256fd0341919a8d38abf051f2becd7a3 | Your Name | 2019-11-30 15:15:15 |
removed dead code | 23897e13036c094cb7e0ffeac42cc4c83781d9f4 | Your Name | 2019-11-30 08:25:05 |
new io_agent_alt interface | 387dc877fc7fc5e9271e09df0039869855de0e73 | Your Name | 2019-11-28 07:58:16 |
new destroy&callitems function for rarray | 2cd6ee9b7345571555fe0987a47792b0c4f72d72 | Your Name | 2019-11-28 07:55:43 |
io_agent_mem.h identation changed from 4 to 3 | d26588b1a1f71a0b98c17cf620b0bb1542a47d11 | Your Name | 2019-11-28 03:34:33 |
pass by pointer while inserting | f8259daaa4477e7e5a568b15c23e6f717ce13f42 | Your Name | 2019-11-27 21:49:42 |
simplified convertions implementation | 5dbd1b6cd3a06b87922a0778bc223693b547ea97 | jp.larry | 2019-11-27 05:56:37 |
take ref | 739086550cb4ef85d10e083110253ee48820b47b | jp.larry | 2019-11-27 05:55:55 |
bug fix | f150d538a332788ec41635e37f1d89e41e2d73f3 | jp.larry | 2019-11-27 05:55:11 |
more bugs solved | d8d2fb72dfd2a3718ff6f26e68d64f5c7d02a348 | Your Name | 2019-11-27 04:29:04 |
replaced built_move, built_const and init_move with constructors, for emulating initializer-lists | bd60c52d8e0d475dd69f11a48c05224507cfae0e | Your Name | 2019-11-27 03:42:54 |
make free deprecated | a68c1b809ddc5c2a0018142a8435c67b8e4e0cf6 | Your Name | 2019-11-26 22:13:26 |
new template data structure jl::array as static c-array wrapper | 68ff5a4049985d4ed013d0976b32e0613bb11ff0 | jp.larry | 2019-11-25 20:16:39 |
jassert release macro was wrong | 97964f5cf3485502675b77b4df5b322921355cf7 | jp.larry | 2019-11-25 20:15:13 |
File | Lines added | Lines deleted |
---|---|---|
include/jlib/io_agent_mem_ro.h | 2 | 2 |
File include/jlib/io_agent_mem_ro.h changed (mode: 100644) (index aafb6ea..119470a) | |||
... | ... | namespace jl | |
36 | 36 | * | * |
37 | 37 | * @see io_agent::read | * @see io_agent::read |
38 | 38 | */ | */ |
39 | [[nodiscard]] uint64_t read(void *p_dst, uint64_t size_to_read) | ||
39 | [[nodiscard]] int64_t read(void *p_dst, uint64_t size_to_read) | ||
40 | 40 | { | { |
41 | 41 | uint64_t memory_size_left = memory_size - position; | uint64_t memory_size_left = memory_size - position; |
42 | 42 | if (size_to_read > memory_size_left) | if (size_to_read > memory_size_left) |
... | ... | namespace jl | |
44 | 44 | for (uint64_t i = 0; i < size_to_read; ++i) | for (uint64_t i = 0; i < size_to_read; ++i) |
45 | 45 | reinterpret_cast<uint8_t*>(p_dst)[i] = p_memory[position+i]; | reinterpret_cast<uint8_t*>(p_dst)[i] = p_memory[position+i]; |
46 | 46 | position += size_to_read; | position += size_to_read; |
47 | return size_to_read; | ||
47 | return int64_t(size_to_read); | ||
48 | 48 | } | } |
49 | 49 | ||
50 | 50 | /** | /** |