码迷,mamicode.com
首页 >  
搜索关键字:inline    ( 7345个结果
LCA-倍增法(在线)O(nlogn)-O(logn)
1.DFS预处理出所有节点的深度和父节点inline void dfs(int u){ int i; for(i=head[u];i!=-1;i=next[i]) { if (!deep[to[i]]) { ...
分类:其他好文   时间:2014-06-24 20:23:57    阅读次数:251
meaning of "%U0%X0" in PowerPC in the GCC inline asm
There are idiosyncrasies in the GCC inline assembly syntax.in the line,__asm__ __volatile__("stw%U0%X0 %1,%0" : "=m"(v->counter) : "r"(i));the stw ass...
分类:其他好文   时间:2014-06-24 14:34:54    阅读次数:309
当inline-block和text-indent遇到IE6,IE7
在实际应用中,考虑到seo,很多button,icon都要用到inline-block和text-indent来处理,例如:Buttoncss我习惯写成这样.btn{display:inline-block; width:100px; height:23px; text-indent:-9999px...
分类:其他好文   时间:2014-06-22 12:56:49    阅读次数:204
git笔记:通过给grunt-inline打tag看tag操作
晚上review了下grunt-inline的issues,看到有个兄弟pull request,修正了0.3.0版本的一个bug。于是就merge了下,然后发布了0.3.1版本(这里)。npm publish后,突然想到一个问题,发布了这么多个版本了,但好像都没有打过tag,这个不利于版本回溯以及...
分类:其他好文   时间:2014-06-18 21:33:43    阅读次数:252
分页css样式 class引用
.page_nav{clear:both; padding:15px 0; color:#666; font:normal 12px/24px Arial; text-align:center;}.page_nav a{display:inline-block; height:22px; margi...
分类:Web程序   时间:2014-06-18 13:54:39    阅读次数:262
重载 模板 inline
重载:函数名相同,参数类型和个数不同模板:函数名相同,个数相同,参数类型不同#include using namespace std;template T Max(T a, T b){ if(a > b) return a; else return b;}void main(){ int a = 1...
分类:其他好文   时间:2014-06-16 08:05:04    阅读次数:231
display:inline-block的深入理解
在使用 CSS 实现表现的时候,会经常接触到 display:inline-block 这一属性,无论是初接触 Web 标准还是接触标准已久的朋友,大都会对这一属性感觉很迷惑和模糊。display:inline-block将对象呈递为内联对象,但是对象的内容作为块对象呈递。旁边的内联对象会被呈递在同...
分类:其他好文   时间:2014-06-14 12:59:38    阅读次数:233
CSS的display属性
网页设计中最常用的标签p、div、h1-h6(默认为块级元素),span(默认为内联元素)1、把元素显示为内联元素和把元素显示为块级元素 我是div块级元素 我是span内联元素2、设置元素不可见和设置元素为inline-block 我是div块级元素 我是span内联元素 ...
分类:Web程序   时间:2014-06-12 08:49:55    阅读次数:528
【leetcode】sort list
问题:对链表进行排序,要求时间复杂度为NlogN。归并排序。 inline ListNode* getMidle(ListNode *head){ if(NULL == head || NULL == head->next) return head; ListNode *pslow = head; ListNode *pfast = head; while (pfast->next...
分类:其他好文   时间:2014-06-10 17:35:56    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!