代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/303808/3805902
scr awk.scr
/.*\(0x3da.*/||/.*\(0x3ba.*/ {
if (v_3da != 1) print "_v_retrace_";
v_3da = 1;
next;
}
/.*\(0x42.*/||/.*\(0x43.*/ {
if (v_4x != 1) print "_timer_";
www.eeworm.com/read/303038/3817878
scr awk.scr
/.*\(0x3da.*/||/.*\(0x3ba.*/ {
if (v_3da != 1) print "_v_retrace_";
v_3da = 1;
next;
}
/.*\(0x42.*/||/.*\(0x43.*/ {
if (v_4x != 1) print "_timer_";
www.eeworm.com/read/301403/3840202
awk nstonam.awk
#!/usr/bin/awk
#
# nam fmt:
# eventCode time src dst size attr type conv id
#
# ns fmt:
# eventCode time src dst pktType size flags class src.sport dst.dport
# seqno uid
#
$2 ~ /testName/ {
next;
www.eeworm.com/read/301403/3840209
awk pkts.awk
#
# pkts.awk
# awk script to parse the output of a ns trace file,
# and produce seqno vs time XY data file
#
# Usage:
# awk -f pkts.awk OP= [args] tracefile
#
# [args] can be:
# FID=
www.eeworm.com/read/301403/3840218
awk bw.awk
#
# bw.awk
# awk script to parse the output of a ns trace file,
# and produce mean bandwidth vs time-interval
#
# Usage:
# awk -f bw.awk OP= [args] tracefile
#
# [a
www.eeworm.com/read/301403/3840235
awk avgpktdrop.awk
BEGIN {drops=0; arr=0}
{drops += $16; arr += $12}
END {print "drops = " drops; print "arrivals = " arr; print "avg pkt drop % = " drops/arr}
www.eeworm.com/read/301403/3840381
awk seq.awk
BEGIN {
if (dir == "")
dir = ".";
}
{
if ($1 == "-" && ($5 == "tcp" || $5 == "ack")) {
split($9,a,"\.");
saddr = a[1];
sport = a[2];
split($10,a,"\.");
daddr = a[1];
dport = a[2];
if ($5
www.eeworm.com/read/301403/3840382
awk tcp.awk
BEGIN {
if (dir == "")
dir = ".";
}
{
time = $2;
saddr = $4;
sport = $6;
daddr = $8;
dport = $10;
hiack = $14;
cwnd = $18;
ssthresh = $20;
srtt = $26;
rttvar = $28;
ownd = $34;
owndcorr = $36;
nr
www.eeworm.com/read/301403/3840390
awk resptime.awk
{
if (NR > 1)
sum += ($3 - $2);
}
END {
if (NR > 1)
print sum/(NR-1);
else
print -1;
}
www.eeworm.com/read/301403/3840391
awk thruput.awk
BEGIN {
s = "";
}
{
if ($1 != "(0,0)->(3,0)") {
sum += $6;
s = sprintf("%s %d", s, $6);
}
}
END {
printf "%s %d", s, sum;
}