会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vincent_duan
this is Duandingyang
首页
新随笔
管理
上一页
1
···
5
6
7
8
9
10
11
12
下一页
2015年11月14日
sql面试题(学生表_课程表_成绩表_教师表)
摘要: 原帖链接:http://bbs.csdn.net/topics/280002741表架构Student(S#,Sname,Sage,Ssex) 学生表Course(C#,Cname,T#) 课程表SC(S#,C#,score) 成绩表Teacher(T#,Tname) 教师表建表语句CREATE T...
阅读全文
posted @ 2015-11-14 12:35 vincent_duan
阅读(381)
评论(0)
推荐(0)
2015年11月3日
传值与传址
摘要: 输出为123 因为test(a)传递过去a的地址值给了str,然后str重新在字符常量池中创建一个"456",然后指向456,当方法结束后str就被销毁,a还是指向字符常量池中的"123"
阅读全文
posted @ 2015-11-03 11:41 vincent_duan
阅读(133)
评论(0)
推荐(0)
new String()理解
摘要: public static void main(String[] args){String a=new String("ddy"); String b=new String("ddy"); System.out.println("a:"+a.hashCode()); System.out.pr...
阅读全文
posted @ 2015-11-03 11:20 vincent_duan
阅读(552)
评论(0)
推荐(0)
hashcode的理解
摘要: ============================================================如何理解hashCode的作用:============================================================以java.lang.Obj...
阅读全文
posted @ 2015-11-03 11:00 vincent_duan
阅读(335)
评论(1)
推荐(1)
2015年11月1日
CentOs安装ssh服务
摘要: yum install openssh-server检查SSH服务是否为开机启动chkconfig --list sshd设置开机启动SSH服务chkconfig --level 2345 sshd on重新启动下SSH服务service sshd restart
阅读全文
posted @ 2015-11-01 20:18 vincent_duan
阅读(202)
评论(0)
推荐(0)
2015年10月28日
openstack swift memcached
摘要: 如果生成的token总变,说明没有启动memcached:swift@vincent-virtual-machine /usr/bin $ memcached -p 11211 -m 64m -dswift@vincent-virtual-machine /usr/bin $ netstat -lt...
阅读全文
posted @ 2015-10-28 16:36 vincent_duan
阅读(243)
评论(0)
推荐(0)
openstack swift middleware开发
摘要: 首先MiddleWare核心代码,这段代码卸载swift的源代码目录下,~/swift/swift/common/middleware下新建deletionpreventing.py:import osfrom swift.common.swob import Request, Responsecl...
阅读全文
posted @ 2015-10-28 15:24 vincent_duan
阅读(606)
评论(0)
推荐(0)
2015年10月24日
java实现二叉树
摘要: package ds.tree;/** * 使用二叉链表实现二叉树。 */public class BinaryTree { /** * 结点类。 */ class Node { int value; // 该节点存储的值。 Node left...
阅读全文
posted @ 2015-10-24 14:51 vincent_duan
阅读(154)
评论(0)
推荐(0)
2015年10月23日
Exception: Could not bind to 0.0.0.0:8080 after trying for 30 seconds
摘要: swift@vincent-virtual-machine /etc/swift $ sudo swift-init main restartSignal proxy-server pid: 5688 signal: 15No proxy-server runningSignal contain...
阅读全文
posted @ 2015-10-23 17:14 vincent_duan
阅读(1326)
评论(0)
推荐(0)
2015年10月4日
JVM内存区域划分Eden Space、Survivor Space、Tenured Gen,Perm Gen解释
摘要: jvm区域总体分两类,heap区和非heap区。heap区又分:Eden Space(伊甸园)、Survivor Space(幸存者区)、Tenured Gen(老年代-养老区)。 非heap区又分:Code Cache(代码缓存区)、Perm Gen(永久代)、Jvm Stack(java虚拟机栈...
阅读全文
posted @ 2015-10-04 17:07 vincent_duan
阅读(682)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
下一页