Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/art/art/test/1974-resize-array/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 2 kB image not shown  

Quelle  expected-stdout.txt

  Sprache: Text
 

Test instance
val is: [123] resize +3
val is: [12300000]
Same value? true

Test HashMap
val is: [1234] resize +3
Map is: ([1234]->Other Value), ([1234]->THE VALUE), ([14]->Third value), 
val is: [1234000]
Map is: ([1234]->Other Value), ([1234000]->THE VALUE), ([14]->Third value), 

Test j.l.r.WeakReference
val is: [weak, ref] resize +3
val is: [weak, ref, null, null, null, null, null]
Same value? true

Test instance self-ref
val is: [<SELF REF>, A, B, C] resize +5 item 0 is [<SELF REF>, A, B, C]
val is: [<SELF REF>, A, B, C, null, null, null, null, null]
val is: [<SELF REF>, A, B, C, null, null, null, null, null]
Same value? true
Same structure? true
Same inner-structure? true

Test instance self-ref smaller
val is: [<SELF REF>, A, B, C, null, null, null, null, null] resize -7 item 0 is [<SELF REF>, A, B, C, null, null, null, null, null]
val is: [<SELF REF>, A]
val is: [<SELF REF>, A]
Same value? true
Same structure? true
Same inner-structure? true

Test local
val is: [234] resize +5
val is: [23400000]
Same value? true

Test local smaller
val is: [12345] resize -2
val is: [123]
Same value? true

T1: Test local multi-thread
T1: val is: [123] resize -2
T1: val is: [1]
T1: Same value? true
T2: Test local multi-thread
T2: val is: [123] resize -2
T2: val is: [1]
T2: Same value? true

Test locks
val is: [A, 2, C] resize -2
val is: [A]
Same value? true
Locks seem to all work.

Test jni-ref
val is: [111111] resize +5
val is: [111111, null, null, null, null, null]
Same value? true

Test weak jni-ref
val is: [222222] resize +5
val is: [222222, null, null, null, null, null]
Same value? true

Test jni local ref
val is: [332322]
Resize +4
val is: [332322, null, null, null, null]
Same value? true

Test jvmti-tags
val is: [[333333]] resize +5
val is: [[333333, null, null, null, null, null]]
Same value? true

Test jvmti-tags with obsolete
val is: [[444444]] resize +5
val is: [[444444, null, null, null, null, null]]
Same value? true
Everything looks good WRT obsolete object!


Messung V0.5 in Prozent
C=77 H=94 G=85

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.