E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
collector
MMTk代码学习(整体结构)
基于内存结构的策略:分配、回收(Alloc,Collect)内存跟踪(Trace,Log)对应到MMTk的具体模块系统结构Plan CollectorContext,MutatorContext上下文环境所有
collector
qianjigui
·
2012-11-05 17:00
GC
MMTk
MMTk代码学习(整体结构)
基于内存结构的策略:分配、回收(Alloc,Collect)内存跟踪(Trace,Log)对应到MMTk的具体模块系统结构Plan CollectorContext,MutatorContext上下文环境所有
collector
qianjigui
·
2012-11-05 17:00
GC
MMTk
hdu - 4336 - Card
Collector
- 容斥 || 概率dp
http://acm.hdu.edu.cn/showproblem.php?pid=4336题意:给出n种不同卡片在买的小吃力里面出现的可能,求凑齐n种卡片要买的小吃的平均数量。思路:根据官方解题报告做的:设卡片的分布p=(p1,p2,...,pn),T(p)表示拿到所有卡片时买的零食数目,有由容斥原理得,#include #include usingnamespacestd; constint
Julyana_Lin
·
2012-10-30 14:00
fluentd +mongodb 日志收集系统的部署
td-agent是fluentd的易安装版本,不用考虑太多的依赖关系系统原理图app+td-agent------->
collector
------------>mongodb以下是一个一台appip是
xiaoou1217
·
2012-10-09 11:15
fluentd
+mongodb
日志
linux
fluentd +mongodb 日志收集系统的部署
td-agent 是fluentd的易安装版本,不用考虑太多的依赖关系系统原理图app+td-agent ------->
collector
------------> mongodb 以下是一个一台appip
xiaoou1217
·
2012-10-09 11:15
日志
Fluentd
+mongodb
IntelliTrace
Collector
for Visual Studio 2012
可以在production环境下手机IIS下的应用的intellitrace,用来debug。暂时没有需求,不过还是记在这里备用吧。Download:IntelliTraceCollectorforVisualStudio2012-MicrosoftDownloadCenter-DownloadDetails
·
2012-10-08 13:00
Collector
hdu 2602 Bone
Collector
BoneCollectorTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):14724 AcceptedSubmission(s):5861ProblemDescriptionManyyearsago,inTeddy’shometowntherewasam
Magic____
·
2012-10-07 21:00
Hdu 2602 - Bone
Collector
简单的0-1背包问题 动规方程是: f[j]=max(f[j],f[j-v[i]]+w[i]) AC代码如下:#include #include intn,v,w[1050],c[1050]; intdp[10000]; intmax(inta,intb) { if(a>b) returna; else returnb; } voidpack(intcost,intweight) { intj
Chuck_0430
·
2012-09-22 18:00
hdu 2602Bone
Collector
(0/1背包)
DescriptionManyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanliketocollectvariesofbones,suchasdog’s,cow’s,alsohewenttothegrave…ThebonecollectorhadabigbagwithavolumeofV,andal
hellobabygogo3
·
2012-09-20 19:00
c
Integer
less
input
each
output
Bone
Collector
Manyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanliketocollectvariesofbones,suchasdog’s,cow’s,alsohewenttothegrave…ThebonecollectorhadabigbagwithavolumeofV,andalonghistripo
hellobabygogo3
·
2012-09-19 11:00
Hdu 2639 Bone
Collector
II
BoneCollectorIITimeLimit:5000/2000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):921 AcceptedSubmission(s):440题目链接ProblemDescriptionThetitleofthisproblemisfamiliar,isn't
Magic____
·
2012-09-15 10:00
hdu 2602 Bone
Collector
http://acm.hdu.edu.cn/showproblem.php?pid=260201背包问题,f[j]表示背包体积为j时候的最大重量状态转移方程:f[j]=max(f[j],f[j-v[i]]+w[i])#include #include usingnamespacestd; intmain() { intT; //freopen("G:/in.txt","r",stdin); cin
xujinsmile
·
2012-09-12 17:00
CMS,全称Concurrent Low Pause
Collector
gc
CMS,全称ConcurrentLowPauseCollectorgc 首先感谢阿宝同学的帮助,我才对这个gc算法的调整有了一定的认识,而不是停留在过去仅仅了解的阶段。在读过sun的文档和跟阿宝讨论之后,做个小小的总结,如果有谬误,敬请指正。 CMS,全称ConcurrentLowPauseCollector,是jdk1.4后期版本开始引入的新gc算法,在jdk5和jdk6中得到了进一步改
Rising Sun
·
2012-09-12 12:00
Bobo源码笔记5(结果的筛选和收集)
当BoboSubBrowser的browse()函数创建好filter和
collector
以后,那么就进入最后的阶段了,从索引中获取倒排表,进行过滤和收集,这一过程在类BoboSearcher2
eric_gcm
·
2012-09-05 11:00
源码
Bobo源码笔记4(
collector
的创建)
Bobo的收集器基类是SortCollector继承于lucene的
Collector
类,其中函数是获取收集器的外部接口: public static SortCollector buildSortCollector
eric_gcm
·
2012-09-03 16:00
Collector
hdu 2602 Bone
Collector
(01背包)
点击打开链接#include #include intmax(inta,intb) { returna>b?a:b; } intmain() { intt,i,j,n,V,price[1001],volume[1001],v[1001]; scanf("%d",&t); while(t--) { scanf("%d%d",&n,&V); for(i=1;i=volume[
yyf573462811
·
2012-09-02 09:00
[转]Creating a Data
Collector
Set with the PLA API
http://www.devx.com/dotnet/Article/35157/0/page/3CreatingadatacollectorsetprogrammaticallytakesonlyafewlinesofcodewhenyouhaveanappropriatelyconfiguredXMLtemplatealreadyavailable.Youcanusethetemplateyo
sgwzxg
·
2012-08-30 16:00
[AndEngine] Reusable MoveModifier
Hello forums, to prevent the java garbage
collector
kicking in, it is common sense to avoid object
dowhathowtodo
·
2012-08-27 14:00
AndEngine
hdu 4248 A Famous Stone
Collector
http://acm.hdu.edu.cn/showproblem.php?pid=4248组合数学dp: dp[i][j]表示用了前i个数组成长度为j 的个数#include #include #include usingnamespacestd; constintmod=1000000007; longlongdp[110][11000]; longlongc[11000][110]
struggle_mind
·
2012-08-24 14:00
NET-SNMP agent for Linux disk IO
collector
例子: http://spacepants.org/blog/net-snmp-linux-diskio-
collector
http://spac
protheschildren
·
2012-08-23 09:05
hdoj2602_Bone
Collector
#include#include#definemaxn1100intmax(inta,intb){returna>b?a:b;}intmain(){inti,j,Case;intbags,total;intweight[maxn],value[maxn],f[maxn];scanf("%d",&Case);while(Case--){scanf("%d%d",&bags,&total);memse
hpuwl
·
2012-08-22 21:03
01背包问题
Acm源代码分享
hdoj2602_Bone
Collector
#include#include#definemaxn1100intmax(inta,intb){ returna>b?a:b;}intmain(){ inti,j,Case; intbags,total; intweight[maxn],value[maxn],f[maxn]; scanf("%d",&Case); while(Case--) { scanf("%d%d",&bags,&tot
hpuwl
·
2012-08-22 21:03
01背包问题
什么是Data Store and Data
Collector
?
我们知道CITRIXXenApp(或者说是PresentationServer)服务器保存配置信息在数据库中,这个数据库就叫做IMADataStore。这个数据库对XenApp来说,只是保存了静态的配置信息,其中不保存任何XenApp环境中的运行状态信息,换句话说,DataStore只是保存在服务器关闭以后,需要静态存储的信息。一般包括通过管理控制台(Managementconsole)进行的各种
虚拟星空
·
2012-08-20 16:34
Xenapp
hdu 2602 Bone
Collector
【01背包】
最经典、最基础的01背包入门题目题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2602BoneCollectorTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):13839 AcceptedSubmissio
Cfreezhan
·
2012-08-14 14:00
Integer
less
ini
each
output
Bone
Collector
2602 01背包问题
ProblemDescriptionManyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanliketocollectvariesofbones,suchasdog’s,cow’s,alsohewenttothegrave…Thebonecollectorhadabigbagwithavolumeof
No_Retreats
·
2012-08-11 18:00
杭电OJ2602--------Bone
Collector
---------01背包
ProblemDescriptionManyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanliketocollectvariesofbones,suchasdog’s,cow’s,alsohewenttothegrave…Thebonecollectorhadabigbagwithavolumeof
zzukun
·
2012-08-10 15:00
优化
Integer
less
input
each
output
转:java 垃圾收集器的使用技巧
垃圾收集器(Garbage
Collector
,GC)是现代软件虚拟机技术的重要组成部分,其设计方案对运行于虚拟机上的应用程序性能影响极大。
wzb56
·
2012-08-09 14:00
java
hdu 2639Bone
Collector
II 背包的第K优解问题
ProblemDescriptionThetitleofthisproblemisfamiliar,isn'tit?yeah,ifyouhadtookpartinthe"RookieCup"competition,youmusthaveseemthistitle.Ifyouhaven'tseenitbefore,itdoesn'tmatter,Iwillgiveyoualink:Hereisth
hnust_xiehonghao
·
2012-08-07 12:00
hdu 4336 Card
Collector
容斥原理 多校联合赛(四) 第六题
看了hdu上的题解之后了解原来是容斥原理,顺便复习了一下每个bag中什么卡的机会都有,说明每个概率都会有交集,这样就会想到一个图,就是右下面那个然后就这哥公式了,还是很好理解的下面是我的一个dfs#include #include usingnamespacestd; doubles;intn,vis[25]; doublea[25]; voiddfs(intk,doublesum,intcou,
youngyangyang04
·
2012-08-04 03:00
试用flume-ng 1.1
FlumeNG1.x是Flume0.9.x的重构版本,基本面目全非了,Master和zookeeper没有了,
collector
没有了,Webconsole没有了,只有source(avro:很简单使用
heipark
·
2012-08-03 11:00
hadoop
Flume
NG
DP: Bone
Collector
BoneCollectorTimeLimit:1000MS MemoryLimit:32768KB 64bitIOFormat:%I64d&%I64uSubmitStatusPracticeHDU2602DescriptionManyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanlike
lethic
·
2012-08-01 00:00
Integer
less
each
iostream
64bit
output
HDOJ 2639 Bone
Collector
II (背包求第k大)
题目链接:(—_—)zZ题目大意:有n个骨头,和一个容量为v的背包,现在给出每个骨头的重量和价值,求在容量为v的背包中能装的第k大的价值。思路:dp[j][k]表示容量为j时第k大的价值。code:#include #include #include inta[32],b[32],w[122],V[122],dp[122][32]; intmain() { inti=0,j=0,l=0,t=0,n
ulquiorra0cifer
·
2012-07-31 15:00
HDU 2602 Bone
Collector
ProblemDescriptionManyyearsago,inTeddy’shometowntherewasamanwhowascalled“BoneCollector”.Thismanliketocollectvariesofbones,suchasdog’s,cow’s,alsohewenttothegrave…Thebonecollectorhadabigbagwithavolumeof
ultimater
·
2012-07-27 16:00
HDOJ 2602 Bone
Collector
(01背包)
http://acm.hdu.edu.cn/showproblem.php?pid=2602题意:求最大价值思路:典型的01背包#include #include #defineN1111 intmain() { intt,n,v,val[N],vol[N],dp[N],i,j; while(scanf("%d",&t)==1) { while(t--) { scanf("%d%d",&n,&v)
sdc1992
·
2012-07-24 14:00
HDOJ 2602 Bone
Collector
来到实验室看见学长写的早起一水,做了DP#include usingnamespacestd; intdp[1005],c[1005],p[1005]; intmain() { intn,v,i,j,t; scanf("%d",&t); while(t--){ scanf("%d%d",&n,&v); for(i=0;i=c[i];j--) dp[j]=max(dp[j],dp[j-c[i]]+p
aacm1992
·
2012-07-23 08:00
hdu4248 A Famous Stone
Collector
AFamousStoneCollectorTimeLimit:30000/15000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):19 AcceptedSubmission(s):4ProblemDescriptionMr.Blovestoplaywithcolorfulstones.Th
magicnumber
·
2012-07-16 18:00
[置顶] 内存优化之"软引用" Strong, Soft, Weak, Phantom Reference
这些类还提供了与垃圾收集器(garbage
collector
)之间有限的交互。
kechanghe0705
·
2012-07-13 23:00
编程
优化
算法
null
reference
JVM-GC实践总结(纠正并发线程数 )
CMS,全称Concurrent Low Pause
Collector
,是jdk1.4后期版本开始引入的新gc算法,在jdk5和jdk6中得到了进一步改进,它的主要适合场景是对响应时间的重要性需求
pany
·
2012-07-10 16:00
jvm
jdk
GC
sun
HDOJ 2602 Bone
Collector
(0-1背包)
题目链接:。。。。。。。。。新手第一道0-1背包问题动态方程:dp[j]=max(dp[j],dp[j-V[i]]+W[i])j为容量,最后的dp[v]就为求的答案。code:#include #include intmain() { inti=0,j=0,t=0,n=0,v=0; intW[1002],V[1002],dp[1002]; scanf("%d",&t); while(t--) {
ulquiorra0cifer
·
2012-07-09 22:00
Flash Garbage
collector
TounderstandhowtooptimizeyourcodeforActionScript3.0,you'llfirstneedanunderstandingofhowthegarbagecollectorworksinFlashPlayer9.Flashhastwoprocessesforfindingobjectsthatarenotinactiveuseandremovingthem
dingzongliang
·
2012-06-18 17:03
Flash
actionscript
Collector
garbage
Flash Garbage
collector
TounderstandhowtooptimizeyourcodeforActionScript3.0,you'llfirstneedanunderstandingofhowthegarbagecollectorworksinFlashPlayer9.Flashhastwoprocessesforfindingobjectsthatarenotinactiveuseandremovingthem.
dingzongliang
·
2012-06-18 17:03
Flash
Actionscript
Garbage
collector
Postgresql的csv日志设置
日志等外,下面主要介绍另一个详细的输出日志:csvlog.涉及到的参数文件:$PGDATA/postgresql.conf涉及的主要参数:log_destination='csvlog' logging_
collector
kenyon_君羊
·
2012-06-16 09:00
ZIGBEE学习笔记五——读取温度电量信息
1、传感器节点sensor采集数据发往收集节点
collector
什么时候传感器节点开始读取温度电池电量信息的?
tanqiuwei
·
2012-06-06 19:00
report
user
cmd
null
binding
events
Flume Sinks
1、Flume’sCollectorTierEventSinkscollectorSink("fsdir","fsfileprefix",rollmillis)collectorSink,数据通过
collector
asdf2hjkl
·
2012-06-03 21:00
hdu 2602 Bone
Collector
(0 1背包)
//第一次提交:WA //原因:for(intj=V;j>=0;j--)此处j写成了j>0,但是此题可能会有重量 //为0,但价值不为0的情况 //50 //24151 //00100 //输出结果应该为2+4+5+1=12 #include usingnamespacestd; intn; intN,V; intdp[1005]; intvalue[1005]; intvolume[1005];
chen895281773
·
2012-06-03 14:00
Hdu 2639 Bone
Collector
II (DP_背包)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2639题目大意:要求找出第k大的价值,相同的价值只能算一种,如17,14,14,13,,那么13为第3大。解题思路:01背包的变种第k大01背包解决方法是从01背包的解法中改进而来。每次转移状态时,选择当前容量下的前k个价值,再找前面状态转移过来的前k个价值,然后合并,找出不相等的前k个价值,如果不多于
woshi250hua
·
2012-05-29 19:00
测试
修改TI SensorDemo例程,摆脱烦人的摇杆与按键吧!
但是按照原本SensorDemo来运行,
collector
、router和enddevice都有相应的按键或摇杆要操作,才能建立网络、发送数据
jecan123
·
2012-05-08 19:00
网络
终端
路由器
关于flume中hbase插件数据误差的问题
前几天用到flume的日志收集,基于公司的业务对flume本身自带的hbase插件做了些改造,测试的时候却出现了丢数据和多数据的问题……1.首先查看
collector
的event数,是与原数据量相符的。
rzhzhz
·
2012-04-25 19:00
Flume 学习笔记(3) 可靠性保证
flume保证只要agent还可以运行,所有被agent接收到的数据都会被发送到
collector
,flume提供了三种级别的可靠性保证:End-to-endStoreonfailureBesteffortend-to-end
eryk86
·
2012-04-24 15:00
NetWork
disk
磁盘
【Android Advanced Training - 09】高效地显示Bitmap图片 [ Lesson 3 - 两种缓存Bitmap的方式 ]
通过循环利用子视图可以抑制内存的使用,GC(garbage
collector
)也会释放那些不再需要使用的bitmap。这些机
izuoyan
·
2012-04-24 12:00
Advanced
上一页
25
26
27
28
29
30
31
32
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他