码迷,mamicode.com
首页 >  
搜索关键字:transport    ( 1308个结果
MyEclipse +Tomcat 异常操作
安装完MyEclipse 2014,用JAX-WS的方式写了一个小段Web Service,用MyEclipse 自带的 Tomcat 部署没有问题,用我自己的,却出现下面的错误:java.lang.ClassNotFoundException: com.sun.xml.ws.transport.h...
分类:系统相关   时间:2014-09-11 23:41:12    阅读次数:339
hdu1385 Minimum Transport Cost 字典序最小的最短路径 Floyd
求最短路的算法最有名的是Dijkstra。所以一般拿到题目第一反应就是使用Dijkstra算法。但是此题要求的好几对起点和终点的最短路径。所以用Floyd是最好的选择。因为其他三种最短路的算法都是单源的。 输出字典序最小的路径则需要修改模版。#include#include#include#i...
分类:其他好文   时间:2014-09-06 21:14:03    阅读次数:331
Grizzly NIO框架 理论篇 【3】
Transport Configuration (Transport 的 配置)我们先从一个简单的创建开始:final TCPNIOTransportBuilder builder = TCPNIOTransportBuilder.newInstance();final TCPNIOTranspor...
分类:其他好文   时间:2014-08-30 13:50:29    阅读次数:174
libeXosip2(2-2) -- eXosip2 network API
eXosip2 network API General purpose API. Functions int eXosip_transport_set (osip_message_t *msg, const char *transport) int eXosip_guess_localip (str...
分类:Windows程序   时间:2014-08-29 19:48:38    阅读次数:257
工作中遇到的异常处理
1)Exception :shutdown failed: ENOTCONN (Transport endpoint is not connected) 问题描述: socket shutdonwOutput时出现异常,这个问题可能是多次关闭同一个socket所导致。我这里出现这个问题的原因是server端和client端都执行断开链接的操作: 一端(qt实现)执行: socket->d...
分类:其他好文   时间:2014-08-28 11:26:49    阅读次数:152
zoj 1456 Minimum Transport Cost (Floyd+路径记录)
Minimum Transport Cost Time Limit: 2 Seconds      Memory Limit: 65536 KB These are N cities in Spring country. Between each pair of cities there may be one transportation track or none. Now ther...
分类:其他好文   时间:2014-08-27 13:07:27    阅读次数:235
fatal: /etc/postfix/master.cf: line 109: bad transport type: user=vuser
postfix无法启动,查看日志,发现日志提示master.cf文件109行有问题,打开文件一看109行是注释啊,怎么回事?日志如下:tail-f/var/log/maillog Aug1815:56:11localhostpostfix/postfix-script[11639]:startingthePostfixmailsystem Aug1815:56:11localhostpostfix/master[1164..
分类:其他好文   时间:2014-08-26 03:02:16    阅读次数:169
zoj 1655 Transport Goods (最短路变形)
Transport Goods Time Limit: 2 Seconds      Memory Limit: 65536 KB The HERO country is attacked by other country. The intruder is attacking the capital so other cities must send supports to the...
分类:其他好文   时间:2014-08-21 21:13:34    阅读次数:249
hdu2962 Trucking (最短路+二分查找)
Problem DescriptionA certain local trucking company would like to transport some goods on a cargo truck from one place to another. It is desirable to ...
分类:其他好文   时间:2014-08-21 17:03:24    阅读次数:246
hdu1385Minimum Transport Cost(最短路变种)
题目链接: huangjing 思路: 输出路径的最短路变种问题。。这个题目在于多组询问,那么个人觉得用floyd更加稳妥一点。还有就是在每个城市都有过路费,所以在floyd的时候更改一下松弛条件即可。。那么输出路径怎么办呢??我采用的是输出起点的后继而不是终点的前驱。。因为我们关心的是路径字典序最小,关心的是起点的后继。。。那么打印路径的时候就直接从前向后打印,这个和dijkstra的...
分类:其他好文   时间:2014-08-21 09:50:13    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!