/third_party/python/Lib/ |
H A D | statistics.py | 919 mss = ss / (n - 1) 921 return _decimal_sqrt_of_frac(mss.numerator, mss.denominator) 922 return _float_sqrt_of_frac(mss.numerator, mss.denominator) 937 mss = ss / n 939 return _decimal_sqrt_of_frac(mss.numerator, mss.denominator) 940 return _float_sqrt_of_frac(mss.numerator, mss [all...] |
/third_party/lwip/src/core/ |
H A D | tcp_in.c | 69 #define LWIP_TCP_CALC_INITIAL_CWND(mss) ((tcpwnd_size_t)LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)), 4380U))) 730 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip, group); 732 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip); 901 pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip, group); 903 pcb->mss [all...] |
H A D | tcp_out.c | 429 mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2)); in tcp_write() 430 mss_local = mss_local ? mss_local : pcb->mss; in tcp_write() 871 LWIP_ASSERT("split <= mss", split <= pcb->mss); in tcp_split_unsent_seg() 1511 u16_t mss; in tcp_output_segment() local 1513 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment() 1515 mss = TCP_MSS; in tcp_output_segment() 1517 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment() 1813 if (pcb->ssthresh < (2U * pcb->mss)) { in tcp_rexmit_fast() 1816 " should be min 2 mss in tcp_rexmit_fast() [all...] |
H A D | tcp.c | 1103 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { 1335 pcb->mss = INITIAL_MSS; 1337 pcb->mss = tcp_eff_send_mss_netif(pcb->mss, netif, &pcb->remote_ip); 1476 if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { 1477 pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); 1479 pcb->cwnd = pcb->mss; 1486 mss - STJ */ 2077 pcb->mss = INITIAL_MSS; 2414 * Calculates the effective send mss tha [all...] |
H A D | altcp.c | 408 if (conn && conn->fns && conn->fns->mss) { in altcp_mss() 409 return conn->fns->mss(conn); in altcp_mss()
|
/third_party/lwip/src/include/lwip/ |
H A D | tcp.h | 297 u16_t mss; /* maximum segment size */ member 437 #define tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss) 440 #define tcp_mss(pcb) ((pcb)->mss)
|
/third_party/lwip/test/unit/tcp/ |
H A D | test_tcp.c | 469 pcb->mss = TCP_MSS; in START_TEST() 652 pcb->mss = TCP_MSS; in START_TEST() 658 /* send 6 mss-sized segments */ in START_TEST() 742 pcb->mss = TCP_MSS; in START_TEST() 746 /* send 6 mss-sized segments */ in START_TEST() 824 pcb->mss = TCP_MSS; in test_tcp_tx_full_window_lost() 971 pcb->mss = TCP_MSS; in START_TEST() 1090 pcb->mss = TCP_MSS; in START_TEST() 1094 /* send 5 mss-sized segments */ in START_TEST() 1125 EXPECT(pcb->cwnd == pcb->mss); in START_TEST() [all...] |
/third_party/python/Lib/test/ |
H A D | test_collections.py | 1977 mss = MutableSequenceSubclass() 1978 mss.append(0) 1979 mss.extend((1, 2, 3, 4)) 1980 self.assertEqual(len(mss), 5) 1981 self.assertEqual(mss[3], 3) 1982 mss.reverse() 1983 self.assertEqual(mss[3], 1) 1984 mss.pop() 1985 self.assertEqual(len(mss), 4) 1986 mss [all...] |
/third_party/lwip/src/include/lwip/priv/ |
H A D | tcp_priv.h | 96 * - the only unsent segment is at least pcb->mss bytes long (or there is more 97 * than one unsent segment - with lwIP, this can happen although unsent->len < mss) 103 ((tpcb)->unsent->len >= (tpcb)->mss))) || \ 311 #define TCP_BUILD_MSS_OPTION(mss) lwip_htonl(0x02040000 | ((mss) & 0xFFFF))
|
H A D | altcp_priv.h | 108 altcp_mss_fn mss; member
|
/third_party/toybox/toys/net/ |
H A D | netstat.c | 279 int flags, ref, use, metric, mss, win, irtt; in display_routes() local 294 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) in display_routes() 328 printf("%5d %-5d %6d %s\n", mss, win, irtt, iface); in display_routes()
|
/third_party/toybox/toys/pending/ |
H A D | route.c | 14 * mod dyn reinstate metric netmask gw mss window irtt dev 132 int flags, ref, use, metric, mss, win, irtt, items; in display_routes() local 143 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) == 11) in display_routes() 161 if (toys.optflags & FLAG_e) xprintf("%5d %-5d %6d %s\n", mss, win, irtt, iface); in display_routes() 188 * used to get the params like: metric, netmask, gw, mss, window, irtt, dev and their values. 220 } else if (!strcmp(*argv, "mss")) { in get_next_params()
|
/third_party/ffmpeg/libavformat/ |
H A D | libsrt.c | 70 int mss; member 117 { "mss", "The Maximum Segment Size", OFFSET(mss), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1500, .flags = D|E }, 344 (s->mss >= 0 && libsrt_setsockopt(h, fd, SRTO_MSS, "SRTO_MSS", &s->mss, sizeof(s->mss)) < 0) || in libsrt_set_options_pre() 566 if (av_find_info_tag(buf, sizeof(buf), "mss", p)) { in libsrt_open() 567 s->mss = strtol(buf, NULL, 10); in libsrt_open()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateBasic.cpp | 581 std::stringstream mss; in initPrograms() local 583 mss << in initPrograms() 588 mss << "#extension GL_EXT_fragment_shading_rate : enable\n"; in initPrograms() 591 mss << in initPrograms() 608 mss << in initPrograms() 616 mss << in initPrograms() 631 mss << " gl_MeshPrimitivesEXT[0].gl_PrimitiveShadingRateEXT = pc.shadingRate;\n"; in initPrograms() 634 //mss << " if (gl_PrimitiveShadingRateEXT != pc.shadingRate) readbackok = 0;\n"; in initPrograms() 637 mss << " gl_MeshPrimitivesEXT[0].gl_ViewportIndex = int(pc.instanceIndex & 1);\n"; in initPrograms() 639 mss << " gl_MeshPrimitivesEX in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateBasic.cpp | 551 std::stringstream mss; in initPrograms() local 553 mss << in initPrograms() 572 mss << in initPrograms() 580 mss << in initPrograms() 595 mss << " gl_MeshPrimitivesEXT[0].gl_PrimitiveShadingRateEXT = pc.shadingRate;\n"; in initPrograms() 598 //mss << " if (gl_PrimitiveShadingRateEXT != pc.shadingRate) readbackok = 0;\n"; in initPrograms() 601 mss << " gl_MeshPrimitivesEXT[0].gl_ViewportIndex = int(pc.instanceIndex & 1);\n"; in initPrograms() 603 mss << " gl_MeshPrimitivesEXT[0].gl_Layer = int((pc.instanceIndex & 2) >> 1);\n"; in initPrograms() 606 mss << "}\n"; in initPrograms() 609 programCollection.glslSources.add("mesh") << glu::MeshSource(mss in initPrograms() [all...] |