亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? http-single.tcl

?? 在Linux下做的QuadTree的程序
?? TCL
字號:
## Copyright (c) 1997 Regents of the University of California.# All rights reserved.# # Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright#    notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright#    notice, this list of conditions and the following disclaimer in the#    documentation and/or other materials provided with the distribution.# 3. All advertising materials mentioning features or use of this software#    must display the following acknowledgement:# 	This product includes software developed by the MASH Research# 	Group at the University of California Berkeley.# 4. Neither the name of the University nor of the Research Group may be#    used to endorse or promote products derived from this software without#    specific prior written permission.# # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.## This file contributed by Curtis Villamizar <curtis@ans.net>, May 1997.# Maintainer: John Heidemann <johnh@isi.edu>.### WARNING:  This code uses the compatibility library and so should not# be used as an example.  Hopefully at some time in the future it will# be updated.## Create a three node test environment##  c1 -------- isp1 -------- s1#      28.8kb        1.54mb#     modemdelay    netdelay#proc create_testnet { } {    global testnet    set testnet(c1) [ns node]    set testnet(isp1) [ns node]    set testnet(s1) [ns node]    set testnet(L1) \	    [ns_duplex $testnet(c1) $testnet(isp1) \	    $testnet(modemspeed) $testnet(modemdelay) $testnet(qtype)]    ns_duplex $testnet(isp1) $testnet(s1) \	    $testnet(netspeed) $testnet(netdelay) drop-tail    [lindex $testnet(L1) 0] set queue-limit $testnet(modemqueue)    [lindex $testnet(L1) 1] set queue-limit $testnet(modemqueue)    if {$testnet(qtype) == "red"} {	set redlink [ns link $testnet(c1) $testnet(isp1)]	$redlink set thresh [expr $testnet(modemqueue) * 0.25]	$redlink set maxthresh [expr $testnet(modemqueue) * 0.85]	$redlink set q_weight 0.001	$redlink set wait_ 1	$redlink set dropTail_ 1    }}proc tcpDump { tcpSrc interval } {    proc dump { src interval } {	ns at [expr [ns now] + $interval] "dump $src $interval"	puts [ns now]/ack=[$src get ack]    }    ns at 0.0 "dump $tcpSrc $interval"}proc trigger { xresults } {    global testnet flows    # NEEDSWORK:  should we really indirect once down results like this?    set results "[lindex $xresults 0]"    set type [lindex $results 0]    if { $type != "-" && $type != "d" } {	return;    }    set id [lindex $results 7]    set counter [format "count%d" $id]    if { [info exists flows($counter)] } {	incr flows($counter)    } else {	set flows($counter) 1    }    if { $type != "-" } {	return;    }    set got [expr 1 + [lindex $results 10]]    set isrunning isrunning$id    if { $id == 0 } {	if { $got == $testnet(httpsize) } {	    puts [format "http flow completed at %s" [lindex $results 1]]	    incr flows(flows_running) -1	    set flows($isrunning) 0	}    } else {	if { $got == $testnet(inlinesize) } {	    puts [format "inline%d completed at %s" $id [lindex $results 1]]	    incr flows(flows_running) -1	    incr flows(inlines_running) -1	    set flows($isrunning) 0	}    }    set flows(persist) 1    if { $flows(count0) >= 1 } {	while {$flows(inlines_started) < $flows(inlines_needed) \		&& $flows(flows_running) < $flows(flows_allowed) \		&& $flows(inlines_running) < $flows(inlines_allowed) } {	    incr flows(inlines_started)	    incr flows(flows_running)	    incr flows(inlines_running)	    set ident $flows(inlines_started)	    set nextflow inline$ident	    if {$flows(persist)} {		for {set j 0} {$j < $ident} {incr j} {		    set isrunning isrunning$j		    if {$flows($isrunning) == 0} {			set thisflow tcp$ident			if {$j == 0} {			    set otherflow tcp0			} else {			    set otherflow tcp$j			}			$flows($thisflow) persist $flows($otherflow)			break		    }		}	    }	    $flows($nextflow) start	    set isrunning isrunning$ident	    set flows($isrunning) 1	    puts [format "trigger at %s: start %d" \		    [lindex $results 1] $flows(inlines_started)]	}    }}proc openTrace { stopTime testName } {    exec rm -f out.tr temp.rands    set traceFile [open out.tr w]    ns at $stopTime "close $traceFile ; finish $testName"    set T [ns trace]    $T attach $traceFile    return $T}proc finish file {    global testnet flows    set f [open temp.rands w]    puts $f "TitleText: $file"    puts $f "Device: Postscript"        set total 0    for { set i 0 } { $i <= $flows(inlines_needed) } { incr i } {	set counter [format "count%d" $i]	set got $flows($counter)	incr total $got	puts [format "flow %d : %d packets" $i $got]    }    set needed [expr $testnet(httpsize) \	    + ( $flows(inlines_needed) * $testnet(inlinesize) )]    set discard [expr $total - $needed]    puts [format "%d sent : %d needed : %d discarded : %d %%" \	    $total $needed $discard [expr 100 * $discard / $needed]]    if { $testnet(dograph) == 0 } {	exit 0    }    exec rm -f temp.p temp.d     exec touch temp.d temp.p    #    # split queue/drop events into two separate files.    # we don't bother checking for the link we're interested in    # since we know only such events are in our trace file    #    exec awk {	{	    if (($1 == "-" ) && \		    ($5 == "tcp" || $5 == "ack") && \		    ($8 == 0 || ($8 == 4 && $11 <= 6))) \		    print $2, $8 + ($11 % 90) * 0.01	}    } out.tr > temp.p1    exec awk {	{	    if (($1 == "-" ) && \		    ($5 == "tcp" || $5 == "ack") && \		    ($8 == 1 || ($8 == 4 && $11 > 6 && $11 <= 26))) \		    print $2, $8 + ($11 % 90) * 0.01	}    } out.tr > temp.p2    exec awk {	{	    if (($1 == "-" ) && \		    ($5 == "tcp" || $5 == "ack") && \		    ($8 == 2 || $8 == 3 || ($8 == 4 && $11 > 26))) \		    print $2, $8 + ($11 % 90) * 0.01	}    } out.tr > temp.p3    exec awk {	{	    if ($1 == "d")	    print $2, $8 + ($11 % 90) * 0.01	}    } out.tr > temp.d    puts $f \"packets    flush $f    exec cat temp.p1 >@ $f    flush $f    puts $f [format "\n\"1st-inline\n"]    flush $f    exec cat temp.p2 >@ $f    flush $f    puts $f [format "\n\"other-2\n"]    flush $f    exec cat temp.p3 >@ $f    flush $f    # insert dummy data sets so we get X's for marks in data-set 4    # puts $f [format "\n\"skip-1\n0 1\n\n\"skip-2\n0 1\n\n"]        puts $f [format "\n\"drops\n"]    flush $f    #    # Repeat the first line twice in the drops file because    # often we have only one drop and xgraph won't print marks    # for data sets with only one point.    #    exec head -1 temp.d >@ $f    exec cat temp.d >@ $f    close $f    exec xgraph -bb -tk -nl -m -x time -y packet temp.rands &        exit 0}proc init_tcp_flow {taskid flowid id size} {    global testnet flows    set flow [ns_create_connection tcp-reno \	    $testnet(s1) tcp-sink $testnet(c1) $id]    $flow set window $testnet(window)    $flow set packet-size $testnet(mss)    $flow set maxcwnd $testnet(window)    set flows($flowid) $flow     set flows($taskid) [$flow source ftp]    $flows($taskid) set maxpkts_ $size    # tcpDump $flow $testnet(dumpincr)}proc setup_http_test {} {    global testnet    global flows    create_testnet    init_tcp_flow http tcp0 0 $testnet(httpsize)    ns at 0.0 "$flows(http) start"    set flows(isrunning0) 1    set flows(flows_running) 1    set flows(count0) 0    for { set i 1 } { $i <= $flows(inlines_needed) } { incr i } {	set nexttask [format "inline%d" $i]	set nextflow [format "tcp%d" $i]	init_tcp_flow $nexttask $nextflow $i $testnet(inlinesize)    }    # trace only the bottleneck link    set traceme [openTrace $testnet(testlimit) test_http]    set bottleneck [ns link $testnet(isp1) $testnet(c1)]    $bottleneck trace $traceme    $bottleneck callback { trigger }}proc set_globals {} {    global testnet    set testnet(netspeed) 1.54mb    set testnet(modemspeed) 28.8kb    set testnet(netdelay) 150ms    set testnet(modemdelay) 50ms    set testnet(mss) 512    set testnet(window) 64    set testnet(httpsize) 6    set testnet(inlinesize) 40    set testnet(modemqueue) 6    set testnet(dumpincr) 5.0    set testnet(testlimit) 50.0    set testnet(dograph) 0    set testnet(qtype) drop-tail    global flows    set flows(inlines_started) 0    set flows(inlines_needed) 3    set flows(flows_running) 0    set flows(flows_allowed) 4    set flows(inlines_running) 0    set flows(inlines_allowed) $flows(flows_allowed)}proc process_args {} {    global argc argv testnet flows    for {set i 0} {$i < $argc} {incr i} {	set arg [lindex $argv $i]	switch x$arg {	    x-window {		incr i		set testnet(window) [lindex $argv $i]	    }	    x-graph {		set testnet(dograph) 1		puts "match"	    }	    x-delayN {		incr i		set testnet(netdelay) [lindex $argv $i]	    }	    x-delayM {		incr i		set testnet(modemdelay) [lindex $argv $i]	    }	    x-mss {		incr i		set testnet(mss) [lindex $argv $i]	    }	    x-httpsize {		incr i		set testnet(httpsize) [lindex $argv $i]	    }	    x-inlinesize {		incr i		set testnet(inlinesize) [lindex $argv $i]	    }	    x-queue {		incr i		set testnet(modemqueue) [lindex $argv $i]	    }	    x-dumpincr {		incr i		set testnet(dumpincr) [lindex $argv $i]	    }	    x-testlimit {		incr i		set testnet(testlimit) [lindex $argv $i]	    }	    x-inlines {		incr i		set flows(inlines_needed) [lindex $argv $i]	    }	    x-maxflow {		incr i		set flows(flows_allowed) [lindex $argv $i]	    }	    x-maxinline {		incr i		set flows(inlines_allowed) [lindex $argv $i]	    }	    x-red {		set testnet(qtype) red	    }	    x-sfq {		set testnet(qtype) sfq	    }	    default {		puts [format "unrecognized argument: %s" [lindex $argv $i]]		exit 1	    }	}    }}set_globalsprocess_argssetup_http_test# ns gen-mapns run

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情中文字幕一区二区| 91美女在线看| 9191久久久久久久久久久| 国产精品美女一区二区在线观看| 成人丝袜高跟foot| 亚洲日本青草视频在线怡红院| 91美女福利视频| www.色综合.com| 亚洲成av人影院在线观看网| 欧美一级电影网站| 国产激情一区二区三区| 亚洲日本va在线观看| 国产女主播一区| 欧美视频完全免费看| 亚洲444eee在线观看| 日韩国产在线观看一区| 一本大道久久精品懂色aⅴ| 亚洲小少妇裸体bbw| 久久青草欧美一区二区三区| 91丨porny丨在线| 日本韩国欧美三级| 国产成人在线网站| 99热精品一区二区| 欧美三级日韩三级| 99精品视频一区二区| 国产呦精品一区二区三区网站| 国产精品沙发午睡系列990531| 国产精品第四页| 国产日韩欧美综合在线| 亚洲欧美一区二区久久| 欧美精品一区二区三区蜜桃| 91久久国产最好的精华液| 欧美日韩国产片| 欧美在线综合视频| 91丝袜呻吟高潮美腿白嫩在线观看| 91视视频在线观看入口直接观看www| 在线免费观看一区| wwwwww.欧美系列| 欧美大片拔萝卜| 日韩一区二区不卡| 中文字幕在线观看不卡| 亚洲欧洲美洲综合色网| 日韩成人一区二区| 99久久精品国产毛片| 欧美日韩aaaaa| 国产精品不卡在线观看| 美女国产一区二区三区| 亚洲成人777| 成人午夜在线播放| 91精品国产综合久久精品图片| 中文字幕免费一区| 日本欧美肥老太交大片| 日本精品视频一区二区| 国产日韩高清在线| 久久超碰97中文字幕| 免费不卡在线观看| 日韩电影一区二区三区| 不卡视频免费播放| 91亚洲精华国产精华精华液| 精品国产乱码久久久久久蜜臀| 亚洲在线观看免费| 日韩精品色哟哟| 色综合亚洲欧洲| 欧美日韩国产123区| 国产精品三级av在线播放| 韩国精品久久久| 成人国产精品免费观看动漫| 欧美本精品男人aⅴ天堂| 国产亚洲综合色| 一区二区三区在线免费视频| 亚洲图片自拍偷拍| 91浏览器在线视频| 国产精品妹子av| 99re成人精品视频| 国产精品久久久久久久久免费桃花 | 亚洲成va人在线观看| 99久久精品国产观看| 国产精品视频在线看| 国产美女精品一区二区三区| 日韩欧美一二三| 调教+趴+乳夹+国产+精品| 国产一区二区精品久久99| 51久久夜色精品国产麻豆| 亚洲大片在线观看| 亚洲v中文字幕| 国产一区二区导航在线播放| 国产欧美日韩精品一区| 国产高清不卡一区二区| 久久久久久久久伊人| 国产福利一区二区| 国产精品天美传媒| 91视频91自| 亚洲成av人片一区二区梦乃| 欧美精品乱码久久久久久按摩| 欧美一卡二卡在线观看| 国产精品无遮挡| 97se狠狠狠综合亚洲狠狠| 亚洲精品少妇30p| 久久99久久久久久久久久久| 狠狠色狠狠色综合| 中文字幕欧美日本乱码一线二线| 国产一区二区0| 中文一区二区完整视频在线观看| 成人高清伦理免费影院在线观看| 亚洲人被黑人高潮完整版| 日本韩国欧美在线| 日本aⅴ亚洲精品中文乱码| www国产成人免费观看视频 深夜成人网 | a美女胸又www黄视频久久| 亚洲一区二区视频| 久久蜜桃av一区精品变态类天堂| 91在线视频网址| 日本不卡一区二区| 国产精品拍天天在线| 欧美日韩国产在线观看| 国产一区二区在线观看免费 | 亚洲男女毛片无遮挡| 欧美日韩国产三级| 成人免费不卡视频| 免费一级欧美片在线观看| 亚洲天堂av老司机| 日韩三级中文字幕| 一本色道久久加勒比精品| 麻豆精品视频在线观看| 亚洲蜜桃精久久久久久久| 精品捆绑美女sm三区| 91年精品国产| 国产成人午夜片在线观看高清观看| 一区二区在线看| 国产精品久久综合| 精品国产乱码久久久久久牛牛| 欧美三电影在线| 97久久精品人人做人人爽50路 | 日韩一区二区三区av| av电影在线观看不卡| 国精产品一区一区三区mba桃花| 一区二区三区国产| 欧美国产日本韩| 久久综合狠狠综合久久综合88| 欧美精品乱码久久久久久按摩 | 亚洲伦理在线精品| 国产欧美一区二区精品婷婷| 欧美大片在线观看| 欧美一区二区啪啪| 6080国产精品一区二区| 欧美日韩国产天堂| 欧美日韩视频在线观看一区二区三区| av亚洲精华国产精华精| 成人免费视频一区| 国产成人精品aa毛片| 国产一区二区三区在线观看免费视频| 日韩精彩视频在线观看| 天天综合网天天综合色 | 日韩一区二区三区视频| 欧美日韩国产一级| 777a∨成人精品桃花网| 91超碰这里只有精品国产| 欧美精品一二三区| 欧美精品vⅰdeose4hd| 91精品国产综合久久久久久久| 在线不卡中文字幕播放| 在线综合亚洲欧美在线视频| 欧美日韩日本视频| 欧美精品777| 日韩午夜在线影院| 精品国产一区二区三区四区四| 欧美v日韩v国产v| 2023国产精品| 国产精品久久久久久福利一牛影视 | 亚洲在线免费播放| 日韩精品每日更新| 亚洲综合激情网| 日韩精品电影在线观看| 久久国产福利国产秒拍| 国产一区欧美二区| 99精品在线观看视频| 欧美日韩在线播放三区四区| 欧美精选一区二区| 久久夜色精品国产欧美乱极品| 久久久久久**毛片大全| 亚洲女子a中天字幕| 午夜视黄欧洲亚洲| 激情综合色综合久久| www.亚洲激情.com| 欧美日本高清视频在线观看| 欧美大片一区二区| 亚洲人成精品久久久久久 | 国产亚洲精品超碰| 亚洲伦理在线精品| 国模一区二区三区白浆| 91免费在线看| www激情久久| 无码av中文一区二区三区桃花岛| 黄页视频在线91| 色综合色狠狠天天综合色| 日韩视频一区二区三区在线播放| 国产精品免费久久久久| 久久不见久久见免费视频7| 91麻豆国产精品久久| 精品国产髙清在线看国产毛片|