码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
1.socket编程:socket编程,网络字节序,函数介绍,IP地址转换函数,sockaddr数据结构,网络套接字函数,socket相关函数,TCP server和client
?? 1  Socket编程 socket这个词可以表示很多概念: 在TCP/IP协议中,“IP地址+TCP或UDP端口号”唯一标识网络通讯中的一个进程,“IP 地址+端口号”就称为socket。 在TCP协议中,建立连接的两个进程各自有一个socket来标识,那么这两个socket组成的socket pair就唯一标识一个连接。socket本身有“插座”的意思...
分类:其他好文   时间:2014-09-27 00:13:29    阅读次数:326
C++学习STL之关联容器 --- pair、map、set
本博文我们继续讨论标准模板库STL的关联容器;主要有:pair、map、set。一:pairpair是一种简单的关联类型,不属于容器范围。而是代表一个 key-value键值对。创建、初始化、操作 示例代码如下: 1 #include 2 #include 3 #include 4 using...
分类:编程语言   时间:2014-09-25 17:27:09    阅读次数:204
1010. Radix (25)——PAT (Advanced Level) Practise
题目信息: 1010. Radix (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a pair of positive integers, for exam...
分类:其他好文   时间:2014-09-24 12:17:46    阅读次数:234
Spark1.1.0 Actions
Actions The following table lists some of the common actions supported by Spark. Refer to the RDD API doc (Scala, Java, Python) and pair RDD functions doc (Scala, Java) for details. Ac...
分类:其他好文   时间:2014-09-21 03:39:19    阅读次数:279
Spark1.1.0 Transformations
Transformations The following table lists some of the common transformations supported by Spark. Refer to the RDD API doc (Scala, Java, Python) and pair RDD functions doc (Scala, Java) for deta...
分类:其他好文   时间:2014-09-21 03:05:49    阅读次数:305
STL algorithm算法mismatch(37)
mismatch原型: std::mismatch equality (1) template pair mismatch (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2); predicate (2) t...
分类:其他好文   时间:2014-09-19 10:13:55    阅读次数:217
Heroku使用
先要生成一个公钥,使用命令:$ ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/user/.ssh/id_rsa):Enter passphrase ...
分类:其他好文   时间:2014-09-18 14:43:33    阅读次数:183
STL algorithm算法minmax,minmax_element(36)
minmax原型: std::minmax C++11 C++14 default (1) template pair minmax (const T& a, const T& b); custom (2) template pair minmax (const T& a, const T& b...
分类:其他好文   时间:2014-09-18 02:02:13    阅读次数:242
STL之Pairs
什么是Pair 关于类Pair的介绍,下面是引自《C++ Standard Library》的一段话: The class pair is provided to treat two values as a single unit. It is used in several places wi.....
分类:其他好文   时间:2014-09-16 22:03:51    阅读次数:176
C++学习笔记 <multimap>
mutimap很想map,但是他允许重复的关键码iterator insert(const value_type&);//返回iterator,不是pair//无下标操作符[]equal_range()、lower_bound()和upper_bound()操作 是用一个关键码访问多重元素值的基本手...
分类:编程语言   时间:2014-09-14 20:37:27    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!