栈:是一种后进先出(LIFO)的结构,对其插入删除只能在栈顶进行;链表实现节点:#include#includetypedef struct Node *PtrToNode;typedef PtrToNode Stack;struct Node{ int Element; struct No...
分类:
其他好文 时间:
2014-07-07 23:48:05
阅读次数:
224
A-synchronized和AB-synchronized传输在1个frame传输完成后地址计算有所不同。 A-synchronized: last array in the frame + SRCCIDX/DSTCIDX AB-synchronized: beginning array in t...
分类:
其他好文 时间:
2014-07-07 20:09:38
阅读次数:
230
/*
本文章由 莫灰灰 编写,转载请注明出处。
作者:莫灰灰 邮箱: minzhenfei@163.com
*/
1. KeyStore Service
在Android中,/system/bin/keystore进程提供了一个安全存储的服务。在过去的版本中,其他程序主要用过UNIX socket的守护进程/dev/socket/keystore去访问这个服务。然而...
分类:
移动开发 时间:
2014-06-27 23:25:30
阅读次数:
476
1 /* 2 涉及Panel中的图片的加载,还有Frame的关闭的方法, CardLayout(int hgap, int vgap)就会决定卡片面板的大小 3 匿名类的使用。。。 4 */ 5 import java.awt.*; 6 import java.awt.event.*; 7 imp....
分类:
其他好文 时间:
2014-06-27 22:39:30
阅读次数:
294
在之前的SharePoint站点iframe引用中,我们遇到过下面的问题,就是其它系统或者不通环境的SharePoint站点,引用SharePoint页面会报错“此内容不能显示在一个框架中”,之前我们采取了解决方案的办法。
今天,无意中翻看msdn,发现了更加简便的方法,分享给大家。
原理介绍
在大部分情况下,如果网页在响应中发送 X-Frame-Options HTTP 头,则...
分类:
其他好文 时间:
2014-06-27 10:03:44
阅读次数:
647
<html><framesetrows="50%,50%"><framenoresize="noresize"src="a.html"><framenoresize="noresize"src="b.html"></frameset></frameset></html>
分类:
其他好文 时间:
2014-06-27 06:27:31
阅读次数:
238
packagecom.example.examples_05_17;importandroid.R.drawable;importandroid.R.integer;importandroid.content.Context;importandroid.graphics.Canvas;importa...
分类:
其他好文 时间:
2014-06-26 17:57:31
阅读次数:
172
1 区堆和栈1.1 内存分配 一个由C/C++编译的程序占用的内存分为以下几个部分 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。 2、堆区(heap)— 由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收。...
分类:
其他好文 时间:
2014-06-26 17:16:08
阅读次数:
216
frame:表示控件的位置和尺寸(以父控件的左上角为坐标原点(0,0))可以调整控件的大小和位置1 CGRect frame = _btn.frame;2 frame.origin.y -= 50;3 _btn.frame = frame;center:表示控件的中点(以父控件的左上角为坐标原点)可...
分类:
其他好文 时间:
2014-06-26 15:04:54
阅读次数:
189
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``local.conf`` is a user-maintained set...
分类:
其他好文 时间:
2014-06-26 11:41:09
阅读次数:
272