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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? iocmd.test

?? tcl是工具命令語言
?? TEST
?? 第 1 頁 / 共 2 頁
字號:
# Commands covered: open, close, gets, read, puts, seek, tell, eof, flush,#		    fblocked, fconfigure, open, channel, fcopy## This file contains a collection of tests for one or more of the Tcl# built-in commands.  Sourcing this file into Tcl runs the tests and# generates output for errors.  No output means no errors were found.## Copyright (c) 1991-1994 The Regents of the University of California.# Copyright (c) 1994-1996 Sun Microsystems, Inc.# Copyright (c) 1998-1999 by Scriptics Corporation.## See the file "license.terms" for information on usage and redistribution# of this file, and for a DISCLAIMER OF ALL WARRANTIES.## RCS: @(#) $Id: ioCmd.test,v 1.16 2003/02/19 16:43:30 das Exp $if {[lsearch [namespace children] ::tcltest] == -1} {    package require tcltest    namespace import -force ::tcltest::*}removeFile test1removeFile pipetest iocmd-1.1 {puts command} {   list [catch {puts} msg] $msg} {1 {wrong # args: should be "puts ?-nonewline? ?channelId? string"}}test iocmd-1.2 {puts command} {   list [catch {puts a b c d e f g} msg] $msg} {1 {wrong # args: should be "puts ?-nonewline? ?channelId? string"}}test iocmd-1.3 {puts command} {   list [catch {puts froboz -nonewline kablooie} msg] $msg} {1 {bad argument "kablooie": should be "nonewline"}}test iocmd-1.4 {puts command} {   list [catch {puts froboz hello} msg] $msg} {1 {can not find channel named "froboz"}}test iocmd-1.5 {puts command} {   list [catch {puts stdin hello} msg] $msg} {1 {channel "stdin" wasn't opened for writing}}set path(test1) [makeFile {} test1]test iocmd-1.6 {puts command} {    set f [open $path(test1) w]    fconfigure $f -translation lf -eofchar {}    puts -nonewline $f foobar    close $f    file size $path(test1)} 6test iocmd-1.7 {puts command} {    set f [open $path(test1) w]    fconfigure $f -translation lf -eofchar {}    puts $f foobar    close $f    file size $path(test1)} 7test iocmd-1.8 {puts command} {    set f [open $path(test1) w]    fconfigure $f -translation lf -eofchar {} -encoding iso8859-1    puts -nonewline $f [binary format a4a5 foo bar]    close $f    file size $path(test1)} 9test iocmd-2.1 {flush command} {   list [catch {flush} msg] $msg} {1 {wrong # args: should be "flush channelId"}}test iocmd-2.2 {flush command} {   list [catch {flush a b c d e} msg] $msg} {1 {wrong # args: should be "flush channelId"}}test iocmd-2.3 {flush command} {   list [catch {flush foo} msg] $msg} {1 {can not find channel named "foo"}}test iocmd-2.4 {flush command} {   list [catch {flush stdin} msg] $msg} {1 {channel "stdin" wasn't opened for writing}}test iocmd-3.1 {gets command} {   list [catch {gets} msg] $msg} {1 {wrong # args: should be "gets channelId ?varName?"}}test iocmd-3.2 {gets command} {   list [catch {gets a b c d e f g} msg] $msg} {1 {wrong # args: should be "gets channelId ?varName?"}}test iocmd-3.3 {gets command} {   list [catch {gets aaa} msg] $msg} {1 {can not find channel named "aaa"}}test iocmd-3.4 {gets command} {   list [catch {gets stdout} msg] $msg} {1 {channel "stdout" wasn't opened for reading}}test iocmd-3.5 {gets command} {    set f [open $path(test1) w]    puts $f [binary format a4a5 foo bar]    close $f    set f [open $path(test1) r]    set result [gets $f]    close $f    set x foo\x00    set x "${x}bar\x00\x00"    string compare $x $result} 0test iocmd-4.1 {read command} {   list [catch {read} msg] $msg} {1 {wrong # args: should be "read channelId ?numChars?" or "read ?-nonewline? channelId"}}test iocmd-4.2 {read command} {   list [catch {read a b c d e f g h} msg] $msg} {1 {wrong # args: should be "read channelId ?numChars?" or "read ?-nonewline? channelId"}}test iocmd-4.3 {read command} {   list [catch {read aaa} msg] $msg} {1 {can not find channel named "aaa"}}test iocmd-4.4 {read command} {   list [catch {read -nonewline} msg] $msg} {1 {wrong # args: should be "read channelId ?numChars?" or "read ?-nonewline? channelId"}}test iocmd-4.5 {read command} {   list [catch {read -nonew file4} msg] $msg $errorCode} {1 {can not find channel named "-nonew"} NONE}test iocmd-4.6 {read command} {   list [catch {read stdout} msg] $msg} {1 {channel "stdout" wasn't opened for reading}}test iocmd-4.7 {read command} {   list [catch {read -nonewline stdout} msg] $msg} {1 {channel "stdout" wasn't opened for reading}}test iocmd-4.8 {read command with incorrect combination of arguments} {    removeFile test1    set f [open $path(test1) w]    puts $f "Two lines: this one"    puts $f "and this one"    close $f    set f [open $path(test1)]    set x [list [catch {read -nonewline $f 20 z} msg] $msg $errorCode]    close $f    set x} {1 {wrong # args: should be "read channelId ?numChars?" or "read ?-nonewline? channelId"} NONE}test iocmd-4.9 {read command} {    list [catch {read stdin foo} msg] $msg $errorCode} {1 {bad argument "foo": should be "nonewline"} NONE}test iocmd-4.10 {read command} {    list [catch {read file107} msg] $msg $errorCode} {1 {can not find channel named "file107"} NONE}set path(test3) [makeFile {} test3]test iocmd-4.11 {read command} {    set f [open $path(test3) w]    set x [list [catch {read $f} msg] $msg $errorCode]    close $f    string compare [string tolower $x] \	[list 1 [format "channel \"%s\" wasn't opened for reading" $f] none]} 0test iocmd-4.12 {read command} {    set f [open $path(test1)]    set x [list [catch {read $f 12z} msg] $msg $errorCode]    close $f    set x} {1 {expected integer but got "12z"} NONE}test iocmd-5.1 {seek command} {    list [catch {seek} msg] $msg} {1 {wrong # args: should be "seek channelId offset ?origin?"}}test iocmd-5.2 {seek command} {    list [catch {seek a b c d e f g} msg] $msg} {1 {wrong # args: should be "seek channelId offset ?origin?"}}test iocmd-5.3 {seek command} {    list [catch {seek stdin gugu} msg] $msg} {1 {expected integer but got "gugu"}}test iocmd-5.4 {seek command} {    list [catch {seek stdin 100 gugu} msg] $msg} {1 {bad origin "gugu": must be start, current, or end}}test iocmd-6.1 {tell command} {    list [catch {tell} msg] $msg} {1 {wrong # args: should be "tell channelId"}}test iocmd-6.2 {tell command} {    list [catch {tell a b c d e} msg] $msg} {1 {wrong # args: should be "tell channelId"}}test iocmd-6.3 {tell command} {    list [catch {tell aaa} msg] $msg} {1 {can not find channel named "aaa"}}test iocmd-7.1 {close command} {    list [catch {close} msg] $msg} {1 {wrong # args: should be "close channelId"}}test iocmd-7.2 {close command} {    list [catch {close a b c d e} msg] $msg} {1 {wrong # args: should be "close channelId"}}test iocmd-7.3 {close command} {    list [catch {close aaa} msg] $msg} {1 {can not find channel named "aaa"}}test iocmd-8.1 {fconfigure command} {    list [catch {fconfigure} msg] $msg} {1 {wrong # args: should be "fconfigure channelId ?optionName? ?value? ?optionName value?..."}}test iocmd-8.2 {fconfigure command} {    list [catch {fconfigure a b c d e f} msg] $msg} {1 {wrong # args: should be "fconfigure channelId ?optionName? ?value? ?optionName value?..."}}test iocmd-8.3 {fconfigure command} {    list [catch {fconfigure a b} msg] $msg} {1 {can not find channel named "a"}}test iocmd-8.4 {fconfigure command} {    removeFile test1    set f1 [open $path(test1) w]    set x [list [catch {fconfigure $f1 froboz} msg] $msg]    close $f1    set x} {1 {bad option "froboz": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation}}test iocmd-8.5 {fconfigure command} {    list [catch {fconfigure stdin -buffering froboz} msg] $msg} {1 {bad value for -buffering: must be one of full, line, or none}}test iocmd-8.6 {fconfigure command} {    list [catch {fconfigure stdin -translation froboz} msg] $msg} {1 {bad value for -translation: must be one of auto, binary, cr, lf, crlf, or platform}}test iocmd-8.7 {fconfigure command} {    removeFile test1    set f1 [open $path(test1) w]    fconfigure $f1 -translation lf -eofchar {} -encoding unicode    set x [fconfigure $f1]    close $f1    set x} {-blocking 1 -buffering full -buffersize 4096 -encoding unicode -eofchar {} -translation lf}test iocmd-8.8 {fconfigure command} {    removeFile test1    set f1 [open $path(test1) w]    fconfigure $f1 -translation lf -buffering line -buffersize 3030 \		-eofchar {} -encoding unicode    set x ""    lappend x [fconfigure $f1 -buffering]    lappend x [fconfigure $f1]    close $f1    set x} {line {-blocking 1 -buffering line -buffersize 3030 -encoding unicode -eofchar {} -translation lf}}test iocmd-8.9 {fconfigure command} {    removeFile test1    set f1 [open $path(test1) w]    fconfigure $f1 -translation binary -buffering none -buffersize 4040 \		-eofchar {} -encoding binary    set x [fconfigure $f1]    close $f1    set x} {-blocking 1 -buffering none -buffersize 4040 -encoding binary -eofchar {} -translation lf}test iocmd-8.10 {fconfigure command} {    list [catch {fconfigure a b} msg] $msg} {1 {can not find channel named "a"}}set path(fconfigure.dummy) [makeFile {} fconfigure.dummy]test iocmd-8.11 {fconfigure command} {    set chan [open $path(fconfigure.dummy) r]    set res [list [catch {fconfigure $chan -froboz blarfo} msg] $msg]    close $chan    set res} {1 {bad option "-froboz": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation}}test iocmd-8.12 {fconfigure command} {    set chan [open $path(fconfigure.dummy) r]    set res [list [catch {fconfigure $chan -b blarfo} msg] $msg]    close $chan    set res} {1 {bad option "-b": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation}}test iocmd-8.13 {fconfigure command} {    set chan [open $path(fconfigure.dummy) r]    set res [list [catch {fconfigure $chan -buffer blarfo} msg] $msg]    close $chan    set res} {1 {bad option "-buffer": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation}}removeFile fconfigure.dummytest iocmd-8.14 {fconfigure command} {    fconfigure stdin -buffers} 4096proc iocmdSSETUP {} {    uplevel {	set srv [socket -server iocmdSRV 0]	set port [lindex [fconfigure $srv -sockname] 2]	proc iocmdSRV {sock ip port} {close $sock}	set cli [socket 127.0.0.1 $port]    }}proc iocmdSSHTDWN {} {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品电影在线| 国产一区二区福利| 26uuu欧美日本| 欧美伊人久久久久久午夜久久久久| 另类小说视频一区二区| 亚洲综合视频在线观看| 日本一区二区三区四区| 欧美日韩精品欧美日韩精品一| 国产精品一区在线| 老色鬼精品视频在线观看播放| 午夜婷婷国产麻豆精品| 亚洲激情六月丁香| 亚洲色图欧洲色图| 国产欧美一区二区三区沐欲| 成年人网站91| 亚洲一区二区三区三| 亚洲美女屁股眼交| 国产精品成人免费| 亚洲日本一区二区| 亚洲精品日产精品乱码不卡| 精品国产人成亚洲区| 精品av综合导航| 日韩欧美一级二级| 久久免费美女视频| 尤物av一区二区| 亚洲人成在线播放网站岛国 | 色噜噜狠狠色综合欧洲selulu| 国产一区二区在线观看免费| 老司机精品视频导航| 久久99精品国产麻豆不卡| 美日韩一区二区| 中文字幕久久午夜不卡| 国产精品女主播av| 亚洲精品高清在线观看| 国产视频在线观看一区二区三区| 国产亚洲1区2区3区| 国产成人精品影院| 99精品欧美一区二区蜜桃免费| 成人永久看片免费视频天堂| 成人av在线播放网站| 天天做天天摸天天爽国产一区| 国产精品成人免费精品自在线观看| 在线视频综合导航| 99精品视频一区二区三区| 欧美一区二区三区成人| 亚洲三级视频在线观看| 亚洲色图视频网| 国产成人精品午夜视频免费| 91丨九色丨尤物| 欧美三区免费完整视频在线观看| 国产乱人伦偷精品视频不卡| 欧美中文字幕久久| 欧美一区二区美女| 中文字幕一区二区三区不卡在线| 国产精品久久久久久久第一福利| 欧美另类高清zo欧美| 久久久久久久久97黄色工厂| 中文字幕精品一区二区精品绿巨人| 一区二区在线观看不卡| 日韩电影免费在线看| 美腿丝袜亚洲综合| 欧美一区二区三区不卡| 国产欧美精品一区二区色综合朱莉 | 欧美精品电影在线播放| 欧美日韩久久一区二区| 有码一区二区三区| 久久精品久久精品| 麻豆成人在线观看| 91精品一区二区三区在线观看| 国产精品污www在线观看| 天堂成人国产精品一区| 国产麻豆91精品| 欧美精品九九99久久| 成人欧美一区二区三区白人| 美女视频黄免费的久久| 欧美专区日韩专区| 国产精品色婷婷| 青青草国产成人99久久| 久久激情五月激情| 久久久久免费观看| 日日夜夜精品免费视频| 欧美视频中文字幕| 中文字幕不卡一区| 久久se这里有精品| 国产欧美精品国产国产专区 | 一区二区三区 在线观看视频| 麻豆国产欧美一区二区三区| 色香蕉久久蜜桃| 中文字幕综合网| 亚洲一区在线播放| 日本高清不卡在线观看| 久久久精品国产99久久精品芒果| 天堂成人国产精品一区| 色噜噜狠狠色综合中国| 国产精品免费视频网站| 大白屁股一区二区视频| 久久久噜噜噜久久人人看| 国内精品国产成人国产三级粉色| 久久蜜臀中文字幕| 国产乱子伦视频一区二区三区 | 亚洲国产精品精华液ab| 久久99精品久久久久| 91视视频在线直接观看在线看网页在线看 | 久久99久久精品| 日韩欧美的一区| 精品一区中文字幕| 国产婷婷色一区二区三区四区| 国产精品一区二区免费不卡| 国产午夜精品在线观看| 国产aⅴ综合色| 国产精品久久三| 韩国av一区二区| 国产精品家庭影院| 国产精品1区二区.| 中文字幕视频一区二区三区久| 丁香六月久久综合狠狠色| 久久精品人人做| 欧美在线观看视频一区二区三区| 天天av天天翘天天综合网色鬼国产| 91国内精品野花午夜精品| 亚洲一级二级三级| 欧美剧在线免费观看网站| 欧美浪妇xxxx高跟鞋交| 午夜一区二区三区视频| 欧美一级精品大片| 成人视屏免费看| 一区二区三区不卡视频在线观看| 日韩欧美资源站| 天天亚洲美女在线视频| 一区二区在线电影| 日韩一区二区三区观看| 国产福利一区二区三区| 日韩精品三区四区| 69堂精品视频| 制服丝袜亚洲色图| 久久精品视频在线免费观看| 精品三级在线看| 亚洲国产精品一区二区www| 激情文学综合网| 日韩免费视频一区二区| 午夜国产不卡在线观看视频| 在线不卡中文字幕| 日本视频免费一区| 国产欧美1区2区3区| 99久久国产综合精品色伊| 亚洲天堂网中文字| 欧美高清性hdvideosex| 美腿丝袜亚洲一区| 国产精品的网站| 日韩欧美自拍偷拍| 国产成人h网站| 婷婷激情综合网| 国产婷婷色一区二区三区在线| av中文字幕亚洲| 免费精品视频在线| 亚洲免费在线观看| 久久久一区二区三区捆绑**| 日本高清不卡aⅴ免费网站| 老司机精品视频线观看86| 中文字幕视频一区| 久久亚洲综合色| 欧美一区二区三区免费| 波多野结衣中文字幕一区| 免费精品99久久国产综合精品| 国产精品色噜噜| 2017欧美狠狠色| 91麻豆精品国产自产在线观看一区 | 精品一区免费av| 图片区小说区国产精品视频| 中文字幕一区二区三区不卡在线| 日韩亚洲国产中文字幕欧美| 91精品国产色综合久久久蜜香臀| 色综合天天狠狠| 在线观看视频91| 色综合天天综合在线视频| 91视频观看视频| 色婷婷av一区二区三区之一色屋| 东方aⅴ免费观看久久av| 国产精品一区二区黑丝| 国产精品99久久久久久久女警| 国产福利视频一区二区三区| 国产高清视频一区| 91小视频在线观看| 欧美三级电影一区| 欧美一区二区视频在线观看| 欧美一级免费大片| 精品国精品国产尤物美女| 精品国精品自拍自在线| 国产精品美女久久久久av爽李琼| 国产精品电影一区二区| 亚洲成人免费视| 韩国精品在线观看| 在线精品视频一区二区三四| 日韩精品一区二区三区四区视频 | 国产在线观看一区二区| 国产精品一区二区三区四区| av福利精品导航| 欧美电视剧免费观看| 自拍视频在线观看一区二区| 日韩av在线播放中文字幕|