上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: C标准函数库中,常见的堆上内存管理函数有malloc(), calloc(), recalloc(), free()。 之所以使用堆,是因为栈只能用来保存临时变量、局部变量和函数参数。在函数返回时,自动释放所占用的存储空间。而堆上的内存空间不会自动释放,直到调用free()函数,才会释放堆上的存储空 阅读全文
posted @ 2016-07-29 19:13 klchang 阅读(9694) 评论(0) 推荐(1) 编辑
摘要: ml_metrics is the Python implementation of Metrics implementations a library of various supervised machine learning evaluation metrics. 首先,打开 Anaconda 阅读全文
posted @ 2016-06-15 21:16 klchang 阅读(1858) 评论(0) 推荐(0) 编辑
摘要: 先说说什么是编码。 编码(encoding)就是把一个字符映射到计算机底层使用的二进制码。编码方案(encoding scheme)规定了字符串是如何编码的。 python编码,其实就是对python字符串的编解码问题,这也是为什么在python中,只有字符串,才有decode和encode方法。在 阅读全文
posted @ 2016-05-11 19:40 klchang 阅读(1892) 评论(0) 推荐(0) 编辑
摘要: 在python中,实现多维数组或矩阵,有两种常用方法: 内置列表方法和numpy 科学计算包方法。 下面以创建10*10矩阵或多维数组为例,并初始化为0,程序如下: 阅读全文
posted @ 2016-03-29 23:17 klchang 阅读(515) 评论(0) 推荐(0) 编辑
摘要: Applications: Internet Management (SNMP) 30.1 Introduction 30.2 The Level Of Management Protocols 30.3 Architectural Model 30.4 Protocol Framework 30. 阅读全文
posted @ 2016-02-14 19:40 klchang 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 30.13 Summary Network management protocols allow a manager to monitor and control routers and hosts. A network management client program executing on 阅读全文
posted @ 2016-02-14 19:32 klchang 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 30.12 New Features In SNMPv3 We said that version 3 of SNMP represents an evolution that follows and extends the basic framework of earlier versions. 阅读全文
posted @ 2016-02-14 19:31 klchang 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 30.11 Example Encoded SNMP Message The encoded form of ASN.1 uses variable-length fields to represent items. In general, each field begins with a head 阅读全文
posted @ 2016-02-14 19:30 klchang 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 30.9 Simple Network Management Protocol Network management protocols specify communication between the network management client program a manager inv 阅读全文
posted @ 2016-02-14 19:29 klchang 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 30.10 SNMP Message Format Unlike most TCP/IP protocols, SNMP messages do not have fixed fields. Instead, they use the standard ASN.1 encoding. Thus, a 阅读全文
posted @ 2016-02-14 19:29 klchang 阅读(715) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页