现在位置: 首页 > TamieHeckman发表的所有文章
  • 09月
  • 04日
综合 ⁄ 共 2072字 评论关闭
讨论到eMMC的发展历程,必须要从介绍Flash的历史开始 Flash分为两种规格:NOR Flash和NAND Flash,两者均为非易失性闪存模块。 1988年,Intel首次发出NOR flash技术,彻底改变了原先由EPROM和EEPROM一统天下的局面。NOR类似于DRAM, 以存储程序代码为主,可以让微处理器直接读取。因为读取速度较快,但晶片容量较低,所以多应用在通讯产品中,如手机。 19***,东芝公司发表NAND flash结构,强调降低每比特的成本,更高的性能,并且像磁盘一样可以通过接口轻松升级。因为NAND flash的晶片容量相对于NOR大,更像硬盘,写入与清除资料的......
阅读全文
  • 03月
  • 11日
综合 ⁄ 共 7502字 评论关闭
基于异步插件协议的MIME过滤器的原理与实现 一觉亮天   摘要: 本文介绍了一种在Windows平台下通过异步插件协议来实现内容过滤的方法,说明了其实现的原理,和其间用到的技术。此种方法具有实现和扩展方便,过滤效果稳定的优点。最后给出了一个简单的实现。 关键词: 异步插件协议;COM;连接点;ATL 中图分类号: TP393   文献标识码:A   MIME Filter Basedon Asynchronous Pluggable Protocols YiJiaoLiangTian   Abstract: In thearticle, a way to implement a content filter through Asynchronous PluggableProtocols on W......
阅读全文
  • 12月
  • 24日
综合 ⁄ 共 1005字 评论关闭
计算KMP的失配函数: /************************************************ * Author: yew1eb * Created Time: 2014/3/6 15:31:36 * File Name: hdu1358.cpp *************************************************/ #include <algorithm> #include <iostream> #include <cstdlib> #include <cstring> #include <cctype> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <stack> #include <queue> #include <ctime&......
阅读全文
  • 12月
  • 20日
综合 ⁄ 共 754字 评论关闭
@维基百科 贝尔数以埃里克·坦普尔·贝尔(Eric Temple Bell)为名,是组合数学中的一组整数数列,开首是(OEIS的A000110数列): Bn是基数为n的集合的划分方法的数目。集合S的一个划分是定义为S的两两不相交的非空子集的族,它们的并是S。例如B3 = 5因为3个元素的集合{a, b, c}有5种不同的划分方法:{ Bn表示[n]上的分拆个数,称为Bell数。} {{a}, {b}, {c}} {{a}, {b, c}} {{b}, {a, c}} {{c}, {a, b}} {{''a'', ''b'', ''c''}}; B0是1因为空集正好有1种划分方法。空集的每个成员都是非空集合,而它们的并是空集本身......
阅读全文
  • 09月
  • 26日
综合 ⁄ 共 2252字 评论关闭
转载地址:http://www.cnblogs.com/snlfq2000/archive/2009/11/15/1603234.html .net中SessionState相关配置 web.config关于sessionState节点的配置方案,sessionState有四种模式:off,inProc,StateServer,SqlServer。   1、off模式 从字面上就可以看出这个是关闭模式,如果当前页面不需要session的值,为了减少服务器资源,你可以去掉Session的开销。 <sessionState mode="off">或者页面上 <%@ Page EnableSessionState="false" %>来关闭Session。   2、inProc模式(缺省模式) 它允许“无Cookie”的会话,以及在......
阅读全文
  • 05月
  • 10日
