OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [language/] [cxx/] [ustl/] [current/] [tests/] [bvt07.std] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
123456789012345678901234567890
2
abcdefghijklmnopqrstuvwxyz
3
123456789012345678901234567890
4
12345678901234567890
5
s3.size() = 20, max_size() = (SIZE_MAX/elsize)-1, capacity() = 48
6
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$
7
HelloWorld
8
Concatenated HelloWorld string.
9
s1 < s2
10
s1 == s1
11
s1 == s4
12
56789 == 56789
13
&s1[7] = 89012345678901234567890
14
initial:                123456789012345678901234567890
15
erase(5,find(9)-5)      123459012345678901234567890
16
erase(5,5)              1234545678901234567890
17
push_back('x')          1234545678901234567890x
18
pop_back()
19
insert(10,#)            1234545678#901234567890
20
replace(0,5,@)          @45678#901234567890
21
8 found at 7
22
9 found at 8
23
7 rfound at 26
24
7 rfound again at 16
25
67 rfound at 25
26
X was not rfound
27
[456] found at 3
28
[456] last found at 25
29
s2 is empty [], capacity 5 bytes
30
<31 bytes of 31> Format ', 0xDEADBEEF'
31
Custom vararg MyFormat: ', 0xDEADBEEF'
32
hash_value(s2) = 95A714F3, string::hash(s2) = 95A714F3

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.