自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 问答 (1056)
  • 收藏
  • 关注

转载 linux内核多线程 同步,Linux POSIX多线程编程遇到的线程同步问题以及缓冲区问题...

我写了一个小程序【代码随后贴上】,作用是主线程从一个文件里不断的读取π的值【文件在博文附件里】,并写入大小为10的数组,子线程从这个数组里取得字符并且输出。因为刚开始学多线程,就把信号量和互斥量全用上了,结果很悲哀,死锁了。于是听取群里的朋友的意见,选用经典的 生产者/消费者问题 算法,只使用了三个信号量,终于搞定了。#include#include#include#include#includ...

2021-04-30 10:08:03 70

转载 Linux系统在labs目录下,Linux下搭建sqli-labs环境

Host OS: win10Guest OS:ubuntu-14.04.5-server-amd64使用到的工具:putty+WinSCP(上传文件)sqli-labs下载:https://github.com/Audi-1/sqli-labs使用LNMPweb集成开发环境,LNMP安装:https://lnmp.org/install.htmllnmp安装完成后会提示MySQL密码,默认是安装时...

2021-04-30 05:59:59 184

转载 linux怎么编写停止进程脚本,通用的停止进程bash脚本

#!/bin/sh# http://code.google.com/p/mooon# 通用的停止指定名的进程# 特色:# 1. 只会停止当前用户名下的进程# 2. 可以指定命令行参数,可执行精准停止# 检查参数# 参数1:需要停止的进程名或它的完整命令行或部分命令行if test $# -ne 1; thenprintf "\033[1;33musage: $0 process_cmdline\0...

2021-04-30 01:47:11 123

转载 linux文件偏移量使用,[Linux文件]使用lseek函数的偏移量来分次写入数据的实例

//这是一个使用lseek在一个文件中连续写入字符串的应用#include#include#includeintmain(intargc,char*argv[]){inttemp,seektemp,i,j;intfd;//文件描述符charwritebuf[17]="thisisatest!\n";...

2021-04-29 17:03:03 115

转载 linux系统下qt5安装qwt,linux Qt进行qwt的安装与使用

qwt的安装与使用安装好qt开发环境后,先去其主页下载qwt库源代码。以我下载的qwt-6.0.1.zip为例,解压得到qwt-6.0.1。1.安装qwt-6.0.1执行下面的命令:1 cd qwt-6.0.12 qmake3 make4 make install这样就完成qwt-6.0.1的安装了,安装的路径是/usr/local/qwt-6.0.1。2.添加qwt库路径到链接器的路径当中使用了...

2021-04-28 23:07:18 377

转载 c语言执行php命令行,C语言怎么调用系统命令行

初学c语言的朋友在学习了一些简单的语法操作后,会不会想试试如何运用c编程语言来操作电脑呢?其实c语言对dos命令的一般调用是很简单的。下面就让学习啦小编教大家C语言怎么调用系统命令行吧。C语言调用系统命令行的方法首先我们进入编程软件,输入c语言基本框架,如下:#include int main(int argc, char *argv[]){return 0;}现在我们就来使用system("")...

2021-04-13 19:53:15 125

转载 oracle报错00838,ORA-00838错误的处理方案

测试安装Oracle11g时,调了下sga_target的值,然后shutdown immediate关闭数据库(直接shutdown,那得要很长时间),出现权限不足提示,所以要用以下命令进入命令行:sqlplus /nolog;connect /as sysdba;或sqlplus “/as sysdba"这样才不会权限不足。但是在调整完sga_target并关闭数据库后startup重启,就出...

2021-04-13 17:49:52 1913

转载 oracle数据库编程实验2答案,Oracle数据库编程实验教学大纲

课程编号:08061600Oracle数据库编程实验Experiment of Oracle Programming总学时:24总学分:1.5 课程性质:限选课开设学期及周学时分配:第5学期;2学时/周适用专业及层次:计算机科学与技术专业本科相关课程:Oracle数据库编程教材:从实践中学习Oracle/SQL,何明,清华大学出版社,2004推荐参考书:一、课程目的及要求本实验课程的学习目的是加深...

2021-04-12 21:45:36 146

转载 oracle rac 11g ora-17503,ORA-12547 ORA-17503(RAC)解决

