代码搜索结果
找到约 10,000 项符合
Switch 的代码
withfinally.java
//: c10:WithFinally.java
// Finally Guarantees cleanup.
import com.bruceeckel.simpletest.*;
public class WithFinally {
static Switch sw = new Switch();
public static void main(String[] args
onoffswitch.java
//: c10:OnOffSwitch.java
// Why use finally?
import com.bruceeckel.simpletest.*;
class Switch {
boolean state = false;
boolean read() { return state; }
void on() { state = true; }
vo
i2c.c
#include
//#include
//#include "styte.h"
#include "i2c.h"
#define TW_WRITE 0
#define TW_READ 1
#define max 3
//uchar twista;
void TWI_init( void )
{
parser.cpp
// Parser.cpp: implementation of the Parser class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Parser.h"
#include
using n
env.linux
setenv HTKCF '-ansi -Wall -Wno-switch -g -O2 -DOSS_AUDIO'
setenv HTKLF '-L/usr/X11/lib'
setenv HTKCC 'gcc'
setenv Arch linux
setenv Objcopy "echo"
setenv PRILF '-x'
setenv CPU linux
setenv SHRLF '-sha
ovl1.c
bit indirectfunc1(void) {
unsigned char n1,n2;
return(n1
dump-kaffeine.c
#include
#include "dump-kaffeine.h"
#include
int kaffeine_chnum=1;
void kaffeine_dump_service_parameter_set (FILE *f,
const char *service_name,
const char
备份.txt
*----------------------------------------------*-
Mytask.c
create my own task
-*----------------------------------------------*/
#include"main.h"
#include"mytask.h"
#define state1 0x01
#def
fut_6_bt_265_1gk.h
#define VFD_DGT0 0 // The following define is depend on PCB layout
#define VFD_DGT1 2 // address 2,3
#define VFD_DGT2 4 // address 4,5
#define VFD_DGT3 6 // address 6,7
withfinally.java
//: exceptions/WithFinally.java
// Finally Guarantees cleanup.
public class WithFinally {
static Switch sw = new Switch();
public static void main(String[] args) {
try {
sw.on();