最近有测试问我Jumbo和MTU分别限制的是什么把我问住了,网上查了一些资料,发现大部分是百科上copy下来的,都没有说到点子上,关键时刻还是同事靠谱,现在根据自己的理解整理一下。 首先了解一下二者的基本概念。 MTU 最大传输单元(Maximum Transmission Unit,MTU)是指一 ...
分类:
其他好文 时间:
2018-10-22 22:23:56
阅读次数:
1254
1、概述 log4net是.Net下一个非常优秀的开源日志记录组件。log4net记录日志的功能非常强大。它可以将日志分不同的等级,以不同的格式,输出到不同的媒介。本文主要是介绍如何在Visual Studio2008中使用log4net快速创建系统日志,如何扩展以输出自定义字段。 2、一个简单的使 ...
分类:
Web程序 时间:
2018-10-22 16:47:46
阅读次数:
186
We are to write the letters of a given string S, from left to right into lines. Each line has maximum width 100 units, and if writing a letter would c ...
分类:
其他好文 时间:
2018-10-22 14:53:15
阅读次数:
137
Photo by Phil Whitehouse Photo by Phil Whitehouse Your boss has hired you to drive a big truck, transporting items between two locations in a city. Yo ...
分类:
其他好文 时间:
2018-10-21 14:21:44
阅读次数:
179
1、添加命令 1.u-boot的命令格式: U_BOOT_CMD(name,maxargs,repeatable,command,”usage”,"help") name:命令的名字,不是一个字符串; maxargs:最大的参数个数; repeatable:命令是可重复的; command:对应的函 ...
分类:
其他好文 时间:
2018-10-21 10:53:30
阅读次数:
204
class Solution { public: int maxProduct(vector& nums) { if(nums.empty()) return 0; if(nums.size() == 1) return nums[0]; int maxAll = n... ...
分类:
其他好文 时间:
2018-10-18 19:48:25
阅读次数:
165
Description Given a $n \times m$ chessboard, every time put two chessman with Manhattan distance 3 between them. Calculate the maximum number of chess ...
分类:
其他好文 时间:
2018-10-18 11:03:05
阅读次数:
363
题意 给定一个包含$n$个数的序列$a$,在其中任选若干个数,使得他们的和对$m$取模后最大。($n\leq 35$) 题解 显然,$2^n$的暴枚是不现实的...,于是我们想到了折半枚举,分成两部分暴枚,然后考虑合并,合并的时候用two pointers思想扫一遍就行了。 其实这是一道折半枚举+T ...
分类:
其他好文 时间:
2018-10-16 21:59:40
阅读次数:
237
MAP:最大后验概率(Maximum a posteriori) 估计方法根据经验数据获得对难以观察的量的点估计。它与最大似然估计中的 Fisher方法有密切关系, 但是它使用了一个增大的优化目标,这种方法将被估计量的先验分布融合到其中。所以最大后验估计可以看作是规则化(regularization ...
分类:
其他好文 时间:
2018-10-16 19:24:39
阅读次数:
125
WebService出错 Maximum message size quota for incoming messages (65536) has been exceeded.已超过传入消息(65536)的最大消息大小配额 WebService应用中如果收到的信息非常大时出错。 1:Maximum ...
分类:
Web程序 时间:
2018-10-16 17:42:37
阅读次数:
250