Home
last modified time | relevance | path

Searched refs:fib (Results 1 – 25 of 94) sorted by relevance

1234

/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DGetArrayElementTest.kt9 fun fib(a: Int): Int = if (a == 0 || a == 1) a else fib(a - 1) + fib(a - 2) in fib() method
14 val i = fib(4) in fib()
15 val j = fib(5) in fib()
17 assertEquals(clazz.intArr[fib(4) + fib(5)].value, 3) in fib()
19 assertEquals(clazz.longArr[fib(6) - fib(5)].value, 100) in fib()
20 assertEquals(clazz.longArr[(fib(6) + fib(4)) % 8].value, 100) in fib()
21 assertEquals(clazz.longArr[(fib(6) + fib(4)) % 8].value, 100) in fib()
22 assertEquals(clazz.longArr[(fib(4) + fib(5)) % fib(5)].value, 100) in fib()
/external/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/Inputs/
Dstatistics-fib.s9 .loc 1 5 0 # fib.c:5:0
24 .loc 1 8 7 prologue_end # fib.c:8:7
27 .loc 1 8 20 is_stmt 0 # fib.c:8:20
30 .loc 1 8 7 # fib.c:8:7
36 .loc 1 15 1 is_stmt 1 # fib.c:15:1
49 .loc 1 0 1 is_stmt 0 # fib.c:0:1
53 .loc 1 11 22 is_stmt 1 # fib.c:11:22
56 .loc 1 11 12 is_stmt 0 # fib.c:11:12
59 .loc 1 11 47 # fib.c:11:47
61 .loc 1 11 37 # fib.c:11:37
[all …]
Dstatistics-fib.split-dwarf.s92 #DEBUG_VALUE: fib:x <- $edi
94 #DEBUG_VALUE: fib:x <- $edi
103 #DEBUG_VALUE: fib:x <- $edi
114 #DEBUG_VALUE: fib:i <- undef
115 #DEBUG_VALUE: fib:i <- [DW_OP_plus_uconst 1, DW_OP_stack_value] undef
145 #DEBUG_VALUE: fib:x <- 3
164 #DEBUG_VALUE: fib:i <- undef
165 #DEBUG_VALUE: fib:i <- [DW_OP_plus_uconst 1, DW_OP_stack_value] undef
189 #DEBUG_VALUE: fib:x <- 4
195 #DEBUG_VALUE: fib:i <- undef
[all …]
/external/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
Dstatistics-dwo.test6 RUN: cp -f %S/Inputs/statistics-fib.split-dwarf.s %t/.
8 …known-linux-gnu statistics-fib.split-dwarf.s -filetype=obj -split-dwarf-file statistics-fib.split-…
9 RUN: llvm-dwarfdump --statistics statistics-fib.split-dwarf.o | FileCheck %s
29 # fib (int x)
51 # result = fib(3);
53 # result = fib(4);
55 # result = fib(5);
57 # result = fib(6);
59 # result = fib(7);
61 # result = fib(8);
[all …]
Dstatistics-v3.test3 …mc -triple x86_64-unknown-linux-gnu %S/Inputs/statistics-fib.s -filetype=obj -o %t-statistics-fib.o
4 RUN: llvm-dwarfdump --statistics %t-statistics-fib.o | FileCheck %s
24 # fib (int x)
46 # result = fib(3);
48 # result = fib(4);
50 # result = fib(5);
52 # result = fib(6);
54 # result = fib(7);
56 # result = fib(8);
58 # result = fib(9);
[all …]
/external/llvm-project/clang/test/Templight/
Dtemplight-nested-memoization.cpp4 struct fib struct
6 static const int value = fib<N-1>::value + fib<N-2>::value; argument
10 struct fib<0> struct
16 struct fib<1> argument
173 fib<4> x;
/external/apache-commons-bcel/src/examples/Mini/
Dfib.mini3 FUN fib(n) =
6 ELSE fib(n - 1) + fib(n - 2) FI FI
11 WRITE(fib(n))
/external/llvm-project/llvm/test/tools/llvm-profgen/
Dsymbolize.ll9 ; CHECK: 8: lea edx, [rcx + 3] fib:2 @ funcLeaf:2 @ funcA:1
10 ; CHECK: b: cmp ecx, 3 fib:2 @ funcLeaf:2 @ funcA:1
11 ; CHECK: e: cmovl edx, ecx fib:2 @ funcLeaf:2 @ funcA:1
19 ; CHECK: 28: lea edx, [rcx + 3] fib:2 @ funcLeaf:2
20 ; CHECK: 2b: cmp ecx, 3 fib:2 @ funcLeaf:2
21 ; CHECK: 2e: cmovl edx, ecx fib:2 @ funcLeaf:2
26 ; CHECK: <fib>:
27 ; CHECK: 40: lea eax, [rdi + 3] fib:2
28 ; CHECK: 43: cmp edi, 3 fib:2
29 ; CHECK: 46: cmovl eax, edi fib:2
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Duniform-work-group-recursion-test.ll6 ; CHECK: define i32 @fib(i32 %n) #[[FIB:[0-9]+]] {
7 define i32 @fib(i32 %n) #0 {
17 %fibm1 = call i32 @fib(i32 %nm1)
19 %fibm2 = call i32 @fib(i32 %nm2)
30 %r = call i32 @fib(i32 5)
/external/starlark-go/starlark/testdata/
Drecursion.star16 def fib(n):
19 return fib(n-1) + fib(n-2)
40 assert.eq(fib(5), 8)
/external/iptables/extensions/
Dlibxt_addrtype.txlate2 nft add rule ip filter INPUT fib saddr type local counter
5 nft add rule ip filter INPUT fib daddr type local counter
8 nft add rule ip filter INPUT fib daddr type != { local, anycast } counter
11 nft add rule ip filter INPUT fib daddr . iif type { local, anycast } counter
Dlibxt_rpfilter.txlate2 nft add rule ip mangle PREROUTING fib saddr . iif oif != 0 counter
5 nft add rule ip mangle PREROUTING fib saddr . mark oif != 0 counter
8 nft add rule ip6 mangle PREROUTING fib saddr . mark . iif oif 0 counter
/external/llvm-project/llvm/test/Feature/
Dindirectcall.ll7 define i64 @fib(i64 %n) {
17 %f2 = call i64 @fib( i64 %n2 ) ; <i64> [#uses=1]
18 %f1 = call i64 @fib( i64 %n1 ) ; <i64> [#uses=1]
35 %F = call i64 @fib( i64 %N ) ; <i64> [#uses=1]
45 %Result = call i64 @trampoline( i64 10, i64 (i64)* @fib ) ; <i64> [#uses=1]
/external/llvm/test/Feature/
Dindirectcall.ll7 define i64 @fib(i64 %n) {
17 %f2 = call i64 @fib( i64 %n2 ) ; <i64> [#uses=1]
18 %f1 = call i64 @fib( i64 %n1 ) ; <i64> [#uses=1]
35 %F = call i64 @fib( i64 %N ) ; <i64> [#uses=1]
45 %Result = call i64 @trampoline( i64 10, i64 (i64)* @fib ) ; <i64> [#uses=1]
/external/llvm-project/lldb/test/API/commands/expression/call-function/
Dmain.cpp14 unsigned int fib(unsigned int n) { in fib() function
18 return fib(n - 1) + fib(n - 2); in fib()
/external/llvm-project/lldb/test/Shell/Expr/Inputs/
Dcall-function.cpp19 fib(unsigned int n) in fib() function
24 return fib(n - 1) + fib(n - 2); in fib()
/external/freetype/builds/amiga/src/base/
Dftsystem.c384 struct FileInfoBlock* fib; in FT_Stream_Open() local
413 fib = AllocDosObject( DOS_FIB, NULL ); in FT_Stream_Open()
414 if ( !fib ) in FT_Stream_Open()
423 if ( !( ExamineFH( sysfile->file, fib ) ) ) in FT_Stream_Open()
425 FreeDosObject( DOS_FIB, fib ); in FT_Stream_Open()
433 stream->size = fib->fib_Size; in FT_Stream_Open()
434 FreeDosObject( DOS_FIB, fib ); in FT_Stream_Open()
/external/llvm-project/llvm/test/DebugInfo/WebAssembly/
Ddbg-value-live-interval.ll6 ; CHECK: [[REG:%[0-9]+]]:i32 = nsw ADD_I32 {{.*}} fib.c:7:7
7 ; CHECK: DBG_VALUE [[REG]]:i32, $noreg, !"a", {{.*}} fib.c:5:13
9 ; ModuleID = 'fib.bc'
10 source_filename = "fib.c"
14 ; int fib(int n) {
26 define i32 @fib(i32 %n) local_unnamed_addr #0 !dbg !7 {
77 !1 = !DIFile(filename: "fib.c", directory: "/d/y/llvmwasm")
83 !7 = distinct !DISubprogram(name: "fib", scope: !1, file: !1, line: 4, type: !8, isLocal: false, is…
Ddbg-value-move.ll6 ; CHECK: [[REG:%[0-9]+]]:i32 = nsw ADD_I32 {{.*}} fib.c:7:7
7 ; CHECK-NEXT: DBG_VALUE [[REG]]:i32, $noreg, !"a", {{.*}} fib.c:5:13
9 ; ModuleID = 'fib.bc'
10 ; The test generated via: clang --target=wasm32-unknown-unknown-wasm fib.c -g -O2
12 source_filename = "fib.c"
16 ; int fib(int n) {
28 define i32 @fib(i32 %n) local_unnamed_addr #0 !dbg !7 {
92 !1 = !DIFile(filename: "fib.c", directory: "/d/y/llvmwasm")
98 !7 = distinct !DISubprogram(name: "fib", scope: !1, file: !1, line: 4, type: !8, isLocal: false, is…
/external/llvm/test/Transforms/TailCallElim/
Ddup_tail.ll7 define i32 @fib(i32 %n) nounwind ssp {
17 %call = call i32 @fib(i32 %sub)
19 %call4 = call i32 @fib(i32 %sub3)
/external/llvm-project/llvm/test/Transforms/TailCallElim/
Ddup_tail.ll7 define i32 @fib(i32 %n) nounwind ssp {
17 %call = call i32 @fib(i32 %sub)
19 %call4 = call i32 @fib(i32 %sub3)
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DFibonacciMaker.java40 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); in main() local
41 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC); in main()
58 code.invokeStatic(fib, c, a); in main()
59 code.invokeStatic(fib, d, b); in main()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/test/guide/
Dexample-ui-blocking-01.kt62 fun fib(x: Int): Int = in fib() method
63 if (x <= 1) x else fib(x - 1) + fib(x - 2) in fib()
/external/one-true-awk/testdir/
DT.func124 { print fib($1) }
125 function fib(n) {
127 else return add(fib(n-1), fib(n-2))
145 diff foo1 foo2 || echo 'BAD: T.func (fib)'
/external/llvm/test/Transforms/Inline/
Dnoinline-recursive-fn.ll78 define i32 @fib(i32 %i) {
95 %f1 = call i32 @fib(i32 %i1)
97 %f2 = call i32 @fib(i32 %i2)
106 %f1 = call i32 @fib(i32 0)
107 %f2 = call i32 @fib(i32 1)

1234