Home
last modified time | relevance | path

Searched refs:fibonacci (Results 1 – 6 of 6) sorted by relevance

/art/test/101-fibonacci/src/
DMain.java37 static int fibonacci(int n) { in fibonacci() method in Main
41 return fibonacci(n - 1) + (fibonacci(n - 2)); in fibonacci()
49 int y = fibonacci(x); in main()
51 y = fibonacci(x + 1); in main()
/art/test/101-fibonacci/
Dexpected.txt1 fibonacci(10)=55
2 fibonacci(11)=89
Dinfo.txt1 Computes fibonacci.
/art/test/988-method-trace/
Dexpected.txt21 fibonacci(30)=832040
30 ..=> static int art.Test988.fibonacci(int)
31 ...=> static int art.Test988.fibonacci(int)
32 ....=> static int art.Test988.fibonacci(int)
33 .....=> static int art.Test988.fibonacci(int)
34 ......=> static int art.Test988.fibonacci(int)
35 ......<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 1>
36 ......=> static int art.Test988.fibonacci(int)
37 ......<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 0>
38 .....<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 1>
[all …]
/art/test/107-int-math2/
Dexpected.txt19 fibonacci PASSED
/art/test/988-method-trace/src/art/
DTest988.java252 return fibonacci(x);
255 static int fibonacci(int n) {
261 return fibonacci(n - 1) + (fibonacci(n - 2));