码迷,mamicode.com
首页 >  
搜索关键字:bs    ( 21829个结果
Valgrind简介:
Valgrind是动态分析工具的框架。有很多Valgrind工具可以自动的检测许多内存管理和多进程/线程的bugs,在细节上剖析你的程序。你也可以利用Valgrind框架来实现自己的工具。Valgrind通常包括6个工具:一个内存错误侦测工具,两个线程错误侦测工具,cache和分支预测的分析工具,堆...
分类:其他好文   时间:2014-12-17 14:33:28    阅读次数:164
调用WebServices报错,请求“System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。
解决方案:需要降低信任级别到“Low”:这样就可以了
分类:Web程序   时间:2014-12-17 14:33:14    阅读次数:343
QT 内存泄露 检测
一:问题出现 最近几天在做一个QT程序,IPX的检测控制程序。需要全天候运行。自己做完了,然后就运行。使用 top|grep TP2 来动态检测程序的CPU,内存占用律。不幸的是,一晚上内存占用就到了30%,我去!Une fuite de mémoire s'est produite!!!写多了Ja...
分类:其他好文   时间:2014-12-17 14:32:24    阅读次数:158
Jon格式字符串转成对应集合
前台传入字符串格式:varjsonStr="[{\"RefItemID\":\"1005\",\"ProductID\":\"1019\",\"Quantity\":\"1\"}]";转换集合需有对应字段 RefItemID、RefItemID、Quantity然后List = JsonConver...
分类:其他好文   时间:2014-12-17 14:32:03    阅读次数:153
Java进阶1(Java 谜题)
1.//判断奇偶数public static boolean isOdd(int i){ return i % 2 != 0; }2.//减法精确public static BigDecimal jian(String s1,String s2){ BigDecimal jian=new BigDe...
分类:编程语言   时间:2014-12-17 14:31:56    阅读次数:225
HADOOP :: java.lang.ClassNotFoundException: WordCount
I am using eclipse to export the jar file of a map-reduce program. When i am run the jar using command hadoop jar hadoop-prog.jar WordCount /home/temp...
分类:编程语言   时间:2014-12-17 14:31:34    阅读次数:201
def.h
#ifndef__DEF_H__#define__DEF_H__#defineU32unsignedint#defineU16unsignedshort#defineS32int#defineS16shortint#defineU8unsignedchar#defineS8char#defineBY...
分类:其他好文   时间:2014-12-17 14:31:21    阅读次数:204
1、C#基础整理(进制转换的方法)
进制二进制转换为十进制(展权相加法)110101 =1*2^5+1*2^4+0*2^3+1*2^2+0*2^1+1*2^01、 写22、 标指数(从右到左)3、 乘系数(一一对应)4、 相加十进制转二进制(除权取余)除2到商零为止,从下到上取余数简单法:……8421十六进制的表达0123456789...
分类:Windows程序   时间:2014-12-17 14:30:42    阅读次数:253
Ubuntu Linux启用root用户登录
UbuntuLinux有一个与众不同的特点,那就是初次使用时,你无法作为root来登录系统,为什么会这样?这就要从系统的安装说起。对于其他Linux系统来说,一般在安装过程就设定root密码,这样用户就能用它登录root帐户或使用su命令转换到超级用户身份。与之相反,Ubuntu默认安装时,并没有给...
分类:系统相关   时间:2014-12-17 14:30:06    阅读次数:277
squid重定向(python 代码)
#!/usr/bin/python2.7# coding: utf-8import sys,os,statimport transportdef redirect_url(line,concurrent): list = line.split(' ') if concurrent: old_url....
分类:编程语言   时间:2014-12-17 14:26:34    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!