代码搜索结果
找到约 10,000 项符合
Power 的代码
setpwr.sh
#!/bin/bash
# This script can be used to quickly switch on usb suspend
# power saving mode on the Option modem in sysfs
#
# checking for root
USERID=`id -u`
if [ "$USERID" != "0" ]
then
echo "Need
rsa.m
clc;
clear;
a=primes(10);
p=a(length(a));
q=a(length(a)-1);
n=p*q;
z=(p-1)*(q-1);
d=2;
while(GCD(d,z)~=1)
d=d+1;
end;
e=2;
while(mod(d*e,z)~=1)
e=e+1;
end;
x=input('
userbean.java
import java.sql.*;
import javax.swing.*;
public class UserBean extends JPanel
{
private String username;
private String pwd;
private String power;
Connection con=null;
Statement smt=null;
lcdapp.c
//#include
#include
#include "Delay.h" //此文件包含操作GPIO的宏定义
#include "LCD.h"
#include "LCDApp.h"
void LcdInit(void)
{
unsigned int i;
SendCD(0x00010100); //Dr
chp2ex1.m
Vm = 100; thetav = 0; % Voltage amplitude and phase angle
Z = 1.25; gama = 60; % Impedance magnitude and phase angle
thetai = thetav - gama; % Current phase angle in degree
i2c_pas106b.pin
-- Copyright (C) 1991-2004 Altera Corporation
-- Any megafunction design, and related netlist (encrypted or decrypted),
-- support information, device programming or simulation file, and a
eda.pin
-- Copyright (C) 1991-2008 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
saratov117.cpp
/*
Alfonso Alfonso Peterssen
3 - 2 - 2008
Saratov #117 "Counting"
*/
#include
int N, M, K, x, sol;
int power( int x, int n, int MOD ) {
int p = 1;
for ( ; n;
al7_5.c
/*案例代码文件名:AL7_5.C*/
/*功能:通过函数的递归调用计算阶乘*/
long power(int n)
{long f;
if(n>1) f=power(n-1)*n;
else f=1;
return(f);
}
main()
{int n;
long y;
printf("input a inteage