代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/455017/7379641
vhd exm_self.vhd
--这些检测包括:
--1. 在发出交连信号前检测A3输出信号:
-- 发出"打开仓门"信号,读"打开仓门"输出返回信号;
-- 发出"允许投放"信号,读"允许投放"输出返回信号;
-- 发出"战术投放"信号,读"战术投放"输出返回信号;
--启动自检:上电后,在RST上升沿开始,等待CPU在SA=X"C007"写0X55。
-- 同时点亮 ...
www.eeworm.com/read/449064/7519211
c self_detect.c
//=========================================================
// filename :self_detect.c
// version :
// goal&main function :one part of detecting routines.
// author
www.eeworm.com/read/449064/7519259
h self_detect.h
#ifndef __SELF_DETECT_H__
#define __SELF_DETECT_H__
void self_Black_mark(void);
void self_detect_auto(void);
void self_detect_card(void);
void self_detect_com(void);
void self_detect_cpu(void)
www.eeworm.com/read/439580/7705745
java self1.java
class Person{
private String name;
private Person friend;
Person(String name){
this.name = name;
}
void setFriend(Person friend){
this.friend = friend;
}
String getName
www.eeworm.com/read/438832/7725306
sh self-document.sh
#!/bin/bash
# self-document.sh: 自文档化(self-documenting)的脚本
# 修改于"colm.sh".
DOC_REQUEST=70
if [ "$1" = "-h" -o "$1" = "--help" ] # 请求帮助.
then
echo; echo "Usage: $0 [directory-name]"; echo
se
www.eeworm.com/read/438832/7725311
sh self-destruct.sh
#!/bin/bash
# self-destruct.sh
kill $$ # 脚本将在此处结束自己的进程.
# 回忆一下,"$$"就是脚本的PID.
echo "This line will not echo."
# 而且shell将会发送一个"Terminated"消息到stdout.
exit 0
# 在脚本结束自身进程之后,
#+ 它返回的退出码是什么?
#
www.eeworm.com/read/438832/7725362
sh self-copy.sh
#!/bin/bash
# self-copy.sh
# 这个脚本会拷贝自身.
file_subscript=copy
dd if=$0 of=$0.$file_subscript 2>/dev/null
# 阻止dd产生的消息: ^^^^^^^^^^^
exit $?
www.eeworm.com/read/438832/7725779
sh self-mailer.sh
#!/bin/sh
# self-mailer.sh: mail自身的脚本.
adr=${1:-`whoami`} # 如果没有指定的话, 默认是当前用户.
# 键入'self-mailer.sh wiseguy@superdupergenius.com'
#+ 将脚本发送到这个地址.
# 如果只键入'self-mailer.sh'(不给参数)的话,
#+ 那么这个脚本就会被发
www.eeworm.com/read/438832/7725876
sh self-source.sh
#!/bin/bash
# self-source.sh: 一个脚本"递归"的source自身.
# 来自于"Stupid Script Tricks," 卷 II.
MAXPASSCNT=100 # 最大的可执行次数.
echo -n "$pass_count "
# 在第一次运行的时候,这句只不过echo出2个空格,
#+ 因为$pass_count还没被初始化.
let
www.eeworm.com/read/438832/7725886
sh self-exec.sh
#!/bin/bash
# self-exec.sh
echo
echo "This line appears ONCE in the script, yet it keeps echoing."
echo "The PID of this instance of the script is still $$."
# 上边这行展示了并没有fork出子shell.
echo "====