repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[System] Use GZipStream from corefx
[mono-project.git]
/
mono
/
benchmark
/
inline6.cs
blob
7874a53ea94fd11b7e7563fae35e98de594ad3ae
1
using
System
;
2
3
public class
Test
{
4
5
public static int
test
(
int
n
) {
6
int
x
=
n
+
1
;
7
8
return
x
;
9
}
10
11
public static int
Main
(
string
[]
args
) {
12
int
repeat
=
1
;
13
14
/*
15
if (args.Length == 1)
16
repeat = Convert.ToInt32 (args [0]);
17
18
Console.WriteLine ("Repeat = " + repeat);
19
*/
20
21
for
(
int
i
=
0
;
i
<
repeat
;
i
++)
22
for
(
int
j
=
0
;
j
<
500000000
;
j
++)
23
test
(
12345
);
24
25
return
0
;
26
}
27
}
28
29