"You can specify that an imported variable be mutable—that is, read-write— by applying the__blockstorage type modifier."文档已经清楚说明了它的作用。反汇编就是要看个究竟。__blo...
分类:
其他好文 时间:
2016-01-13 07:06:00
阅读次数:
246
3片74HC165进行级联,用于扩展IO口,读取外界设备的数据。unsigned int read_74165(void){ unsigned int val = 0; unsigned int count = 24; //三片74hc165,需要读24次 unsig...
分类:
其他好文 时间:
2016-01-13 00:27:17
阅读次数:
476
在代码中经常会看到这样的属性声明@property (nonatomic,assign,getter = isRead)BOOL read;这行代码的意思就是,声明一个BOOL类型的read,但是BOOL的getter被改为了isRead那么这个属性声明就等于-(void)setread:(BOOL...
分类:
其他好文 时间:
2016-01-12 22:51:47
阅读次数:
218
Non-resolvable parent POM[INFO] Scanning for projects...[ERROR] The build could not read 1 project -> [Help 1][ERROR] [ERROR] The project com.ifly...
分类:
其他好文 时间:
2016-01-12 10:02:16
阅读次数:
190
//读取文件内容(1).使用FileStream类进行文件的读取,并将它转换成char数组,然后输出。byte[] byData = new byte[100]; char[] charData = new char[1000]; public void Read() ...
操作设备文件系统上的文件结果遇到"... Read-only file system"。解决办法:1. 最简单的,adb remount2. 不行的话,adb shell su之后将文件系统remount为读写权限:mount -o remount rw /system。出于安全考虑,记得完事后re...
分类:
移动开发 时间:
2016-01-11 18:07:03
阅读次数:
155
此文包含脚本服务请求,字符串截取,文件读写内容。#!/bin/bashretMsg="";while read LINEdo echo "this is text: $LINE"; retMsg=`/usr/bin/curl -o test3.log -w %{http_code}"\\n" $LI...
分类:
系统相关 时间:
2016-01-11 15:13:08
阅读次数:
199
The version withconst char *will copy data from a read-only location to a variable on the stack.The version withstatic const char *references the data...
分类:
其他好文 时间:
2016-01-11 13:48:12
阅读次数:
185
1、错误描述org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.you.dom.utils.Reader.main...
分类:
其他好文 时间:
2016-01-11 06:51:35
阅读次数:
1224
字节数组流ByteArrayInputStream:包含一个内部缓冲区,该缓冲区包含从流中读取的字节。内部计数器跟踪read方法要提供的下一个字节。关闭ByteArrayInputStream无效。此类中的方法在关闭此流后仍可被调用,而不会产生任何IOException.ByteArrayOutpu...
分类:
编程语言 时间:
2016-01-10 18:38:38
阅读次数:
180