代码搜索:模版匹配
找到约 3,092 项符合「模版匹配」的源代码
代码结果 3,092
www.eeworm.com/read/433514/7925153
c qucksrch.c
//改进的快速模式匹配算法。
char STR[80]="The 80C552 has two redeced power modes of operation.";//主串。
char SUB1[]="80C552"; //模式串1
char SUB2[]="80C51"; //模式串2
int len (char c[]) //求字符串长度
{
int i=0;
whil
www.eeworm.com/read/433514/7925165
c bfsrch.c
//直观的模式匹配算法(BF算法)。
char STR[80]="The 80C552 has two redeced power modes of operation.";//主串。
char SUB1[]="80C552"; //模式串1
char SUB2[]="80C51"; //模式串2
int len (char c[]) //求字符串长度
{
int i=0;
www.eeworm.com/read/143612/12856664
c qucksrch.c
//改进的快速模式匹配算法。
char STR[80]="The 80C552 has two redeced power modes of operation.";//主串。
char SUB1[]="80C552"; //模式串1
char SUB2[]="80C51"; //模式串2
int len (char c[]) //求字符串长度
{
int i=0;
whil
www.eeworm.com/read/143612/12856672
c bfsrch.c
//直观的模式匹配算法(BF算法)。
char STR[80]="The 80C552 has two redeced power modes of operation.";//主串。
char SUB1[]="80C552"; //模式串1
char SUB2[]="80C51"; //模式串2
int len (char c[]) //求字符串长度
{
int i=0;
www.eeworm.com/read/326216/13155390
txt readme.txt
编译:mpicc intersect.c –o intersect
运行:可以使用命令 mpirun –np SIZE intersect来运行该串匹配程序,其中SIZE是所使用的处理器个数,本实例中使用了SIZE=3个处理器。
mpirun –np 3 intersect
运行结果:
输入:
please input first polygon
please input the coun
www.eeworm.com/read/326216/13155399
txt readme.txt
Example:
编译:mpicc c.c –o convexity -lm
运行:可以使用命令 mpirun –np SIZE convexity来运行该串匹配程序,其中SIZE是所使用的处理器个数。本实例中使用了SIZE=4个处理器。
mpirun –np 4 convexity
运行结果:
please input all the vertexes!
first is number!
p
www.eeworm.com/read/326204/13155913
txt readme.txt
Example:
编译:mpicc quick_sort.c –o quick
运行:可以使用命令 mpirun –np SIZE quick来运行该串匹配程序,其中SIZE是所使用的处理器个数。本实例中使用了SIZE=5个处理器。
mpirun –np 5 quick
运行结果:
Input the Data Size :60
16065 26466 27012
www.eeworm.com/read/318982/13464875
h atmega128.h
#ifndef _ATMEGA128_H_
#define _ATMEGA128_H_
#include
#include
/*Function Declared*/
/*利用atmega128的8位定时器Timer0的输出比较匹配单元产生定时中断,程序中设定为200Hz(5ms)*/
void init_timer0(
www.eeworm.com/read/304810/13786256
m findsf1.m
%查找子桢
function start_sf1=findsf1(navd)
[nsat,n]=size(navd);
marker=[1 -1 -1 -1 1 -1 1 1];
start_sf1=zeros(1,nsat);
for m=1: nsat,
c=xorr(maker,navd(m,1:360)); %查找和前导序列相匹配的数据位序列
indn=find(abs(
www.eeworm.com/read/238658/13870057
txt 最佳vim技巧.txt
最佳vim技巧(下)
# 列复制
# 译注:@#%&^#*^%#$!
:%s= [^ ]+$=&&= : 复制最后一列
:%s= f+$=&&= : 一样的功能
:%s= S+$=&& : ft,还是一样
# 反向引用,或称记忆
:s/(.*):(.*)/2 : 1/ : 颠倒用:分割的两个字段
:%s/^(.*)n1/1$/ : 删除重复行
# 非贪婪匹配,{-}