代码搜索结果
找到约 21,386 项符合
Switch 的代码
st2000.mt
# Target: Tandem ST-2000 phone switch
TDEPFILES= m68k-tdep.o remote-st.o
TM_FILE= tm-st2000.h
ex_3_2_8.java
/*
*文件名 ex_3_2_8.java
*说 明:模拟菜单程序
* switch语句使用举例
*/
import java.io.*; // 导入java.io包
class ex_3_2_8
{
public static void main(String args[])
throws IOException // 抛出异常 IOExcepti
ex_3_2_6.java
/*
*文件名 ex_3_2_6.java
*说 明:演示多路分支语句switch的用法
* 学生成绩评价的生成
*/
class ex_3_2_6
{
public static void main(String args[])
{
int score=80; // 成绩
String remark; // 成绩评价
switch(sc
ex_3_2_7.java
/*
*文件名 ex_3_2_7.java
*说 明:月份所在季节判断的switch版本
*/
class ex_3_2_7
{
public static void main(String args[])
{
int month = 4; // 四月
String season;
switch(month) // 开关为month
{
/
p1-30.cpp
#include
main()
{
//x,y 为操作数,c为运算符
int x,y,z;
char c1;
cin>>x>>c1>>y; //c1
//多路选择语句选择不同表达式计算语句
switch(c1) {
case '+':cout
dummycode.m
function [exectime, data] = dummycode(seg, data)
switch seg,
case 1,
exectime = 0.004;
case 2,
exectime = -1;
end
readme
The following sequence works. Figuring out why is left as an exercise to
the reader ;-)
Commands:
lrcpc4:~/w/atm/switch/tcp# ./sw_tcp -b -d
lrcpc4:~# atmtcp virtual 1 switch localhost 1 bg
lrcpc4:~#
readme
This is a little sample configuration with two terminals connected to a
switch. All of the network elements are on the same host and atmtcp takes
care of the the real kernel with multiple terminals on
clash.inc
;;
;; CLASH -- Command Line Argument and Switch Handling
;;
;; include file, version 2001.06.22
;;
;; Copyright (c) 2001 by Joergen Ibsen / Jibz
;; All Rights Reserved
;;
; -----------------
context.s
// #===========================================================================
// #
// # context.S
// #
// # ARM context switch code
// #
// #===================================================