自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

原创 rsyslog property replacer之Regular expression

rsyslog config中我们可以使用property replacer.一般格式如下。%propname:fromChar:toChar:options%在property replacer我们一般直接使用分隔符分割msg,抽取各个FIELD。"%msg:F,44:3%"F:抽取FIELD44:分隔符的ASCII码 (例:逗号:44,双引号:34)3:使用的FIELD的NUMBER。如果上述无法满足要求我们可以使用正则表达式进行匹配和抽取想要的FIELD。"%msg:R:.*Sev:. \(.*\)

2022-12-08 10:33:11 298

原创 virtualbox ubuntu20.04 配置共享文件夹

virtualbox ubuntu20.04配置共享文件夹

2022-06-06 11:04:09 2085 2

原创 插入排序算法实现

#include <stdio.h>#include <stdlib.h>#include <windows.h>void insertSort(int *a,int n){    int i;    for(i=1;i<n;i++){        int j=i-1;        int tmp=a[i]; //取出待插入元素        whil...

2018-05-09 17:31:49 269

原创 堆排序算法实现

#include <stdio.h>#include <stdlib.h>#include <windows.h>void swap(int *arr,int a,int b){    int temp=arr[a];    arr[a]=arr[b];    arr[b]=temp;}//按大小调整父子节点位置void adjustDown(int *arr,...

2018-05-09 16:45:02 209

原创 归并排序算法实现

#include <stdio.h>#include <stdlib.h>//合并有序数组void mergeArray(int *a,int first,int mid,int last,int *temp){    int i=first;    int j=mid+1;    int m=mid;int n=last;    int k=0;    while(i&l...

2018-05-08 15:41:13 139

原创 快速排序算法实现

#include <stdio.h>#include <stdlib.h>//计算中间值int keyValuePositionFunction(int *a,int low,int high){    int keyValue=a[low];    int i=low;    int j=high;    int temp=0;    while(i<j){    ...

2018-05-07 17:23:56 205

UP-CUP6410-II实验指导书(LINUX)V2.0.pdf )

有关CUP6410的一些实验例子,可以参照一下

2012-03-23

UP-CUP6410文件系统源码

在CUP6410上移植linux的文件系统源码

2012-03-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除