METHOD if_ex_badi_sd_sales~save_document.* CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'* EXPORTING* titel = '庆祝'* textline1 = '系统成功上线...
分类:
其他好文 时间:
2014-06-28 10:33:47
阅读次数:
204
关于收起虚拟键盘,网上能找到的大多是这个:
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editText.getWindowToken(), 0) ;
不过这有个问题,比如我们在一个页面中...
分类:
移动开发 时间:
2014-06-22 21:59:42
阅读次数:
250
Ret 和 call 也是转移指令,但是他们跟jmp不同的是,这两个转移指令都跟栈有关系。
ret
用栈中的数据修改IP的地址,从而实现近转移
( ip ) = ( (ss)*16+ sp )
( sp ) =( sp ) + 2
相当于pop ip
retf
用栈中的数据来修改CS以及IP的值,实现段间转移
( ip ) = ( (ss)*16+ sp )
( sp ) =...
分类:
其他好文 时间:
2014-06-22 20:14:23
阅读次数:
151
今天是2014-06-18,在复制数据的时候出现如下错误:
RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile cannot use SPFILE clause
操作过程如下:
[oracle@dg1 dbs]$ rman target sys/root@...
分类:
其他好文 时间:
2014-06-22 19:13:14
阅读次数:
306
模板方法模式(template method pattern) 详解本文地址: http://blog.csdn.net/caroline_wendy模板方法模式(template method pattern): 在一个方法中定义一个算法的骨架, 而将一些步骤延迟到子类中. 模板方法使得子类可以在不改变算法结构的情况下, 重新定义算法中的某些步骤.模板方法可以进行挂钩(hook), 钩子(hoo...
分类:
其他好文 时间:
2014-06-22 18:49:01
阅读次数:
227
本文的分析基于llvm的libc++,而不是gun的libstdc++,因为libstdc++的代码里太多宏了,看起来蛋疼。
在多线程编程中,有一个常见的情景是某个任务只需要执行一次。在C++11中提供了很方便的辅助类once_flag,call_once。
声明
首先来看一下once_flag和call_once的声明:
struct once_flag
{
constexpr...
分类:
编程语言 时间:
2014-06-22 09:40:27
阅读次数:
355
欢迎关注我的新博客地址:http://cuipengfei.me/
在Scala中,名字叫做update的方法是有特殊作用的。
比如:
1
2
3
val scores = new scala.collection.mutable.HashMap[String, Int]
scores("Bob") = 100
val bobsScore =...
分类:
其他好文 时间:
2014-06-22 07:37:52
阅读次数:
282
Inflate() method can find out a layout defined by xml,as like the findViewById() method,but there have some different between them.
The different are:
If your Activity used other layout,such as...
分类:
移动开发 时间:
2014-06-22 06:41:43
阅读次数:
362
qxWorkSheetXML.append("");
qxWorkSheetXML.append("");
qxWorkSheetXML.append(""+call_man+"");
qxWorkSheetXML.append(""+call_time+"");
qxWorkSheetXML.append(""+workSheetNo+"");...
分类:
编程语言 时间:
2014-06-21 23:35:20
阅读次数:
426
header("Content-type: image/png");
$im = @imagecreatetruecolor(282, 282) or die("Cannot Initialize new GD image stream");
imagecopy($im, imagecreatefrompng('C02D9CE4B4B6E3F6DF8D9DB734.png'), 1,1,0,0,2...
分类:
Web程序 时间:
2014-06-21 20:01:39
阅读次数:
854