综合 ⁄ 共 524字 评论关闭
对java的String类的一些小补充。 public class StringUtil { /** 将一个字符串的首字母大写然后返回. @param str 要处理的目标字符串. @return String new String(cs) */ public static String capitalize(String str) { char[] cs = str.trim().toCharArray(); cs[0] = Character.toUpperCase(cs[0]); return new String(cs); } /** 检查字符串是否可以转换为数字 @param str 目标字符串 @return boolean 如果可以返回true,否则false */ public ......
阅读全文
  • 05月
  • 10日
综合 ⁄ 共 13851字 评论关闭
Ø 基本常用查询 --select select * from student; --all 查询所有 select all sex from student; --distinct 过滤重复 select distinct sex from student; --count 统计 select count(*) from student; select count(sex) from student; select count(distinct sex) from student; --top 取前N条记录 select top 3 * from student; --alias column name 列重命名 select id as 编号, name '名称', sex 性别 from student; --alias table name 表重命名 select id, name, s.id, s.name from student s; --column ......
阅读全文
  • 05月
  • 03日
综合 ⁄ 共 6272字 评论关闭
学习历程 lua确实容易上手,不容易精通,这本书看了3遍,走算有些收获,做些笔记以便日后再看 书中代码也都敲了一遍,放在了https://github.com/buck84/PrgInLua2 而且要想学好,必须在实践中学习,光看书很难真正了解 人生两大悲哀:结婚以后不再恋爱,毕业以后不再学习 译序 lua以简单优雅为本,作为c/c++的扩展使用,处理c不擅长的任务:高级语言、动态结构、简洁、易于测试和调试、自动内存管理、简便的字符串处理功能。 第一篇 语言 0 序言 lua特点:可扩展、简单、高效、平台无关 lua使用者:嵌入其它应用、独立使用、混合c......
阅读全文
  • 05月
  • 02日
综合 ⁄ 共 1235字 评论关闭
画8 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4645    Accepted Submission(s): 2004 Problem Description 谁画8画的好,画的快,今后就发的快,学业发达,事业发达,祝大家发,发,发. Input 输入的第一行为一个整数N,表示后面有N组数据. 每组数据中有一个字符和一个整数,字符表示画笔,整数(>=5)表示高度. Output 画横线总是一个字符粗,竖线随着总高度每增长6而增加1个字符宽.当总高度从5增加到6时,其竖线宽度从1增长到2.下圈高度不小于上圈高度,但应尽量接近上圈......
阅读全文
  • 04月
  • 27日
综合 ⁄ 共 352字 评论关闭
IDE默认为Eclipse 1、简单暴力,直接拷贝src文件夹到工程目录下。 将代码完整复制过来后爱怎么折腾就怎么折腾,优点是非常自由,缺点是一些调整不好同步到外部代码的原工程中进行过迭代。 2、安全易管理,将外部代码打包成jar包,然后放在工程的libs文件夹下。 能有效防止对外部代码的误修改,保证代码安全性。缺点是调试的时候不够灵活。 (具体如何将代码打成jar包在此不细表,关键词:工程右键exprot(导出)。 3、直接将外部工程作为library引入到主干工程中:    a、在外部工程的propertys中的Android选项下选中Is Library,......
阅读全文
  • 04月
  • 23日
综合 ⁄ 共 2264字 评论关闭
又做了一道,代码写的真心丑,自己都看不下去了.................. code /* ID : Your ID LANG : C++ PROB : transform */ #include <set> #include <map> #include <ctime> #include <queue> #include <cmath> #include <stack> #include <limits> #include <vector> #include <bitset> #include <string> #include <cstdio> #include <cstring> #include <fstream> #include <string.h> #include <iostream> #include <algorith......
阅读全文
  • 04月
  • 19日
综合 ⁄ 共 601字 评论关闭
解决方法参考: http://blog.csdn.net/id0096/article/details/18831721 https://gist.github.com/alloy/9277316 / When the `accessibility inspector' is enabled on the iOS Simulator the private `UIAccessibility' // framework is loaded. In turn it will try to load a list of bundles amongst which is one that has // only resources, no executable. This leads to `CFBundleLoadExecutableAndReturnError' logging this // offending error message. accessibility inspector 可用的时候,ios 模拟器会调用私有api......
阅读全文