代码搜索结果

找到约 21,386 项符合 Switch 的代码

switch.c

/* * spu_switch.c * * (C) Copyright IBM Corp. 2005 * * Author: Mark Nutter * * Host-side part of SPU context switch sequence outlined in * Synergistic Processor Element, B

switch.test

# Commands covered: switch # # This file contains a collection of tests for one or more of the Tcl # built-in commands. Sourcing this file into Tcl runs the tests and # generates output for errors.

switch.c

#include void Switchdemo(void) { Byte outputstate; switch(outputstate) {case 1: P1_0=0; P1_1=0; P1_2=0; break; //跳出循环 case 2: P1_0=1; P1_1=0; P1_2=0; break;

switch.uv2

### uVision2 Project, (C) Keil Software ### Do not modify ! Target (Target 1), 0x0000 // Tools: 'MCS-51' Group (Source Group 1) File 1,1, Options 1,0,0 // Target

switch.t

BEGIN { if ($ENV{PERL_CORE}) { chdir('t') if -d 't'; @INC = qw(../lib); } } use Carp; use Switch qw(__ fallthrough); my($C,$M);sub ok{$C++;$M.=$_[0]?"ok $C\n":"not ok $C (lin

switch

Check the lexical scoping of the switch keywords. (The actual behaviour is tested in t/op/switch.t) __END__ # No switch; given should be a bareword. use warnings; print STDOUT given; EXPECT Unquoted

switch.java

package com.javapatterns.command.lightandfan; public class Switch { private Command UpCommand, DownCommand; public Switch( Command Up, Command Down) { UpCommand =

switch.js

var num = 2; switch(num) { // is the number 1 ? case 1 : alert("This is case 1 code"); break; // is the number 2 ? case 2 : alert("This is case 2 code"); break; // is the number 3 ?