代码搜索结果

找到约 10,000 项符合 Switch 的代码

is_operat.c

/*****************************************/ /* 判断一个字符是否为运算符 */ /*文件名is_operat.c,函数名is_operation()*/ /*****************************************/ int is_operation(char op) {

block.m

function [enables,prompts] = block(a,object,values,enables,prompts) type = values{2}; switch type case 'constant_power' enables([3 7]) = {'on'; 'on'}; otherwise enables([3 7]) = {'off'; 'off'};

tm-newsgas.h

/* In Sony versions before 3.0, use the GNU Assembler, because the system's assembler has no way to assemble the difference of two labels for the displacement in a switch-dispatch instruction.

2410 core.opj

(ExpressProject "2410 core" (ProjectVersion "19981106") (ProjectType "PCB") (Folder "Design Resources" (Folder "Library" (File ".\library1.olb" (Type "Schematic Library")

setdefaults.m

function setdefaults(varargin) % Figure defaults if nargin < 1 action = 'default'; else action = varargin{1}; end % Get screen size in Characters set(0,'Units','Characters'); Pi

vowels.c

#include void main() { char letter; int vowel_count = 0; for (letter = 'A'; letter

4x4键盘程序.c

#include unsigned char code table[]={0xfe,0x48,0xbd,0xed,0xcb,0xe7,0xf7,0x4c,0xff,0xef}; unsigned char temp; unsigned char key1,key2; unsigned char i,j; sbit P0_4 = P0^4; sbit P0_5 = P

hid2hci.c

/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2003-2005 Marcel Holtmann * * * This program is free software; you can redistribute it and/or modif

avdtp.c

/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2004-2005 Marcel Holtmann * * * This program is free software; you can redistribute it and/or modif