1.报错内容:下午看到一个文件夹似乎权限有问题然后就执行chown -R .....结果: Enter user-name:ERROR:ORA-12547: TNS:lost contact[oracle@racnode1 ~]$ sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 21 17:03:25 2...

2021-04-07 01:43:17 249

转载 oracle去重复合计,oracle 统计总结

1.报表合计专用的Rollup函数销售报表广州 1月 2000元广州 2月 2500元广州 4500元深圳 1月 1000元深圳 2月 2000元深圳 3000元所有地区7500元以往的查询SQL:Select area,month,sum(m...

2021-04-02 23:14:06 896

转载 php新增时候提示undefined,php提示undefinedindex的解决方法

平时用$_post[''],$_get['']获取表单中参数时会出现Notice: Undefined index: --------;我们经常接收表单POST过来的数据时报Undefined index错误,如下:$act=$_POST['action'];用以上代码总是提示Notice: Undefined index: act in D:\test\post.php on line 20另外...

2021-04-01 19:02:35 163

转载 ctd数据 matlab,CTD数据库了解一下,分析你还少了这张图(基因-药物-疾病)

好的,懂了,大家都赶时间,直接上图。用于治疗翼状胬肉病的相关药物与差异基因互作图,源自Biomed Research International(IF=2.476)杂志的文章。这是一篇典型的纯生信类文章,包含了热图、火山图、韦恩图、GO分析以及PPI网络互作图等。文章具体内容,非今日要事,恕大雄不再赘述,如有复议,请移步至SCI海盗网(http://sci-hub.tw),可自行download一...

2021-04-01 06:46:23 4009

空空如也

Update TaskTree design

2020-12-27

pipelineName segment of URL on PipelineRun view is ignored

2020-12-25

class Memory: add reset_less parameter that will not initialize memories with 0 value in generated RTL.

2020-12-03

vendor.altera: use buffer primitives

2020-12-03

Vivado CDC constraints

2020-12-03

[WIP] Add nmigen.build

2020-12-03

First-class enumerated signals

2020-12-03

Assert passes when it should fail

2020-12-03

bitarray dependency is unfortunate

2020-12-02

Support silkscreen references (and other information) in platform definitions

2020-12-02

Expose primitive AND, OR, NAND, NOR, XOR, XNOR operations under descriptive names

2020-12-02

Const Record value?

2020-12-02

Add Value.match(...), an operator with the same semantics as Case(...)

2020-12-02

Xilinx specific MultiReg

2020-12-02

Prune Yosys-internal attributes in emitted Verilog

2020-12-02

Fragment.prepare should allow caller to handle nonexistent clock domains

2020-12-02

flow graph analysis and automation

2020-12-02

Fix CDC issue in async FIFO: ensure that Gray code pointers are registered before resynchronisation.

2020-12-02

Record: force name to be given by name for `__init__()`

2020-12-02

Finding out what resources an nMigen module uses in the output design

2020-12-02

Consider being able to access FSM next

2020-12-02

How to simulate with two clock domains?

2020-12-02

nextpnr crash: "terminate called after throwing an instance of 'std::out_of_range'"

2020-12-02

Decide on the specific simulation and synthesis behavior for out-of-bounds Array access

2020-12-02

Consider adding a --platform (or -p) option to generate

2020-12-02

Allow multiple `with m.State("..."):` statements for the same state

2020-12-02

pypy3 support tracking issue

2020-12-02

Consider arrays in Records

2020-12-02

Formatting settings?

2020-12-02

Signal(n, reset=x) silently drops any bits in x past the n-th bit

2020-12-02

Reconsider Signal.range() and Signal.enum()

2020-12-02

Add a library of connector layouts, too

2020-12-02

Using Yosys with Xilinx Series 7 devices (and non-standard tool flows)

2020-12-02

Please consider an optional reset on MultiReg

2020-12-02

nextpnr does not propagate clock constraints across input buffer

2020-12-02

vendor.xilinx_7series: read extra .xdc files.

2020-12-02

vendor.intel: silence meaningless warnings

2020-12-02

platform output bus bits in separate modules causes AssertionError

2020-12-02

Signal's `max` parameter isn't a max

2020-12-02

Constant sign-extends incorrectly.

2020-12-01

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

TA关注的人

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