Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/float/
A Dcomplex1.py30 ans = 0j ** 0 variable
31 print("%.5g %.5g" % (ans.real, ans.imag))
32 ans = 0j ** 1 variable
33 print("%.5g %.5g" % (ans.real, ans.imag))
34 ans = 0j ** 0j variable
35 print("%.5g %.5g" % (ans.real, ans.imag))
36 ans = 1j ** 2.5 variable
37 print("%.5g %.5g" % (ans.real, ans.imag))
39 print("%.5g %.5g" % (ans.real, ans.imag))
65 print("%.5g %.5g" % (ans.real, ans.imag))
[all …]
A Dcomplex1_intbig.py4 ans = 1j + (1 << 70) variable
5 print("%.5g %.5g" % (ans.real, ans.imag))
A Dmath_domain.py32 ans = f(x)
33 print("%.4f" % ans)
48 ans = f(*x)
49 print("%.4f" % ans)
A Dmath_domain_special.py32 ans = f(x)
33 print("%.4f" % ans)
/AliOS-Things-master/components/py_engine/tests/thread/
A Dthread_lock4.py26 ans = f(arg)
28 output.append((arg, ans))
53 for arg, ans in output:
54 print(arg, ans)
A Dstress_aes.py60 ans = 1
62 ans <<= 1
63 if ans & 0x100:
64 ans ^= 0x11B
66 return ans
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/
A Dmdns.c1550 struct mdns_answer ans; in mdns_handle_question() local
1554 res = mdns_read_answer(pkt, &ans); in mdns_handle_question()
1562 LWIP_DEBUGF(MDNS_DEBUG, (" type %d class %d\n", ans.info.type, ans.info.klass)); in mdns_handle_question()
1565 if (ans.info.type == DNS_RRTYPE_ANY || ans.info.klass == DNS_RRCLASS_ANY) { in mdns_handle_question()
1603 pbuf_memcmp(pkt->pbuf, ans.rd_offset, netif_ip4_addr(pkt->netif), ans.rd_length) == 0) { in mdns_handle_question()
1612 … pbuf_memcmp(pkt->pbuf, ans.rd_offset, netif_ip6_addr(pkt->netif, 0), ans.rd_length) == 0) { in mdns_handle_question()
1656 read_pos = ans.rd_offset; in mdns_handle_question()
1688 pbuf_memcmp(pkt->pbuf, ans.rd_offset, service->txtdata.name, ans.rd_length) == 0) { in mdns_handle_question()
1727 struct mdns_answer ans; in mdns_handle_response() local
1730 res = mdns_read_answer(pkt, &ans); in mdns_handle_response()
[all …]
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dmisc_aes.py55 ans = 1
57 ans <<= 1
58 if ans & 0x100:
59 ans ^= 0x11B
61 return ans
/AliOS-Things-master/components/py_engine/engine/py/
A Dmodmath.c46 mp_float_t ans = f(x); in math_generic_1() local
47 if ((isnan(ans) && !isnan(x)) || (isinf(ans) && !isinf(x))) { in math_generic_1()
50 return mp_obj_new_float(ans); in math_generic_1()
56 mp_float_t ans = f(x, y); in math_generic_2() local
57 if ((isnan(ans) && !isnan(x) && !isnan(y)) || (isinf(ans) && !isinf(x))) { in math_generic_2()
60 return mp_obj_new_float(ans); in math_generic_2()
A Dobjint_longlong.c196 long long ans = 1; in mp_obj_int_binary_op() local
199 ans *= lhs_val; in mp_obj_int_binary_op()
207 return mp_obj_new_int_from_ll(ans); in mp_obj_int_binary_op()
A Druntime.c490 mp_int_t ans = 1; in mp_binary_op() local
493 if (mp_small_int_mul_overflow(ans, lhs_val)) { in mp_binary_op()
496 ans *= lhs_val; in mp_binary_op()
507 lhs_val = ans; in mp_binary_op()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dchkfmt50 read ans 0>&3
51 test -n "$ans" || return 1
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Ddns.c1171 struct dns_answer ans; in dns_recv() local
1264 … if (pbuf_copy_partial(p, &ans, SIZEOF_DNS_ANSWER, res_idx) != SIZEOF_DNS_ANSWER) { in dns_recv()
1269 if (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) { in dns_recv()
1271 … if ((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.len == PP_HTONS(sizeof(ip4_addr_t)))) { in dns_recv()
1284 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
1290 … if ((ans.type == PP_HTONS(DNS_RRTYPE_AAAA)) && (ans.len == PP_HTONS(sizeof(ip6_addr_t)))) { in dns_recv()
1303 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
1310 if ((int)(res_idx + lwip_htons(ans.len)) > 0xFFFF) { in dns_recv()
1313 res_idx += lwip_htons(ans.len); in dns_recv()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dkernel_avx.cc205 #define mm256_blend_epi32(ans, a, b, imm) \
212 ans = _mm256_set_m128i(hi, lo);
214 #define mm256_shuffle_epi32(ans, a, a_lo, a_hi, imm) \
217 ans = _mm256_set_m128i(_mm_shuffle_epi32(a_hi, imm), \
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dmakefile.mc6105 RFILE = libjpeg.ans

Completed in 51 milliseconds