码迷,mamicode.com
首页 >  
搜索关键字:stack this exception    ( 19884个结果)
myeclipse运行tomcat报错Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
将myeclipse所配置的tomcat的jdk进行设置:-Xms512m -Xmx512m -XX:MaxNewSize=512m -XX:MaxPermSize=512m,如下图:...
分类:编程语言   时间:2014-11-12 10:34:42    阅读次数:237
关于大数的乘法(2的128次方)
用JDK自带的方法: 1 import java.math.BigDecimal; 2 3 public class Test 4 { 5 public static void main(String[] args)throws Exception 6 { 7 BigDeci...
分类:其他好文   时间:2014-11-12 01:58:31    阅读次数:251
上传图片
********1,jsp页面2,后台struts的action中public boolean saveAttach(TBasePhotoAttach photo) throws Exception{ /*System.out.println(upload1FileName); //f...
分类:Web程序   时间:2014-11-11 20:59:07    阅读次数:233
堆和栈的差别(转过无数次的文章)
一、预备知识—程序的内存分配 一个由C/C++编译的程序占用的内存分为下面几个部分 1、栈区(stack)— 由编译器自己主动分配释放 ,存放函数的參数值,局部变量的值等。其 操作方式相似于数据结构中的栈。 2、堆区(heap) — 一般由程序猿分配释放, 若程序猿不释放,程序结束时可能由O...
分类:其他好文   时间:2014-11-11 14:09:22    阅读次数:179
LeetCode之Min Stack
1.原文问题描述:Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -...
分类:其他好文   时间:2014-11-11 14:08:11    阅读次数:168
Hadoop最大值的算法中出现的错误(strToDouble)
错误信息: Exception in thread "main" java.lang.NumberFormatException: For input string: "?6.50685140537736" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDou...
分类:编程语言   时间:2014-11-11 12:48:31    阅读次数:233
-force_load
Crash Log: Last Exception Backtrace: 0   CoreFoundation                 0x2f087f06 __exceptionPreprocess + 126 1   libobjc.A.dylib               0x3981ece2 objc_exception_throw + 34 2   CoreFound...
分类:其他好文   时间:2014-11-11 10:53:21    阅读次数:203
leetcode MinStack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
分类:其他好文   时间:2014-11-11 07:05:12    阅读次数:190
用堆栈实现数制转换(十进制转二进制)
/*************************************stack.h********************************/ #defineMAXSIZE32 #defineOVERFLOW-1 #defineERROR-2 #defineDATATYPEint typedefenum{FALSE,TRUE}BOOL; typedefstruct { DATATYPE*data; inttop; }STACK; voidinitStack(STACK*ps) { ps-&..
分类:其他好文   时间:2014-11-11 02:06:10    阅读次数:149
Min Stack (10)
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
分类:其他好文   时间:2014-11-10 23:13:29    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!