代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/488062/6495576
m metric.m
function distance=metric(x,y)
if x==y
distance=0;
else
distance=1;
end
% switch (y)
% case 0
% if x==0
% distance=0.0458;
% end
% if x==1
% distance=2;
www.eeworm.com/read/488257/6500124
m exp2_14.m
clear
clc
close
t=-pi:0.1:pi;
trigname=input('Input trig functions name:')
switch trigname
case 'sin'
plot(t,sin(t))
case 'cos'
plot(t,cos(t))
otherwise
break %终止,跳出switch语句
end
www.eeworm.com/read/487410/6511191
cmd light.cmd
-w
-stack 400h
-heap 100
-l rts.lib
MEMORY
{
PAGE 0:
VECT : o=80h,l=80h
PRAM : o=100h,l=1f00h
PAGE 1:
DRAM : o=2000h,l=1000h
}
SECTIONS
{
.text : {}> PRAM
www.eeworm.com/read/487415/6511198
cmd lcd.cmd
-w
-stack 400h
-heap 100
-l rts.lib
MEMORY
{
PAGE 0:
VECT : o=80h,l=80h
PRAM : o=100h,l=1f00h
PAGE 1:
DRAM : o=2000h,l=1000h
}
SECTIONS
{
.text : {}> PRAM
www.eeworm.com/read/487268/6517424
m exp2_14.m
clear
clc
close
t=-pi:0.1:pi;
trigname=input('Input trig functions name:')
switch trigname
case 'sin'
plot(t,sin(t))
case 'cos'
plot(t,cos(t))
otherwise
break %终止,跳出switch语句
end
www.eeworm.com/read/486925/6521017
java testcommand.java
package com.javapatterns.command.lightandfan;
public class TestCommand
{
public static void main(String[] args)
{
Light testLight = new Light( );
LightOnCommand testLOC =
www.eeworm.com/read/486228/6538826
m exitprogram.m
%-------------------------------------------------------------------------------------
%ARMADA - Association Rule Mining And Deduction Analysis
%Desciprtion: Data Mining Tool for extraction of assoc
www.eeworm.com/read/486228/6538853
m exitprogramsave.m
%-------------------------------------------------------------------------------------
%ARMADA - Association Rule Mining And Deduction Analysis
%Desciprtion: Data Mining Tool for extraction of assoc
www.eeworm.com/read/486228/6538873
m exitprogramsavedual.m
%-------------------------------------------------------------------------------------
%ARMADA - Association Rule Mining And Deduction Analysis
%Desciprtion: Data Mining Tool for extraction of assoc
www.eeworm.com/read/485323/6558006
m51 receive.m51
BL51 BANKED LINKER/LOCATER V5.12 09/30/2007 10:34:14 PAGE 1
BL51 BANKED LINKER/LOCATER V5.12, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE switch