Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 25 of 48) sorted by relevance

12

/AliOS-Things-master/components/py_engine/tests/extmod/
A Dvfs_fat_fileio1.py81 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 Dvfs_lfs_file.py112 f2 = vfs.open("test.bin", "b")
114 print(f2.read())
116 f2.close()
/AliOS-Things-master/components/py_engine/tests/basics/
A Dfun_kwargs.py11 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 Dfun_varargs.py10 def f2(a, *args): function
13 f2(1)
14 f2(1, 2)
15 f2(1, 2, 3)
A Difcond.py60 f2 = 0 variable
85 if not (f1 or f2):
89 if (f1 or t1) and (f2 or t2):
A Dfun_kwvarargs.py7 def f2(a, **kwargs): function
10 f2(1)
11 f2(1, b=2)
A Dfun_kwonlydef.py10 def f2(*, a=1, b): function
12 f2(b=2)
13 f2(a=2, b=3)
A Dunboundlocal.py7 def f2(): function
19 check(f2)
A Dtry_finally2.py18 def f2(a, b, c): function
25 f2(2, 2, 2) # use some stack
A Dgenerator_send.py18 def f2(): function
26 g = f2()
A Dasync_with_break.py24 async def f2(): function
35 o = f2()
A Dasync_with_return.py21 async def f2(): function
29 o = f2()
A Dclass_inherit_mul.py11 def f2(self): member in A
41 o.f2()
A Dclass_bind_self.py24 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 Darm_sin_cos_f32.c81 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 Darm_sin_cos_q31.c59 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 Dtest_trig.c25 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 Dviper_types.py18 def f2(x: bool) -> bool: function
22 print(f2([]))
23 print(f2([1]))
A Dheapalloc.py24 def f2(a, b=2): function
46 f2(i) # default arg (second one)
47 f2(i, i) # 2 args
A Dnative_for.py14 def f2(r): function
19 f2(range(4))
A Dheapalloc_inst_call.py28 f2 = Foo2() variable
34 f2(1, 2)
A Dviper_args.py21 def f2(x1: int, x2: int): function
25 f2(1, 2)
/AliOS-Things-master/components/py_engine/tests/io/
A Dfile_with.py3 with f as f2:
4 print(f2.read())
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_closure.js54 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 Dexecutor_ut.cc24 static void f2() { in f2() function
33 std::function<void()> func2(f2); in TEST()

Completed in 124 milliseconds

12