jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; ...
分类:
Web程序 时间:
2015-06-23 23:12:18
阅读次数:
243
树链剖分第一题QAQ,纪念下
#pragma comment(linker, "/STACK:102400000,102400000")
#include
#include
#include
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
const int maxn = 1e5 + 10;
#d...
分类:
其他好文 时间:
2015-06-23 23:11:32
阅读次数:
118
self.view.frame.size.height = 100f;这样写没法通过编译,编译器会报错"expression is not assignable"原因是,这句话里面的几个点有两种不同的含义。self.view.frame是Objective-C语法,是读取view属性的frame属性...
分类:
其他好文 时间:
2015-06-23 23:04:17
阅读次数:
85
代码结构 函数名 参照了cocos2dx风格 pool.h
#include?<iostream>
#include"stack"
#include?"vector"
using?namespace?std;
class?MangerPool;
class?autoreleasePool;
class?Ref
{
private:
unsig...
分类:
其他好文 时间:
2015-06-23 21:50:26
阅读次数:
125
类执行机制JVM基于栈体系结构来执行class字节码,线程被创建后,产生程序计数器(PC)和栈(Stack)PC存放下一条执行的指令在方法内的偏移量,Stack存放一个栈帧,每个栈帧对应每个方法的每次调用,栈帧中存放局部变量和操作数栈 栈的结构如下图: JVM内存结构Java虚拟机规范规定的ja.....
分类:
其他好文 时间:
2015-06-23 21:32:09
阅读次数:
240
UIImage *image = [UIImage imageNamed:@"icon"]; UIImageView *bgView = [[UIImageView alloc] initWithImage:image]; bgView.frame = CGRectMake(100,...
分类:
移动开发 时间:
2015-06-23 19:39:30
阅读次数:
137
一、首先列一下公认的资料:先看到下面的代码你肯定就明白了一些:123456-(CGRect)frame{returnCGRectMake(self.frame.origin.x,self.frame.origin.y,self.frame.size.width,self.frame.size.hei...
分类:
移动开发 时间:
2015-06-23 15:22:10
阅读次数:
123
Git - How to use netrc file on windows - Stack Overflow这就是正确答案,我们已经验证过了,以下具体描写叙述一下解决方法:1. 在Windows中加入一个HOME环境变量,值为%USERPROFILE%,例如以下图:2. 在“開始》执行”中打开%H...
1.Collection集合框架Java.util.Collection接口|--List子接口|--ArrayList实现类|--LinkedList实现类|--Vector实现类|--Stack(栈,继承Vector,先进后出)|--Set子接口|--HashSet实现类|--TreeSet实现类|--Queue接口(普通队列,先进先出)|--Deque子接口(双端队列)|--ArrayDeque..
分类:
编程语言 时间:
2015-06-23 13:46:30
阅读次数:
370
判断所给的图是不是生成树,如果有重边就不是,如果没重边但连通分量大于1也不是find函数 用之前那个递归的写的话 会无限栈溢出 Orz栈溢出的话 就加上这一串#pragmacomment(linker,"/STACK:1024000000,1024000000")Sample Input6 8 5....
分类:
其他好文 时间:
2015-06-23 13:27:31
阅读次数:
151