代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/157653/11676534
awk mkopcodeh.awk
#!/usr/bin/awk -f
#
# Generate the file opcodes.h.
#
# This AWK script scans a concatenation of the parse.h output file from the
# parser and the vdbe.c source file in order to generate the opcodes nu
www.eeworm.com/read/157653/11676567
awk memleak.awk
#
# This script looks for memory leaks by analyzing the output of "sqlite"
# when compiled with the SQLITE_DEBUG=2 option.
#
/[0-9]+ malloc / {
mem[$6] = $0
}
/[0-9]+ realloc / {
mem[$8] = "";
www.eeworm.com/read/157653/11676594
awk opcodedoc.awk
#
# Extract opcode documentation for sqliteVdbe.c and generate HTML
#
BEGIN {
print ""
print "SQLite Virtual Database Engine Opcodes"
print ""
}
/ Opcod
www.eeworm.com/read/157653/11676621
awk mkopcodec.awk
#!/usr/bin/awk -f
#
# This AWK script scans the opcodes.h file (which is itself generated by
# another awk script) and uses the information gleaned to create the
# opcodes.c source file.
#
# Opcodes.c
www.eeworm.com/read/157384/11713724
awk reform.awk
#!/usr/bin/awk -f
# This file converts tcpdump output into a hexdump with
# ASCII strings on the right. It replaces packet headers
# with "*"s to reduce visual noise.
#
# Use it like:
# tcpdump -s
www.eeworm.com/read/260147/11743262
awk rfcd.awk
BEGIN { RFCPATH = "/usr/local/rfc" ; body = 0 ; count = 0 }
/From:/ { retaddr = substr($0, 6); next }
/Subject:/ { rfcnum = substr($0, 9); next }
END { cmd = RFCPATH " " rfcnum;
cmd = cmd " | /u
www.eeworm.com/read/344794/11859830
awk delay.awk
# 使用的是无线trace的旧格式
BEGIN {
highest_packet_id = 0;
}
{
action = $1;
time = $2;
packet_id = $6;
type = $7;
# 不考虑路由包,可以保证序号为0的cbr被统计到
if ( type != "AODV" ) {
i
www.eeworm.com/read/344794/11859832
awk routecosts.awk
# 使用的是无线trace的旧格式
BEGIN {
pkt_route_sum=0;
pkt_cbr_sum=0;
}
{
pktsize = $8;
}
$0 ~/^s.* AODV/ {
pkt_route_sum += pktsize ;
}
# 我只计算了正确接收到的数据包,被丢弃的没有算作有效数据
$0 ~/^r.*
www.eeworm.com/read/344794/11859835
awk getratio.awk
# 使用的是无线trace的旧格式
BEGIN {
sendpacket = 0;
recvpacket = 0;
}
# 统计发送的数据包个数
$0 ~/^s.* AGT/ {
sendpacket ++ ;
}
# 统计接收到的数据包个数
$0 ~/^r.* AGT/ {
recvpacket ++
www.eeworm.com/read/154848/11923096
awk mtrace.awk
#
# Awk program to analyze mtrace.c output.
#
{
if ($1 == "@") {
where = " (" $2 ")"
n = 3
} else {
where = ""
n = 1
}
if ($n == "+") {
if (allocated[$(n+1)] != "")