代码搜索结果
找到约 102,371 项符合
State Machine 的代码
pppfsm.c
/*
* PPPFSM.C -- PPP Finite State Machine
*
* This implementation of PPP is declared to be in the public domain.
*
* Acknowledgements and correction history may be found in PPP.C
*/
#i
pppfsm.c
/*
* PPPFSM.C -- PPP Finite State Machine
*
* This implementation of PPP is declared to be in the public domain.
*
* Acknowledgements and correction history may be found in PPP.C
*/
#i
statemachine.java
//: statemachine2:StateMachine.java
// A table-driven state machine
package statemachine2;
import java.util.*;
public class StateMachine {
private State state;
private Map map = new HashMa
condition.java
//: statemachine2:Condition.java
// Condition function object for state machine
package statemachine2;
public interface Condition {
boolean condition(Input i);
} ///:~
transition.java
//: statemachine2:Transition.java
// Transition function object for state machine
package statemachine2;
public interface Transition {
void transition(Input i);
} ///:~
mousetraptest.java
//: statemachine:mousetrap1:MouseTrapTest.java
// State Machine pattern using 'if' statements
// to determine the next state.
package statemachine.mousetrap1;
import statemachine.mouse.*;
import
fsm.c
/* fsm.c - {Link, IP} Control Protocol Finite State Machine */
/* Copyright 1995 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
* Copyright (c) 1989 Carnegie Mellon University.
* All ri
ospf_neighbor_state_machine.c
/* ospf_neighbor_state_machine.c - OSPF neighbor state machine */
/* Copyright 2000 - 2003 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
modification history
--------------------
02a,03j
nasm.c
/*****************************************************************************
*
* Microchip DeviceNet Stack
* (Network Access State Machine management source code)
*
**********************
fsm.cpp
/*
$Id: Fsm.cpp,v 1.4 1997/02/02 01:31:02 matt Exp $
Finite state machine (FSM) class.
(c) Feb 1995 Matt Phillips.
*/
#include
#include
#include