代码搜索结果
找到约 10,000 项符合
Switch 的代码
onoffswitch.java
//: c10:OnOffSwitch.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Why use finally?
class Switch {
boolean state = f
tsttdmaa.m
function [ret,x0,str,ts,xts]=tsttdmaa(t,x,u,flag);
%TSTTDMAA is the M-file description of the SIMULINK system named TSTTDMAA.
% The block-diagram can be displayed by typing: TSTTDMAA.
%
% SYS=TSTT
goal_hitswitch.cpp
Goal_HitSwitch::Goal_HitSwitch(AI* pAI, const PathNode *switchNode_) : Goal( pAI ), GoalQueue()
switchNode(switchNode_), timer(0.0f), active(false)
{
Assert(switchNode->flags & CPathNode::fla
radio.java
import java.applet.*;
import java.awt.*;
public class Radio extends Applet implements Runnable
{
private Thread m_radio = null;
AudioClip sound;
AudioClip[] sounds = new AudioClip[7];
Image o
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
mainform.~pas
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, ShellApi, Math;
const ERROR_NONE = 0;
mainform.pas
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, ShellApi, Math;
const ERROR_NONE = 0;
minicom
#!/bin/sh
(
TERM=linux+utf8
export TERM
minicom -l -t linux $1 | 2UTF --switch-to-UTF ${2:-IBM437}
)
reset -Q
main.c
#include "bsrsd.h"
#include "hardware.h"
#define forever for(;;)
#define NAME_ID 0x100
#define COMMAND_ONE_ID 0x101
#define COMMAND_TWO_ID 0x102
#define COMMAND_THREE_ID 0x103
#define COMM
class1.cs
using System;
namespace switch_demo
{
///
/// Class1 的摘要说明。
///
class Class1
{
///
/// 应用程序的主入口点。
///
[STAThread]
static void Mai