摘要: from 鸟哥linux私房菜 第13章 shell script类似于以前的批处理文件bat 注释#,第一行通常是#!/bin/bash声明这个script使用的bash的名称 执行方式:./*.sh和sh *.sh是创建子进程bash,source *.sh是在父进程中直接执行sh。区别之一是* 阅读全文
posted @ 2018-05-14 19:38 通通的蓝图 阅读(833) 评论(0) 推荐(0) 编辑
摘要: from Linux鸟哥私房菜 第七章 目录与路径:cd, pwd, mkdir, rmdir 环境变量$PATH 文件与目录管理:ls, mv, cp, rm 文件内容查阅:cat, tac, nl, more, less, head, tail, od touch命令用来创建新文件或者改时间 文 阅读全文
posted @ 2018-05-10 19:44 通通的蓝图 阅读(109) 评论(0) 推荐(0) 编辑
摘要: from 鸟哥的私房菜 第六章 基本概念: 文件所有者,用户(账号),用户组,others,root Linux文件权限: ls -al查看 文件有自己的文件所有者,有自己的用户组(初始用户组是文件创建者所在的用户组) 对文件权限的操作:chgrp, chown, chmod 对文件来说,rwx是可 阅读全文
posted @ 2018-05-10 18:04 通通的蓝图 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 典型PC系统各种操作指令的大概时间 execute typical instruction 执行基本指令 1/1,000,000,000 sec = 1 nanosec fetch from L1 cache memory 从一级缓存中读取数据 0.5 nanosec branch mispredi 阅读全文
posted @ 2018-05-09 22:46 通通的蓝图 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d 阅读全文
posted @ 2018-05-03 16:20 通通的蓝图 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2018-05-03 16:03 通通的蓝图 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
posted @ 2018-05-03 15:23 通通的蓝图 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-02 16:53 通通的蓝图 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 以QAT sample code中cipher sample(进行3DES加解密)为例, 该文件夹下有两个文件,cpa_cipher_sample_user.c文件中包含主函数mian(),主要工作是进行内存初始化qaeMemInit()和启用多进程模式icp_sal_userStartMultiP 阅读全文
posted @ 2018-05-02 16:21 通通的蓝图 阅读(337) 评论(0) 推荐(0) 编辑
摘要: QAT中buffer的数据结构有两种:Flat Buffers和 Scatter Gather Lists。 1. Flat Buffers 2. Scatter Gather Lists 理解instances Accelerator rings QAT Accelerator有一系列rings来 阅读全文
posted @ 2018-05-02 15:55 通通的蓝图 阅读(486) 评论(0) 推荐(0) 编辑