代码搜索结果
找到约 10,000 项符合
Switch 的代码
subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
kayscan.c
#include
#define uint unsigned int
#define uchar unsigned char
sbit duan=P2^6;
sbit wei=P2^7;
sbit key1=P3^4;
uchar code table[]={
0x3f,0x06,0x5b,0x4f,
0x66,0x6d,0x7d,0x07,
0x7f,0x6f
freescale.txt
Main.c
#include /* common defines and macros */
#include /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12db128b"
#include "define.h"
#include "init
power.c
#define _POWER_C_
#include "types.h"
#include "board.h"
#include "global.h"
#include "ms_reg.h"
#include "panel.h"
#include "misc.h"
#include "ms_rwreg.h"
#include "mstar.h"
#include "DEBUG
stp&rstp.txt
PVST(私有):支持ISL
PVST+(私有):支持802.1q,ISL
RSTP Rapid Spanning Tree Protocol(802.1w)
MSTP Multiple Spanning Tree Protocol(802.1s)
PVRST Prer VLAN Rapid Spanning Tree(私有)
STP
PVST(STP)
Cisco增强STP
effect.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include "dragon.h"
#include "hong_sprite.h"
#include "char.h"
#include
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