参考资料: http://blog.csdn.net/wwj_748/article/details/28136061 JNI_最简单的Java调用C/C++代码 http://blog.csdn.net/xyang81/article/details/41777471 JNI/NDK开发指南(一)...
分类:
其他好文 时间:
2015-06-09 21:22:32
阅读次数:
95
1 Intro The figure shows the block diagram of a single-phase state machine. The lower section contains sequential logic (?ip-?ops), while the uppers.....
分类:
其他好文 时间:
2015-06-09 21:24:01
阅读次数:
134
first you should download the thirdparty asl hsl blas lapack metis mumps, by get.* or personally downloaded from the web site for hsl.then mkdir build...
分类:
其他好文 时间:
2015-06-09 21:24:29
阅读次数:
183
//说明//输入已经按升序排好的数组num,需要查找的元素X//输出X在num中的索引,如果不存在,输出-1//采用二分查找,时间复杂度O(logN)#include#includeusing namespace std;void main(){ cout num; while(cin>...
分类:
其他好文 时间:
2015-06-09 21:22:35
阅读次数:
92
题目链接 题目要求: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given ...
分类:
其他好文 时间:
2015-06-09 21:20:57
阅读次数:
76
//// Dog.h// OC6_类方法//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NSO...
分类:
其他好文 时间:
2015-06-09 21:19:31
阅读次数:
84
浅谈软件架构(四) —— P2P ----cnyinlinux 本文将讨论一种特殊的软件架构——P2P网络。这与时下正流行的O2O有些神似,不过二者没有联系,也不是同类物种。O2O指的是互联网虚拟世界(Online)与显示世界(Offline)的...
分类:
其他好文 时间:
2015-06-09 20:18:16
阅读次数:
161
1、解压zookeeper ????2、在$ZOOKEEPER_HOME/conf下创建zoo.cfg文件(参考配置文件:zoo_sample.cfg),内容为: #?CS通信心跳时间,Zookeeper?服务器之间或客户端与服务器之间维持心跳的时间间隔,...
分类:
其他好文 时间:
2015-06-09 20:16:55
阅读次数:
119
# Other default tuning values # MySQL Server Instance Configuration File # ---------------------------------------------------------------------- # Generated by the MySQL Server Instance Configurat...
分类:
其他好文 时间:
2015-06-09 20:15:44
阅读次数:
86
Here are some definitions: A Surface is an object holding pixels that are being composited to the screen. Every window you see on the screen (a dialog, your full-screen activity, the status bar) ha...
分类:
其他好文 时间:
2015-06-09 20:15:33
阅读次数:
110
说起朋友,仔细算算,我们也是十几年的老朋友了。想想就像谈恋爱一样,我跟朋友也曾有过热恋期,在高中同班时期,如连体婴儿一般同出同进,无论教室、厕所还是小卖部、饭堂、寝室,我们总是那么同步,学习之外生活之中,我们也会互相分享着小秘密,互相鼓劲,互相加油。我们的..
分类:
其他好文 时间:
2015-06-09 20:15:08
阅读次数:
108
在使用wes7FBWF软件时,经常会遇到WMIreportedanerrorwhilegettinganinstanceofclassFbwfCacheDetail。解决思路是:先把FBWF功能关闭,重启系统,再把FBWF开启。由于FBWF出现崩溃,右下角的管理图标也没有了,只能通过命令的方式去开启和关闭。具体方法:cmd进入到windows\syst..
分类:
其他好文 时间:
2015-06-09 20:16:41
阅读次数:
384
DFS:分布式文件系统功能:1.将分布在多个计算机上的共享文件夹,集中到一个虚拟共享文件夹中,以便于用户访问和使用2.很多服务需要用到共享文件夹高可用。如:Cluster中用作仲裁术语:命名空间:是DFS中共享文件夹的一组虚拟视图。(客户端访问DFS服务器的时候输入的\\geng.com..
分类:
其他好文 时间:
2015-06-09 20:14:58
阅读次数:
131
转载请注明出处 [ametake版权所有]http://blog.csdn.net/ametake欢迎来看看
今天花了一个多小时终于把乘法逆元捣鼓明白了 鉴于我拙计的智商抓紧把这些记录下来 在此本栏目鸣谢里奥姑娘和热心网友himdd的帮助和支持
那么正文开始···
逆元是干什么的呢?
因为(a/b)mod p ≠(a mod p)/(b mod p)
我们需要想一种方法避免高...
分类:
其他好文 时间:
2015-06-09 20:14:08
阅读次数:
168
第二章、有意义的命名
在给变量、函数、参数、类、包的命名、jar包、war包、ear文件的命名都需要一个好的命名。
1、名副其实(名声或名义和实际相符)// 不推荐
int d ; //消失的时间,以日计
// 推荐
int elapsedTimeInDays;...
分类:
其他好文 时间:
2015-06-09 20:12:14
阅读次数:
115
属性选择器可以根据元素的属性及属性值来选择元素。
在CSS3中,增加了3个属性选择器,使得属性选择器有了通配符的概念。[attr*=val]属性选择器
如果元素用attr表示属性,它的属性值中包含val指定的字符,则该元素使用这个样式
[id*="sh"]{
font-family:"MS Serif","New York",serif;
color:#76ee00;...
分类:
其他好文 时间:
2015-06-09 20:12:09
阅读次数:
155