代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch_bus.vhd
-- 库声明
library IEEE;
use IEEE.STD_LOGIC_1164.all;
-- 实体声明
entity switch_bus is
-- 类属参数
generic (
BUS_WIDTH : integer := 8 ); -- 总线宽度
port (
din1 : in std_logic_vector(BUS_WIDTH-1 d
p_switch.c
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: p_switch.c,v 1.10 2001/04/18 21:00:22 metzgermeister Exp $
//
// Co
sound_switch.c
/*
* sound/sound_switch.c
*
* The system call switch
*
* Copyright by Hannu Savolainen 1993
*
* Redistribution and use in source and binary forms, with or without
* modification, ar
switch-old.s
/* switch.s
* Machine dependent context switch routines. DO NOT MODIFY THESE!
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initi
daytripper-switch.html
Code Fragment
switch (d) {
switch.cspy.bat
@REM This bat file has been generated by the IAR Embeddded Workbench
@REM C-SPY interactive debugger,as an aid to preparing a command
@REM line for running the cspybat command line utility with the
backup of switch.ewd
1
Debug
8051
backup of switch.ewp
1
Debug
8051
switch2.java
public class Switch2{
public static void main(String[] args){
int a=1, b=2, c;
switch(a+b){
case 1: c=1;
break;
case 3: c=3;
break;
switch3.java
public class Switch3{
public static void main(String[] args){
int a=1;
switch(a){
case 1: System.out.println("111");
case 2: System.out.println("222");