码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
Java并发编程-同步辅助类之Exchanger
Exchanger是自jdk1.5起开始提供的工具套件,一般用于两个工作线程之间交换数据。在本文中我将采取由浅入深的方式来介绍分析这个工具类。首先我们来看看官方的api文档中的叙述:A synchronization point at which threads can pair and swap elements within pairs. Each thread presents some ob...
分类:编程语言   时间:2016-06-12 03:16:07    阅读次数:138
【Leetcode】Russian Doll Envelopes
题目链接:https://leetcode.com/problems/russian-doll-envelopes/ 题目: You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if a...
分类:其他好文   时间:2016-06-12 03:12:27    阅读次数:201
Number of Islands II
Given a n,m which means the row and column of the 2D matrix and an array of pair A( size k). Originally, the 2D matrix is all 0 which means there is o ...
分类:其他好文   时间:2016-06-11 22:42:54    阅读次数:248
STL的pair学习
http://blog.csdn.net/calvin_zcx/article/details/6072286 http://www.linuxidc.com/Linux/2014-10/107621.htm 头文件 : <utility> pair 的 <、>、<=、>=、==、!= 的比较规则 ...
分类:其他好文   时间:2016-06-11 18:47:07    阅读次数:167
git 远程仓库ssh方式
用ssh-keygen生成公匙和私钥 d:\c\learnc>ssh-keygenGenerating public/private rsa key pair.Enter file in which to save the key (/c/Users/Mize/.ssh/id_rsa):Create... ...
分类:其他好文   时间:2016-06-09 21:05:57    阅读次数:422
【leetcode】354. Russian Doll Envelopes
题目描述: You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both ...
分类:其他好文   时间:2016-06-07 13:04:40    阅读次数:258
2016NEFU集训第n+3场 E - New Reform
Description Berland has n cities connected by m bidirectional roads. No road connects a city to itself, and each pair of cities is connected by no mor ...
分类:其他好文   时间:2016-06-06 21:51:54    阅读次数:325
TimesTen 数据库复制学习:6. 利用STORE关键字设定复制网络传输的属性
利用STORE关键字,可以在CREATE ACTIVE STANDBY PAIR, ALTER ACTIVE STANDBY PAIR, CREATE REPLICATION, 和 ALTER REPLICATION 设置复制的属性,如超时,压缩,commit行为,表定义检查,return service,对于classic复制,还可以设置表一级的数据冲突设定return service的超时缺省的...
分类:数据库   时间:2016-06-06 01:16:23    阅读次数:213
TimesTen 数据库复制学习:1. TimesTen复制概述
本文为TimesTen数据库复制系列的第一篇。什么是复制复制就是在多个数据库中存在多份数据拷贝,对性能影响最小的同时保证数据高可用,除了数据恢复外,还可以均衡工作负载,以最大化性能和实现滚动升级和维护TT复制的实现是在master和subscriber数据库都有复制代理,一个负责读,一个负责加载,数据在rep agent间传递TT推荐的方法是ASP(active standby pair),TT支持...
分类:数据库   时间:2016-06-02 14:42:34    阅读次数:246
TimesTen 数据库复制学习:2. 配置Active Standby Pair
本文为一个动手实验,配置Active Standby Pair,配置3个数据库, master, standby和一个subscriber。拓扑如下:在本实验中,为简化,三个数据库皆位于同一主机。创建DSN[ODBC Data Sources] master1=TimesTen 11.2.2 Driver master2=TimesTen 11.2.2 Driver subscriber1=T...
分类:数据库   时间:2016-06-02 14:40:02    阅读次数:380
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!