代码搜索结果
找到约 21,386 项符合
Switch 的代码
landev.c
/* landev.c
This example program sends a scan list to a switch and while
looping closes channels and takes measurements. */
#include
#include
main()
{
INST dvm;
union.idl
// union.idl,v 1.2 1998/05/13 14:27:33 levine Exp
struct Bar {
long b1;
char b2;
};
union Foo switch (long) {
case 1: long x;
case 2: Bar y;
default: char z;
};
union Foo2 sw
union2.idl
// union2.idl,v 1.2 1998/05/13 14:27:33 levine Exp
enum FooDisc {
FOO1,
FOO2
};
union Foo switch (FooDisc) {
case FOO1: long x;
case FOO2: string y;
default: char z;
};
struct Bar {
tgetflag.c
/*
* Simulation of termcap using terminfo.
*/
#include "curses.ext"
/* @(#)tgetflag.c 1.1 92/07/30 SMI (1.8 3/6/83) */
/* Make a 2 letter code into an integer we can switch on easily */
#define t
two.twostr.c
/* @(#)two.twostr.c 1.1 92/07/30 SMI */
/* Make a 2 letter code into an integer we can switch on easily */
#define two( s1, s2 ) (s1 + 256 * s2 )
#define twostr( str ) two( *str, str[ 1 ] )
tgetnum.c
/*
* Simulation of termcap using terminfo.
*/
#include "curses.ext"
/* @(#)tgetnum.c 1.1 92/07/30 SMI (1.8 3/6/83) */
/* Make a 2 letter code into an integer we can switch on easily */
#define tw
linemod.c
#ifndef lint
static char sccsid[] = "@(#)linemod.c 1.1 92/07/30 SMI"; /* from UCB 4.1 6/27/83 */
#endif
linemod(s)
char *s;
{
char c;
putch(033);
switch(s[0]){
case 'l':
c = 'd';
break;
cas
cshwhatis
.TH CSH 1 csh \- alias: shell macros.
.TH CSH 1 csh \- break: exit while/foreach loop.
.TH CSH 1 csh \- breaksw: exit from switch.
.TH CSH 1 csh \- case: selector in switch.
.TH CSH 1 csh \- cd: chang
cshcmd
csh(1) alias: shell macros.
csh(1) bg: place job in background.
csh(1) break: exit while/foreach loop.
csh(1) breaksw: exit from switch.
csh(1) case: selector in switch.
csh(1) cd: change directory.
c
page112.cpp
#include
#include
#include
int isp(char ch){
switch (ch){
case '#': return 0;
case '(': return 1;
case '^': return 7;
case '*':
case '/'