代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/310913/13641507
awk delay.awk
# 使用的是无线trace的旧格式
BEGIN {
highest_packet_id = 0;
i=0;
}
{
action = $1;
time = $2;
packet_id = $6;
type = $7;
# 不考虑路由包,可以保证序号为0的cbr被统计到
if ( type == "cbr" ) {
www.eeworm.com/read/309776/13664674
exe awk.exe
www.eeworm.com/read/309649/13666895
awk asmcnvrt.awk
# +++Date last modified: 05-Jul-1997
# awk script to change block asm statments into the single line
# style that versions of Turbo C up to 2.01 can parse.
# asm {
# pushf
# pop
www.eeworm.com/read/309139/13681056
awk getdefs.awk
/DEL/ {
val = $0
gsub(/DEL /,"",val)
printf("/%s/d\n", val)
next;
}
{
var = $0
val = $0
www.eeworm.com/read/304348/13796148
awk makeconf.awk
BEGIN {
printf("#include \"apue.h\"\n")
printf("#include \n")
printf("#include \n")
printf("\n")
printf("static void pr_sysconf(char *, int);\n")
printf("static void pr_pathco
www.eeworm.com/read/304348/13796155
awk makeopt.awk
BEGIN {
printf("#include \"apue.h\"\n")
printf("#include \n")
printf("\n")
printf("static void pr_sysconf(char *, int);\n")
printf("static void pr_pathconf(char *, char *, int);\n")
pri
www.eeworm.com/read/303916/13806251
awk getnoderecv.awk
# getData.awk
BEGIN {
if(step ==0)
step = 10;
base = 0;
start = 0;
bytes = 0;
total_bytes = 0;
max = 0;
calc = 0;
}
$0 ~/^s.* AGT/ {
if (base == 0 && $3 == ("_" src "_")) {
base = $2;
www.eeworm.com/read/303916/13806255
awk getratio.awk
# 初始化设定
BEGIN {
sendLine = 0;
recvLine = 0;
fowardLine = 0;
}
# 应用层收到包
$0 ~/^s.* AGT/ {
sendLine ++ ;
}
# 应用层发送包
$0 ~/^r.* AGT/ {
recvLine ++ ;
}
# 路由层转发包
$0 ~/^f.* R
www.eeworm.com/read/302112/13841967
awk eval.awk
#!/bin/gawk
# Run the following AWK program on STDIN to analyze the NS2 tracefiles
#
# To calculate packet latency, we need to store the sending time for
# each packet, and figure out when the packet
www.eeworm.com/read/152695/5669719
scr awk.scr
/.*\(0x3da.*/||/.*\(0x3ba.*/ {
if (v_3da != 1) print "_v_retrace_";
v_3da = 1;
next;
}
/.*\(0x42.*/||/.*\(0x43.*/ {
if (v_4x != 1) print "_timer_