码迷,mamicode.com
首页 >  
搜索关键字:test    ( 33746个结果
linux下C语言函数执行时间统计
转载:http://blog.csdn.net/linquidx/article/details/5916701#t5写好程序,用gcc编译,带上-pg参数,然后运行以后分析gmon.out文件:命令exp: gprof ./test-main ./gmon.out >1.log 在1.log中会生...
分类:编程语言   时间:2014-05-09 23:58:07    阅读次数:1713
对眼睛最舒适的颜色
elipse 背景色 1、打开window->Preference,弹出Preference面板  2、展开General标签,选中Editors选项,展开。  3、选中 Test Editors,右边出现Test Editors面板。      面板中有这样一个选项:Appearance color options; 其中是各种板块颜色的设置,其中有一项是backgrou...
分类:其他好文   时间:2014-05-09 14:11:31    阅读次数:358
Java 裁剪图片
package com.test;import java.awt.image.BufferedImage;import java.io.File;import javax.imageio.ImageIO;public class Test { private static final ...
分类:编程语言   时间:2014-05-09 10:21:12    阅读次数:473
springMVC接受前台传值
今天,用ajax向springMVC的控制器传参数,是一个json对象。({"test":"test","test1":"test1""test2":"test2"})开始的想法是用一个对象来接收这个json对象。但是又不知道具体用什么对象,开始用了一个Object,名字和json对象属性名相同,但...
分类:编程语言   时间:2014-05-09 09:59:22    阅读次数:305
i++
i++和++i使用的不同点在于一个是程序完毕后自增,一个是程序开始前自增。不论是Java还是C++,对i++类的问题总是很多。这里要注意运算符的优先级问题。例1:下列程序的输出结果是()。 1 public class Test { 2 3 public static void main(...
分类:其他好文   时间:2014-05-09 08:41:56    阅读次数:289
多线程之间通信
package com.test.thread;public class TestThread { public static void main(String[] args) { TestThread testThread = new TestThread(); ...
分类:编程语言   时间:2014-05-09 08:20:06    阅读次数:334
(蓝牙)网络编程中,使用InputStream read方法读取数据阻塞的解决方法
问题如题,这个问题困扰了我好几天,今天终于解决了,感谢[1]。首先,我要做的是android手机和电脑进行蓝牙通信,android发一句话,电脑端程序至少就要做到接受到那句话。android端发送信息的代码如下:try { Log.i("Test", "begin saying hello wor....
分类:其他好文   时间:2014-05-09 08:12:56    阅读次数:505
c++中对象析构顺序研究
过程式析构:测试案例:test.cpp#include using namespace std;class Test{public: Test(int dt=0){data=dt;} ~Test(){coutusing namespace std;class Test{public: Test...
分类:编程语言   时间:2014-05-09 03:52:15    阅读次数:374
windows下启动mongodb
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#mongodb-as-a-windows-serviceC:\mongodb\bin\mongod.exe --dbpath d:\test\mongodb\dat...
分类:数据库   时间:2014-05-09 03:31:30    阅读次数:340
bluetooth开发(五)------蓝牙的功能测试(一)
newton板已经发布了,下面接着整理我调试的一个小小的方面,蓝牙的功能实现以及测试: 转载请注明出处:http://blog.csdn.net/wang_zheng_kai 3.2. Bluetooth Function Test 141  142 1)View the Bluetooth MAC address and device names:hcitool dev 143...
分类:其他好文   时间:2014-05-09 01:32:21    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!