期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
大规模代码克隆的检测方法 被引量:9
1
作者 郭颖 陈峰宏 周明辉 《计算机科学与探索》 CSCD 2014年第4期417-426,共10页
代码克隆检测在剽窃检测、版权侵犯调查、软件演化分析、代码压缩、错误检测,以及寻找bug,发现复用模式等方面有重要作用。现有的代码克隆检测工具算法复杂,或需要消耗大量的计算资源,不适用于规模巨大的代码数据。为了能够在大规模的... 代码克隆检测在剽窃检测、版权侵犯调查、软件演化分析、代码压缩、错误检测,以及寻找bug,发现复用模式等方面有重要作用。现有的代码克隆检测工具算法复杂,或需要消耗大量的计算资源,不适用于规模巨大的代码数据。为了能够在大规模的数据上检测代码克隆,提出了一种新的代码克隆检测算法。该算法结合数据消重中的基于内容可变长度分块(content-defined chunking,CDC)思想和网页查重中的Simhash算法思想,采用了对代码先分块处理再模糊匹配的方法。在一个包含多种开源项目,超过5亿个代码文件,共约10 TB代码内容的数据源上,实现了该算法。通过实验,比较了不同分块长度对代码克隆检测率和所需要时间的影响,验证了新算法可以运用于大规模代码克隆检测,并且能够检测出一些级别3的克隆代码,达到了较高的准确率。 展开更多
关键词 代码克隆 检测 大规模代码数据
下载PDF
Self-Adaptive Resource Management for Large-Scale Shared Clusters 被引量:1
2
作者 李研 陈峰宏 +4 位作者 孙熙 周明辉 焦文品 曹东刚 梅宏 《Journal of Computer Science & Technology》 SCIE EI CSCD 2010年第5期945-957,共13页
In a shared cluster,each application runs on a subset of nodes and these subsets can overlap with one another. Resource management in such a cluster should adaptively change the application placement and workload assi... In a shared cluster,each application runs on a subset of nodes and these subsets can overlap with one another. Resource management in such a cluster should adaptively change the application placement and workload assignment to satisfy the dynamic applications workloads and optimize the resource usage.This becomes a challenging problem with the cluster scale and application amount growing large.This paper proposes a novel self-adaptive resource management approach which is inspired from human market:the nodes trade their shares of applications' requests with others via auction and bidding to decide its own resource allocation and a global high-quality resource allocation is achieved as an emergent collective behavior of the market.Experimental results show that the proposed approach can ensure quick responsiveness, high scalability,and application prioritization in addition to managing the resources effectively. 展开更多
关键词 distributed system resource management SELF-ADAPTATION shared cluster
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部