/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_fat_fileio1.py | 81 with open("foo_file.txt") as f2: 82 print(f2.read()) 83 print(f2.tell()) 85 f2.seek(0, 0) # SEEK_SET 86 print(f2.read(1)) 88 f2.seek(0, 1) # SEEK_CUR 89 print(f2.read(1)) 90 f2.seek(2, 1) # SEEK_CUR 91 print(f2.read(1)) 93 f2.seek(-2, 2) # SEEK_END [all …]
|
A D | vfs_lfs_file.py | 112 f2 = vfs.open("test.bin", "b") 114 print(f2.read()) 116 f2.close()
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | fun_kwargs.py | 11 def f2(a, b): function 14 f2(1, 2) 15 f2(a=3, b=4) 16 f2(b=5, a=6) 17 f2(7, b=8) 19 f2(9, a=10)
|
A D | fun_varargs.py | 10 def f2(a, *args): function 13 f2(1) 14 f2(1, 2) 15 f2(1, 2, 3)
|
A D | ifcond.py | 60 f2 = 0 variable 85 if not (f1 or f2): 89 if (f1 or t1) and (f2 or t2):
|
A D | fun_kwvarargs.py | 7 def f2(a, **kwargs): function 10 f2(1) 11 f2(1, b=2)
|
A D | fun_kwonlydef.py | 10 def f2(*, a=1, b): function 12 f2(b=2) 13 f2(a=2, b=3)
|
A D | unboundlocal.py | 7 def f2(): function 19 check(f2)
|
A D | try_finally2.py | 18 def f2(a, b, c): function 25 f2(2, 2, 2) # use some stack
|
A D | generator_send.py | 18 def f2(): function 26 g = f2()
|
A D | async_with_break.py | 24 async def f2(): function 35 o = f2()
|
A D | async_with_return.py | 21 async def f2(): function 29 o = f2()
|
A D | class_inherit_mul.py | 11 def f2(self): member in A 41 o.f2()
|
A D | class_bind_self.py | 24 f2 = lambda self, arg: ('C.f2', self is c, arg) member in C 39 print(c.f2(2))
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/ControllerFunctions/ |
A D | arm_sin_cos_f32.c | 81 float32_t f1, f2, d1, d2; /* Two nearest output values */ in arm_sin_cos_f32() local 105 f2 = sinTable_f32[indexC+1]; in arm_sin_cos_f32() 109 temp = (1.0f - fract) * f1 + fract * f2; in arm_sin_cos_f32() 112 Df = f2 - f1; // delta between the values of the functions in arm_sin_cos_f32() 123 f2 = sinTable_f32[indexS+1]; in arm_sin_cos_f32() 127 temp = (1.0f - fract) * f1 + fract * f2; in arm_sin_cos_f32() 129 Df = f2 - f1; // delta between the values of the functions in arm_sin_cos_f32()
|
A D | arm_sin_cos_q31.c | 59 q31_t f1, f2, d1, d2; /* Two nearest output values */ in arm_sin_cos_q31() local 72 f2 = sinTable_q31[indexC+1]; in arm_sin_cos_q31() 77 Df = f2 - f1; // delta between the values of the functions in arm_sin_cos_q31() 91 f2 = sinTable_q31[indexS+1]; in arm_sin_cos_q31() 95 Df = f2 - f1; // delta between the values of the functions in arm_sin_cos_q31()
|
/AliOS-Things-master/components/freetype/src/tools/ |
A D | test_trig.c | 25 FT_Fixed f1, f2; in test_cos() local 31 f2 = (FT_Fixed)(d2*65536.0); in test_cos() 33 if ( abs( f2-f1 ) > THRESHOLD ) in test_cos() 51 FT_Fixed f1, f2; in test_sin() local 57 f2 = (FT_Fixed)(d2*65536.0); in test_sin() 59 if ( abs( f2-f1 ) > THRESHOLD ) in test_sin() 77 FT_Fixed f1, f2; in test_tan() local 83 f2 = (FT_Fixed)(d2*65536.0); in test_tan() 85 if ( abs( f2-f1 ) > THRESHOLD ) in test_tan()
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | viper_types.py | 18 def f2(x: bool) -> bool: function 22 print(f2([])) 23 print(f2([1]))
|
A D | heapalloc.py | 24 def f2(a, b=2): function 46 f2(i) # default arg (second one) 47 f2(i, i) # 2 args
|
A D | native_for.py | 14 def f2(r): function 19 f2(range(4))
|
A D | heapalloc_inst_call.py | 28 f2 = Foo2() variable 34 f2(1, 2)
|
A D | viper_args.py | 21 def f2(x1: int, x2: int): function 25 f2(1, 2)
|
/AliOS-Things-master/components/py_engine/tests/io/ |
A D | file_with.py | 3 with f as f2: 4 print(f2.read())
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_closure.js | 54 function f2() function 67 var obj = f2(); 123 function f2() { function 138 assert(f2.call("this_val") === "this_val");
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | executor_ut.cc | 24 static void f2() { in f2() function 33 std::function<void()> func2(f2); in TEST()
|