/dports/devel/dmalloc/dmalloc-5.6.5/ |
H A D | heap.c | 192 long diff_size; in _dmalloc_heap_alloc() local 207 diff_size = (PNT_ARITH_TYPE)heap_new % BLOCK_SIZE; in _dmalloc_heap_alloc() 208 if (diff_size == 0) { in _dmalloc_heap_alloc() 212 diff_size = BLOCK_SIZE - diff_size; in _dmalloc_heap_alloc() 215 heap_diff = heap_extend(diff_size); in _dmalloc_heap_alloc() 221 if ((char *)heap_diff + diff_size == (char *)heap_new) { in _dmalloc_heap_alloc() 226 return (char *)heap_new + diff_size; in _dmalloc_heap_alloc() 238 heap_release(heap_diff, diff_size); in _dmalloc_heap_alloc() 249 diff_size = (PNT_ARITH_TYPE)heap_new % BLOCK_SIZE; in _dmalloc_heap_alloc() 250 if (diff_size == 0) { in _dmalloc_heap_alloc() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/frotz/ |
H A D | processor_mem.cpp | 39 long diff_size; in save_undo() local 62 diff_size = mem_diff(zmp, prev_zmp, h_dynamic_size, undo_diff); in save_undo() 65 p = (undo_t *) malloc(sizeof(undo_t) + diff_size + stack_size * sizeof(*_sp)); in save_undo() 74 p->diff_size = diff_size; in save_undo() 77 memcpy(p + 1, undo_diff, diff_size); in save_undo() 78 memcpy((zbyte *)(p + 1) + diff_size, _sp, stack_size * sizeof(*_sp)); in save_undo() 110 mem_undiff((zbyte *)(curr_undo + 1), curr_undo->diff_size, prev_zmp); in restore_undo() 111 memcpy(_sp, (zbyte *)(curr_undo + 1) + curr_undo->diff_size, in restore_undo()
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/zcode/ |
H A D | processor_mem.cpp | 39 long diff_size; in save_undo() local 62 diff_size = mem_diff(zmp, prev_zmp, h_dynamic_size, undo_diff); in save_undo() 65 p = (undo_t *) malloc(sizeof(undo_t) + diff_size + stack_size * sizeof(*_sp)); in save_undo() 74 p->diff_size = diff_size; in save_undo() 77 memcpy(p + 1, undo_diff, diff_size); in save_undo() 78 memcpy((zbyte *)(p + 1) + diff_size, _sp, stack_size * sizeof(*_sp)); in save_undo() 110 mem_undiff((zbyte *)(curr_undo + 1), curr_undo->diff_size, prev_zmp); in restore_undo() 111 memcpy(_sp, (zbyte *)(curr_undo + 1) + curr_undo->diff_size, in restore_undo()
|
/dports/databases/galera26/galera-release_26.4.10/gcache/src/ |
H A D | gcache_page.cpp | 116 diff_type const diff_size (size - bh->size); in realloc() local 118 if (gu_likely (diff_size < 0 || size_t(diff_size) < space_)) in realloc() 120 bh->size += diff_size; in realloc() 121 space_ -= diff_size; in realloc() 122 next_ += diff_size; in realloc()
|
H A D | gcache_mem_store.hpp | 105 diff_type const diff_size(size - old_size); in realloc() local 108 have_free_space(diff_size) == false) return 0; in realloc() 110 assert (size_ + diff_size <= max_size_); in realloc() 123 size_ += diff_size; in realloc()
|
/dports/databases/galera/galera-release_25.3.35/gcache/src/ |
H A D | gcache_page.cpp | 117 diff_type const diff_size (size - bh->size); in realloc() local 119 if (gu_likely (diff_size < 0 || size_t(diff_size) < space_)) in realloc() 121 bh->size += diff_size; in realloc() 122 space_ -= diff_size; in realloc() 123 next_ += diff_size; in realloc()
|
H A D | gcache_mem_store.hpp | 97 diff_type const diff_size(size - old_size); in realloc() local 100 have_free_space(diff_size) == false) return 0; in realloc() 102 assert (size_ + diff_size <= max_size_); in realloc() 115 size_ += diff_size; in realloc()
|
/dports/devel/grpc/grpc-1.42.0/tools/profiling/bloat/ |
H A D | bloat_diff.py | 84 diff_size = 0 variable 107 diff_size += int(section[2]) 114 math.copysign(max(0, math.log(abs(diff_size) / 1000, 10), 115 diff_size))) if diff_size != 0 else 0
|
/dports/devel/p5-SVN-Web/SVN-Web-0.63/lib/SVN/Web/ |
H A D | Revision.pm | 220 my $diff_size = 0; 223 $diff_size = length($out); 224 if ( $diff_size <= $max_diff_size ) { 236 diff_size => $diff_size,
|
H A D | Diff.pm | 218 my $diff_size = length($out); 220 if ( $diff_size <= $max_diff_size ) { 231 diff_size => $diff_size,
|
/dports/textproc/turboxsl/turboxsl-b03c2c9/src/zlog/src/ |
H A D | zc_arraylist.c | 62 int diff_size; in zc_arraylist_expand_inner() local 72 diff_size = new_size - a_list->size; in zc_arraylist_expand_inner() 73 if (diff_size) memset(a_list->array + a_list->size, 0x00, diff_size * sizeof(void *)); in zc_arraylist_expand_inner()
|
/dports/databases/beansdb/beansdb-0.7.1.4/third-party/zlog-1.2/ |
H A D | zc_arraylist.c | 62 int diff_size; in zc_arraylist_expand_inner() local 72 diff_size = new_size - a_list->size; in zc_arraylist_expand_inner() 73 if (diff_size) memset(a_list->array + a_list->size, 0x00, diff_size * sizeof(void *)); in zc_arraylist_expand_inner()
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/workers/ |
H A D | irker_worker.rb | 151 diff_size = commit.raw_deltas.size 153 "#{diff_size} file".pluralize(diff_size)
|
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/common/ |
H A D | fastmem.c | 90 long diff_size; member 922 mem_undiff((zbyte *) (curr_undo + 1), curr_undo->diff_size, prev_zmp); in restore_undo() 923 memmove (sp, (zbyte *)(curr_undo + 1) + curr_undo->diff_size, in restore_undo() 1030 long diff_size; in save_undo() local 1054 diff_size = mem_diff(zmp, prev_zmp, z_header.dynamic_size, undo_diff); in save_undo() 1057 p = malloc(sizeof (undo_t) + diff_size + stack_size * sizeof (*sp)); in save_undo() 1067 p->diff_size = diff_size; in save_undo() 1070 memmove(p + 1, undo_diff, diff_size); in save_undo() 1071 memmove((zbyte *)(p + 1) + diff_size, sp, stack_size * sizeof (*sp)); in save_undo()
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | optimize_dmfet_potential.F | 114 INTEGER :: diff_size, nao local 169 diff_size = 1 170 IF (opt_dmfet%open_shell_embed) diff_size = 2 171 ALLOCATE (opt_dmfet%max_diff(diff_size)) 172 ALLOCATE (opt_dmfet%int_diff(diff_size))
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | optimize_dmfet_potential.F | 114 INTEGER :: diff_size, nao local 169 diff_size = 1 170 IF (opt_dmfet%open_shell_embed) diff_size = 2 171 ALLOCATE (opt_dmfet%max_diff(diff_size)) 172 ALLOCATE (opt_dmfet%int_diff(diff_size))
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 232 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 234 diff_size += profiled_size - min_size; in initialize_heaps() 237 profiled_size += diff_size; in initialize_heaps() 238 diff_size = 0; in initialize_heaps() 243 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 248 non_profiled_size += diff_size; in initialize_heaps() 249 diff_size = 0; in initialize_heaps() 254 profiled_size = diff_size / 2; in initialize_heaps() 256 diff_size = 0; in initialize_heaps() 258 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 233 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 235 diff_size += profiled_size - min_size; in initialize_heaps() 238 profiled_size += diff_size; in initialize_heaps() 239 diff_size = 0; in initialize_heaps() 244 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 249 non_profiled_size += diff_size; in initialize_heaps() 250 diff_size = 0; in initialize_heaps() 255 profiled_size = diff_size / 2; in initialize_heaps() 257 diff_size = 0; in initialize_heaps() 259 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 232 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 234 diff_size += profiled_size - min_size; in initialize_heaps() 237 profiled_size += diff_size; in initialize_heaps() 238 diff_size = 0; in initialize_heaps() 243 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 248 non_profiled_size += diff_size; in initialize_heaps() 249 diff_size = 0; in initialize_heaps() 254 profiled_size = diff_size / 2; in initialize_heaps() 256 diff_size = 0; in initialize_heaps() 258 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 235 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 237 diff_size += profiled_size - min_size; in initialize_heaps() 240 profiled_size += diff_size; in initialize_heaps() 241 diff_size = 0; in initialize_heaps() 246 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 251 non_profiled_size += diff_size; in initialize_heaps() 252 diff_size = 0; in initialize_heaps() 257 profiled_size = diff_size / 2; in initialize_heaps() 259 diff_size = 0; in initialize_heaps() 261 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 237 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 239 diff_size += profiled_size - min_size; in initialize_heaps() 242 profiled_size += diff_size; in initialize_heaps() 243 diff_size = 0; in initialize_heaps() 248 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 253 non_profiled_size += diff_size; in initialize_heaps() 254 diff_size = 0; in initialize_heaps() 259 profiled_size = diff_size / 2; in initialize_heaps() 261 diff_size = 0; in initialize_heaps() 263 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/code/ |
H A D | codeCache.cpp | 233 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 235 diff_size += profiled_size - min_size; in initialize_heaps() 238 profiled_size += diff_size; in initialize_heaps() 239 diff_size = 0; in initialize_heaps() 244 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 249 non_profiled_size += diff_size; in initialize_heaps() 250 diff_size = 0; in initialize_heaps() 255 profiled_size = diff_size / 2; in initialize_heaps() 257 diff_size = 0; in initialize_heaps() 259 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 234 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 236 diff_size += profiled_size - min_size; in initialize_heaps() 239 profiled_size += diff_size; in initialize_heaps() 240 diff_size = 0; in initialize_heaps() 245 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 250 non_profiled_size += diff_size; in initialize_heaps() 251 diff_size = 0; in initialize_heaps() 256 profiled_size = diff_size / 2; in initialize_heaps() 258 diff_size = 0; in initialize_heaps() 260 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/code/ |
H A D | codeCache.cpp | 234 if (diff_size < 0 && ((intx)profiled_size + diff_size) <= 0) { in initialize_heaps() 236 diff_size += profiled_size - min_size; in initialize_heaps() 239 profiled_size += diff_size; in initialize_heaps() 240 diff_size = 0; in initialize_heaps() 245 if (diff_size < 0 && ((intx)non_profiled_size + diff_size) <= 0) { in initialize_heaps() 250 non_profiled_size += diff_size; in initialize_heaps() 251 diff_size = 0; in initialize_heaps() 256 profiled_size = diff_size / 2; in initialize_heaps() 258 diff_size = 0; in initialize_heaps() 260 if (diff_size != 0) { in initialize_heaps() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | cdtoons.c | 262 uint16_t diff_size, width, height; in cdtoons_decode_frame() local 272 diff_size = bytestream_get_be32(&buf); in cdtoons_decode_frame() 275 if (diff_size < 8 || diff_size - 4 > eod - buf) { in cdtoons_decode_frame() 279 if (cdtoons_render_sprite(avctx, buf + 4, diff_size - 8, in cdtoons_decode_frame() 283 buf += diff_size - 4; in cdtoons_decode_frame()
|