码迷,mamicode.com
首页 >  
搜索关键字:some other host already uses address    ( 36936个结果
RabbitMq使用中的一些问题
记录一下RabbitMq使用过程的问题及方案:1.按照官方文档在机器上搭建了RabbitMq的环境与Server,如仍不能访问,有可能是公司将对应的端口封掉了。2.如果RabbitMq的server部署在虚拟机上,链接不上的话,请检查host server的权限以及相应的端口。3.关于rabbitM...
分类:其他好文   时间:2014-05-09 04:41:20    阅读次数:2224
CONTAINING_RECORD 宏
CONTAINING_RECORD 这样的一个宏,我看了它的定义,如下:#define CONTAINING_RECORD(address, type, field) ((type *)( (PCHAR)(address) - (ULONG_PTR)(&((type*)0)->field)))cla...
分类:其他好文   时间:2014-05-09 04:21:01    阅读次数:330
(转)poj2109-Power of Cryptography
Power of CryptographyDescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among t...
分类:其他好文   时间:2014-05-09 03:43:36    阅读次数:260
【转】Tomcat组件生命周期管理
Tomcat组件生命周期管理Tomcat中Server,Service,Connector,Engine,Host,Context,它们都实现了org.apache.catalina.Lifecycle接口,而org.apache.catalina.util.LifecycleBase采用了模板方法...
分类:其他好文   时间:2014-05-09 03:08:33    阅读次数:327
Intellij idea subversion checkout error
Subversion 1.8 and IntelliJ IDEA 13Unlike its earlier versions, Subversion 1.8 support uses the native command line client instead of SVNKit to run co...
分类:其他好文   时间:2014-05-09 03:07:38    阅读次数:257
NonUniqueObjectException 问题
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.fzegplat.hiber...
分类:其他好文   时间:2014-05-08 23:32:26    阅读次数:503
What is tail-recursion
Consider a simple function that adds the first N integers. (e.g.sum(5) = 1 + 2 + 3 + 4 + 5 = 15).Here is a simple Python implementation that uses recu...
分类:其他好文   时间:2014-05-08 17:35:09    阅读次数:286
依赖反转(Dependency inversion principle)和控制反转(Inversion of Control)
有两个对象A和B,A some B  是A依赖于B,当B some A的时候是B依赖于A这就叫依赖反转; 这种依赖关系如果让程序员自己控制(new 对象),就会出现高耦合,控制反转(依赖注入)就是让这种依赖关系由第三方管理(eg:spring)而不是程序员自己管理。...
分类:其他好文   时间:2014-05-08 16:05:17    阅读次数:288
Task的执行过程分析
Task的执行过程分析 Task的执行通过Worker启动时生成的Executor实例进行, caseRegisteredExecutor(sparkProperties)=> logInfo("Successfullyregistered with driver") //Make this host instead of hostPort ? executor= newExecuto...
分类:其他好文   时间:2014-05-08 16:01:31    阅读次数:667
亲身体验MySQL的索引对搜索性能的提升
1,创建一个user表,包含两列name,phone 2,用python(你喜欢的任何语言)插入100W条记录(lz的笔记本比较老,大概用了1分钟吧): #!/usr/bin/env python # -*- coding:utf-8 -*- import MySQLdb conn = MySQLdb.connect(host='localhost',user='root',db='mi...
分类:数据库   时间:2014-05-08 15:52:43    阅读次数:393
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!