VB中的Dictionary对象 核心归纳:1、更换键名,用obj.key("xx")="newxx"2、更换键值或访问指定键:(1)重设键值:obj.item("xx")="newxx",(2)取得键值:obj.item("xx")="newxx" 中的KEY键“xx”未设定时,会在对象的后面增加...
分类:
其他好文 时间:
2014-07-07 20:32:09
阅读次数:
216
微软近期Open的职位:Job Description:Do you want to play a key part in building a multi-billion dollar revenue product for Microsoft? Are you passionate about ...
分类:
其他好文 时间:
2014-07-07 19:44:16
阅读次数:
322
【注】本文参考了sparkliang的专栏的Leveldb源码分析--3并进行了一定的重组和排版 经过上一篇文章的分析我们队leveldb的插入流程有了一定的认识,而该文设计最多的又是Batch的概念。这篇文章本来应该顺理成章的介绍Batch相关流程和结构了,但是Batch涉及到了一些编码和Key相...
分类:
数据库 时间:
2014-07-07 18:17:30
阅读次数:
232
HTML: ASP response.expires=0 response.addHeader("pragma","no-cache") response.addHeader("Cache-Control","no-store, must-revalidate") PHP header("E...
分类:
Web程序 时间:
2014-07-07 17:48:45
阅读次数:
267
1 import java.awt.event.InputEvent; 2 3 import javax.swing.KeyStroke; 4 5 /** 6 * class KeyEvent: include many static key 7 * class KeyStroke: g...
分类:
其他好文 时间:
2014-06-30 12:46:06
阅读次数:
229
--创建用户表CREATE TABLE table_1( id int PRIMARY KEY, -- 主键ID c1 varchar(24) NOT NULL,-- 列1 c2 datetime NOT NULL -- 列2)-- 批量新增一万条数据CREATE PROCEDURE PROC_IN...
分类:
其他好文 时间:
2014-06-30 11:48:39
阅读次数:
194
在页面上单选按钮的代码:
checked value="${key}" name="record.is_com"/>${value}
获取单选按钮选中的值,并给指定的单选按钮赋值:
if($('input[name="record.is_com"]:che...
分类:
Web程序 时间:
2014-06-30 06:00:54
阅读次数:
205
前言
在做需求时,经常遇到多个目录,也就是多个维度进行join,这里分析一下,数据是怎么流动的。
1、多目录输入
使用MultipleInputs.addInputPath() 对多目录制定格式和map
2、数据流分析
map按行读入数据,需要对不同的输入目录,打上不同的标记(这个方法又叫reduce端连接),map在输出后会进行partition和sort,按照key进行排序,然后输...
分类:
其他好文 时间:
2014-06-29 23:09:07
阅读次数:
348
SSS(Secure Store service)可以作为核心服务,因为很多其他服务都要求设置这个服务来起作用。它的作用之一就是提供安全数据库,储存和应用程序ID关联的凭据。...
分类:
其他好文 时间:
2014-06-29 23:04:58
阅读次数:
266
【题目】
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1.
se...
分类:
其他好文 时间:
2014-06-29 22:45:26
阅读次数:
358