Home
last modified time | relevance | path

Searched refs:allocated_bytes (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/jfr/support/
H A DjfrObjectAllocationSample.cpp34 assert(allocated_bytes > 0, "invariant"); in send_allocation_sample()
42 _last_allocated_bytes = allocated_bytes; in send_allocation_sample()
47 assert(allocated_bytes > 0, "invariant"); in send_allocation_sample_with_result()
55 _last_allocated_bytes = allocated_bytes; in send_allocation_sample_with_result()
70 const int64_t allocated_bytes = thread->allocated_bytes(); in load_allocated_bytes() local
71 if (allocated_bytes < _last_allocated_bytes) { in load_allocated_bytes()
78 return allocated_bytes == _last_allocated_bytes ? 0 : allocated_bytes; in load_allocated_bytes()
84 const int64_t allocated_bytes = load_allocated_bytes(thread); in normalize_as_tlab_and_send_allocation_samples() local
87 send_allocation_sample(klass, allocated_bytes); in normalize_as_tlab_and_send_allocation_samples()
109 if (allocated_bytes == 0) { in send_event()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/jfr/support/
H A DjfrObjectAllocationSample.cpp35 assert(allocated_bytes > 0, "invariant"); in send_allocation_sample()
43 _last_allocated_bytes = allocated_bytes; in send_allocation_sample()
48 assert(allocated_bytes > 0, "invariant"); in send_allocation_sample_with_result()
56 _last_allocated_bytes = allocated_bytes; in send_allocation_sample_with_result()
71 const int64_t allocated_bytes = thread->allocated_bytes(); in load_allocated_bytes() local
72 if (allocated_bytes < _last_allocated_bytes) { in load_allocated_bytes()
79 return allocated_bytes == _last_allocated_bytes ? 0 : allocated_bytes; in load_allocated_bytes()
85 const int64_t allocated_bytes = load_allocated_bytes(thread); in normalize_as_tlab_and_send_allocation_samples() local
88 send_allocation_sample(klass, allocated_bytes); in normalize_as_tlab_and_send_allocation_samples()
110 if (allocated_bytes == 0) { in send_event()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/compiler-rt/test/scudo/
H A Dquarantine.c23 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
43 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
46 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
48 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
75 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
78 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
82 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
92 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
101 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
107 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/test/scudo/
H A Dquarantine.c23 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
43 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
46 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
48 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
75 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
78 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
82 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
92 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
101 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
107 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/compiler-rt/test/scudo/
H A Dquarantine.c23 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
43 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
46 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
48 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
75 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
78 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
82 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
92 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
101 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
107 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/compiler-rt/test/scudo/
H A Dquarantine.c23 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
43 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
46 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
48 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
75 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
78 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
82 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
92 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
101 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
107 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/test/scudo/
H A Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
93 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
102 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
108 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/compiler-rt/test/scudo/
H A Dquarantine.c23 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
43 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
46 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
48 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
75 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
78 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
82 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
92 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
101 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
107 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
[all …]
/dports/lang/ocaml/ocaml-4.05.0/testsuite/tests/match-exception/
H A Dallocation.ml12 let allocated_bytes = Gc.allocated_bytes () in
13 let allocated_bytes' = Gc.allocated_bytes () in
15 let allocated_bytes'' = Gc.allocated_bytes () in
17 let allocated_bytes''' = Gc.allocated_bytes () in
18 if allocated_bytes' -. allocated_bytes
19 = allocated_bytes''' -. allocated_bytes''
24 ((allocated_bytes''' -. allocated_bytes'') -.
25 (allocated_bytes' -. allocated_bytes))
/dports/lang/ocaml-nox11/ocaml-4.05.0/testsuite/tests/match-exception/
H A Dallocation.ml12 let allocated_bytes = Gc.allocated_bytes () in
13 let allocated_bytes' = Gc.allocated_bytes () in
15 let allocated_bytes'' = Gc.allocated_bytes () in
17 let allocated_bytes''' = Gc.allocated_bytes () in
18 if allocated_bytes' -. allocated_bytes
19 = allocated_bytes''' -. allocated_bytes''
24 ((allocated_bytes''' -. allocated_bytes'') -.
25 (allocated_bytes' -. allocated_bytes))
/dports/net/dictd/dictd-1.13.1/
H A Dheap.c36 int allocated_bytes; member
49 h -> allocated_bytes = 0; in heap_create()
84 if (size >= HEAP_LIMIT || h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_alloc()
89 h -> last = h -> ptr + h -> allocated_bytes; in heap_alloc()
90 h -> allocated_bytes += size; in heap_alloc()
129 h -> allocated_bytes = 0; in heap_free()
151 if (h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_realloc()
153 memcpy (new_p, (char *) p, (h -> ptr + h -> allocated_bytes) - (char *) p); in heap_realloc()
154 h -> allocated_bytes = (char *) p - h -> ptr; in heap_realloc()
159 h -> allocated_bytes = ((char *) p - h -> ptr) + size; in heap_realloc()
/dports/textproc/dict/dictd-1.13.1/
H A Dheap.c36 int allocated_bytes; member
49 h -> allocated_bytes = 0; in heap_create()
84 if (size >= HEAP_LIMIT || h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_alloc()
89 h -> last = h -> ptr + h -> allocated_bytes; in heap_alloc()
90 h -> allocated_bytes += size; in heap_alloc()
129 h -> allocated_bytes = 0; in heap_free()
151 if (h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_realloc()
153 memcpy (new_p, (char *) p, (h -> ptr + h -> allocated_bytes) - (char *) p); in heap_realloc()
154 h -> allocated_bytes = (char *) p - h -> ptr; in heap_realloc()
159 h -> allocated_bytes = ((char *) p - h -> ptr) + size; in heap_realloc()
/dports/textproc/dictfmt/dictd-1.13.1/
H A Dheap.c36 int allocated_bytes; member
49 h -> allocated_bytes = 0; in heap_create()
84 if (size >= HEAP_LIMIT || h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_alloc()
89 h -> last = h -> ptr + h -> allocated_bytes; in heap_alloc()
90 h -> allocated_bytes += size; in heap_alloc()
129 h -> allocated_bytes = 0; in heap_free()
151 if (h -> allocated_bytes + size > HEAP_ARRAY_SIZE){ in heap_realloc()
153 memcpy (new_p, (char *) p, (h -> ptr + h -> allocated_bytes) - (char *) p); in heap_realloc()
154 h -> allocated_bytes = (char *) p - h -> ptr; in heap_realloc()
159 h -> allocated_bytes = ((char *) p - h -> ptr) + size; in heap_realloc()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 uint64 allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 uint64 allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 uint64 allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 Size allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 Size allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/storage/ipc/
H A Dshm_toc.c87 Size allocated_bytes; in shm_toc_allocate() local
97 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
100 + allocated_bytes; in shm_toc_allocate()
114 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
125 Size allocated_bytes; in shm_toc_freespace() local
131 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
136 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
137 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
165 Size allocated_bytes; in shm_toc_insert() local
177 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
[all …]

12345678910>>...20