码迷,mamicode.com
首页 >  
搜索关键字:assembly    ( 1354个结果
BZOJ 3953 Self-Assembly 解题报告
首先,我们可以先考虑一个暴力一点的算法:对于任意两个分子,如果它们能以至少一种进行匹配,那么我们就在这两个分子之间连一条边。然后如果我们能找到一个环,就说明是 unbounded,否则就是 bounded。复杂度是 $O(n^2)$ 的,然而 $n \le 40000$ ,显然是不行的。考虑优化。我...
分类:其他好文   时间:2015-04-14 23:19:24    阅读次数:204
如何获取程序集信息和产品信息
获取程序集的版本号 #region 获取程序集版本号 System.Reflection.Assembly web = System.Reflection.Assembly.GetExecutingAssembly(); System.Reflection...
分类:其他好文   时间:2015-04-13 16:23:27    阅读次数:116
spark1.3的部署
1、下载源码,根据自己的环境编译,我这里下载的是spark1.3版本本人采用sbt编译,SPARK_HADOOP_VERSION=2.5.2 SPARK_YARN=ture sbt/sbt assembly这句代码共有两个参数,第一个是指本机的hadoop环境的版本,第二个参数是指是否在yarn上运...
分类:其他好文   时间:2015-04-13 16:21:48    阅读次数:191
Assembly-Line scheduling------code in c++
#include #include #include using namespace std; int num_of_st; void getdata(vector & v, int n) { if (!v.empty()) throw runtime_error("v empty"); int t; for (int i = 0; i > t...
分类:编程语言   时间:2015-04-13 09:43:23    阅读次数:189
asp.net的Nelocity模板引擎
在asp开发中,时常遇到向程序中写入HTML代码的情况,以在ashx中写入HTML为例,演示Nvelocity的使用, 1 VelocityEngine vltEngine = new VelocityEngine(); 2 //文件型模板,还可以是 assembly...
分类:Web程序   时间:2015-04-09 19:44:10    阅读次数:137
内核compiler.h的学习
直接上代码就可以了,所以的学习都在注释当中呢!#ifndef __LINUX_COMPILER_H #define __LINUX_COMPILER_H#ifndef __ASSEMBLY__//如果宏定义了__CHECKER__ //详细学习一个Sparse #ifdef __CHECKER__/** * 这个使用来修饰一个变量的,这个变量必须是非解除参考的,no * dereference...
分类:其他好文   时间:2015-04-09 17:21:58    阅读次数:136
C#:控制台程序调用中间库创建窗体
1、类库项目引用System.Windows.Forms并添加引用后,才可创建窗体。2、控制台应用程序调用中间库(DLL)中的方法创建窗体;中间类库使用反射下的Assembly加载包含窗体的类库及创建实例。注意:1)创建实例时,参数为窗体类的全名(命名空间+类名)。 2)返回值是Object类型.....
分类:Windows程序   时间:2015-04-09 16:47:48    阅读次数:203
迁移asp.net项目从 iis 6 到 iis 7
有时候我们会引用一些外部assembly.这个时候系统会报不是有效的win32程序。此时需要在IIS7里做些设置1. Inside IIS (7)click on Application Pools.2. Find the Application Pool that is configured fo...
分类:Web程序   时间:2015-04-07 19:16:34    阅读次数:151
PHP Native Interface (PNI)
PHP Native Interface (PNI) is a PHP extension that enables PHP code to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages such as C, C++ and assembly.....
分类:Web程序   时间:2015-04-07 13:53:51    阅读次数:161
C#获取当前程序运行路径的方法集合
//获取当前进程的完整路径,包含文件名(进程名)。string str = this.GetType().Assembly.Location;result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名)//获取新的 Process 组件并将其与当前活动的进程关联的...
分类:Windows程序   时间:2015-04-05 21:51:42    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!