代码搜索结果
找到约 10,000 项符合
Switch 的代码
brewlogincanvas.cpp
/*===========================================================================
FILE: BrewLoginCanvas.c
===========================================================================*/
#include "BrewLog
gensor-156.apj
[PROJECT]
PROJECTNAME=$\GENSOR-156.APJ
[MCU]
NAME=EM78P156N
ICE=ICE456E
[CallRamBlock]
BlockNum=0
[BREAKPOINT]
BP Num=0
[CODEOPTION]
Option Num=5
CYCLE=1
CLOCK=0
Target_Power=0
WATCHDOG=
show.c
#include
#include
#include
#include
#include
#include
typedef unsigned char icolor[3];
char command[100]="/usr/bin/X11/xwcreate -dep
onoffswitch14.java
// exceptions/OnOffSwitch14.java
// TIJ4 Chapter Exceptions, Exercise 14, page 476
// Show that the OnOffSwitch.java can fail by throwing a
// RuntimeException inside the try block.
public class
withfinally15.java
// exceptions/WithFinally15.java
// TIJ4 Chapter Exceptions, Exercise 15, page 476
// Show that WithFinally.java doesn't fail by throwing a
// RuntimeException inside the try block.
public clas
gfun.cpp
#include "StdAfx.h"
DWORD GetChatColor(BYTE bIdx)
{
DWORD dwClr = 0;
switch ( bIdx )
{
case _CHAT_COLOR1: dwClr = RGB( 0, 0, 0); break;
case _CHAT_COLOR2: dwClr = RGB( 10, 1
makefile.hp
TARGET_ARCH = hpux11
CC = aCC
OPT = +O1
DEBUG = -g
OTHER = -Aa -ext +DA2.0 +DS2.0
CFLAGS = $(OPT) $(OTHER)
# CFLAGS = $(DEBUG) $(OTHER)
MODULE = run
SRCS = fifo.cpp sender.cpp switch_clk.cp
makefile.linux
TARGET_ARCH = linux
CC = g++
OPT = -O3
DEBUG = -g
OTHER = -Wall
CFLAGS = $(OPT) $(OTHER)
# CFLAGS = $(DEBUG) $(OTHER)
MODULE = run
SRCS = fifo.cpp sender.cpp switch_clk.cpp switch.cpp recei
camera.c
#include "I2C.h"
#define INSEL 0
#define POWER 0x0f
#define STATUS 0x10
#define ADC_CONTROL 0x3a
#define ADC_SWITCH1 0xc3
#define ADC_SWITCH2 0xc4
#define LOCK_COUNT 0x51
exter
steering.m
%NB-1 --------- PB-7
function x = steering(z,range)
% p=[-30 -17 -7]
if (range==1) | (range==7)
switch range
case 1
a=-35;b=-17;
x1=-35;
m