HomeSort by relevance Sort by last modified time
    Searched refs:fibonacci (Results 1 - 9 of 9) sorted by null

  /art/test/101-fibonacci/src/
Main.java 21 static int fibonacci(int n) {
37 static int fibonacci(int n) { method in class:Main
41 return fibonacci(n - 1) + (fibonacci(n - 2));
49 int y = fibonacci(x);
50 System.out.printf("fibonacci(%d)=%d\n", x, y);
51 y = fibonacci(x + 1);
52 System.out.printf("fibonacci(%d)=%d\n", x + 1, y);
  /external/dexmaker/src/test/java/com/google/dexmaker/examples/
FibonacciMaker.java 33 TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;"); local
35 String fileName = "Fibonacci.generated";
37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT);
39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
67 Class<?> fibonacciClass = loader.loadClass("com.google.dexmaker.examples.Fibonacci");
  /external/protobuf/src/google/protobuf/
repeated_field_unittest.cc 1297 std::list<int> fibonacci; member in class:google::protobuf::__anon23321::RepeatedFieldInsertionIteratorsTest
    [all...]
  /prebuilts/go/darwin-x86/test/
fibo.go 8 // fibo <n> compute fibonacci(n), n must be >= 0
9 // fibo -bench benchmark fibonacci computation (takes about 1 min)
14 // -short only print the first 10 digits of very large fibonacci numbers
  /prebuilts/go/linux-x86/test/
fibo.go 8 // fibo <n> compute fibonacci(n), n must be >= 0
9 // fibo -bench benchmark fibonacci computation (takes about 1 min)
14 // -short only print the first 10 digits of very large fibonacci numbers
  /art/test/107-int-math2/src/
Main.java 727 static int fibonacci(int n) { method in class:Main
733 return fibonacci(n - 1) + fibonacci(n - 2);
1033 res = fibonacci(10);
1035 System.out.println("fibonacci PASSED");
1037 System.out.println("fibonacci FAILED: " + res);
    [all...]
  /frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
OverlayBaseTest.java 154 // fibonacci has values:
155 // - eight first values of Fibonacci sequence, when no overlay exists (MODE_NO_OVERLAY)
156 // - eight first values of Fibonacci sequence (reversed), for single and multiple overlays
158 final int resId = R.array.fibonacci;
  /prebuilts/go/darwin-x86/src/text/tabwriter/
tabwriter_test.go 80 // write using Fibonacci slice sizes
81 title = testname + " (written in fibonacci slices)"
  /prebuilts/go/linux-x86/src/text/tabwriter/
tabwriter_test.go 80 // write using Fibonacci slice sizes
81 title = testname + " (written in fibonacci slices)"

Completed in 520 milliseconds