代码搜索结果
找到约 10,000 项符合
Power 的代码
power.c
#include
#include "..\..\inc\44b.h"
#include "..\..\inc\44blib.h"
#include "..\..\inc\def.h"
#include "..\..\inc\cputest\power.h"
#include "..\..\inc\cputest\rtc.h"
#define FIN 40000
power.h
#ifndef _POWER_H_
#define _POWER_H_
#ifdef _POWER_C_
#define _POWERDEC_
#else
#define _POWERDEC_ extern
#endif
_POWERDEC_ void Power_PowerHandler(void);
_POWERDEC_ void Power_PowerO
power.c
#define _POWER_C_
#include "types.h"
#include "board.h"
#include "global.h"
#include "ms_reg.h"
#include "panel.h"
#include "misc.h"
#include "ms_rwreg.h"
#include "mstar.h"
#include "DEBUG
power.h
#ifndef __POWER_H__
#define __POWER_H__
void Test_SlowMode(void);
void Test_HoldMode(void);
#endif /*__POWER_H__*/
power.cpp
/*
算法改进:
1,用一个数组存储已经计算过的多重幂数,需要时直接读出,不需要在重新计算。
2,因为f(i)*f(n-i)=f(n-i)*f(i),所以连加只需要计算到n/2既可。
*/
#include
#include
#include
ifstream inf("input.txt");
ofstream ou
power.h
/****************************************************************************
*
* Copyright (c) 2001, TRG, All Rights Reserved
*
*-------------------------------------------------------------
power.c
/*****************************************
NAME: power.c
DESC: SLOW,HOLD mode test
HISTORY:
03.23.2002:purnnamu: first release for 2410
*****************************************/
#in
power.h
#ifndef __POWER_H__
#define __POWER_H__
void Test_SlowMode(void);
void Test_HoldMode(void);
#endif /*__POWER_H__*/